CVE-2025-21950

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

State
Published
Severity
Not scored
Published
Apr 1, 2025
Updated
May 11, 2026
Reserved
Dec 29, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3d679d5aec648f50e645702929890b9611998a0b to before 4e15cf870d2c748e45d45ffc4d5b1dc1b7d50120Affected
  • 3d679d5aec648f50e645702929890b9611998a0b to before 524f29d78c9bdeb49f31f5b0376a07d2fc5cf563Affected
  • 3d679d5aec648f50e645702929890b9611998a0b to before d7e5031fe3f161c8eb5e84db1540bc4373ed861bAffected
  • 3d679d5aec648f50e645702929890b9611998a0b to before 1b8f7a2caa7f9cdfd135e3f78eb9d7e36fb95083Affected
  • 3d679d5aec648f50e645702929890b9611998a0b to before a4c21b878f0e237f45209a324c903ea7fb05247dAffected
  • 3d679d5aec648f50e645702929890b9611998a0b to before 819cec1dc47cdeac8f5dd6ba81c1dbee2a68c3bbAffected
LinuxLinux
  • 5.12Affected
  • before 5.12Not affected
  • 5.15.179 through 5.15.*Not affected
  • 6.1.131 through 6.1.*Not affected
  • 6.6.83 through 6.6.*Not affected
  • 6.12.19 through 6.12.*Not affected
  • 6.13.7 through 6.13.*Not affected
  • 6.14 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.