CVE-2026-98712: KVM: arm64: vgic: Take a refcount on IRQs referenced by last_lr_irq
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
KVM: arm64: vgic: Take a refcount on IRQs referenced by last_lr_irq
Referencing the last interrupt inserted in an LR is rather fragile, as this interrupt can vanish if a concurrently unmapped LPI.
Solve this by bumping up the refcount on the interrupt when populating last_lr_irq, and drop it at vgic_prune_ap_list() time, when LPIs are being reclaimed.
The Linux kernel CVE team has assigned CVE-2026-98712 to this issue.
Affected and fixed versions
===========================
Issue introduced in 7.0 with commit 6da5e537f5afe091658e846da1949d7e557d2ade and fixed in 7.2.10 with commit 8b25393d16a5ca8df907bd7ee1ff2e9d85678b3c Issue introduced in 7.0 with commit 6da5e537f5afe091658e846da1949d7e557d2ade and fixed in 7.3-rc6 with commit 19bc5d79ece613f242b5ec03921a3b465321bfed Issue introduced in 6.19.9 with commit cd28ca4c27ed5929f61bbed8a967c20519facb88
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-98712
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
arch/arm64/kvm/vgic/vgic.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/8b25393d16a5ca8df907bd7ee1ff2e9d85678b3c https://git.kernel.org/stable/c/19bc5d79ece613f242b5ec03921a3b465321bfed