CVE-2025-21950
drivers: virt: acrn: hsm: Use kzalloc to avoid info leak in pmcmd_ioctl
Check your servers for CVE-2025-21950
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-21950 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.5% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 3d679d5aec648f50e645702929890b9611998a0b, before 4e15cf870d2c748e45d45ffc4d5b1dc1b7d50120 affected from 3d679d5aec648f50e645702929890b9611998a0b, before 524f29d78c9bdeb49f31f5b0376a07d2fc5cf563 affected from 3d679d5aec648f50e645702929890b9611998a0b, before d7e5031fe3f161c8eb5e84db1540bc4373ed861b affected from 3d679d5aec648f50e645702929890b9611998a0b, before 1b8f7a2caa7f9cdfd135e3f78eb9d7e36fb95083 affected from 3d679d5aec648f50e645702929890b9611998a0b, before a4c21b878f0e237f45209a324c903ea7fb05247d affected from 3d679d5aec648f50e645702929890b9611998a0b, before 819cec1dc47cdeac8f5dd6ba81c1dbee2a68c3bb
Other versions: unaffected
|
| Linux |
affected 5.12 unaffected before 5.12 unaffected from 5.15.179 up to and including 5.15.* unaffected from 6.1.131 up to and including 6.1.* unaffected from 6.6.83 up to and including 6.6.* unaffected from 6.12.19 up to and including 6.12.* unaffected from 6.13.7 up to and including 6.13.* unaffected 6.14 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-21950 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-21950
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-21950
trivy image --scanners vuln IMAGE | grep CVE-2025-21950
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/4e15cf870d2c748e45d45ffc4d5b1dc1b7d50120 git.kernel.org
- https://git.kernel.org/stable/c/524f29d78c9bdeb49f31f5b0376a07d2fc5cf563 git.kernel.org
- https://git.kernel.org/stable/c/d7e5031fe3f161c8eb5e84db1540bc4373ed861b git.kernel.org
- https://git.kernel.org/stable/c/1b8f7a2caa7f9cdfd135e3f78eb9d7e36fb95083 git.kernel.org
- https://git.kernel.org/stable/c/a4c21b878f0e237f45209a324c903ea7fb05247d git.kernel.org
- https://git.kernel.org/stable/c/819cec1dc47cdeac8f5dd6ba81c1dbee2a68c3bb git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html lists.debian.org
Source: the record CVE-2025-21950 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse