{"id":"CVE-2026-89907","aliases":["CVE-2026-89907"],"related":[],"kind":"vulnerability","state":"published","title":"LoongArch: KVM: Validate MSI data before routing it to EIOINTC","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-16T10:32:05.925Z","modified":"2026-10-19T09:18:36.120Z","severity":{"scorer":"Linux","scheme":"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,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"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,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1928254c5ccb7bdffd7f0334e1ce250e9ce4de94","fixed":"506f03b5f869cbae50d31b50d80d4a5735d47f94","status":"affected"},{"type":"git","introduced":"1928254c5ccb7bdffd7f0334e1ce250e9ce4de94","fixed":"83715a40a2d30d23719e0b25380ba82ff905195b","status":"affected"},{"type":"git","introduced":"1928254c5ccb7bdffd7f0334e1ce250e9ce4de94","fixed":"501514d6ebd2111c353a1296f25dbe22fbd64657","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.18.57","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/506f03b5f869cbae50d31b50d80d4a5735d47f94","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/83715a40a2d30d23719e0b25380ba82ff905195b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/501514d6ebd2111c353a1296f25dbe22fbd64657","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89907","url":"https://www.cve.org/CVERecord?id=CVE-2026-89907","licence":"CVE Terms of Use","modified":"2026-10-19T08:54:39.939Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89907","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89907","licence":"Public domain","modified":"2026-10-19T09:18:36.120Z"}],"updatedAt":"2026-11-25T22:59:38.974Z","epss":{"score":0.00162,"percentile":0.05574,"date":"2026-12-01T12:00:22.000Z"}}