wifi: ath11k: fix overreads in ath11k_wmi_process_csa_switch_count_event()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel f760b7d7e43584d2fa9bffcec1a04e502609f827, Kernel 0364926fb4bfb5b798e5fe2785b3023b4f767327, Kernel 208d7fdb85976a737a715b81d54efaff6703880c and 8 more.
In the Linux kernel, the following vulnerability has been resolved: wifi: ath11k: fix overreads in ath11k_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 ath11k_wmi_tlv_data_len() to recover the payload length of a parsed TLV from the header preceding its data pointer. Use it in ath11k_wmi_process_csa_switch_count_event() to bound num_vdevs before the loop. Compile tested only.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=d5c65159f2895379e11ca13f62feabe93278985d <f760b7d7e43584d2fa9bffcec1a04e502609f827, >=d5c65159f2895379e11ca13f62feabe93278985d <0364926fb4bfb5b798e5fe2785b3023b4f767327, >=d5c65159f2895379e11ca13f62feabe93278985d <208d7fdb85976a737a715b81d54efaff6703880c, >=d5c65159f2895379e11ca13f62feabe93278985d <57e77a6d900e5bc6e73ccd3ee1ba3bce834c9dde, >=d5c65159f2895379e11ca13f62feabe93278985d <5de2b8c53714ad58f2fda118cd29ebbe31b38665, >=d5c65159f2895379e11ca13f62feabe93278985d <d6625dc5f1fe42cd81b8c57a1f5317afb9b410ce, =5.6 | f760b7d7e43584d2fa9bffcec1a04e502609f827, 0364926fb4bfb5b798e5fe2785b3023b4f767327, 208d7fdb85976a737a715b81d54efaff6703880c, 57e77a6d900e5bc6e73ccd3ee1ba3bce834c9dde, 5de2b8c53714ad58f2fda118cd29ebbe31b38665, d6625dc5f1fe42cd81b8c57a1f5317afb9b410ce |
| linux-kernel: Kernel | >=6.13.0 <6.18.52, >=6.19.0 <7.2.6, >=6.2.0 <6.6.157, >=6.7.0 <6.12.110, >=5.6.0 <6.1.191 | 6.18.52, 7.2.6, 6.6.157, 6.12.110, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket