Impact
The flaw arises from a bug in the Linux kernel’s CCP crypto driver where a zero‑length user‑supplied certificate chain for PDH export is treated as a request for blob lengths but is not validated. The code then attempts to fetch the physical address of a zero‑size pointer returned by kzalloc, triggering a BUG_ON that aborts the kernel. This results in an Oops and can lead to a kernel panic, effectively causing a denial of service when the affected ioctl is invoked.
Affected Systems
The vulnerability affects the Linux kernel when CONFIG_DEBUG_VIRTUAL is enabled, as exercised in the drivers/crypto/ccp/sev-dev.c and arch/x86/mm/physaddr.c code paths. Any distribution shipping a kernel compiled with this configuration and using the CCP crypto driver may be impacted; the patch was incorporated in kernel 6.18 and later, but the exact distribution release is not specified.
Risk and Exploitability
The CVSS score is not listed, EPSS is unavailable, and the vulnerability is not in the CISA KEV catalog. The bug only activates when a zero‑length buffer is passed to the ioctl and CONFIG_DEBUG_VIRTUAL is enabled, limiting the exploitation surface. No evidence suggests that a remote attacker can trigger the condition without local kernel code execution privileges, making the most likely vector a local privileged user crafting the ioctl call.
OpenCVE Enrichment