CVE Database›Document archive›CVE-2026-31698

CVE-2026-31698

kernel: crypto: ccp: Don't attempt to copy PDH cert 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 subsystem, specifically within the ccp driver. A local user could exploit this vulnerability when attempting to retrieve the Platform DH (PDH) certificate. If a firmware command fails due to an invalid length, the driver may attempt to copy data to userspace, leading to a kernel-allocated buffer overflow. This issue can result in the disclosure of sensitive information to the local user.

Statement

Same class as other CCP fixes: avoid copying PDH certificate material to userspace after a failed PSP operation, which could leak indeterminate firmware buffer contents. Red Hat recommends updated kernels on AMD CCP-enabled hosts.

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-805 · Buffer Access with Incorrect Length Value