What’s Vulnerable › Vulnerabilities

CVE-2025-21950: drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl

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 products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.179, 6.1.131, 6.12.19, 6.13.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-21950 or the next vulnerability affects your stack