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

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2025-04-01T15:41:10.949Z
- Modified: 2026-06-17T08:44:41.453Z
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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.*; from 6.14 up to *)
- linux linux_kernel: from 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.14
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/4e15cf870d2c748e45d45ffc4d5b1dc1b7d50120> (patch)
- <https://git.kernel.org/stable/c/524f29d78c9bdeb49f31f5b0376a07d2fc5cf563> (patch)
- <https://git.kernel.org/stable/c/d7e5031fe3f161c8eb5e84db1540bc4373ed861b> (patch)
- <https://git.kernel.org/stable/c/1b8f7a2caa7f9cdfd135e3f78eb9d7e36fb95083> (patch)
- <https://git.kernel.org/stable/c/a4c21b878f0e237f45209a324c903ea7fb05247d> (patch)
- <https://git.kernel.org/stable/c/819cec1dc47cdeac8f5dd6ba81c1dbee2a68c3bb> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2025-21950](https://www.cve.org/CVERecord?id=CVE-2025-21950), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-21950](https://nvd.nist.gov/vuln/detail/CVE-2025-21950), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21950 · Whole record: https://cve.day/CVE-2025-21950.json · Rebuilt by cve.day 2026-11-25T22:58:55.903Z
