Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
03b3d00a70b55857439511c1b558ca00a99f4126 to < 173fb86e5519dbe7aabed1f5fa7456152a4a2e38affected03b3d00a70b55857439511c1b558ca00a99f4126 to < 7023900b4988fb6f4a59d304d878003ff562e98daffected03b3d00a70b55857439511c1b558ca00a99f4126 to < e690caa54a6139d98495ac69626807623520babdaffected03b3d00a70b55857439511c1b558ca00a99f4126 to < f19c354dbd457759dfcf1195ab4bdba2bb568323affected
Linux Linux
Default version status: affected
6.10affected0 to < 6.10unaffected6.12.92 to ≤ 6.12.*unaffected6.18.34 to ≤ 6.18.*unaffected7.0.11 to ≤ 7.0.*unaffected7.1 to ≤ *unaffected