{"id":"CVE-2026-89907","revision":"6ea64cc5fc0c48bc950df681b10dd906","records":[{"revision":"6ea64cc5fc0c48bc950df681b10dd906","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-89907","aliases":[],"title":"LoongArch: KVM: Validate MSI data before routing it to EIOINTC","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nLoongArch: KVM: Validate MSI data before routing it to EIOINTC\n\npch_msi_set_irq() passes e->msi.data straight into eiointc_set_irq() as\nthe irq number. The MSI data comes from userspace, that either via a\nKVM_IRQ_ROUTING_MSI entry set with KVM_SET_GSI_ROUTING (used by irqfd\nand KVM_IRQ_LINE) or directly via KVM_SIGNAL_MSI, and is never checked\nagainst EIOINTC_IRQS.\n\neiointc_set_irq() uses the value with __set_bit()/__clear_bit() on the\n256-bit isr bitmap, eiointc_update_irq() then indexes sw_coremap[] and\nthe per-cpu coreisr/sw_coreisr bitmaps with it. Therefore a data value\n>= 256 reads and writes memory past the end of those arrays, i.e. any\nprocess holding a VM fd can corrupt kernel memory beyond the allocation\nof loongarch_eiointc.\n\nReject MSI data that doesn't fit in the EIOINTC irq space. The DMSINTC\npath is unaffected as it decodes the vector from the address and masks\nit.","state":0,"publishedAt":"2026-09-16T10:32:05.925+00:00","modifiedAt":"2026-10-19T08:54:39.939+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"arch/loongarch/kvm/intc/pch_pic.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"1928254c5ccb7bdffd7f0334e1ce250e9ce4de94\",\n                            \"lessThan\": \"506f03b5f869cbae50d31b50d80d4a5735d47f94\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"1928254c5ccb7bdffd7f0334e1ce250e9ce4de94\",\n                            \"lessThan\": \"83715a40a2d30d23719e0b25380ba82ff905195b\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"1928254c5ccb7bdffd7f0334e1ce250e9ce4de94\",\n                            \"lessThan\": \"501514d6ebd2111c353a1296f25dbe22fbd64657\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"arch/loongarch/kvm/intc/pch_pic.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"6.13\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"6.13\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.57\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.5\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","score":8.8,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/506f03b5f869cbae50d31b50d80d4a5735d47f94","https://git.kernel.org/stable/c/83715a40a2d30d23719e0b25380ba82ff905195b","https://git.kernel.org/stable/c/501514d6ebd2111c353a1296f25dbe22fbd64657"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-89907","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-89907","identifiers":["CVE-2026-89907"]},"retained":false,"historicalAffected":[]}],"coverage":[]}