Linux kernel CCP crypto driver buffer overflow on PSP command failure
CVE-2026-31697High
The Linux kernel's CCP crypto driver attempts to copy CPU ID data to userspace even when the underlying firmware command fails. If the failure occurs because the userspace buffer is too small, the driver copies more data than the buffer can hold, causing a buffer overflow and leaking kernel data to userspace. An attacker with access to the SEV ioctl interface can trigger this by requesting a CPU ID with an insufficiently sized buffer.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Detail
Affected versions
- linux linux kernel: from 5.2, before 6.6.136
- linux linux kernel: from 6.7, before 6.12.84
- linux linux kernel: from 6.13, before 6.18.25
- linux linux kernel: from 6.19, before 7.0.2
- linux linux kernel: 7.1
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)