← CVE Intelligence

CVE-2026-64105

KVM: arm64: vgic: Free private_irqs when init fails after allocation PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected 03b3d00a70b55857439511c1b558ca00a99f4126 before 173fb86e5519dbe7aabed1f5fa7456152a4a2e38; affected 03b3d00a70b55857439511c1b558ca00a99f4126 before 7023900b4988fb6f4a59d304d878003ff562e98d; affected 03b3d00a70b55857439511c1b558ca00a99f4126 before e690caa54a6139d98495ac69626807623520babd; affected 03b3d00a70b55857439511c1b558ca00a99f4126 before f19c354dbd457759dfcf1195ab4bdba2bb568323
Linux / Linuxaffected 6.10; unaffected 0 before 6.10; unaffected 6.12.92 through 6.12.*; unaffected 6.18.34 through 6.18.*; unaffected 7.0.11 through 7.0.*; unaffected 7.1 through *

CWE

No CWE identifiers supplied.

References