# CVE-2026-89913: KVM: arm64: vgic-v3: take an LPI reference in vgic\_v3\_save\_pending\_tables

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.20% (percentile 5, 2026-11-26)
- **Published:** 2026-09-16T10:32:09.947Z
- **Modified:** 2026-10-21T13:20:31.833Z

## Who should check

- Anyone running Linux \>= 280771252c1bae0947215c59fb9ea6a8d9f8399d, \< 4000462866bc71f16d1bfb3cf8e969f95150cd64; \>= 280771252c1bae0947215c59fb9ea6a8d9f8399d, \< 7631f95297560157d3a9283cb999e3be00103348; \>= 280771252c1bae0947215c59fb9ea6a8d9f8399d, \< d3a2d20b7248ea67465af1cf79c79f90ff70926c; \>= 280771252c1bae0947215c59fb9ea6a8d9f8399d, \< f5b8f203bfc07a5a257dff859e66d2c500f9f509
- Anyone running Linux 4.12

## Description

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

KVM: arm64: vgic-v3: take an LPI reference in vgic\_v3\_save\_pending\_tables

vgic\_v3\_save\_pending\_tables() iterates dist-\>lpi\_xa using xa\_for\_each()
and dereferences the returned struct vgic\_irq in the loop body without
holding a reference on the LPI.

The xarray iterator only provides temporary RCU coverage while looking up
the current entry. That is not sufficient for this loop body, which reads
fields from struct vgic\_irq and performs guest memory accesses before the
iteration completes.

A concurrent path can trigger this race: the irqfd cached injection path
(vgic\_its\_inject\_cached\_translation) obtains a transient LPI reference
via vgic\_its\_check\_cache() without holding kvm-\>lock, vcpu-\>mutex,
config\_lock, or its\_lock. If guest ITS DISCARD then drops the cache and
ITE references under its\_lock, the transient inject reference may become
the final one. When vgic\_put\_irq() drops it, the LPI is erased from
lpi\_xa and freed via kfree\_rcu(). Meanwhile, vgic\_v3\_save\_pending\_tables()
may still hold a stale pointer obtained from the xarray iterator and
dereference it after the RCU grace period completes.

Fix this by re-fetching each iterated LPI via vgic\_get\_irq(), which takes
a stable reference, and dropping it with vgic\_put\_irq() on all paths.
This matches the pattern already used by other lpi\_xa iterators in the
vgic ITS code.

## Affected and fixed versions

- Linux: \>= 280771252c1bae0947215c59fb9ea6a8d9f8399d, \< 4000462866bc71f16d1bfb3cf8e969f95150cd64; \>= 280771252c1bae0947215c59fb9ea6a8d9f8399d, \< 7631f95297560157d3a9283cb999e3be00103348; \>= 280771252c1bae0947215c59fb9ea6a8d9f8399d, \< d3a2d20b7248ea67465af1cf79c79f90ff70926c; \>= 280771252c1bae0947215c59fb9ea6a8d9f8399d, \< f5b8f203bfc07a5a257dff859e66d2c500f9f509 (cvelist)
- Linux: 4.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-89913. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-89913.md
Affected: Linux >= 280771252c1bae0947215c59fb9ea6a8d9f8399d, < 4000462866bc71f16d1bfb3cf8e969f95150cd64; >= 280771252c1bae0947215c59fb9ea6a8d9f8399d, < 7631f95297560157d3a9283cb999e3be00103348; >= 280771252c1bae0947215c59fb9ea6a8d9f8399d, < d3a2d20b7248ea67465af1cf79c79f90ff70926c; >= 280771252c1bae0947215c5…
Fixed in: Linux 4000462866bc71f16d1bfb3cf8e969f95150cd64, Linux 7631f95297560157d3a9283cb999e3be00103348

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-89913 being exploited?

There is no confirmed exploitation: CVE-2026-89913 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-89913?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-89913?

Linux \>= 280771252c1bae0947215c59fb9ea6a8d9f8399d, \< 4000462866bc71f16d1bfb3cf8e969f95150cd64; \>= 280771252c1bae0947215c59fb9ea6a8d9f8399d, \< 7631f95297560157d3a9283cb999e3be00103348; \>= 280771252c1bae0947215c59fb9ea6a8d9f8399d, \< d3a2d20b7248ea67465af1cf79c79f90ff70926c; \>= 280771252c1bae0947215c59fb9ea6a8d9f8399d, \< f5b8f203bfc07a5a257dff859e66d2c500f9f509; Linux 4.12.

### Is there a fix for CVE-2026-89913?

Yes. Fixed in Linux 4000462866bc71f16d1bfb3cf8e969f95150cd64, Linux 7631f95297560157d3a9283cb999e3be00103348. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-89913?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/4000462866bc71f16d1bfb3cf8e969f95150cd64>
- other: <https://git.kernel.org/stable/c/7631f95297560157d3a9283cb999e3be00103348>
- other: <https://git.kernel.org/stable/c/d3a2d20b7248ea67465af1cf79c79f90ff70926c>
- other: <https://git.kernel.org/stable/c/f5b8f203bfc07a5a257dff859e66d2c500f9f509>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-89913>

HTML: <https://flawdb.com/CVE-2026-89913> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-89913>
