Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: Avoid buffer overread in ath12k_wmi_op_rx() Currently, in ath12k_wmi_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. Update the logic to verify the buffer contains at least enough data to hold a wmi_cmd_hdr before reading from the buffer. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c7-00108-QCAHMTSWPL_V1.0_V2.0_SILICONZ_UPSTREAM-3
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 9784faa6afd26693287e8e4569bdedee00212909; affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 07659388110de004cbb753f3c7bc85e657e51f7a; affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 95d1bd1db9e9d8eccffc880166e01c4775115716; affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 9e6ec0977f0b9c16fc20efea050e3eea8f66e34b; affected d889913205cf7ebda905b1e62c5867ed4e39f6c2 before 7698656a2f7b045af5a6859766238cefea1b1945 |
| Linux / Linux | affected 6.3; unaffected 0 before 6.3; unaffected 6.6.157 through 6.6.*; unaffected 6.12.110 through 6.12.*; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/9784faa6afd26693287e8e4569bdedee00212909
- https://git.kernel.org/stable/c/07659388110de004cbb753f3c7bc85e657e51f7a
- https://git.kernel.org/stable/c/95d1bd1db9e9d8eccffc880166e01c4775115716
- https://git.kernel.org/stable/c/9e6ec0977f0b9c16fc20efea050e3eea8f66e34b
- https://git.kernel.org/stable/c/7698656a2f7b045af5a6859766238cefea1b1945