{"api_version":"1","generated_at":"2026-08-22T21:52:58+00:00","cve":"CVE-2026-72295","urls":{"html":"https://cve.report/CVE-2026-72295","api":"https://cve.report/api/cve/CVE-2026-72295.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-72295","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-72295"},"summary":{"title":"LoongArch: KVM: Validate irqchip index in irqfd routing","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: KVM: Validate irqchip index in irqfd routing\n\nSashiko reported that the irqchip index is not validated for LoongArch.\nAdd validation and reject out-of-range irqchip indexes to avoid indexing\npast the routing table's chip array.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 06:22:02","updated_at":"2026-08-17 06:18:32"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","data":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/8b3e188d19e4ffe916780aeb7ddad9d6457b8bcc","name":"https://git.kernel.org/stable/c/8b3e188d19e4ffe916780aeb7ddad9d6457b8bcc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/199b570d7fca1aa70e596f10a6276997becffb6d","name":"https://git.kernel.org/stable/c/199b570d7fca1aa70e596f10a6276997becffb6d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3474037904c20ff915e3ebab0ab5c1e41bbe549e","name":"https://git.kernel.org/stable/c/3474037904c20ff915e3ebab0ab5c1e41bbe549e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-72295","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-72295","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94 199b570d7fca1aa70e596f10a6276997becffb6d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94 8b3e188d19e4ffe916780aeb7ddad9d6457b8bcc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 1928254c5ccb7bdffd7f0334e1ce250e9ce4de94 3474037904c20ff915e3ebab0ab5c1e41bbe549e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.40 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.5 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"72295","cve":"CVE-2026-72295","epss":"0.001610000","percentile":"0.058420000","score_date":"2026-08-17","updated_at":"2026-08-18 00:11:47"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["arch/loongarch/kvm/irqfd.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"199b570d7fca1aa70e596f10a6276997becffb6d","status":"affected","version":"1928254c5ccb7bdffd7f0334e1ce250e9ce4de94","versionType":"git"},{"lessThan":"8b3e188d19e4ffe916780aeb7ddad9d6457b8bcc","status":"affected","version":"1928254c5ccb7bdffd7f0334e1ce250e9ce4de94","versionType":"git"},{"lessThan":"3474037904c20ff915e3ebab0ab5c1e41bbe549e","status":"affected","version":"1928254c5ccb7bdffd7f0334e1ce250e9ce4de94","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["arch/loongarch/kvm/irqfd.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.13"},{"lessThan":"6.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.40","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.40","versionStartIncluding":"6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.5","versionStartIncluding":"6.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2","versionStartIncluding":"6.13","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: KVM: Validate irqchip index in irqfd routing\n\nSashiko reported that the irqchip index is not validated for LoongArch.\nAdd validation and reject out-of-range irqchip indexes to avoid indexing\npast the routing table's chip array."}],"metrics":[{"cvssV3_1":{"baseScore":8.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"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().\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC: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.\nI: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.\nA: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."}]}],"providerMetadata":{"dateUpdated":"2026-08-17T05:42:28.074Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/199b570d7fca1aa70e596f10a6276997becffb6d"},{"url":"https://git.kernel.org/stable/c/8b3e188d19e4ffe916780aeb7ddad9d6457b8bcc"},{"url":"https://git.kernel.org/stable/c/3474037904c20ff915e3ebab0ab5c1e41bbe549e"}],"title":"LoongArch: KVM: Validate irqchip index in irqfd routing","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-72295","datePublished":"2026-08-15T05:55:16.590Z","dateReserved":"2026-08-09T03:40:39.917Z","dateUpdated":"2026-08-17T05:42:28.074Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-15 06:22:02","lastModifiedDate":"2026-08-17 06:18:32","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2,"impactScore":6}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"72295","Ordinal":"1","Title":"LoongArch: KVM: Validate irqchip index in irqfd routing","CVE":"CVE-2026-72295","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"72295","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: KVM: Validate irqchip index in irqfd routing\n\nSashiko reported that the irqchip index is not validated for LoongArch.\nAdd validation and reject out-of-range irqchip indexes to avoid indexing\npast the routing table's chip array.","Type":"Description","Title":"LoongArch: KVM: Validate irqchip index in irqfd routing"}]}}}