CVE-2026-63940·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: KVM: SEV: Ignore Port I/O requests of length '0' Explicitly ignore Port I/O requests of length '0' (or count '0'), so that setting up the software scratch area (and other code) doesn't have to worry about underflowing the length, and to allow for WARNing on trying to configure the scratch area with len==0.
- Severity
- critical
- 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.19% — higher than 8% 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-63940 scores 9.3 on CVSS, so a successful attack would be serious — but at 0.19%, 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 patch a critical memory safety issue in KVM's SEV (Secure Encrypted Virtualization) port I/O handler. This vulnerability allows malformed I/O requests with zero length to trigger memory underflow conditions in the kernel's scratch area configuration. Prioritize this update for systems running KVM with SEV-enabled virtual machines, as the CVSS score of 9.3 reflects high severity across confidentiality, integrity, and availability.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — verify it is NOT between 6.19 and 7.0.11 (inclusive)
- Confirm KVM/SEV is in use: grep -i kvm /proc/cpuinfo and grep -i sev /proc/cpuinfo — if both are present, the host is vulnerable if kernel is outdated
- Search dmesg and kernel logs for SEV-related errors: dmesg | grep -i 'sev\|port.*io' — look for repeated I/O request warnings or memory allocation failures
- Verify patch status: cat /proc/version and cross-reference with kernel changelog at kernel.org — confirm version matches or exceeds 7.0.12
FAQ
What is CVE-2026-63940?
This is a kernel memory safety vulnerability in KVM's SEV implementation where malformed port I/O requests with zero length bypass input validation, potentially causing memory underflow when the kernel attempts to configure the scratch area. This can lead to privilege escalation or denial of service on virtualized systems.
Is CVE-2026-63940 being actively exploited?
No, this vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are available. However, the critical CVSS score warrants immediate patching due to its potential impact.
What versions of Kernel are affected by CVE-2026-63940?
Linux kernel versions 6.19 through 7.0.11 are vulnerable. The fix is included in kernel 7.0.12 and all later stable releases.
How do I check if my server is vulnerable to CVE-2026-63940?
Run `uname -r` to display your kernel version. If it falls between 6.19 and 7.0.11, you are vulnerable. Additionally, verify KVM/SEV is active with `grep -i 'flags.*sev' /proc/cpuinfo` — if no output appears, SEV is not enabled and exposure is reduced.
Does Defensia detect CVE-2026-63940?
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-63940 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/2254972d4d69e279ba4e87bf0968eb08ad0d3c92
- https://git.kernel.org/stable/c/3988bd2723de407ae90fa7a6f6029b4e60238c58
- https://git.kernel.org/stable/c/3b6035bc6bff20e89752ce4358bc4c9a9d5883f2
- https://git.kernel.org/stable/c/bbd3a27e4f99fdcad82d12d79c04a95dff1ff70b
- https://git.kernel.org/stable/c/c30cde934c7813b4e3069765dac64ce3d31e34f2
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-63940. Free for 1 server.
Get started free