Skip to main content

Linux Kernel CVE-2026-63794

| EUVDEUVD-2026-45460 HIGH
Out-of-bounds Write (CWE-787)
2026-07-19 Linux GHSA-8vm9-66j5-xm27
7.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local access to SEV-capable KVM host
  2. Delivery
    Manage/create a SEV guest
  3. Exploit
    Invoke KVM_SEV_DBG_ENCRYPT with d_off > s_off and len=PAGE_SIZE
  4. Execution
    PSP + memcpy write past 4096-byte dst_tpage
  5. Persist
    Corrupt adjacent kernel slab memory
  6. Impact
    Escalate privileges / crash host

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an AMD SEV-capable host with SEV enabled and the ability to invoke the KVM SEV memory-encryption ioctl (KVM_SEV_DBG_ENCRYPT) against a SEV guest - i.e. local access with privileges to manage a SEV VM via /dev/kvm. The concrete trigger is a debug crypt request on the ENCRYPT path where the destination page offset exceeds the source page offset (d_off > s_off) such that len + (d_off & 15) > PAGE_SIZE (e.g. s_off=0, d_off=1, debug.len=PAGE_SIZE). Limiting factors: it is not remotely reachable (AV:L), needs privileges (PR:L, not unauthenticated), no user interaction, and only affects hosts actually running AMD SEV with the debug-encrypt code path exercised; non-SEV or non-AMD systems and hosts that do not expose SEV debug to the attacker are not exploitable.

Impact

The provided CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N, C:H/I:H/A:H, base 7.8) aligns well with the description: exploitation is strictly local and requires privileges to issue SEV ioctls on a KVM VM, so this is a local privilege-escalation / host-integrity concern, not a remotely reachable bug. Supporting signals are consistent and low-urgency for mass exploitation: EPSS is 0.18% (7th percentile), the CVE is not in CISA KEV, and no public exploit is identified. The kernel-controlled overflow is small (up to 15 bytes, or a KASAN-observed 4095-byte write in the reproducer) and lands in slab memory adjacent to the dst_tpage allocation, which makes it a genuine memory-corruption primitive but one gated behind host-level access to SEV VM management. Net: real and worth patching on SEV-enabled hosts, but a moderate priority rather than an emergency - the value depends on whether untrusted or semi-trusted tenants/processes can reach the SEV debug ioctl. No conflicting signals were found; the main caveat is that the exact privilege boundary crossed depends on how VM management is delegated in a given deployment.

Exploit ScenarioDerived

A local actor with permission to create and manage a KVM SEV guest issues a KVM_SEV_DBG_ENCRYPT ioctl with a crafted debug region - for example source offset 0, destination offset 1, and length PAGE_SIZE - so the destination page offset exceeds the source. The kernel instructs the PSP to write round_up(4097,16)=4112 bytes into the 4096-byte dst_tpage buffer and then memcpy's past its end, corrupting adjacent slab memory. No public exploit is identified at time of analysis, though the report includes a KASAN reproducer (sev_dbg_test) demonstrating the overflow.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Out-of-bounds heap write in the AMD SEV debug-encrypt path (sev_dbg_crypt/__sev_dbg_encrypt_user) of the Linux kernel's KVM/SVM code (kvm_amd) lets a local, privileged VMM process corrupt kernel slab memory by up to 15 bytes past a single-page buffer. The per-iteration transfer length is bounded by the source page offset but not the destination page offset, so when d_off > s_off the PSP command and a following memcpy()/copy_from_user() spill beyond the 4096-byte dst_tpage allocation. There is no public exploit identified at time of analysis and EPSS is low (0.18%), but a KASAN slab-use-after-free splat is included in the report, confirming reliable reproducibility.

RemediationAI

Apply the kernel update for your branch: upgrade to Linux 5.10.260, 5.15.211, 6.1.177, 6.6.144, 6.12.95, 7.1.3, or mainline 7.2-rc1 or later, which add the missing len bound of (PAGE_SIZE - d_off) in sev_dbg_crypt() (fix commits at https://git.kernel.org/stable/c/f701ae476cb92a3a3d8844bb39bb63b4512684c8 and the other stable commits listed in the CVE). Distribution users should install the vendor kernel that references CVE-2026-63794. If immediate patching is not possible, compensating controls are: restrict access to /dev/kvm and SEV VM management to trusted host processes only, and where feasible avoid or disable the SEV debug (KVM_SEV_DBG_ENCRYPT/DECRYPT) capability for untrusted guests - trade-off: this breaks legitimate SEV guest debugging/live-migration tooling that relies on the debug API. Because the vector is local and privilege-gated, tightening who can create and manage SEV guests materially reduces exposure. Consult the NVD advisory (https://nvd.nist.gov/vuln/detail/CVE-2026-63794) for branch-to-fix mapping.

Affected VersionsENISA

Linux patch: 6.18.38
Linux 24f41fb23a39bc2b6f190dcef35a5813a4bf183a <720949ed666f34ff28ffdfe1471a5861d1e41fdf
Linux patch: 0
Linux patch: 6.6.144
Linux 24f41fb23a39bc2b6f190dcef35a5813a4bf183a <f701ae476cb92a3a3d8844bb39bb63b4512684c8
Linux patch: 5.15.211
Linux 24f41fb23a39bc2b6f190dcef35a5813a4bf183a <9349b50f4b11f135fe73b56cb2c2c872d8bc71d7
Linux 24f41fb23a39bc2b6f190dcef35a5813a4bf183a <2753a097d1fe24c4351c608048612c74108aa89f
Linux patch: 5.10.260
Linux 24f41fb23a39bc2b6f190dcef35a5813a4bf183a <64f2449841ffc7d203183aa4c748c9c77951ecc5
Linux 4.16
Linux 24f41fb23a39bc2b6f190dcef35a5813a4bf183a <e1a0fe288dee07b7da25a71e007c1ecd1080315b
Linux 24f41fb23a39bc2b6f190dcef35a5813a4bf183a <78ee2d50185a037b3d2452a97f3dad69c3f7f389
Linux patch: 6.1.177
Linux 24f41fb23a39bc2b6f190dcef35a5813a4bf183a <889c2a9c59897ca912bf39df5bb92555a0a13df4
Linux patch: 6.12.95
Linux patch: 7.2-rc1
Linux patch: 7.1.3

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in AMD Secure Encrypted Virtualization (SEV) debugging support inside the kvm_amd module, specifically the KVM_SEV_DBG_ENCRYPT operation reached via the SEV memory-encryption ioctl (sev_mem_enc_ioctl → sev_dbg_crypt). SEV lets the KVM host issue Platform Security Processor (PSP) commands to read/modify encrypted guest memory for debugging. The encrypt path performs a read-modify-write through a single-page intermediate buffer (dst_tpage): __sev_dbg_decrypt() rounds the length up to round_up(len + (d_off & 15), 16) before the PSP write, and the code then copies 'len' bytes to page_address(dst_tpage) + (d_off & 15). Because the loop clamps the chunk to PAGE_SIZE - s_off (source) but omits the symmetric PAGE_SIZE - d_off (destination) bound present in sev_send_update_data(), both the PSP write and the memcpy can exceed the 4KB page. This is a classic CWE-787 out-of-bounds write / heap buffer overflow. Affected code is present since roughly the 4.16 era of SEV debug support and spans all current stable branches per the CPE 'linux:linux' entries.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Exploitation needs local access and privileges to issue SEV VM ioctls (PR:L, AV:L), the trigger is attacker-controlled (AC:L), and kernel slab corruption yields high C/I/A within the host.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/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:N/SI:N/SA:N
SUSE 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 7.0 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

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

Lifecycle Timeline

4
CVSS changed
Jul 30, 2026 - 17:52 NVD
7.8 (HIGH)
Patch available
Jul 19, 2026 - 14:17 EUVD
CVE Published
Jul 19, 2026 - 12:02 nvd
HIGH 7.8
CVE Published
Jul 19, 2026 - 12:02 cve.org
UNKNOWN (no severity yet)

DescriptionNVD

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

KVM: SVM: Fix page overflow in sev_dbg_crypt() for ENCRYPT path

In sev_dbg_crypt(), the per-iteration transfer length is bounded by the source page offset (PAGE_SIZE - s_off) but not by the destination page offset (PAGE_SIZE - d_off). When d_off > s_off, the encrypt path (__sev_dbg_encrypt_user) performs a read-modify-write using a single-page intermediate buffer (dst_tpage):

  1. __sev_dbg_decrypt() expands the size to round_up(len + (d_off & 15), 16)

before issuing the PSP command. If len + (d_off & 15) > PAGE_SIZE, the PSP writes beyond the end of the 4096-byte dst_tpage allocation.

  1. The subsequent memcpy()/copy_from_user() into

page_address(dst_tpage) + (d_off & 15) of 'len' bytes overflows by up to 15 bytes under the same condition.

Trigger example: s_off = 0, d_off = 1, debug.len = PAGE_SIZE - the PSP is instructed to write round_up(4097, 16) = 4112 bytes to a 4096-byte buffer.

Fix by also bounding len by (PAGE_SIZE - d_off), the same check that sev_send_update_data() already performs for its single-page guest region.

============== BUG: KASAN: slab-use-after-free in sev_dbg_crypt+0x993/0xd10 [kvm_amd] Write of size 4095 at addr ff110062293bb009 by task sev_dbg_test/228214

CPU: 96 UID: 0 PID: 228214 Comm: sev_dbg_test Tainted: G U W 7.0.0-smp--5ce9b0c48211-dbg #156 PREEMPTLAZY Tainted: [U]=USER, [W]=WARN Hardware name: Google Astoria/astoria, BIOS 0.20250817.1-0 08/25/2025 Call Trace: <TASK> dump_stack_lvl+0x54/0x70 print_report+0xbc/0x260 kasan_report+0xa2/0xd0 kasan_check_range+0x25f/0x2c0 __asan_memcpy+0x40/0x70 sev_dbg_crypt+0x993/0xd10 [kvm_amd] sev_mem_enc_ioctl+0x33c/0x450 [kvm_amd] kvm_vm_ioctl+0x65d/0x6d0 [kvm] __se_sys_ioctl+0xb2/0x100 do_syscall_64+0xe8/0x870 entry_SYSCALL_64_after_hwframe+0x4b/0x53 </TASK>

The buggy address belongs to the physical page: page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x7fe72b6a0 pfn:0x62293bb memcg:ff11000112827d82 flags: 0x1400000000000000(node=1|zone=1) raw: 1400000000000000 0000000000000000 dead000000000122 0000000000000000 raw: 00000007fe72b6a0 0000000000000000 00000001ffffffff ff11000112827d82 page dumped because: kasan: bad access detected

Memory state around the buggy address: ff110062293bbf00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff110062293bbf80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ff110062293bc000: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ^ ff110062293bc080: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ff110062293bc100: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ============== Disabling lock debugging due to kernel taint

[sean: add sample KASAN splat, Fixes, and stable@]

Executive ViewAI

Why It Matters

CVE-2026-63794 is a kernel memory corruption vulnerability affecting Linux virtualization systems running AMD SEV. The vulnerability could allow hypervisor administrators or compromised hypervisor components to break isolation between virtual machines, potentially exposing sensitive workloads to data access. Organizations with AMD virtualization infrastructure require patching to maintain security boundaries and prevent lateral movement between guest systems.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Ubiquitous
Linux kernel runs on the vast majority of server and cloud hosts
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected

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