Skip to contentSkip to conversation

CVE-2026-98877: irqchip/gic-v4: Don't advertise VLPIs if no ITS is probed

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 23

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

irqchip/gic-v4: Don't advertise VLPIs if no ITS is probed

When accidentally setting “kvm-arm.vgic_v4_enable=1” on a system that has no MSI controller device tree node and GICv4, it results a panic as “gic_domain” is NULL and the kernel attempts to access it.

    Unable to handle kernel NULL pointer dereference at virtual address 0000000000000028
    Mem abort info:
      ESR = 0x0000000096000006

    CPU: 1 UID: 0 PID: 295 Comm: lkvm-static Not tainted 7.1.0-rc4-ge3f15ad3970e #5 PREEMPT
    Hardware name: linux,dummy-virt (DT)
    pstate: 81402005 (Nzcv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
    pc : __irq_domain_instantiate+0x1d4/0x578
    lr : __irq_domain_instantiate+0x1cc/0x578

Set vLPI support to false at init time if the host has no ITS, so it propagates properly to kvm_vgic_global_state.has_gicv4.

The Linux kernel CVE team has assigned CVE-2026-98877 to this issue.

Affected and fixed versions
===========================

	Fixed in 5.10.271 with commit 3e4cae9f1472ba3c9fe87edee24074618b51f537
	Fixed in 5.15.222 with commit a2508b8855acc96abe69be73b41b672f1ef12516
	Fixed in 6.1.189 with commit e79934064be85fc9a3a6434da857307d8b78e33d
	Fixed in 6.6.158 with commit 4761493dd663443f7353c184e6fa16e1cb3ac5a1
	Fixed in 6.12.111 with commit ab233119a19716b8f33e73ea7e092e0eb353cfbf
	Fixed in 6.18.53 with commit c8a911b3b07baa0aeb3dbc4e16a4670bd21bed40
	Fixed in 7.2 with commit e61654fbc3bc5d07ec9fafe29f33e19b2b5d0fd5

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-98877

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:
drivers/irqchip/irq-gic-v3-its.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/3e4cae9f1472ba3c9fe87edee24074618b51f537
	https://git.kernel.org/stable/c/a2508b8855acc96abe69be73b41b672f1ef12516
	https://git.kernel.org/stable/c/e79934064be85fc9a3a6434da857307d8b78e33d
	https://git.kernel.org/stable/c/4761493dd663443f7353c184e6fa16e1cb3ac5a1
	https://git.kernel.org/stable/c/ab233119a19716b8f33e73ea7e092e0eb353cfbf
	https://git.kernel.org/stable/c/c8a911b3b07baa0aeb3dbc4e16a4670bd21bed40
	https://git.kernel.org/stable/c/e61654fbc3bc5d07ec9fafe29f33e19b2b5d0fd5