CVE-2025-21950

published 1 Apr 2025 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 1b8f7a2caa7f9cdfd135e3f78eb9d7e36fb95083, Kernel 4e15cf870d2c748e45d45ffc4d5b1dc1b7d50120, Kernel 524f29d78c9bdeb49f31f5b0376a07d2fc5cf563 and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.12, >=3d679d5aec648f50e645702929890b9611998a0b <1b8f7a2caa7f9cdfd135e3f78eb9d7e36fb95083, >=3d679d5aec648f50e645702929890b9611998a0b <4e15cf870d2c748e45d45ffc4d5b1dc1b7d50120, >=3d679d5aec648f50e645702929890b9611998a0b <524f29d78c9bdeb49f31f5b0376a07d2fc5cf563, >=3d679d5aec648f50e645702929890b9611998a0b <819cec1dc47cdeac8f5dd6ba81c1dbee2a68c3bb, >=3d679d5aec648f50e645702929890b9611998a0b <a4c21b878f0e237f45209a324c903ea7fb05247d, >=3d679d5aec648f50e645702929890b9611998a0b <d7e5031fe3f161c8eb5e84db1540bc4373ed861b1b8f7a2caa7f9cdfd135e3f78eb9d7e36fb95083, 4e15cf870d2c748e45d45ffc4d5b1dc1b7d50120, 524f29d78c9bdeb49f31f5b0376a07d2fc5cf563, 819cec1dc47cdeac8f5dd6ba81c1dbee2a68c3bb, a4c21b878f0e237f45209a324c903ea7fb05247d, d7e5031fe3f161c8eb5e84db1540bc4373ed861b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-21950 severity on Zeptric[![CVE-2025-21950](https://zeptric.io/badge/cve/CVE-2025-21950.svg)](https://zeptric.io/cve/CVE-2025-21950)