Skip to main content

Linux Kernel CCP EUVDEUVD-2026-26508

| CVE-2026-31699 HIGH
Out-of-bounds Write (CWE-787)
2026-05-01 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.1
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Gain local user access
  2. Delivery
    Open /dev/sev device
  3. Exploit
    Send crafted ioctl with undersized buffer
  4. Execution
    Trigger PSP firmware failure
  5. Persist
    Driver copies out-of-bounds kernel memory
  6. Impact
    Leak sensitive kernel data to userspace

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 local authenticated access with sufficient privileges to open /dev/sev device node (typically root or users in 'kvm' group). Target system must have AMD processor with Platform Security Processor (PSP) and Secure Encrypted Virtualization support, with the CCP driver (CONFIG_CRYPTO_DEV_CCP_DD) compiled and loaded. The /dev/sev device node must be accessible and SEV firmware must be initialized. Exploitation is limited to Linux systems actively using or configured for AMD SEV/SNP virtualization features-standard Linux installations without SEV capabilities have the vulnerable code present but the /dev/sev interface non-functional. Does not affect Intel processors or AMD systems without PSP. User interaction not required once device access is obtained. Non-default configuration: SEV feature enablement and device node permissions beyond default 0600 root-only access increase attack surface.

Impact

Real-world risk is moderate despite the 7.1 CVSS score. The CVSS vector (AV:L/AC:L/PR:L/UI:N) correctly indicates local access with low-privilege authentication is required, limiting the attack surface to scenarios where an attacker already has local user access. The 0.02% EPSS score (5th percentile) aligns with this assessment-local kernel information disclosure vulnerabilities rarely see widespread exploitation. The high confidentiality impact (C:H) is accurate as arbitrary kernel memory could contain sensitive data including cryptographic keys, but the attack requires existing local access to systems with AMD PSP-enabled processors and the SEV driver loaded. No CISA KEV listing confirms this is not currently exploited in the wild. Priority should be elevated for systems using AMD SEV/SNP virtualization features where the CCP driver is actively utilized, particularly multi-tenant cloud environments. Standard Linux systems without SEV features enabled have limited exposure despite the vulnerable code being present. The availability impact (A:H) in CVSS appears overstated-this is primarily an information disclosure issue, not a denial-of-service vector.

Exploit ScenarioDerived

A local authenticated attacker with low privileges on a system using AMD SEV features crafts an ioctl call to /dev/sev requesting PEK CSR retrieval with an intentionally undersized buffer (e.g., 512 bytes when firmware requires 2084 bytes). The PSP firmware command fails and returns error code with the required 2084-byte length. The vulnerable driver attempts to copy 2084 bytes from the 512-byte kernel allocation to userspace, reading 1572 bytes beyond the allocated buffer into adjacent kernel memory. This out-of-bounds read leaks kernel heap data potentially containing cryptographic material, kernel pointers useful for KASLR bypass, or other sensitive kernel structures. The attacker repeats the process with varying buffer sizes to map and exfiltrate larger kernel memory regions.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 03, 2026

Buffer overflow in Linux kernel's AMD CCP (Cryptographic Coprocessor) driver leaks kernel memory to userspace when retrieving PEK CSR (Platform Endorsement Key Certificate Signing Request). Affecting Linux kernel 4.16+ through 7.0.x, the vulnerability allows local authenticated users to read arbitrary kernel memory due to improper error handling when firmware returns invalid buffer length requirements. Patches available across stable branches (6.6.136, 6.12.84, 6.18.25, 7.0.2, 7.1-rc1). EPSS score of 0.02% indicates minimal observed exploitation probability, though the CVSS 7.1 reflects significant confidentiality impact. No CISA KEV listing or public exploit identified at time of analysis.

RemediationAI

Upgrade to patched Linux kernel versions: 6.6.136+ for 6.6.x series, 6.12.84+ for 6.12.x series, 6.18.25+ for 6.18.x series, 7.0.2+ for 7.0.x series, or 7.1-rc1+ for development kernels. Vendor patches available at git.kernel.org stable repository (commits 111dcc6d0f01, 3b4fd8f15765, 59e9ae81f867, 607ba280f2ad, abe4a6d6f606). For environments unable to immediately patch, disable the SEV device driver by blacklisting the ccp module (add 'blacklist ccp' to /etc/modprobe.d/disable-ccp.conf and rebuild initramfs), though this mitigation breaks SEV/SNP virtualization functionality and is only suitable for systems not using AMD memory encryption features. Restrict access to /dev/sev device node using udev rules to limit exposure to trusted administrative users only, recognizing this reduces but does not eliminate risk from compromised low-privilege accounts. Verify patches using kernel version strings and inspect loaded modules with 'modinfo ccp' to confirm patched driver versions post-update.

Affected VersionsENISA

Linux patch: 6.18.25
Linux patch: 7.1-rc1
Linux patch: 0
Linux e799035609e1526761aa2f896a974b233d04d36d <59e9ae81f8670ccc780bc75f45a355736f640ec9
Linux e799035609e1526761aa2f896a974b233d04d36d <3b4fd8f15765d9a3105b834dba8a05d025e5e16e
Linux patch: 6.12.84
Linux e799035609e1526761aa2f896a974b233d04d36d <111dcc6d0f016076745824a787d25609d0022f4c
Linux 4.16
Linux patch: 7.0.2
Linux e799035609e1526761aa2f896a974b233d04d36d <607ba280f2adb5092cf5386c3935afac2ca0031a
Linux e799035609e1526761aa2f896a974b233d04d36d <abe4a6d6f606113251868c2c4a06ba904bb41eed
Linux patch: 6.6.136

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 vulnerability resides in the SEV (Secure Encrypted Virtualization) device driver's PEK CSR retrieval function (sev_ioctl_do_pek_csr) within the AMD Cryptographic Coprocessor Platform (CCP) subsystem. When userspace requests the Platform Endorsement Key Certificate Signing Request via ioctl, the driver allocates a kernel buffer based on user-provided length. If the PSP firmware command fails due to insufficient buffer size, the firmware returns the actual required byte count. The flawed code path attempts to copy this firmware-specified length to userspace without first verifying that the firmware command succeeded, resulting in a KASAN-detected slab-out-of-bounds read. This violates safe error handling principles where copy_to_user operations should only execute after successful command completion. The patch adds explicit checks to prevent copy operations when __sev_do_cmd_locked returns firmware error codes, and includes defensive WARN macros to detect future error-handling inconsistencies.

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

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.1 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
SUSE HIGH
Red Hat 5.5 MEDIUM

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
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

4
CVSS changed
May 03, 2026 - 07:22 NVD
7.1 (HIGH)
Patch released
May 03, 2026 - 07:16 nvd
Patch available
Patch available
May 01, 2026 - 15:02 EUVD
CVE Published
May 01, 2026 - 14:16 nvd
HIGH 7.1

DescriptionCVE.org

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

crypto: ccp: Don't attempt to copy CSR to userspace if PSP command failed

When retrieving the PEK CSR, don't attempt to copy the blob to userspace if the firmware command failed. If the failure was due to an invalid length, i.e. the userspace buffer+length was too small, copying the number of bytes _firmware_ requires will overflow the kernel-allocated buffer and leak data to userspace.

BUG: KASAN: slab-out-of-bounds in instrument_copy_to_user ../include/linux/instrumented.h:129 [inline] BUG: KASAN: slab-out-of-bounds in _inline_copy_to_user ../include/linux/uaccess.h:205 [inline] BUG: KASAN: slab-out-of-bounds in _copy_to_user+0x66/0xa0 ../lib/usercopy.c:26 Read of size 2084 at addr ffff898144612e20 by task syz.9.219/21405

CPU: 14 UID: 0 PID: 21405 Comm: syz.9.219 Tainted: G U O 7.0.0-smp-DEV #28 PREEMPTLAZY Tainted: [U]=USER, [O]=OOT_MODULE Hardware name: Google, Inc. Arcadia_IT_80/Arcadia_IT_80, BIOS 12.62.0-0 11/19/2025 Call Trace: <TASK> dump_stack_lvl+0xc5/0x110 ../lib/dump_stack.c:120 print_address_description ../mm/kasan/report.c:378 [inline] print_report+0xbc/0x260 ../mm/kasan/report.c:482 kasan_report+0xa2/0xe0 ../mm/kasan/report.c:595 check_region_inline ../mm/kasan/generic.c:-1 [inline] kasan_check_range+0x264/0x2c0 ../mm/kasan/generic.c:200 instrument_copy_to_user ../include/linux/instrumented.h:129 [inline] _inline_copy_to_user ../include/linux/uaccess.h:205 [inline] _copy_to_user+0x66/0xa0 ../lib/usercopy.c:26 copy_to_user ../include/linux/uaccess.h:236 [inline] sev_ioctl_do_pek_csr+0x31f/0x590 ../drivers/crypto/ccp/sev-dev.c:1872 sev_ioctl+0x3a4/0x490 ../drivers/crypto/ccp/sev-dev.c:2562 vfs_ioctl ../fs/ioctl.c:51 [inline] __do_sys_ioctl ../fs/ioctl.c:597 [inline] __se_sys_ioctl+0x11d/0x1b0 ../fs/ioctl.c:583 do_syscall_x64 ../arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xe0/0x800 ../arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x76/0x7e </TASK>

WARN if the driver says the command succeeded, but the firmware error code says otherwise, as __sev_do_cmd_locked() is expected to return -EIO on any firwmware error.

Executive ViewAI

Why It Matters

CVE-2026-31699 is a kernel memory disclosure vulnerability in Linux systems running AMD CCP driver versions 4.16 through 7.0.x that allows authenticated local users to read sensitive kernel memory. This impacts confidentiality of system memory containing potentially sensitive data and requires immediate patching on affected production systems, particularly those with untrusted local user access.

Business Impact: High
Compensating Controls

Apply vendor patch. If immediate patching is infeasible, restrict local user account access on affected systems and disable AMD CCP driver if not operationally required (modprobe -r ccp; blacklist in modprobe.d/). Monitor kernel logs for CCP-related errors indicating potential exploitation attempts.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 sources
Data Quality
7 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.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: +10
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: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

Threat IntelligenceMISP

CISA Advisories
Sources: Microsoft MSRC, CISA (public domain)

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