# CVE-2026-89907: LoongArch: KVM: Validate MSI data before routing it to EIOINTC

> 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.17% (percentile 4, 2026-11-26)
- **Published:** 2026-09-16T10:32:05.925Z
- **Modified:** 2026-10-19T09:18:36.120Z

## Who should check

- Anyone running Linux \>= 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94, \< 506f03b5f869cbae50d31b50d80d4a5735d47f94; \>= 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94, \< 83715a40a2d30d23719e0b25380ba82ff905195b; \>= 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94, \< 501514d6ebd2111c353a1296f25dbe22fbd64657
- Anyone running Linux 6.13

## Description

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

LoongArch: KVM: Validate MSI data before routing it to EIOINTC

pch\_msi\_set\_irq() passes e-\>msi.data straight into eiointc\_set\_irq() as
the irq number. The MSI data comes from userspace, that either via a
KVM\_IRQ\_ROUTING\_MSI entry set with KVM\_SET\_GSI\_ROUTING (used by irqfd
and KVM\_IRQ\_LINE) or directly via KVM\_SIGNAL\_MSI, and is never checked
against EIOINTC\_IRQS.

eiointc\_set\_irq() uses the value with \_\_set\_bit()/\_\_clear\_bit() on the
256-bit isr bitmap, eiointc\_update\_irq() then indexes sw\_coremap\[\] and
the per-cpu coreisr/sw\_coreisr bitmaps with it. Therefore a data value
\>= 256 reads and writes memory past the end of those arrays, i.e. any
process holding a VM fd can corrupt kernel memory beyond the allocation
of loongarch\_eiointc.

Reject MSI data that doesn't fit in the EIOINTC irq space. The DMSINTC
path is unaffected as it decodes the vector from the address and masks
it.

## Affected and fixed versions

- Linux: \>= 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94, \< 506f03b5f869cbae50d31b50d80d4a5735d47f94; \>= 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94, \< 83715a40a2d30d23719e0b25380ba82ff905195b; \>= 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94, \< 501514d6ebd2111c353a1296f25dbe22fbd64657 (cvelist)
- Linux: 6.13 (cvelist)

## Mitigation

- Upgrade Linux to 501514d6ebd2111c353a1296f25dbe22fbd64657 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-89907.md
Affected: Linux >= 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94, < 506f03b5f869cbae50d31b50d80d4a5735d47f94; >= 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94, < 83715a40a2d30d23719e0b25380ba82ff905195b; >= 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94, < 501514d6ebd2111c353a1296f25dbe22fbd64657; Linux 6.13
Fixed in: Linux 506f03b5f869cbae50d31b50d80d4a5735d47f94, Linux 83715a40a2d30d23719e0b25380ba82ff905195b, Linux 501514d6ebd2111c353a1296f25dbe22fbd64657

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-89907 being exploited?

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

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

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

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

Linux \>= 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94, \< 506f03b5f869cbae50d31b50d80d4a5735d47f94; \>= 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94, \< 83715a40a2d30d23719e0b25380ba82ff905195b; \>= 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94, \< 501514d6ebd2111c353a1296f25dbe22fbd64657; Linux 6.13.

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

Yes. Fixed in Linux 506f03b5f869cbae50d31b50d80d4a5735d47f94, Linux 83715a40a2d30d23719e0b25380ba82ff905195b, Linux 501514d6ebd2111c353a1296f25dbe22fbd64657. Upgrade Linux to 501514d6ebd2111c353a1296f25dbe22fbd64657 or later.

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

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/506f03b5f869cbae50d31b50d80d4a5735d47f94>
- other: <https://git.kernel.org/stable/c/83715a40a2d30d23719e0b25380ba82ff905195b>
- other: <https://git.kernel.org/stable/c/501514d6ebd2111c353a1296f25dbe22fbd64657>

## 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-89907>

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