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

Published Apr 1, 2025
·
Updated

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

12 affected components
Linux Linux kernel
Linux Linux kernel>=5.12<5.15.179
Linux Linux kernel>=5.16<6.1.131
Linux Linux kernel>=6.2<6.6.83
Linux Linux kernel>=6.7<6.12.19
Linux Linux kernel>=6.13<6.13.7
Linux Linux kernel=6.14-rc1
Linux Linux kernel=6.14-rc2
Linux Linux kernel=6.14-rc3
Linux Linux kernel=6.14-rc4
Linux Linux kernel=6.14-rc5
Debian Debian Linux=11.0

Event History

Apr 1, 2025
CVE Published
via MITRE·03:41 PM
Data Sourced
via MITRE·03:41 PM
Description
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-21950?

CVE-2025-21950 has been classified as a moderate severity vulnerability in the Linux kernel.

2

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.

3

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.

4

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.

5

Is CVE-2025-21950 being actively exploited?

As of now, there are no confirmed active exploits for CVE-2025-21950 in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203