{"id":"CVE-2026-99189","summary":"gpio: mxc: fix race between chained IRQ handler install and probe completion","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: mxc: fix race between chained IRQ handler install and probe completion\n\nmxc_update_irq_chained_handler() is called before the IRQ domain, the\ngeneric IRQ chip, and the port list entry are set up. If an interrupt\narrives in that window:\n\n - mx3_gpio_irq_handler() calls generic_handle_domain_irq() with\n   port-\u003edomain still NULL.\n - mx2_gpio_irq_handler() walks mxc_gpio_ports, but the port has not\n   been added to the list yet.\n\nAdditionally, if any of the subsequent probe steps\n(gpio_generic_chip_init(), devm_gpiochip_add_data(),\nirq_domain_create_legacy(), or mxc_gpio_init_gc()) fail, the error\npaths never unregister the chained handler, leaving a dangling handler\nthat points at freed memory.\n\nMove the handler installation after all its dependencies are ready and\nafter list_add_tail(), so the handler is never live while the data\nstructures it touches are incomplete, and is never installed if probe\nfails.","modified":"2026-10-30T02:47:24.110401216Z","published":"2026-10-28T10:35:46.366Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99189.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/261802c14e1a3281987ea8f106701e5ed9652f68"},{"type":"WEB","url":"https://git.kernel.org/stable/c/38d44f78f041ffe60c8e2443b99434a199e7541d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6c1e035d881579a6e4ed1ce5feabb13d23e80a82"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99189.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99189"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"5f6d1998adeb5374ef248b5ba2e2a0c30ab0f60b"},{"fixed":"261802c14e1a3281987ea8f106701e5ed9652f68"},{"fixed":"6c1e035d881579a6e4ed1ce5feabb13d23e80a82"},{"fixed":"38d44f78f041ffe60c8e2443b99434a199e7541d"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99189.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.6.0"},{"fixed":"6.18.59"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99189.json"}}],"schema_version":"1.9.2"}