CVE-2025-37849

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
09/05/2025
Last modified:
17/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> KVM: arm64: Tear down vGIC on failed vCPU creation<br /> <br /> If kvm_arch_vcpu_create() fails to share the vCPU page with the<br /> hypervisor, we propagate the error back to the ioctl but leave the<br /> vGIC vCPU data initialised. Note only does this leak the corresponding<br /> memory when the vCPU is destroyed but it can also lead to use-after-free<br /> if the redistributor device handling tries to walk into the vCPU.<br /> <br /> Add the missing cleanup to kvm_arch_vcpu_create(), ensuring that the<br /> vGIC vCPU structures are destroyed on error.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.1.135 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.88 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.12.24 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.13 (including) 6.13.12 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.14 (including) 6.14.3 (excluding)
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*