CVE Database›Document archive›CVE-2026-31699

CVE-2026-31699

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

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · May 1, 2026

Updated · July 2, 2026

Description

A flaw was found in the Linux kernel's crypto: ccp module. A local user could exploit a vulnerability where the system attempts to copy a Certificate Signing Request (CSR) to userspace even after a Platform Security Processor (PSP) command has failed. This can lead to a slab-out-of-bounds write, causing an overflow of the kernel-allocated buffer and potentially leaking sensitive kernel data to the user.

Statement

CSR buffers must not be copied to userspace when the underlying PSP CSR command did not succeed; upstream blocks the copy on failure. Red Hat classifies this as confidentiality hardening for the AMD CCP interface.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CWE-787 · Out-of-bounds Write