Skip to main content

Linux Kernel EUVDEUVD-2026-41667

| CVE-2026-53360 HIGH
Out-of-bounds Read (CWE-125)
2026-07-04 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-4pq2-jh73-g3hw
8.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Share

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY
8.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI
8.8 HIGH

Attacker must already control a guest so AV:L/PR:L; trigger is simple repeated VMGEXITs (AC:L); guest crosses into host kernel giving scope change with full heap read/corrupt/crash (C:H/I:H/A:H).

3.1 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
SUSE
HIGH
qualitative
Red Hat
7.0 HIGH
qualitative

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
Analysis Generated
Jul 18, 2026 - 08:28 vuln.today
CVSS changed
Jul 18, 2026 - 08:22 NVD
8.8 (HIGH)
CVE Published
Jul 04, 2026 - 12:17 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 04, 2026 - 12:17 cve.org
HIGH 8.8

DescriptionCVE.org

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

KVM: SEV: Require in-GHCB scratch area if GHCB v2+ is in use

As per the GHCB spec, when using GHCB v2+ require the software scratch area to reside in the GHCB's shared buffer. Note, things like Page State Change (PSC) requests _rely_ on this behavior, as the guest can't provide a length when making the request, i.e. the size of the guest payload is bounded by the size of the shared buffer.

Failure to force usage of the GHCB, and a slew of other flaws, lets a malicious SNP guest corrupt host kernel heap memory, and leak host heap layout information.

setup_vmgexit_scratch() allocates a buffer via kvzalloc(exit_info_2), where exit_info_2 is guest-controlled. With exit_info_2=24, this yields a 24-byte allocation in kmalloc-cg-32 (32-byte slab objects). The buffer holds an 8-byte psc_hdr followed by 8-byte psc_entry structs, so only entries[0] and entries[1] are in-bounds.

snp_begin_psc() validates end_entry against VMGEXIT_PSC_MAX_COUNT (253) but NOT against the actual buffer size:

idx_end = hdr->end_entry;

if (idx_end >= VMGEXIT_PSC_MAX_COUNT) { // checks 253, not buffer snp_complete_psc(svm, ...); return 1; }

for (idx = idx_start; idx <= idx_end; idx++) { entry_start = entries[idx]; // OOB when idx >= 2

The guest sets end_entry=10+, causing the host to iterate entries[2+] which are OOB into adjacent slab objects. For each OOB entry:

  • The host reads 8 bytes (OOB READ / info leak oracle)
  • If the data passes PSC validation, __snp_complete_one_psc() writes

cur_page = 1 or 512 into the entry (OOB WRITE, sev.c:3806)

  • If validation fails, the error response reveals whether adjacent

memory is zero vs non-zero (information disclosure to guest)

The guest controls allocation size (exit_info_2), entry range (cur_entry/end_entry), and can fire unlimited VMGEXITs to repeatedly hit different slab positions.

By exploiting the variety of bugs, a malicious SEV-SNP guest can:

  • OOB read adjacent kmalloc-cg-32 objects (heap layout disclosure)
  • OOB write cur_page bits into adjacent objects (heap corruption)
  • Trigger use-after-free conditions across VMGEXITs

E.g. with KASAN enabled, a single insmod of the PoC guest module produces 73 KASAN reports:

BUG: KASAN: slab-out-of-bounds in snp_begin_psc+0x126/0x890 Read of size 8 at addr ffff888219ffb5e0 by task qemu-system-x86/2199

BUG: KASAN: slab-out-of-bounds in snp_begin_psc+0x468/0x890 Write of size 8 at addr ffff888351566648 by task qemu-system-x86/2199

The buggy address belongs to the object at ffff888XXXXXXXXX which belongs to the cache kmalloc-cg-32 of size 32 The buggy address is located N bytes to the right of allocated 32-byte region [ffff888XXXXXXXXX, ffff888XXXXXXXXX)

Breakdown: 62 slab-out-of-bounds (reads + writes past allocation) 7 slab-use-after-free 4 use-after-free

All credit to Stan for the wonderful description and reproducer!

[sean: write changelog]

AnalysisAI

Heap out-of-bounds read and write in the Linux kernel's KVM AMD SEV-SNP host code lets a malicious confidential guest corrupt and disclose host kernel heap memory. The flaw is in the GHCB Page State Change (PSC) path: setup_vmgexit_scratch() sizes a kvzalloc buffer from the guest-controlled exit_info_2, but snp_begin_psc() only bounds the entry index against VMGEXIT_PSC_MAX_COUNT (253) rather than the actual allocation, so a guest can drive iteration past the buffer into adjacent kmalloc-cg-32 slab objects. Rated CVSS 8.8 with a guest-to-host scope change; EPSS is low at 0.27% and there is no CISA KEV listing, though a working in-tree reproducer is credited in the changelog.

Technical ContextAI

The vulnerability lives in AMD SEV-SNP confidential-computing support within KVM (arch/x86/kvm/svm/sev.c). SEV-SNP guests talk to the host hypervisor through the Guest-Hypervisor Communication Block (GHCB); under GHCB v2+ the software scratch area must reside inside the GHCB's fixed-size shared buffer, which implicitly bounds request payloads such as Page State Change lists that carry no explicit length. The root cause is a missing bounds check (CWE-787 out-of-bounds write / CWE-125 out-of-bounds read; input CWE was N/A): setup_vmgexit_scratch() allocates kvzalloc(exit_info_2) with a guest-chosen size (e.g. exit_info_2=24 lands in the 32-byte kmalloc-cg-32 slab, holding an 8-byte psc_hdr plus only entries[0] and entries[1]), while snp_begin_psc() validates hdr->end_entry against the 253-entry maximum but never against the true buffer capacity. The loop then reads entry_start = entries[idx] for idx beyond the allocation, and __snp_complete_one_psc() writes cur_page (1 or 512) back into out-of-bounds entries, yielding both an OOB read oracle and an OOB write into neighboring slab objects.

RemediationAI

Vendor-released patch: upgrade to a fixed stable kernel - 6.12.93, 6.18.35, 7.0.12, or 7.1 (or later) - which enforces that the GHCB v2+ scratch area resides in the GHCB shared buffer and bounds PSC entry iteration against the real allocation; the corresponding upstream commits are b328ede59ac3, c9b4198fbc6e, db3f2195d293 and bf9ba093fbb8 at git.kernel.org, cross-referenced from https://nvd.nist.gov/vuln/detail/CVE-2026-53360. Because exploitation requires running a malicious SEV-SNP guest, the most effective compensating control until patched is to not launch untrusted or attacker-supplied SEV-SNP guests, and where feasible disable SEV-SNP host support (kernel config/KVM module parameter) on hosts that do not need confidential VMs - the trade-off being loss of confidential-computing capability for those tenants. Operators of multi-tenant confidential-VM fleets who cannot immediately reboot into a patched kernel should restrict SEV-SNP guest provisioning to trusted workloads and prioritize the patched-kernel rollout, since no runtime configuration fully neutralizes a guest that already exercises the PSC path.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
Image SLES15-SP7-Azure-3P Image SLES15-SP7-Azure-Basic Image SLES15-SP7-Azure-Standard Image SLES15-SP7-HPC-Azure Affected
Image SLES15-SP7-BYOS-Azure Image SLES15-SP7-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-Aliyun Image SLES15-SP7-CHOST-BYOS-Azure Image SLES15-SP7-CHOST-BYOS-EC2 Image SLES15-SP7-CHOST-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-GDC Image SLES15-SP7-CHOST-BYOS-SAP-CCloud Image SLES15-SP7-EC2 Image SLES15-SP7-EC2-ECS-HVM Image SLES15-SP7-GCE Image SLES15-SP7-HPC-BYOS-Azure Image SLES15-SP7-HPC-BYOS-EC2 Image SLES15-SP7-HPC-BYOS-GCE Image SLES15-SP7-Hardened-BYOS-Azure Image SLES15-SP7-Hardened-BYOS-EC2 Image SLES15-SP7-Hardened-BYOS-GCE Image SLES15-SP7-SAPCAL-Azure Image SLES15-SP7-SAPCAL-EC2 Image SLES15-SP7-SAPCAL-GCE Affected
Image SLES15-SP7-SAP-Azure Image SLES15-SP7-SAP-Azure-3P Image SLES15-SP7-SAP-BYOS-Azure Image SLES15-SP7-SAP-BYOS-EC2 Image SLES15-SP7-SAP-BYOS-GCE Image SLES15-SP7-SAP-EC2 Image SLES15-SP7-SAP-GCE Image SLES15-SP7-SAP-Hardened-Azure Image SLES15-SP7-SAP-Hardened-BYOS-Azure Image SLES15-SP7-SAP-Hardened-BYOS-EC2 Image SLES15-SP7-SAP-Hardened-BYOS-GCE Image SLES15-SP7-SAP-Hardened-GCE Affected
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed

Share

EUVD-2026-41667 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy