CVE-2024-40989·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Disassociate vcpus from redistributor region on teardown When tearing down a redistributor region, make sure we don't have any dangling pointer to that region stored in a vcpu.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.9.7
- 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-40989 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.9.7
Fixed in: 6.9.7
How to fix this CVE
Update your Linux kernel to version 6.9.7 or later to resolve a memory management issue in KVM's ARM64 virtualization layer that could lead to privilege escalation. Systems running kernel versions 6.7 through 6.9.6 with KVM enabled should prioritize this patch to prevent potential unauthorized access from local privileged users.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check kernel version: uname -r (vulnerable if output is 6.7.x through 6.9.6)
- Verify KVM is enabled: grep -E 'CONFIG_KVM|CONFIG_KVM_ARM_HOST' /boot/config-$(uname -r) | grep -c y (non-zero means KVM is active)
- Search kernel logs for ARM64 GIC/redistributor warnings: dmesg | grep -iE 'redistributor|kvm.*arm64|vcpu.*region'
- Confirm patch status: grep -i 'CVE-2024-40989' /var/log/apt/history.log or dnf history (should show recent kernel updates)
FAQ
What is CVE-2024-40989?
CVE-2024-40989 is a KVM virtualization vulnerability on ARM64 systems where virtual CPU pointers to interrupt redistributor regions are not properly cleaned up during shutdown, potentially allowing memory corruption and privilege escalation.
Is CVE-2024-40989 being actively exploited?
No, this vulnerability is not currently listed in CISA's Known Exploited Vulnerabilities catalog and no public exploit code is available.
What versions of Kernel are affected by CVE-2024-40989?
Linux kernel versions 6.7 through 6.9.6 are vulnerable; version 6.9.7 and later include the fix.
How do I check if my server is vulnerable to CVE-2024-40989?
Run `uname -r` to check your kernel version; if it reports 6.7.x, 6.8.x, or 6.9.0-6.9.6, your system is vulnerable. Verify KVM is running with `lsmod | grep kvm`.
Does Defensia detect CVE-2024-40989?
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-40989 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/0d92e4a7ffd5c42b9fa864692f82476c0bf8bcc8
- https://git.kernel.org/stable/c/152b4123f21e6aff31cea01158176ad96a999c76
- https://git.kernel.org/stable/c/48bb62859d47c5c4197a8c01128d0fa4f46ee58c
- https://git.kernel.org/stable/c/68df4fc449fcc24347209e500ce26d5816705a77
- https://git.kernel.org/stable/c/0d92e4a7ffd5c42b9fa864692f82476c0bf8bcc8
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-40989. Free for 1 server.
Get started free