CVE-2024-35847·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: irqchip/gic-v3-its: Prevent double free on error The error handling path in its_vpe_irq_domain_alloc() causes a double free when its_vpe_init() fails after successfully allocating at least one interrupt. This happens because its_vpe_irq_domain_free() frees the interrupts along with the area bitmap and the vprop_page and its_vpe_irq_domain_alloc() subsequently frees the area bitmap and the vprop_page again. Fix this by unconditionally invoking its_vpe_irq_domain_free() which handles all cases correctly and by removing the bitmap/vprop_page freeing from its_vpe_irq_domain_alloc(). [ tglx: Massaged change log ]
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.8.9
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at <0.1% — higher than 6% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2024-35847 scores 7.8 on CVSS, so a successful attack would be serious — but at <0.1%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.7
Until: 6.8.9
Fixed in: 6.8.9
How to fix this CVE
Update your Linux kernel to version 6.8.9 or later to resolve a double-free vulnerability in the GIC-v3 interrupt controller driver. This memory corruption issue can cause system instability or crashes during interrupt allocation failures. Apply the kernel update and reboot your system to eliminate the vulnerability.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version: uname -r — ensure it is 6.8.9 or later
- Verify GIC-v3 ITS driver is in use: grep -i gic /proc/interrupts or dmesg | grep -i its
- Search system logs for memory corruption indicators: dmesg | grep -i 'double free\|use-after-free\|kmem_cache'
- Confirm patch application: grep its_vpe_irq_domain_free /boot/System.map-$(uname -r) to verify the patched function is present
FAQ
What is CVE-2024-35847?
CVE-2024-35847 is a double-free memory vulnerability in the Linux kernel's GIC-v3 interrupt chip driver that occurs when interrupt initialization fails after successful allocation, causing the same memory regions to be freed twice.
Is CVE-2024-35847 being actively exploited?
No, CVE-2024-35847 is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2024-35847?
Linux kernel versions 6.7 through 6.8.8 are vulnerable; the issue is fixed in kernel 6.8.9 and later.
How do I check if my server is vulnerable to CVE-2024-35847?
Run `uname -r` to check your kernel version — if it falls between 6.7 and 6.8.8 inclusive, your system is vulnerable.
Does Defensia detect CVE-2024-35847?
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-35847 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/03170e657f62c26834172742492a8cb8077ef792
- https://git.kernel.org/stable/c/5b012f77abde89bf0be8a0547636184fea618137
- https://git.kernel.org/stable/c/5dbdbe1133911ca7d8466bb86885adec32ad9438
- https://git.kernel.org/stable/c/aa44d21574751a7d6bca892eb8e0e9ac68372e52
- https://git.kernel.org/stable/c/b72d2b1448b682844f995e660b77f2a1fabc1662
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-35847. Free for 1 server.
Get started free