# CVE-2025-39750: wifi: ath12k: Correct tid cleanup when tid setup fails

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.35% (percentile 21, 2026-11-28)
- **CWE:** CWE-125
- **Published:** 2025-09-11T16:52:21.917Z
- **Modified:** 2026-10-19T21:10:00.160Z

## Who should check

- Anyone running Linux \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 30cad87978057516c93467516bc481a3eacfd66a; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 2ef17d1476ab26bce89764e2f16833d7f52acc38; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 907c630e58af9e86e215f3951c7b287bd86d0f15; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 6301fe4f209165334d251a1c6da8ae47f93cb32c; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 4a2bf707270f897ab8077baee8ed5842a5321686
- Anyone running Linux 6.3

## Description

In the Linux kernel, the following vulnerability has been resolved:

wifi: ath12k: Correct tid cleanup when tid setup fails

Currently, if any error occurs during ath12k\_dp\_rx\_peer\_tid\_setup(),
the tid value is already incremented, even though the corresponding
TID is not actually allocated. Proceed to
ath12k\_dp\_rx\_peer\_tid\_delete() starting from unallocated tid,
which might leads to freeing unallocated TID and cause potential
crash or out-of-bounds access.

Hence, fix by correctly decrementing tid before cleanup to match only
the successfully allocated TIDs.

Also, remove tid-- from failure case of ath12k\_dp\_rx\_peer\_frag\_setup(),
as decrementing the tid before cleanup in loop will take care of this.

Compile tested only.

## Affected and fixed versions

- Linux: \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 30cad87978057516c93467516bc481a3eacfd66a; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 2ef17d1476ab26bce89764e2f16833d7f52acc38; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 907c630e58af9e86e215f3951c7b287bd86d0f15; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 6301fe4f209165334d251a1c6da8ae47f93cb32c; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 4a2bf707270f897ab8077baee8ed5842a5321686 (cvelist)
- Linux: 6.3 (cvelist)

## Mitigation

- Upgrade Linux to 4a2bf707270f897ab8077baee8ed5842a5321686 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-39750. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-39750.md
Affected: Linux >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < 30cad87978057516c93467516bc481a3eacfd66a; >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < 2ef17d1476ab26bce89764e2f16833d7f52acc38; >= d889913205cf7ebda905b1e62c5867ed4e39f6c2, < 907c630e58af9e86e215f3951c7b287bd86d0f15; >= d889913205cf7ebda905b1e…
Fixed in: Linux 30cad87978057516c93467516bc481a3eacfd66a, Linux 2ef17d1476ab26bce89764e2f16833d7f52acc38, Linux 907c630e58af9e86e215f3951c7b287bd86d0f15, Linux 6301fe4f209165334d251a1c6da8ae47f93cb32c, Linux 4a2bf707270f897ab8077baee8ed5842a5321686

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-39750 being exploited?

There is no confirmed exploitation: CVE-2025-39750 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.35% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2025-39750?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-39750?

Linux \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 30cad87978057516c93467516bc481a3eacfd66a; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 2ef17d1476ab26bce89764e2f16833d7f52acc38; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 907c630e58af9e86e215f3951c7b287bd86d0f15; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 6301fe4f209165334d251a1c6da8ae47f93cb32c; \>= d889913205cf7ebda905b1e62c5867ed4e39f6c2, \< 4a2bf707270f897ab8077baee8ed5842a5321686; Linux 6.3.

### Is there a fix for CVE-2025-39750?

Yes. Fixed in Linux 30cad87978057516c93467516bc481a3eacfd66a, Linux 2ef17d1476ab26bce89764e2f16833d7f52acc38, Linux 907c630e58af9e86e215f3951c7b287bd86d0f15, Linux 6301fe4f209165334d251a1c6da8ae47f93cb32c, Linux 4a2bf707270f897ab8077baee8ed5842a5321686. Upgrade Linux to 4a2bf707270f897ab8077baee8ed5842a5321686 or later.

### How do I check if I'm affected by CVE-2025-39750?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/30cad87978057516c93467516bc481a3eacfd66a>
- patch: <https://git.kernel.org/stable/c/2ef17d1476ab26bce89764e2f16833d7f52acc38>
- patch: <https://git.kernel.org/stable/c/907c630e58af9e86e215f3951c7b287bd86d0f15>
- patch: <https://git.kernel.org/stable/c/6301fe4f209165334d251a1c6da8ae47f93cb32c>
- patch: <https://git.kernel.org/stable/c/4a2bf707270f897ab8077baee8ed5842a5321686>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-39750>

HTML: <https://flawdb.com/CVE-2025-39750> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-39750>
