CVE-2026-98712

KVM: arm64: vgic: Take a refcount on IRQs referenced by last_lr_irq

Published Oct 18, 2026 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Linux kernel contains a flaw in the KVM arm64 vgic module where the reference count is not correctly incremented for IRQs stored in the last_lr_irq field. If an LPI is concurrently unmapped while the IRQ is referenced, the interrupt may disappear and the module may attempt to use a released resource. This can lead to kernel crashes or other unstable behavior, potentially allowing an attacker to cause a denial of service or compromise system integrity. The fix involves bumping the refcount when populating last_lr_irq and dropping it during vgic_prune_ap_list().

Affected Systems

Systems running the Linux kernel on arm64 that use KVM virtualization and enable the vgic interrupt controller are affected. This includes any host running the kernel with the vgic module active, regardless of distribution or vendor, as the vulnerability is part of the core KVM code.

Risk and Exploitability

The vulnerability can be exploited by an adversary with sufficient privileges or when an untrusted guest can trigger LPI unmapping during host operation. The CVSS score is 6.5, indicating a medium severity. The EPSS score is 0.00155, indicating a very low exploitation probability, and the issue is not listed in CISA’s KEV catalog. The severity should be treated as high due to the potential for kernel panic. The lack of an official workaround means patching is required; the attack vector is local to the host kernel, most likely via privileged users or compromised guests. The risk is compounded by the lack of detection mechanisms; therefore, mitigation should be applied promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the commits referenced in the advisory (19bc5d79ece613f242b5ec03921a3b465321bfed or 8b25393d16a5ca8df907bd7ee1ff2e9d85678b3c).
  • If an updated kernel is not yet available, disable or restrict the use of LPI features in the KVM vgic module until the patch is applied.
  • Monitor system logs for abnormal LPI unmapping or kernel panics that may indicate an unresolved reference count issue.

Generated by OpenCVE AI on October 23, 2026 at 07:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-9018-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9018-2 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416
Type Values Removed Values Added
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.
Title KVM: arm64: vgic: Take a refcount on IRQs referenced by last_lr_irq
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-825

    Expired Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:24 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 19, 2026, 10:19 AM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM