# CVE-2025-37849: KVM: arm64: Tear down vGIC on failed vCPU creation

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2025-05-09T06:41:56.874Z
- Modified: 2026-08-05T11:57:49.979Z
- Weaknesses: CWE-416
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before 07476e0d932afc53c05468076393ac35d0b4999e; from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before 5085e02362b9948f82fceca979b8f8e12acb1cc5; from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before c322789613407647a05ff5c451a7bf545fb34e73; from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before 2480326eba8ae9ccc5e4c3c2dc8d407db68e3c52; from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before f1e9087abaeedec9bf2894a282ee4f0d8383f299; from 6211753fdfd05af9e08f54c8d0ba3ee516034878 before 250f25367b58d8c65a1b060a2dda037eea09a672; 3.11 (not affected: before 3.11; from 6.1.135 up to 6.1.*; from 6.6.88 up to 6.6.*; from 6.12.24 up to 6.12.*; from 6.13.12 up to 6.13.*; from 6.14.3 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: before 6.1.135; from 6.2 before 6.6.88; from 6.7 before 6.12.24; from 6.13 before 6.13.12; from 6.14 before 6.14.3
- debian debian_linux: 11.0

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://git.kernel.org/stable/c/07476e0d932afc53c05468076393ac35d0b4999e> (patch)
- <https://git.kernel.org/stable/c/5085e02362b9948f82fceca979b8f8e12acb1cc5> (patch)
- <https://git.kernel.org/stable/c/c322789613407647a05ff5c451a7bf545fb34e73> (patch)
- <https://git.kernel.org/stable/c/2480326eba8ae9ccc5e4c3c2dc8d407db68e3c52> (patch)
- <https://git.kernel.org/stable/c/f1e9087abaeedec9bf2894a282ee4f0d8383f299> (patch)
- <https://git.kernel.org/stable/c/250f25367b58d8c65a1b060a2dda037eea09a672> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html> (mailing-list)

## Sources

- CVE List: [CVE-2025-37849](https://www.cve.org/CVERecord?id=CVE-2025-37849), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2025-37849](https://nvd.nist.gov/vuln/detail/CVE-2025-37849), Public domain, modified 2026-07-30

---

Page: https://cve.day/CVE-2025-37849 · Whole record: https://cve.day/CVE-2025-37849.json · Rebuilt by cve.day 2026-11-25T22:58:57.846Z
