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… (CVE-2026-53360)
A vulnerability in the Linux kernel's KVM SEV implementation allows a malicious SEV-SNP guest to perform out-of-bounds reads and writes on the host kernel heap. This occurs due to improper validation of guest-controlled buffer sizes and entry indices when handling GHCB v2+ scratch areas, leading to heap corruption and information disclosure. The flaw enables leaking host heap layout information and potentially triggering use-after-free conditions. The vulnerability has been resolved in the Linux kernel.
AI Analysis
Technical Summary
The Linux kernel's KVM SEV subsystem did not enforce that the software scratch area reside within the GHCB's shared buffer when using GHCB v2+, violating the GHCB specification. This allowed a malicious SEV-SNP guest to control the allocation size and entry indices for Page State Change (PSC) requests, causing out-of-bounds (OOB) reads and writes in the host kernel heap. Specifically, the guest could set an end_entry index beyond the allocated buffer, leading to OOB access of adjacent slab objects. This results in information disclosure (heap layout leaks) and heap corruption by writing controlled values into adjacent memory. The guest can also trigger use-after-free conditions by firing multiple VMGEXITs. The vulnerability is confirmed by numerous KASAN reports demonstrating slab-out-of-bounds reads and writes. The issue has been fixed by requiring the scratch area to reside in the GHCB shared buffer as per the specification.
Potential Impact
A malicious SEV-SNP guest can exploit this vulnerability to read out-of-bounds memory from the host kernel heap, leaking sensitive heap layout information. It can also corrupt host kernel heap memory by writing out-of-bounds, potentially destabilizing the host or enabling further attacks. Use-after-free conditions can be triggered, increasing the risk of arbitrary code execution or denial of service on the host. The vulnerability affects confidentiality, integrity, and availability of the host system.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to require the in-GHCB scratch area when GHCB v2+ is in use, enforcing the GHCB specification and preventing out-of-bounds accesses. Users should update to a Linux kernel version that includes this fix. No additional mitigation is required if the system is running a patched kernel.
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… (CVE-2026-53360)
Description
A vulnerability in the Linux kernel's KVM SEV implementation allows a malicious SEV-SNP guest to perform out-of-bounds reads and writes on the host kernel heap. This occurs due to improper validation of guest-controlled buffer sizes and entry indices when handling GHCB v2+ scratch areas, leading to heap corruption and information disclosure. The flaw enables leaking host heap layout information and potentially triggering use-after-free conditions. The vulnerability has been resolved in the Linux kernel.
CVSS v3.1
Score 8.8high
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's KVM SEV subsystem did not enforce that the software scratch area reside within the GHCB's shared buffer when using GHCB v2+, violating the GHCB specification. This allowed a malicious SEV-SNP guest to control the allocation size and entry indices for Page State Change (PSC) requests, causing out-of-bounds (OOB) reads and writes in the host kernel heap. Specifically, the guest could set an end_entry index beyond the allocated buffer, leading to OOB access of adjacent slab objects. This results in information disclosure (heap layout leaks) and heap corruption by writing controlled values into adjacent memory. The guest can also trigger use-after-free conditions by firing multiple VMGEXITs. The vulnerability is confirmed by numerous KASAN reports demonstrating slab-out-of-bounds reads and writes. The issue has been fixed by requiring the scratch area to reside in the GHCB shared buffer as per the specification.
Potential Impact
A malicious SEV-SNP guest can exploit this vulnerability to read out-of-bounds memory from the host kernel heap, leaking sensitive heap layout information. It can also corrupt host kernel heap memory by writing out-of-bounds, potentially destabilizing the host or enabling further attacks. Use-after-free conditions can be triggered, increasing the risk of arbitrary code execution or denial of service on the host. The vulnerability affects confidentiality, integrity, and availability of the host system.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to require the in-GHCB scratch area when GHCB v2+ is in use, enforcing the GHCB specification and preventing out-of-bounds accesses. Users should update to a Linux kernel version that includes this fix. No additional mitigation is required if the system is running a patched kernel.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4pq2-jh73-g3hw
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-53360"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a498a7727e9c7971936eef3
Added to database: 07/04/2026, 22:34:31 UTC
Last enriched: 07/19/2026, 01:23:20 UTC
Last updated: 07/31/2026, 19:32:25 UTC
Views: 210
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.