wifi: ath11k: Avoid buffer overread in ath11k_wmi_tlv_op_rx()
- 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 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.110, and 2 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: ath11k: Avoid buffer overread in ath11k_wmi_tlv_op_rx() Currently, in ath11k_wmi_tlv_op_rx(), the firmware buffer is read without first verifying that the buffer has enough data to hold a header. This could result in a buffer overread. Add an upfront length check before dereferencing skb->data as a wmi_cmd_hdr. The check is placed before the trace_ath11k_wmi_event() call to preserve the existing trace semantics (tracing the full raw WMI event including the header), unlike the analogous ath12k fix which could use skb_pull_data() directly. Compile tested only.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From d5c65159f2895379e11ca13f62feabe93278985d · fixed in 20166fd9a4ad15d7eccc63c9dc99680aea6558ef; From d5c65159f2895379e11ca13f62feabe93278985d · fixed in 71690d26c1415e816158b45ee354367244c50d4c; From d5c65159f2895379e11ca13f62feabe93278985d · fixed in f9726f6d97dca94ab14739c8b632301a940a7e8f; From d5c65159f2895379e11ca13f62feabe93278985d · fixed in 2677fc48dd10dc08cdec99c2692d50fe5f48dcbf; From d5c65159f2895379e11ca13f62feabe93278985d · fixed in 9652e7e23137538169f60323300cae3413475685; From d5c65159f2895379e11ca13f62feabe93278985d · fixed in 72a5e45f606ec454ef556a68ffd92e06b0677f44; From d5c65159f2895379e11ca13f62feabe93278985d · fixed in 9ddbc95dac167e3f2d0e3859e6ce022ae0184fc1; From d5c65159f2895379e11ca13f62feabe93278985d · fixed in 9ef9dd30058cc9223c72f711dca1a28a5947d0c5
- Linux Linux
5.6
- KernelLinux
From 5.6.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.110; From 6.13.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6
References 8
git.kernel.org
- stable/c/20166fd9a4ad15d7eccc63c9dc99680aea6558ef
- stable/c/71690d26c1415e816158b45ee354367244c50d4c
- stable/c/f9726f6d97dca94ab14739c8b632301a940a7e8f
- stable/c/2677fc48dd10dc08cdec99c2692d50fe5f48dcbf
- stable/c/9652e7e23137538169f60323300cae3413475685
- stable/c/72a5e45f606ec454ef556a68ffd92e06b0677f44
- stable/c/9ddbc95dac167e3f2d0e3859e6ce022ae0184fc1
- stable/c/9ef9dd30058cc9223c72f711dca1a28a5947d0c5