Acknowledged
Created: Jun 18, 2025
Updated: Sep 4, 2026
Resolved Date: Jun 19, 2025
Found In Version: 10.25.33.1
Severity: Standard
Applicable for: Wind River Linux LTS 25
Component/s: Kernel
In the Linux kernel, the following vulnerability has been resolved:EOL][EOL]crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak[EOL][EOL]For some sev ioctl interfaces, input may be passed that is less than or[EOL]equal to SEV_FW_BLOB_MAX_SIZE, but larger than the data that PSP[EOL]firmware returns. In this case, kmalloc will allocate memory that is the[EOL]size of the input rather than the size of the data. Since PSP firmware[EOL]doesn't fully overwrite the buffer, the sev ioctl interfaces with the[EOL]issue may return uninitialized slab memory.[EOL][EOL]Currently, all of the ioctl interfaces in the ccp driver are safe, but[EOL]to prevent future problems, change all ioctl interfaces that allocate[EOL]memory with kmalloc to use kzalloc and memset the data buffer to zero[EOL]in sev_ioctl_do_platform_status.
CREATE(Triage):(User=lchen-cn) [CVE-2022-50226 (https://nvd.nist.gov/vuln/detail/CVE-2022-50226)