KVM: arm64: vgic: Free private_irqs when init fails after allocation
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.12.92, Kernel 6.18.34, Kernel 7.0.11 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: vgic: Free private_irqs when init fails after allocation Companion to commit 250f25367b58 ("KVM: arm64: Tear down vGIC on failed vCPU creation"), which added the missing kvm_vgic_vcpu_destroy() call to the kvm_share_hyp() failure path in kvm_arch_vcpu_create(). The kvm_vgic_vcpu_init() failure path immediately above it has the same shape and still needs the same cleanup. Call kvm_vgic_vcpu_destroy() when kvm_vgic_vcpu_init() fails so private IRQs allocated before a redistributor iodev registration failure are released before the failed vCPU is freed.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.10 <6.12.92, >=6.13 <6.18.34, >=6.19 <7.0.11, =7.1, >=03b3d00a70b55857439511c1b558ca00a99f4126 <7023900b4988fb6f4a59d304d878003ff562e98d, >=03b3d00a70b55857439511c1b558ca00a99f4126 <e690caa54a6139d98495ac69626807623520babd, >=03b3d00a70b55857439511c1b558ca00a99f4126 <f19c354dbd457759dfcf1195ab4bdba2bb568323, =6.10, >=03b3d00a70b55857439511c1b558ca00a99f4126 <173fb86e5519dbe7aabed1f5fa7456152a4a2e38 | 6.12.92, 6.18.34, 7.0.11, 7023900b4988fb6f4a59d304d878003ff562e98d, e690caa54a6139d98495ac69626807623520babd, f19c354dbd457759dfcf1195ab4bdba2bb568323, 173fb86e5519dbe7aabed1f5fa7456152a4a2e38 |
| linux-kernel: Kernel | >=6.10.0 <6.12.92, >=6.13.0 <6.18.34, >=6.19.0 <7.0.11 | 6.12.92, 6.18.34, 7.0.11 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket