wifi: ath12k: fix memory leak in ath12k_wifi7_dp_rx_h_verify_tkip_mic()
- 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.160, 6.12.114, 6.14, 6.15, 6.18.57, and 1 more
- 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
Summary
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix memory leak in ath12k_wifi7_dp_rx_h_verify_tkip_mic() In ath12k_wifi7_dp_rx_h_verify_tkip_mic(), the call to ath12k_dp_rx_check_nwifi_hdr_len_valid() may return false when the NWIFI header length is invalid, causing the function to abort early with -EINVAL. When this happens, the error propagates to ath12k_wifi7_dp_rx_h_defrag(), which clears first_frag by setting it to NULL. As a result, the corresponding MSDU is no longer referenced by the defragmentation path and is never freed. This leads to a memory leak for the affected MSDU on this error path. Proper cleanup is required to ensure the MSDU is released when header validation fails during TKIP MIC verification. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00302-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.115823.3
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 7f1d986da5c6abb75ffe4d0d325fc9b341c41a1c · fixed in d960cd5dbcc6a01f49cc304b724f6b18a63a172d; From 3abe15e756481c45f6acba3d476cb3ca4afc3b61 · fixed in 779ab501dc8f1148b3f10740a68335741bdc5ffe; From 9a0dddfb30f120db3851627935851d262e4e7acb · fixed in 55c6f05b667726d2da5fd011d646fb48ce5b6b9c; From 9a0dddfb30f120db3851627935851d262e4e7acb · fixed in 5187a92099778501f21af76ed6c8415d128e7298; From 9a0dddfb30f120db3851627935851d262e4e7acb · fixed in 98d4f92ab6a1af2ea2ab590d7e2801b203110981; From 6.6.88 · fixed in 6.6.160; From 6.12.24 · fixed in 6.12.114; From 6.13.12 · fixed in 6.14; From 6.14.3 · fixed in 6.15
- Linux Linux
6.15
- KernelLinux
fixed in 6.6.160; From 6.7.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.57; From 6.15.0 · fixed in 7.1.5