| From bippy-1.2.0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@kernel.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-37943: wifi: ath12k: Fix invalid data access in ath12k_dp_rx_h_undecap_nwifi |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| wifi: ath12k: Fix invalid data access in ath12k_dp_rx_h_undecap_nwifi |
| |
| In certain cases, hardware might provide packets with a |
| length greater than the maximum native Wi-Fi header length. |
| This can lead to accessing and modifying fields in the header |
| within the ath12k_dp_rx_h_undecap_nwifi function for |
| DP_RX_DECAP_TYPE_NATIVE_WIFI decap type and |
| potentially resulting in invalid data access and memory corruption. |
| |
| Add a sanity check before processing the SKB to prevent invalid |
| data access in the undecap native Wi-Fi function for the |
| DP_RX_DECAP_TYPE_NATIVE_WIFI decap type. |
| |
| Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1 |
| |
| The Linux kernel CVE team has assigned CVE-2025-37943 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.6.88 with commit 7f1d986da5c6abb75ffe4d0d325fc9b341c41a1c |
| Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.12.24 with commit 3abe15e756481c45f6acba3d476cb3ca4afc3b61 |
| Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.13.12 with commit 6ee653194ddb83674913fd2727b8ecfae0597ade |
| Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.14.3 with commit 50be1fb76556e80af9f5da80f28168b6c71bce58 |
| Issue introduced in 6.3 with commit d889913205cf7ebda905b1e62c5867ed4e39f6c2 and fixed in 6.15 with commit 9a0dddfb30f120db3851627935851d262e4e7acb |
| |
| 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-2025-37943 |
| 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/dp_rx.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/7f1d986da5c6abb75ffe4d0d325fc9b341c41a1c |
| https://git.kernel.org/stable/c/3abe15e756481c45f6acba3d476cb3ca4afc3b61 |
| https://git.kernel.org/stable/c/6ee653194ddb83674913fd2727b8ecfae0597ade |
| https://git.kernel.org/stable/c/50be1fb76556e80af9f5da80f28168b6c71bce58 |
| https://git.kernel.org/stable/c/9a0dddfb30f120db3851627935851d262e4e7acb |