CVE-2024-47714 wifi: mt76: mt7996: use hweight16 to get correct tx antenna
A stack-out-of-bounds write in the mt7996 WiFi driver can cause a kernel crash, requiring a patch to fix incorrect antenna calculation.
- 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-47714?
CVE-2024-47714 is a high-severity memory corruption vulnerability in Linux kernel, published on 21 Oct 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: mt76: mt7996: use hweight16 to get correct tx antenna
The chainmask is u16 so using hweight8 cannot get correct tx_ant. Without this patch, the tx_ant of band 2 would be -1 and lead to the following issue: BUG: KASAN: stack-out-of-bounds in mt7996_mcu_add_sta+0x12e0/0x16e0 [mt7996e]
Weakness: CWE-787
Which versions are affected by CVE-2024-47714?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-47714?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-47714 being exploited?
There is no known exploitation of CVE-2024-47714 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-51261, BELL-CVE-2024-47714, DEBIAN-CVE-2024-47714, GHSA-8j7j-4m45-jv28, UBUNTU-CVE-2024-47714.