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

High 7.1 Published Updated

A local attacker can read uninitialized kernel memory via the ACRN hypervisor service module ioctl, potentially exposing sensitive data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-21950?

CVE-2025-21950 is a high-severity vulnerability in Debian Debian Linux, published on 1 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Which versions are affected by CVE-2025-21950?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-21950?

Apply the vendor's patch.

Is CVE-2025-21950 being exploited?

There is no known exploitation of CVE-2025-21950 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2025-21950, DEBIAN-CVE-2025-21950, GHSA-m27r-w8g9-3x9h, ROOT-OS-UBUNTU-2404-CVE-2025-21950, UBUNTU-CVE-2025-21950.

Is CVE-2025-21950 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free