{"id":"CVE-2026-142799","summary":"genirq: Move interrupt thread exit_work object to irqaction","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ngenirq: Move interrupt thread exit_work object to irqaction\n\nirq_thread() registers irq_thread_dtor() as exit task_work using a\nstack-allocated callback_head.  On normal interrupt thread exit, this work\ngets cancelled and never runs.\n\nOn x86, an abnormal interrupt thread exit (e.g. handler oops) discards the\nstack, including the callback_head, while that callback_head is still\npending. By the time exit_task_work() runs, the stack memory formerly\nbacking callback_head is already clobbered.\n\n  irq_thread()                      \u003c-- on_exit_work allocated\n    ** IRQ handler faults **\n    oops_end()\n      rewind_stack_and_make_dead()  \u003c-- on_exit_work freed\n  make_task_dead()\n    do_exit(SIGSEGV)\n      ...\n      exit_shm()                    \u003c-- on_exit_work clobbered\n      ...\n      exit_task_work()              \u003c-- stack use-after-free\n        exit_shm()+0x30             \u003c-- wild jump to return addr\n\nThus, a benign threaded IRQ oops (e.g. a NULL pointer deref) is\nturned into a wild jump. This is caught by kernel IBT:\n\n  ** first fault **\n  Oops: general protection fault, kernel NULL pointer dereference 0x3c0: 0000 [#1] SMP NOPTI\n  ...\n  ** second fault **\n  Missing ENDBR: exit_shm+0x30/0x1c0\n  kernel BUG at arch/x86/kernel/cet.c:133!\n  ...\n   ? task_work_run+0x5c/0x90\n   ? do_exit+0x209/0x460\n   ? rewind_stack_and_make_dead+0x16/0x20\n  ...\n  note: irq/165-AudioDS[1427] exited with irqs disabled\n  Fixing recursive fault but reboot is needed!\n\nFix this by storing the callback_head in struct irqaction.  The irqaction\nis only freed once irq_thread_dtor() finishes.","modified":"2026-12-03T05:00:46.715973435Z","published":"2026-12-03T03:11:29.902Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142799.json"},"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/18d9bba2ae291657a87c85eb3a4f82b73147e55e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/48341a13911defd7575b03fac312642151ce0367"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5b2d1b76eec7c5798701a221ba4a6ec9cf5c6f13"},{"type":"WEB","url":"https://git.kernel.org/stable/c/601d7a4c5405972e71ad97e1086a88900d5f0b0d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/62fa0acd3bd87d6d9a59bbbef101c6fbf3db297d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/89a9e003a2ef73f67dff03dfd59e0a5474b56b0b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ac81f77bdf66de5b089b2f46cd8c202ccd42602c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e1b124226d55bc62b24b8f825b220d9b48b324bc"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142799.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142799"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2deb4be28077638591fe5fc593b7f8aabc140f42"},{"fixed":"48341a13911defd7575b03fac312642151ce0367"},{"fixed":"ac81f77bdf66de5b089b2f46cd8c202ccd42602c"},{"fixed":"601d7a4c5405972e71ad97e1086a88900d5f0b0d"},{"fixed":"5b2d1b76eec7c5798701a221ba4a6ec9cf5c6f13"},{"fixed":"18d9bba2ae291657a87c85eb3a4f82b73147e55e"},{"fixed":"e1b124226d55bc62b24b8f825b220d9b48b324bc"},{"fixed":"62fa0acd3bd87d6d9a59bbbef101c6fbf3db297d"},{"fixed":"89a9e003a2ef73f67dff03dfd59e0a5474b56b0b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142799.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.8.0"},{"fixed":"5.10.275"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.226"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.193"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.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-142799.json"}}],"schema_version":"1.9.2"}