CVE-2024-27049·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7925e: fix use-after-free in free_irq() From commit a304e1b82808 ("[PATCH] Debug shared irqs"), there is a test to make sure the shared irq handler should be able to handle the unexpected event after deregistration. For this case, let's apply MT76_REMOVED flag to indicate the device was removed and do not run into the resource access anymore.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.8.2
- Published
- 2024-05-01
Affected versions
From: 6.8
Until: 6.8.2
Fixed in: 6.8.2
How to fix this CVE
Update your Linux kernel to version 6.8.2 or later to resolve a use-after-free vulnerability in the MT7925e WiFi driver that could occur during interrupt handler deregistration. This patch applies the MT76_REMOVED flag to prevent resource access after device removal, eliminating the race condition that could lead to memory corruption or system instability.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check installed kernel version with 'uname -r' and compare against 6.8.2 or later
- Step 2: Verify if MT7925e WiFi adapter is present by running 'lspci | grep -i mt7925' or 'lsusb | grep -i mediatek'
- Step 3: Search kernel logs for MT76 driver warnings with 'sudo dmesg | grep -i mt76' or 'sudo journalctl -u kernel | grep mt76'
- Step 4: After patching, confirm kernel version with 'uname -r' and verify MT7925e driver loads without errors using 'sudo modprobe mt7925e' followed by 'dmesg | tail -20'
FAQ
What is CVE-2024-27049?
This vulnerability is a use-after-free condition in the MT7925e WiFi driver's interrupt handler deregistration process. When the device is removed while handling shared interrupts, the driver may attempt to access freed memory, potentially causing kernel panic or data corruption.
Is CVE-2024-27049 being actively exploited?
No, this CVE is not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, it remains a high-severity issue due to its potential for denial of service and data corruption.
What versions of Kernel are affected by CVE-2024-27049?
Linux kernel versions 6.8 through 6.8.1 are vulnerable. The fix was released in kernel version 6.8.2 and later.
How do I check if my server is vulnerable to CVE-2024-27049?
Run 'uname -r' to check your kernel version. If it shows 6.8.0 or 6.8.1 and your system has an MT7925e WiFi adapter (verify with 'lspci | grep mt7925'), your system is vulnerable.
Does Defensia detect CVE-2024-27049?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Linux kernel is installed on a monitored server, CVE-2024-27049 will appear in your dashboard with remediation steps and patch availability tracking.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/6d9930096e1f13cf6d9aabfbf95d0e05fb04144f
- https://git.kernel.org/stable/c/84470b48af03a818039d587478b415cbcb264ff5
- https://git.kernel.org/stable/c/a5a5f4413d91f395cb2d89829d376d7393ad48b9
- https://git.kernel.org/stable/c/6d9930096e1f13cf6d9aabfbf95d0e05fb04144f
- https://git.kernel.org/stable/c/84470b48af03a818039d587478b415cbcb264ff5
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-27049. Free for 1 server.
Get started free