CVE-2025-37849

KVM: arm64: Tear down vGIC on failed vCPU creation

HIGH
7.8
CVSS Score
Published: May 9, 2025 at 06:41 AM UTC
Updated: August 5, 2026 at 12:44 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.3%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 6.1.1353.11 ≤ v < 6.1.1353.11 ≤ v < 6.12.243.11 ≤ v < 6.13.123.11 ≤ v < 6.14.33.11 ≤ v < 6.153.11 ≤ v < 6.6.886.13 ≤ v < 6.13.126.14 ≤ v < 6.14.36.2 ≤ v < 6.6.886.7 ≤ v < 6.12.243.116211753fdfd05af9e08f54c8d0ba3ee516034878
Vendor states this is fixed in 07476e0d932afc53c05468076393ac35d0b4999e (fixed)
Vendor states this is fixed in 2480326eba8ae9ccc5e4c3c2dc8d407db68e3c52 (fixed)
Vendor states this is fixed in 250f25367b58d8c65a1b060a2dda037eea09a672 (fixed)
Vendor states this is fixed in 5085e02362b9948f82fceca979b8f8e12acb1cc5 (fixed)
Vendor states this is fixed in c322789613407647a05ff5c451a7bf545fb34e73 (fixed)
Vendor states this is fixed in f1e9087abaeedec9bf2894a282ee4f0d8383f299 (fixed)
Vendor states this is fixed in 3.11 (unaffected)
Vendor states this is fixed in 6.1.135 (unaffected)
Vendor states this is fixed in 6.12.24 (unaffected)
Vendor states this is fixed in 6.13.12 (unaffected)
Vendor states this is fixed in 6.14.3 (unaffected)
Vendor states this is fixed in 6.15 (unaffected)
Vendor states this is fixed in 6.6.88 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/07476e0d932afc53c05468076393ac35d0b4999e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2480326eba8ae9ccc5e4c3c2dc8d407db68e3c52
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/250f25367b58d8c65a1b060a2dda037eea09a672
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5085e02362b9948f82fceca979b8f8e12acb1cc5
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c322789613407647a05ff5c451a7bf545fb34e73
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f1e9087abaeedec9bf2894a282ee4f0d8383f299
Mailing List
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card