wifi: ath12k: Correct tid cleanup when tid setup fails
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.103, 6.12.43, 6.15.11, 6.16.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From d889913205cf7ebda905b1e62c5867ed4e39f6c2 · fixed in 30cad87978057516c93467516bc481a3eacfd66a; From d889913205cf7ebda905b1e62c5867ed4e39f6c2 · fixed in 2ef17d1476ab26bce89764e2f16833d7f52acc38; From d889913205cf7ebda905b1e62c5867ed4e39f6c2 · fixed in 907c630e58af9e86e215f3951c7b287bd86d0f15; From d889913205cf7ebda905b1e62c5867ed4e39f6c2 · fixed in 6301fe4f209165334d251a1c6da8ae47f93cb32c; From d889913205cf7ebda905b1e62c5867ed4e39f6c2 · fixed in 4a2bf707270f897ab8077baee8ed5842a5321686
- Linux Linux
6.3
- KernelLinux
From 6.3.0 · fixed in 6.6.103; From 6.7.0 · fixed in 6.12.43; From 6.13.0 · fixed in 6.15.11; From 6.16.0 · fixed in 6.16.2