CVE-2025-21950
JSON

7.1high

drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl

Severity
7.1high CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl In the "pmcmd_ioctl" function, three memory objects allocated by kmalloc are initialized by "hcall_get_cpu_state", which are then copied to user space. The initializer is indeed implemented in "acrn_hypercall2" (arch/x86/include/asm/acrn.h). There is a risk of information leakage due to uninitialized bytes.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 3d679d5aec648f50e645702929890b9611998a0b before 4e15cf870d2c748e45d45ffc4d5b1dc1b7d50120, from 3d679d5aec648f50e645702929890b9611998a0b before 524f29d78c9bdeb49f31f5b0376a07d2fc5cf563, from 3d679d5aec648f50e645702929890b9611998a0b before d7e5031fe3f161c8eb5e84db1540bc4373ed861b, from 3d679d5aec648f50e645702929890b9611998a0b before 1b8f7a2caa7f9cdfd135e3f78eb9d7e36fb95083, from 3d679d5aec648f50e645702929890b9611998a0b before a4c21b878f0e237f45209a324c903ea7fb05247d, from 3d679d5aec648f50e645702929890b9611998a0b before 819cec1dc47cdeac8f5dd6ba81c1dbee2a68c3bb, 5.12
Not affected: before 5.12, from 5.15.179 up to 5.15.*, from 6.1.131 up to 6.1.*, from 6.6.83 up to 6.6.*, from 6.12.19 up to 6.12.*, from 6.13.7 up to 6.13.*
CVE List
linux linux_kernelfrom 5.12 before 5.15.179, from 5.16 before 6.1.131, from 6.2 before 6.6.83, from 6.7 before 6.12.19, from 6.13 before 6.13.7, 6.14NVD
debian debian_linux11.0NVD

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl In the "pmcmd_ioctl" function, three memory objects allocated by kmalloc are initialized by "hcall_get_cpu_state", which are then copied to user space. The initializer is indeed implemented in "acrn_hypercall2" (arch/x86/include/asm/acrn.h). There is a risk of information leakage due to uninitialized bytes.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drivers: virt: acrn: hsm: Usar kzalloc para evitar fugas de información en pmcmd_ioctl. En la función "pmcmd_ioctl", tres objetos de memoria asignados por kmalloc se inicializan mediante "hcall_get_cpu_state", que posteriormente se copian al espacio de usuario. El inicializador está implementado en "acrn_hypercall2" (arch/x86/include/asm/acrn.h). Existe riesgo de fuga de información debido a bytes no inicializados.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-21950 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-21950 changed 2026-06-17Public domain