{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-72295",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-08-09T03:40:39.917Z",
        "datePublished": "2026-08-15T05:55:16.590Z",
        "dateUpdated": "2026-08-17T05:42:28.074Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-17T05:42:28.074Z"
            },
            "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": {
                        "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"
                    },
                    "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."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "arch/loongarch/kvm/irqfd.c"
                    ],
                    "versions": [
                        {
                            "version": "1928254c5ccb7bdffd7f0334e1ce250e9ce4de94",
                            "lessThan": "199b570d7fca1aa70e596f10a6276997becffb6d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1928254c5ccb7bdffd7f0334e1ce250e9ce4de94",
                            "lessThan": "8b3e188d19e4ffe916780aeb7ddad9d6457b8bcc",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "1928254c5ccb7bdffd7f0334e1ce250e9ce4de94",
                            "lessThan": "3474037904c20ff915e3ebab0ab5c1e41bbe549e",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "arch/loongarch/kvm/irqfd.c"
                    ],
                    "versions": [
                        {
                            "version": "6.13",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.13",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.40",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.5",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.13",
                                    "versionEndExcluding": "6.18.40"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.13",
                                    "versionEndExcluding": "7.1.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.13",
                                    "versionEndExcluding": "7.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}