CVE-2024-42225·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: replace skb_put with skb_put_zero Avoid potentially reusing uninitialized data
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.9.9
- Published
- 2024-07-30
Affected versions
From: 6.7
Until: 6.9.9
Fixed in: 6.9.9
How to fix this CVE
Update your Linux kernel to version 6.9.9 or later to resolve a memory initialization vulnerability in the MT76 WiFi driver. The vulnerability stems from improper buffer handling that could allow uninitialized kernel memory to be reused, potentially exposing sensitive data. Apply the kernel update through your distribution's package manager and reboot your system to activate the patched kernel.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r | awk -F. '{print $1"."$2"."$3}'
- Verify if MT76 WiFi driver is loaded: lsmod | grep mt76
- Check if kernel is in the vulnerable range (6.7 to 6.9.8): if [[ $(uname -r | cut -d. -f1-3) == 6.7* ]] || [[ $(uname -r | cut -d. -f1-3) == 6.8* ]] || [[ $(uname -r | cut -d. -f1-3) == 6.9* ]]; then echo 'Potentially vulnerable'; fi
- Verify the fix by confirming kernel version is 6.9.9 or later after reboot: uname -r
FAQ
What is CVE-2024-42225?
This vulnerability affects the MT76 WiFi driver in the Linux kernel where the driver uses skb_put() instead of skb_put_zero(), potentially exposing uninitialized memory contents through network packets. The flaw allows kernel memory leakage when processing WiFi frames.
Is CVE-2024-42225 being actively exploited?
No, this vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities catalog, and no public exploits are available. However, it remains a high-severity issue due to its memory disclosure nature.
What versions of Kernel are affected by CVE-2024-42225?
Linux kernel versions 6.7 through 6.9.8 are affected by this vulnerability. Kernel 6.9.9 and later versions contain the fix.
How do I check if my server is vulnerable to CVE-2024-42225?
Run: uname -r && lsmod | grep mt76. If your kernel version is between 6.7 and 6.9.8 AND the MT76 driver is loaded, your system is vulnerable.
Does Defensia detect CVE-2024-42225?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2024-42225 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/22ea2a7f0b64d323625950414a4496520fb33657
- https://git.kernel.org/stable/c/64f86337ccfe77fe3be5a9356b0dabde23fbb074
- https://git.kernel.org/stable/c/7f819a2f4fbc510e088b49c79addcf1734503578
- https://git.kernel.org/stable/c/dc7f14d00d0c4c21898f3504607f4a31079065a2
- https://git.kernel.org/stable/c/ff6b26be13032c5fbd6b6a0b24358f8eaac4f3af
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-42225. Free for 1 server.
Get started free