wifi: ath12k: fix overreads in ath12k_wmi_process_csa_switch_count_event()
- 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.18.57, 7.2.6
- 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 overreads in ath12k_wmi_process_csa_switch_count_event() There is no policy entry for WMI_TAG_PDEV_CSA_SWITCH_COUNT_STATUS_EVENT, so the parse infrastructure does not enforce a minimum length for the event struct. Additionally, the num_vdevs field is taken directly from firmware and used as a loop bound over the vdev_ids array without checking that it fits within the TLV payload. Either condition can cause an out-of-bounds read. Add a TLV policy entry for WMI_TAG_PDEV_CSA_SWITCH_COUNT_STATUS_EVENT so the parse infrastructure enforces a minimum length for the fixed-size event struct. Add a helper ath12k_wmi_tlv_data_len() to recover the payload length of a parsed TLV from the header preceding its data pointer. Use it in ath12k_wmi_process_csa_switch_count_event() to bound num_vdevs before the loop. Compile tested only.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From d889913205cf7ebda905b1e62c5867ed4e39f6c2 · fixed in d4aec20f3a84634171c139ab2e02bb2e5a5c756b; From d889913205cf7ebda905b1e62c5867ed4e39f6c2 · fixed in 24f7cdabea9f7ab95dbd6d8bc9ac6ec48d96a7e5; From d889913205cf7ebda905b1e62c5867ed4e39f6c2 · fixed in 23bed4ef132c55c9016f0c6122c8b8ba2efa2353; From d889913205cf7ebda905b1e62c5867ed4e39f6c2 · fixed in bf97c9d5123859a07848462539153176db029f3a; From d889913205cf7ebda905b1e62c5867ed4e39f6c2 · fixed in 878654eb78c6aa0ff585baf1376567c775ca28ec
- Linux Linux
6.3
- KernelLinux
From 6.3.0 · 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.19.0 · fixed in 7.2.6