CVE-2026-46317·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Reassign nested_mmus array behind mmu_lock kvm->arch.nested_mmus[] is walked under kvm->mmu_lock, including from the MMU notifier path (kvm_unmap_gfn_range() -> kvm_nested_s2_unmap()), which can run at any time. kvm_vcpu_init_nested() reallocates the array and frees the old buffer while holding only kvm->arch.config_lock, so such a walker can reference the freed array. Allocate the new array outside of mmu_lock, as the allocation can sleep. Under the lock, copy the existing entries, fix up the back pointers and reassign the array. Free the old buffer after dropping the lock, as kvfree() can sleep as well.
- Severity
- high
- Software
- Kernel
- Fixed in
- 7.0.12
- 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.13% — higher than 2% 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-2026-46317 scores 8.8 on CVSS, so a successful attack would be serious — but at 0.13%, 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.19
Until: 7.0.12
Fixed in: 7.0.12
How to fix this CVE
Update your Linux kernel to version 7.0.12 or later to remediate this memory safety issue affecting KVM's nested MMU handling. This vulnerability allows potential use-after-free conditions when the nested_mmus array is reallocated during virtual machine operations. Apply the kernel update through your distribution's package manager and reboot your system to activate the patched kernel.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Run 'uname -r' to check your current kernel version; if it shows 6.19 through 7.0.11, your system is vulnerable.
- Verify KVM is enabled on your system by checking if 'lsmod | grep kvm' returns results; if empty, the vulnerable code path is not loaded.
- Search kernel logs with 'grep -i 'nested_mmu\|use.after.free\|kvm' /var/log/kern.log' to identify potential exploitation attempts.
- After patching, confirm the new kernel is running with 'uname -r' and verify it shows 7.0.12 or later; reboot if the version hasn't changed.
FAQ
What is CVE-2026-46317?
This vulnerability is a use-after-free flaw in Linux kernel KVM's nested MMU implementation where the nested_mmus array can be accessed after being freed during reallocation, potentially allowing memory corruption in hypervisor environments.
Is CVE-2026-46317 being actively exploited?
No, this vulnerability is not currently listed on CISA's Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available, though it poses a significant risk in virtualized environments.
What versions of Kernel are affected by CVE-2026-46317?
Linux kernel versions 6.19 through 7.0.11 are affected; systems running 7.0.12 or later are patched.
How do I check if my server is vulnerable to CVE-2026-46317?
Execute 'uname -r' and compare your kernel version against the affected range (6.19–7.0.11); also confirm KVM is active with 'lsmod | grep kvm'.
Does Defensia detect CVE-2026-46317?
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-2026-46317 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46317. Free for 1 server.
Get started free