CVE-2026-46059·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: KVM: nSVM: Always use NextRIP as vmcb02's NextRIP after first L2 VMRUN For guests with NRIPS disabled, L1 does not provide NextRIP when running an L2 with an injected soft interrupt, instead it advances the current RIP before running it. KVM uses the current RIP as the NextRIP in vmcb02 to emulate a CPU without NRIPS. However, after L2 runs the first time, NextRIP will be updated by the CPU and/or KVM, and the current RIP is no longer the correct value to use in vmcb02. Hence, after save/restore, use the current RIP if and only if a nested run is pending, otherwise use NextRIP. Give soft_int_next_rip the same treatment, as it's the same logic, just for a narrower use case. [sean: give soft_int_next_rip the same treatment]
- Severity
- medium
- Software
- Kernel
- Fixed in
- 7.0.4
- Published
Affected versions
From: 6.19
Until: 7.0.4
Fixed in: 7.0.4
How to fix this CVE
Update your Linux kernel to version 7.0.4 or later to resolve a nested virtualization issue affecting KVM guests with disabled NRIPS (Next RIP Save). This vulnerability impacts systems running kernel versions 6.19 through 7.0.3 where incorrect instruction pointer handling in nested VM environments could cause denial of service. Ensure all physical and virtual machines in your environment receive the patched kernel version through your distribution's package manager.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with `uname -r` and compare against the affected range 6.19 to 7.0.3
- Step 2: Verify if KVM is enabled on your system with `grep -c '^flags.*vmx' /proc/cpuinfo` (Intel) or `grep -c '^flags.*svm' /proc/cpuinfo` (AMD)
- Step 3: Check if nested virtualization is active with `cat /sys/module/kvm_intel/parameters/nested` or `cat /sys/module/kvm_amd/parameters/nested`
- Step 4: After patching, confirm the new kernel is loaded with `uname -r` and verify it shows version 7.0.4 or later, then reboot if necessary
FAQ
What is CVE-2026-46059?
This vulnerability affects KVM nested virtualization handling where incorrect RIP (instruction pointer) values are used when managing L2 guest virtual machines that have soft interrupts injected without NRIPS support, potentially causing VM crashes or instability.
Is CVE-2026-46059 being actively exploited?
No, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are currently available.
What versions of Kernel are affected by CVE-2026-46059?
Linux kernel versions 6.19 through 7.0.3 are vulnerable; version 7.0.4 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-46059?
Run `uname -r` to check your kernel version; if it outputs a version between 6.19 and 7.0.3 and KVM is active on your system, you are vulnerable. Additionally check `grep -i nrips /proc/cpuinfo` on guest VMs to see NRIPS support status.
Does Defensia detect CVE-2026-46059?
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-46059 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/3428ed1529a1af4cce5aff6c5bd2fcc39ad726bb
- https://git.kernel.org/stable/c/69fe1411a5ce678b4da6489b5d2282b4e1d13acf
- https://git.kernel.org/stable/c/8d397582f6b5e9fbcf09781c7c934b4910e94a50
- https://git.kernel.org/stable/c/98717fb482fa269db491f7c84aec777d3aeb2cd1
- https://git.kernel.org/stable/c/b1a45e8a59bcf1f1ec0da6d4e42190b4211c67fc
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-46059. Free for 1 server.
Get started free