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

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 16% of CVEs (2026-12-01)
- Published: 2025-09-11T16:52:21.917Z
- Modified: 2026-10-19T21:10:00.160Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 30cad87978057516c93467516bc481a3eacfd66a; from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 2ef17d1476ab26bce89764e2f16833d7f52acc38; from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 907c630e58af9e86e215f3951c7b287bd86d0f15; from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 6301fe4f209165334d251a1c6da8ae47f93cb32c; from d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 4a2bf707270f897ab8077baee8ed5842a5321686; 6.3 (not affected: before 6.3; from 6.6.103 up to 6.6.*; from 6.12.43 up to 6.12.*; from 6.15.11 up to 6.15.*; from 6.16.2 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 6.3 before 6.6.103; from 6.7 before 6.12.43; from 6.13 before 6.15.11; from 6.16 before 6.16.2

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2025-39750](https://www.cve.org/CVERecord?id=CVE-2025-39750), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-39750](https://nvd.nist.gov/vuln/detail/CVE-2025-39750), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-39750 · Whole record: https://cve.day/CVE-2025-39750.json · Rebuilt by cve.day 2026-11-25T22:59:04.548Z
