CVE-2024-43881 wifi: ath12k: change DMA direction while mapping reinjected packets
An attacker can leak private information from kernel memory due to incorrect DMA direction handling in the ath12k WiFi driver.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-43881?
CVE-2024-43881 is a high-severity vulnerability in Linux kernel, published on 21 Aug 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: change DMA direction while mapping reinjected packets
For fragmented packets, ath12k reassembles each fragment as a normal packet and then reinjects it into HW ring. In this case, the DMA direction should be DMA_TO_DEVICE, not DMA_FROM_DEVICE. Otherwise, an invalid payload may be reinjected into the HW and subsequently delivered to the host.
Given that arbitrary memory can be allocated to the skb buffer, knowledge about the data contained in the reinjected buffer is lacking. Consequently, there’s a risk of private information being leaked.
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.1.1-00209-QCAHKSWPL_SILICONZ-1
Weakness: CWE-668
Which versions are affected by CVE-2024-43881?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-43881?
Apply the vendor's patch.
Is CVE-2024-43881 being exploited?
There is no known exploitation of CVE-2024-43881 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2024-43881, DEBIAN-CVE-2024-43881, GHSA-9w5w-xqmf-4qcw, UBUNTU-CVE-2024-43881.