CVE-2024-53240·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: xen/netfront: fix crash when removing device When removing a netfront device directly after a suspend/resume cycle it might happen that the queues have not been setup again, causing a crash during the attempt to stop the queues another time. Fix that by checking the queues are existing before trying to stop them. This is XSA-465 / CVE-2024-53240.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.12.6
- Published
- 2024-12-24
Affected versions
From: 6.7
Until: 6.12.6
Fixed in: 6.12.6
How to fix this CVE
Update the Linux kernel to version 6.12.6 or later to resolve a crash that occurs when removing Xen netfront devices after suspend/resume cycles. The vulnerability stems from inadequate queue validation during device removal, which can lead to kernel panics on affected systems. Apply the patch immediately if your infrastructure relies on Xen virtualization.
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.12.6 (vulnerable if 6.7 ≤ version < 6.12.6)
- Step 2: Verify if Xen netfront driver is loaded by running `lsmod | grep xennet` (if output appears, the component is present)
- Step 3: Search system logs for netfront-related crashes using `journalctl -b | grep -i xennet` or `dmesg | grep -i xennet`
- Step 4: After applying patches, confirm new kernel version with `uname -r` and verify it is 6.12.6 or later
FAQ
What is CVE-2024-53240?
CVE-2024-53240 is a medium-severity vulnerability in the Linux kernel's Xen netfront driver that causes a system crash when removing network devices immediately after a suspend/resume cycle, due to improper queue validation during cleanup operations.
Is CVE-2024-53240 being actively exploited?
No, there is no evidence of active exploitation or public exploits available for CVE-2024-53240. It remains a stability issue rather than a security threat used in the wild.
What versions of Kernel are affected by CVE-2024-53240?
Linux kernel versions 6.7 through 6.12.5 are affected. Version 6.12.6 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-53240?
Run `uname -r` to display your kernel version. If it falls between 6.7 and 6.12.5, and your system uses Xen virtualization (check with `lsmod | grep xen`), your server is vulnerable.
Does Defensia detect CVE-2024-53240?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2024-53240 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1d5354a9182b6d302ae10367cbec1ca339d4e4e7
- https://git.kernel.org/stable/c/20f7f0cf7af5d81b218202ef504223af84b16a8f
- https://git.kernel.org/stable/c/2657ba851fa3381256d81e431b20041dc232fd88
- https://git.kernel.org/stable/c/7728e974ffbf14f17648dd92ea640b42b654d47c
- https://git.kernel.org/stable/c/8b41e6bccf7de93982781be4125211443382e66d
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-53240. Free for 1 server.
Get started free