CVE-2025-37849

HIGH

Linux Kernel < 6.1.135, 6.2.0-6.6.88, 6.7.0-6.12.24, 6.13.0-6.13.12, 6.14.0-6.14.3 - Use-After-Free in vGIC vCPU

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 7.8
EPSS 0.0006
EPSS Percentile 17.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-416
Status published
Products (21)
debian/debian_linux 11.0
linux/Kernel 3.11.0 - 6.1.135linux
linux/Kernel 6.13.0 - 6.13.12linux
linux/Kernel 6.14.0 - 6.14.3linux
linux/Kernel 6.2.0 - 6.6.88linux
linux/Kernel 6.7.0 - 6.12.24linux
Linux/Linux < 3.11
Linux/Linux 3.11
Linux/Linux 6.1.135 - 6.1.*
Linux/Linux 6.12.24 - 6.12.*
... and 11 more
Published May 09, 2025
Tracked Since Feb 18, 2026