genirq: Move interrupt thread exit_work object to irqaction
Summary
| CVE | CVE-2026-142799 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-12-03 04:18:13 UTC |
| Updated | 2026-12-03 04:18:13 UTC |
| Description | In the Linux kernel, the following vulnerability has been resolved:
genirq: Move interrupt thread exit_work object to irqaction
irq_thread() registers irq_thread_dtor() as exit task_work using a
stack-allocated callback_head. On normal interrupt thread exit, this work
gets cancelled and never runs.
On x86, an abnormal interrupt thread exit (e.g. handler oops) discards the
stack, including the callback_head, while that callback_head is still
pending. By the time exit_task_work() runs, the stack memory formerly
backing callback_head is already clobbered.
irq_thread() <-- on_exit_work allocated
** IRQ handler faults **
oops_end()
rewind_stack_and_make_dead() <-- on_exit_work freed
make_task_dead()
do_exit(SIGSEGV)
...
exit_shm() <-- on_exit_work clobbered
...
exit_task_work() <-- stack use-after-free
exit_shm()+0x30 <-- wild jump to return addr
Thus, a benign threaded IRQ oops (e.g. a NULL pointer deref) is
turned into a wild jump. This is caught by kernel IBT:
** first fault **
Oops: general protection fault, kernel NULL pointer dereference 0x3c0: 0000 [#1] SMP NOPTI
...
** second fault **
Missing ENDBR: exit_shm+0x30/0x1c0
kernel BUG at arch/x86/kernel/cet.c:133!
...
? task_work_run+0x5c/0x90
? do_exit+0x209/0x460
? rewind_stack_and_make_dead+0x16/0x20
...
note: irq/165-AudioDS[1427] exited with irqs disabled
Fixing recursive fault but reboot is needed!
Fix this by storing the callback_head in struct irqaction. The irqaction
is only freed once irq_thread_dtor() finishes. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 2deb4be28077638591fe5fc593b7f8aabc140f42 48341a13911defd7575b03fac312642151ce0367 git |
Not specified |
| CNA |
Linux |
Linux |
affected 2deb4be28077638591fe5fc593b7f8aabc140f42 ac81f77bdf66de5b089b2f46cd8c202ccd42602c git |
Not specified |
| CNA |
Linux |
Linux |
affected 2deb4be28077638591fe5fc593b7f8aabc140f42 601d7a4c5405972e71ad97e1086a88900d5f0b0d git |
Not specified |
| CNA |
Linux |
Linux |
affected 2deb4be28077638591fe5fc593b7f8aabc140f42 5b2d1b76eec7c5798701a221ba4a6ec9cf5c6f13 git |
Not specified |
| CNA |
Linux |
Linux |
affected 2deb4be28077638591fe5fc593b7f8aabc140f42 18d9bba2ae291657a87c85eb3a4f82b73147e55e git |
Not specified |
| CNA |
Linux |
Linux |
affected 2deb4be28077638591fe5fc593b7f8aabc140f42 e1b124226d55bc62b24b8f825b220d9b48b324bc git |
Not specified |
| CNA |
Linux |
Linux |
affected 2deb4be28077638591fe5fc593b7f8aabc140f42 62fa0acd3bd87d6d9a59bbbef101c6fbf3db297d git |
Not specified |
| CNA |
Linux |
Linux |
affected 2deb4be28077638591fe5fc593b7f8aabc140f42 89a9e003a2ef73f67dff03dfd59e0a5474b56b0b git |
Not specified |
| CNA |
Linux |
Linux |
affected 4.8 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 4.8 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.10.275 5.10.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 5.15.226 5.15.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.1.193 6.1.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.6.163 6.6.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.12.117 6.12.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.61 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.2 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/62fa0acd3bd87d6d9a59bbbef101c6fbf3db297d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/18d9bba2ae291657a87c85eb3a4f82b73147e55e |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/48341a13911defd7575b03fac312642151ce0367 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/e1b124226d55bc62b24b8f825b220d9b48b324bc |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/601d7a4c5405972e71ad97e1086a88900d5f0b0d |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/89a9e003a2ef73f67dff03dfd59e0a5474b56b0b |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/5b2d1b76eec7c5798701a221ba4a6ec9cf5c6f13 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/ac81f77bdf66de5b089b2f46cd8c202ccd42602c |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.