8.8high
KVM: arm64: Tear down vGIC on failed vCPU creation
- Severity
- 8.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.27% (higher than 21% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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.* | CVE List |
| 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 | NVD |
| debian debian_linux | 11.0 | NVD |
All scores
| Linux | 8.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: KVM: arm64: Desactivación de vGIC al crear una vCPU fallida. Si kvm_arch_vcpu_create() no comparte la página de vCPU con el hipervisor, propagamos el error a ioctl, pero dejamos los datos de vCPU de vGIC inicializados. Cabe destacar que esto solo filtra la memoria correspondiente cuando se destruye la vCPU, sino que también puede provocar un uso después de la liberación si el dispositivo redistribuidor intenta acceder a la vCPU. Agregue la limpieza faltante a kvm_arch_vcpu_create() para garantizar que las estructuras de vCPU de vGIC se destruyan en caso de error.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-37849 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2025-37849 changed 2026-07-30 | Public domain |