Linux Kernel Crypto CCP ID Copy Userspace Overflow Vulnerability

Vulnerability

A vulnerability in the Linux kernel's crypto component, specifically within the CCP driver, has been addressed. The issue arose when the kernel attempted to copy an ID blob to userspace after a firmware command failed. If the failure was due to an invalid length—meaning the userspace buffer was too small—this could lead to a buffer overflow, allowing data to leak into userspace. The vulnerability was identified as a 'slab-out-of-bounds' error by the Kernel Address Sanitizer (KASAN), indicating a memory safety issue where the kernel read beyond the allocated buffer size.

Impact

Exploitation of this vulnerability could result in a buffer overflow, causing a memory safety violation that leaks kernel memory into userspace. Such memory leaks can potentially be exploited to execute arbitrary code or cause other unintended behavior.

Reproduction

The vulnerability can be reproduced by invoking the SEV_GET_ID2 command through the CCP driver. If the firmware command fails due to an invalid length, the kernel will incorrectly attempt to copy the ID blob to a userspace buffer, leading to a buffer overflow. This can be observed by monitoring the KASAN reports, which will indicate a 'slab-out-of-bounds' error, showing that the kernel has read beyond the limits of a allocated memory buffer.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. Instructions for downloading the patched version are available on the official Linux kernel website.

Added: May 1, 2026, 2:39 PM
Updated: May 1, 2026, 2:39 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
4.3
remediation
7.7
relevance
7.2
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.