CVE-2025-39750

wifi: ath12k: Correct tid cleanup when tid setup fails

At a glance

Severity
HIGH 8.8
EPSS
EPSS 0.24 % · percentile 15 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected d889913205cf7ebda905b1e62c5867ed4e39f6c2 < 30cad87978057516c93467516bc481a3eacfd66a ; affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 < 2ef17d1476ab26bce89764e2f16833d7f52acc38 ; affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 < 907c630e58af9e86e215f3951c7b287bd86d0f15 ; affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 < 6301fe4f209165334d251a1c6da8ae47f93cb32c ; affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 < 4a2bf707270f897ab8077baee8ed5842a5321686
Linux · Linuxaffected 6.3 ; unaffected 0 < 6.3 ; unaffected 6.6.103 ≤ 6.6.* ; unaffected 6.12.43 ≤ 6.12.* ; unaffected 6.15.11 ≤ 6.15.* ; unaffected 6.16.2 ≤ 6.16.*

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD