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

virt: sev-guest: Explicitly leak pages in unknown state

When set_memory_{encrypted,decrypted}() fail, the user cannot know at which
point the function failed, meaning that the pages are left in an unknown state
from the point of view of the caller.

Since the pages may be left in an unencrypted state, they are not suitable for
general use, and cannot be returned safely to the buddy allocator. Avoid the
issue by never freeing the pages, and then do the proper accounting by calling
snp_leak_pages().
Published: 2026-07-19
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability exists in the Linux kernel’s SEV‑guest subsystem. When either set_memory_encrypted() or set_memory_decrypted() fails, the function does not indicate at which point the failure occurred, causing pages to remain in an unknown state. Because those pages may stay unencrypted, they can be reused or handed to user space in a form that leaks sensitive data, representing a confidentiality breach identified as CWE‑212.

Affected Systems

All Linux kernel builds that include SEV‑guest support are affected, as the code path handling memory encryption exists broadly in the kernel. No specific kernel releases are listed, so any kernel version prior to the implementation of the fix is considered vulnerable.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, but the EPSS score of less than 1% shows an extremely low probability of exploitation. The flaw is local to privileged kernel code, so it requires access to kernel execution to trigger; it is not listed in CISA’s KEV catalog. The likely attack vector is a compromised kernel module or local privileged user attempting to manipulate memory encryption, which could cause confidential data to be exposed if pages are inadvertently released.

Generated by OpenCVE AI on July 30, 2026 at 20:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the SEV‑guest memory‑leak fix.
  • If an immediate kernel upgrade is not feasible, modify any code paths that free pages after a failed set_memory_{encrypted,decrypted} call to invoke snp_leak_pages() instead of freeing them directly, ensuring proper accounting.
  • If SEV‑guest functionality is not required in your environment, disable it by setting CONFIG_SEV=n in the kernel configuration to eliminate the vulnerable code path.

Generated by OpenCVE AI on July 30, 2026 at 20:32 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

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

Type Values Removed Values Added
Metrics cvssV3_1

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


Mon, 20 Jul 2026 12:15:00 +0000


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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: virt: sev-guest: Explicitly leak pages in unknown state When set_memory_{encrypted,decrypted}() fail, the user cannot know at which point the function failed, meaning that the pages are left in an unknown state from the point of view of the caller. Since the pages may be left in an unencrypted state, they are not suitable for general use, and cannot be returned safely to the buddy allocator. Avoid the issue by never freeing the pages, and then do the proper accounting by calling snp_leak_pages().
Title virt: sev-guest: Explicitly leak pages in unknown state
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:39:15.778Z

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

Link: CVE-2026-64104

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity :

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

Links: CVE-2026-64104 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T20:45:17Z

Weaknesses
  • CWE-212

    Improper Removal of Sensitive Information Before Storage or Transfer