CVE-2025-21950: drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl
In the Linux kernel, the following vulnerability has been resolved:
drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmdioctl
In the "pmcmdioctl" function, three memory objects allocated by kmalloc are initialized by "hcallgetcpustate", which are then copied to user space. The initializer is indeed implemented in "acrnhypercall2" (arch/x86/include/asm/acrn.h). There is a risk of information leakage due to uninitialized bytes.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2025-21950?
CVE-2025-21950 has been classified as a moderate severity vulnerability in the Linux kernel.
How do I fix CVE-2025-21950?
To fix CVE-2025-21950, update to the latest patched version of the Linux kernel that addresses this vulnerability.
What are the potential impacts of CVE-2025-21950?
CVE-2025-21950 may lead to information leakage due to improper memory allocation in the pmcmd_ioctl function.
Which Linux kernel versions are affected by CVE-2025-21950?
CVE-2025-21950 affects various versions of the Linux kernel that utilize the vulnerable pmcmd_ioctl functionality.
Is CVE-2025-21950 being actively exploited?
As of now, there are no confirmed active exploits for CVE-2025-21950 in the wild.