5.5medium
KVM: arm64: Eagerly init vgic dist/redist on vgic creation
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.12% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Eagerly init vgic dist/redist on vgic creation If vgic_allocate_private_irqs_locked() fails for any odd reason, we exit kvm_vgic_create() early, leaving dist->rd_regions uninitialised. kvm_vgic_dist_destroy() then comes along and walks into the weeds trying to free the RDs. Got to love this stuff. Solve it by moving all the static initialisation early, and make sure that if we fail halfway, we're in a reasonable shape to perform the rest of the teardown. While at it, reset the vgic model on failure, just in case...
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from b3aa9283c0c505b5cfd25f7d6cfd720de2adc807 before b7493f48c3dba75674a4ee505b4afa8fe5102457, from b3aa9283c0c505b5cfd25f7d6cfd720de2adc807 before a24f1d80fbcdbf8b2a7044a00fa12b3972b4c31c, from b3aa9283c0c505b5cfd25f7d6cfd720de2adc807 before ac6769c8f948dff33265c50e524aebf9aa6f1be0, 6.14 Not affected: before 6.14, from 6.18.19 up to 6.18.*, from 6.19.9 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.14.1 before 6.18.19, from 6.19 before 6.19.9, 6.14, 7.0 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Eagerly init vgic dist/redist on vgic creation If vgic_allocate_private_irqs_locked() fails for any odd reason, we exit kvm_vgic_create() early, leaving dist->rd_regions uninitialised. kvm_vgic_dist_destroy() then comes along and walks into the weeds trying to free the RDs. Got to love this stuff. Solve it by moving all the static initialisation early, and make sure that if we fail halfway, we're in a reasonable shape to perform the rest of the teardown. While at it, reset the vgic model on failure, just in case...
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: KVM: arm64: Inicializar de forma anticipada dist/redist de vgic en la creación de vgic Si vgic_allocate_private_irqs_locked() falla por alguna razón extraña, salimos de kvm_vgic_create() prematuramente, dejando dist -> rd_regions sin inicializar. kvm_vgic_dist_destroy() entonces aparece y se mete en un lío intentando liberar los RDs. Hay que amar estas cosas. Resolverlo moviendo toda la inicialización estática de forma anticipada, y asegurar que si fallamos a mitad de camino, estemos en un estado razonable para realizar el resto del desmantelamiento. Ya que estamos, reiniciar el modelo vgic en caso de fallo, por si acaso...
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43351 changed 2026-11-06 | CVE Terms of Use |
| NVD | CVE-2026-43351 changed 2026-11-11 | Public domain |