Description
In the Linux kernel, the following vulnerability has been resolved:

KVM: SEV: Use READ_ONCE() when reading entries/indices from PSC buffer

Use READ_ONCE() when reading entries/indices from the guest-accessible
Page State Change buffer to defend against TOCTOU bugs.

Don't bother with READ_ONCE()/WRITE_ONCE() for cases where KVM is writing
(and not consuming the result!), as the guest isn't supposed to touch the
buffer while it's being processed. I.e. using READ_ONCE() is all about
protecting against misbehaving guests.
Published: 2026-07-19
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is a race condition in the Linux kernel’s handling of the guest‑accessible Page State Change (PSC) buffer used by the SEV hypervisor. The kernel reads entries and indices from the buffer without using the READ_ONCE() macro, which prevents time‑of‑check/time‑of‑use errors. Because this guarding was missing, a guest could potentially modify the buffer content between the moment it is read and the moment it is used, creating a data‑consistency issue that could affect the host kernel’s page‑state operations. The description indicates that the fix was added to defend against TOCTOU bugs, implying that the flaw could permit misuse of the PSC buffer but does not explicitly state the exact damage. Overall, the weakness threatens kernel integrity when a guest can influence the PSC buffer.

Affected Systems

The flaw is present in the Linux kernel source. Any Linux system running a kernel build that supports KVM with SEV enabled and that has not applied the commit that adds READ_ONCE protection is affected. Distribution vendors are not listed; the vulnerability applies equally to all upstream kernel versions prior to the patch, and the impact is tied to KVM/SEV usage rather than a specific vendor product.

Risk and Exploitability

The base CVSS score is 8.8, indicating high severity for kernel integrity. The EPSS score is <1%, reflecting a low probability of active exploitation at present. The flaw is not listed in the CISA KEV catalog, signifying no publicly known exploits. A likely attack vector involves a malicious guest that can interact with the PSC buffer. Based on the description, the vulnerability could be leveraged by a guest to alter the PSC buffer between read and use, potentially leading to kernel state inconsistencies. No public exploitation evidence is available.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the host Linux kernel to a revision that includes the READ_ONCE patch for the SEV PSC buffer.
  • Update KVM/host hypervisor components (e.g., QEMU, KVM tools) to the latest releases that are compatible with the patched kernel.
  • If SEV features are not required, disable SEV support or configure the hypervisor to prohibit guest access to the PSC buffer.

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

Sun, 26 Jul 2026 08:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

Wed, 22 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362

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

Type Values Removed Values Added
Weaknesses CWE-367
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': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/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: Use READ_ONCE() when reading entries/indices from PSC buffer Use READ_ONCE() when reading entries/indices from the guest-accessible Page State Change buffer to defend against TOCTOU bugs. Don't bother with READ_ONCE()/WRITE_ONCE() for cases where KVM is writing (and not consuming the result!), as the guest isn't supposed to touch the buffer while it's being processed. I.e. using READ_ONCE() is all about protecting against misbehaving guests.
Title KVM: SEV: Use READ_ONCE() when reading entries/indices from PSC buffer
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:24.499Z

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

Link: CVE-2026-63937

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-63937 - Bugzilla

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition