Description
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.
Published: 2026-07-19
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel flaw was that the KVM implementation for Secure Encrypted Virtualization (SEV) did not properly ignore port I/O requests whose length was zero. Such requests could cause an integer underflow when setting up the SEV software scratch area or other internal data structures, potentially leading to a kernel crash or unintended behavior. The applied fix adds an explicit check to skip processing any zero‑length requests, the underflow and stabilizing the I/O handling path.

Affected Systems

Linux kernels that include the KVM subsystem with SEV support are affected. The vulnerability exists in any kernel build released before the commit that adds the zero‑length code location so any kernel version newer than those changes is considered fixed. Older or custom kernels that have not applied the patch remain vulnerable.

Risk and Exploitability

The vulnerability is rated CVSS 9.3, reflecting a high severity if exploited. However, the EPSS score is below 1% and the issue is not listed in the CISA KEV catalog, indicating that observed exploitation is unlikely. Based on the description, it is inferred that attackers would need privileged access to the host or to a SEV‑enabled virtual machine to construct a zero‑length port I/O request, making remote exploitation impractical. Based on the description, it is inferred that the exploitation path involves manipulating low‑level port I/O operations from within the SEV context, a capability normally restricted to the host or to very high‑privileged guests.

Generated by OpenCVE AI on August 4, 2026 at 18:14 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the host’s Linux kernel to a release that includes the commit adding the zero‑length I/O guard in KVM SEV.
  • Reboot the system so that the new kernel and KVM modules are active.
  • If a kernel update cannot be applied immediately, disable SEV support for virtual machines that do not require it to eliminate the vulnerable code path.

Generated by OpenCVE AI on August 4, 2026 at 18:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8593-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-8603-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-8618-1 Linux kernel vulnerabilities
History

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-130
References
Metrics threat_severity

None

threat_severity

Moderate


Mon, 20 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}


Sun, 19 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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.
Title KVM: SEV: Ignore Port I/O requests of length '0'
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:37:27.732Z

Reserved: 2026-07-19T07:54:57.022Z

Link: CVE-2026-63940

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63940 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T18:15:03Z

Weaknesses
  • CWE-130

    Improper Handling of Length Parameter Inconsistency