CVE-2024-56704·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: 9p/xen: fix release of IRQ Kernel logs indicate an IRQ was double-freed. Pass correct device ID during IRQ release. [Dominique: remove confusing variable reset to 0]
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.12.2
- Published
- 2024-12-28
Affected versions
From: 6.12
Until: 6.12.2
Fixed in: 6.12.2
How to fix this CVE
Update your Linux kernel to version 6.12.2 or later to resolve a critical IRQ management flaw in the 9p/xen subsystem that could lead to double-free conditions and potential privilege escalation. This patch corrects improper device ID handling during interrupt release operations. Systems running kernel versions 6.12 through 6.12.1 should prioritize this update immediately.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version: uname -r | awk -F. '{print $1"."$2"."$3}'
- Verify if 9p/xen drivers are loaded: lsmod | grep -E '9pnet|xen'
- Search kernel logs for IRQ errors: sudo dmesg | grep -iE 'irq.*free|xen.*error|9p.*error'
- Confirm patch applied: grep -i '2bb3ee1bf237557daea1d58007d2e1d4a6502ccf' /boot/config-$(uname -r) || sudo dpkg -l | grep -i linux-image
FAQ
What is CVE-2024-56704?
CVE-2024-56704 is a kernel memory management vulnerability in the 9p/xen subsystem where incorrect device ID parameters passed during IRQ release operations cause double-free conditions, potentially allowing privilege escalation on virtualized systems.
Is CVE-2024-56704 being actively exploited?
No, according to CISA's Known Exploited Vulnerabilities catalog, there are no confirmed active exploits or public proof-of-concept code available for this vulnerability at this time.
What versions of Kernel are affected by CVE-2024-56704?
Linux kernel versions 6.12, 6.12.1, and 6.12.2-rc versions are affected; the vulnerability is resolved in kernel 6.12.2 and later stable releases.
How do I check if my server is vulnerable to CVE-2024-56704?
Run 'uname -r' and check if the kernel version is 6.12 or 6.12.1; if so, you are vulnerable. Additionally, verify with 'lsmod | grep 9pnet' to confirm the affected subsystem is in use.
Does Defensia detect CVE-2024-56704?
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-56704 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2bb3ee1bf237557daea1d58007d2e1d4a6502ccf
- https://git.kernel.org/stable/c/4950408793b118cb8075bcee1f033b543fb719fa
- https://git.kernel.org/stable/c/530bc9f03a102fac95b07cda513bfc16ff69e0ee
- https://git.kernel.org/stable/c/692eb06703afc3e24d889d77e94a0e20229f6a4a
- https://git.kernel.org/stable/c/7f5a2ed5c1810661e6b03f5a4ebf17682cdea850
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-56704. Free for 1 server.
Get started free