wifi: ath12k: Fix invalid data access in ath12k_dp_rx_h_undecap_nwifi
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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
From the CVE record · Linux
The Linux kernel’s ath12k driver can access invalid data and potentially corrupt memory when hardware supplies a packet longer than the maximum native Wi-Fi header length during native Wi-Fi decapsulation. The input does not establish whether an attacker can trigger this condition, whether authentication is needed, or whether user interaction is required.
Engineers running Linux kernels with the ath12k Wi-Fi driver should check whether their kernel includes the fix; affected versions are not specified.