CVE-2024-46827 wifi: ath12k: fix firmware crash due to invalid peer nss
A remote attacker can cause a firmware crash in the ath12k WiFi driver by sending a malformed association request with invalid MCS-NSS values.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-46827?
CVE-2024-46827 is a medium-severity denial of service vulnerability in Linux kernel, published on 27 Sep 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
wifi: ath12k: fix firmware crash due to invalid peer nss
Currently, if the access point receives an association request containing an Extended HE Capabilities Information Element with an invalid MCS-NSS, it triggers a firmware crash.
This issue arises when EHT-PHY capabilities shows support for a bandwidth and MCS-NSS set for that particular bandwidth is filled by zeros and due to this, driver obtains peer_nss as 0 and sending this value to firmware causes crash.
Address this issue by implementing a validation step for the peer_nss value before passing it to the firmware. If the value is greater than zero, proceed with forwarding it to the firmware. However, if the value is invalid, reject the association request to prevent potential firmware crashes.
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.0.1-00029-QCAHKSWPL_SILICONZ-1
Which versions are affected by CVE-2024-46827?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-46827?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2024-46827 being exploited?
There is no known exploitation of CVE-2024-46827 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-53274, BELL-CVE-2024-46827, DEBIAN-CVE-2024-46827, GHSA-gxrj-c4gh-g3gr, ROOT-OS-UBUNTU-2204-CVE-2024-46827, UBUNTU-CVE-2024-46827.