{"id":"CVE-2026-99475","summary":"genirq: Defer kfree(irqaction) until irq_thread_dtor() finishes","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ngenirq: Defer kfree(irqaction) until irq_thread_dtor() finishes\n\nWhen an interrupt thread exits abnormally via do_exit() (e.g. the interrupt\nhandler oopses) without returning from irq_thread(), a concurrent call to\nfree_irq() could free the irqaction before the irq_thread_dtor() exit task\nwork runs.\n\n  irq thread (oopsed)                 free_irq()\n  -------------------                 ----------\n  do_exit()\n    exit_mm()\n      complete_vfork_done()  -------\u003e kthread_stop() returns\n    exit_files() ...                  kfree(action)\n    exit_task_work()\n      irq_thread_dtor()\n        action-\u003e...                   \u003c- use-after-free\n\nTrack the pending exit work with the IRQTF_EXIT_WORK thread flag, and have\n__free_irq() wait for the bit to clear before kfree().\n\nirq_thread_dtor() only runs on irq_thread abnormal exit. If that dtor also\nfaults, free_irq() will hang indefinitely, but double IRQ thread faults\nrequire a reboot anyways.\n\n[ tglx: Add missing include ]","modified":"2026-11-19T17:01:20.234947609Z","published":"2026-11-19T14:43:07.169Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99475.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/08aaea3e62b2ddc69a65d52609a5924559d05af2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a6deaadd460a3a3cfd59c857247097e8da892af8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d04adff6860587e843948b0c31174f8ae11b8dfe"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ec397edc4c8ca868865953926831b539698469e6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99475.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99475"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ed3e694d78cc75fa79bf29698631b146fd27aa35"},{"fixed":"ec397edc4c8ca868865953926831b539698469e6"},{"fixed":"a6deaadd460a3a3cfd59c857247097e8da892af8"},{"fixed":"08aaea3e62b2ddc69a65d52609a5924559d05af2"},{"fixed":"d04adff6860587e843948b0c31174f8ae11b8dfe"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99475.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.6.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99475.json"}}],"schema_version":"1.9.2"}