CVE-2026-72295
published high CVSS 3.1 · 8.8LoongArch: KVM: Validate irqchip index in irqfd routing
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1928254c5ccb7bdffd7f0334e1ce250e9ce4de94 to < 199b570d7fca1aa70e596f10a6276997becffb6d · 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94 to < 8b3e188d19e4ffe916780aeb7ddad9d6457b8bcc · 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94 to < 3474037904c20ff915e3ebab0ab5c1e41bbe549e · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.13 (affected) · 0 to < 6.13 (unaffected · semver) · 6.18.40 through 6.18.* (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: LoongArch: KVM: Validate irqchip index in irqfd routing Sashiko reported that the irqchip index is not validated for LoongArch. Add validation and reject out-of-range irqchip indexes to avoid indexing past the routing table's chip array.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: AV:L - The out-of-bounds write is reached only via local KVM ioctls on /dev/kvm (KVM_CREATE_VM → KVM_SET_GSI_ROUTING with KVM_IRQ_ROUTING_IRQCHIP); no network, Bluetooth, or physical device path reaches kvm_set_routing_entry(). AC:L - One KVM_SET_GSI_ROUTING call with irqchip>=KVM_NR_IRQCHIPS (valid pin/gsi) deterministically executes rt->chip[irqchip][pin]=gsi past the chip[] boundary; the attacker fully controls irqchip, pin, and gsi with no race or uncontrollable layout. PR:L - Exploitation requires only opening /dev/kvm and holding a VM fd (kvm group membership or CAP_SYS_ADMIN obtainable in a user namespace), matching unprivileged cloud tenants or QEMU service accounts—not init-namespace root. UI:N - No victim interaction is needed beyond the attacker's own KVM setup; a single malicious KVM_SET_GSI_ROUTING ioctl on a VM they control triggers the corruption. S:C - A KVM VM operator corrupts host kernel heap memory in the per-VM irq routing table from the KVM userspace interface, crossing the VM-to-host virtualization boundary rather than confining impact to the attacker's VM scope. C:H - Unvalidated irqchip indexes cause out-of-bounds writes past chip[] into nr_rt_entries and map[] hlist metadata in a kmalloc'd routing table; per kernel guidance such heap corruption is leverageable for host kernel memory disclosure. I:H - The attacker controls both the OOB index (irqchip,pin) and written value (gsi), yielding targeted corruption of routing-table pointers/state that can be steered toward host privilege escalation or code execution. A:H - Corrupting nr_rt_entries or map[] entries breaks subsequent irqfd/GSI routing lookups and irq injection, causing host kernel oops/panic or persistent VM/host denial of service on LoongArch KVM hosts.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94 to < 199b570d7fca1aa70e596f10a6276997becffb6d (affected · git)1928254c5ccb7bdffd7f0334e1ce250e9ce4de94 to < 8b3e188d19e4ffe916780aeb7ddad9d6457b8bcc (affected · git)1928254c5ccb7bdffd7f0334e1ce250e9ce4de94 to < 3474037904c20ff915e3ebab0ab5c1e41bbe549e (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.13 (affected)0 to < 6.13 (unaffected · semver)6.18.40 through 6.18.* (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
LoongArch: KVM: Validate irqchip index in irqfd routing
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 47c0800dc0e1402451ca1617dafa48a56bf10f155fb793d905d75581a3f57b15
- Ingested
- 23 Sep 2026, 09:29:56 UTC
- Source record
- Official CVE record