CVE-2025-37849

KVM: arm64: Tear down vGIC on failed vCPU creation

published May 9, 2025

CVSS
—
EPSS
0%
Percentile
18.6
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

KVM: arm64: Tear down vGIC on failed vCPU creation

If kvm_arch_vcpu_create() fails to share the vCPU page with the

hypervisor, we propagate the error back to the ioctl but leave the

vGIC vCPU data initialised. Note only does this leak the corresponding

memory when the vCPU is destroyed but it can also lead to use-after-free

if the redistributor device handling tries to walk into the vCPU.

Add the missing cleanup to kvm_arch_vcpu_create(), ensuring that the

vGIC vCPU structures are destroyed on error.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00273 · 18.6th percentile
Published
2025-05-09T06:41Z
EPSS history
Timeline
  • 09 MAY 06:41Z
    KVM: arm64: Tear down vGIC on failed vCPU creation
    cvelistv5