CVE-2026-92497: wifi: ath12k: Avoid buffer overread in ath12k_wmi_op_rx()
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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
The Linux kernel CVE team has assigned CVE-2026-92497 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.6.157 with commit 9784faa6afd26693287e8e4569bdedee00212909 Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.12.110 with commit 07659388110de004cbb753f3c7bc85e657e51f7a Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.18.52 with commit 95d1bd1db9e9d8eccffc880166e01c4775115716 Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 7.2.6 with commit 9e6ec0977f0b9c16fc20efea050e3eea8f66e34b Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 7.3-rc1 with commit 7698656a2f7b045af5a6859766238cefea1b1945
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-92497
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/net/wireless/ath/ath12k/wmi.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
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