CVE
CVE-2025-37849
CNA 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 versions
All Linux kernel vulnerabilities →
- ≥ 6.14, < 6.14.3Fixed in 6.14.3
- ≥ 6.13, < 6.13.12Fixed in 6.13.12
- ≥ 6.7, < 6.12.24Fixed in 6.12.24
- ≥ 6.2, < 6.6.88Fixed in 6.6.88
- < 6.1.135Fixed in 6.1.135
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/07476e0d932afc53c05468076393ac35d0b4999e · Patch
- git.kernel.org/stable/c/2480326eba8ae9ccc5e4c3c2dc8d407db68e3c52 · Patch
- git.kernel.org/stable/c/250f25367b58d8c65a1b060a2dda037eea09a672 · Patch
- git.kernel.org/stable/c/5085e02362b9948f82fceca979b8f8e12acb1cc5 · Patch
- git.kernel.org/stable/c/c322789613407647a05ff5c451a7bf545fb34e73 · Patch
- git.kernel.org/stable/c/f1e9087abaeedec9bf2894a282ee4f0d8383f299 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.