CVE-2026-99475
genirq: Defer kfree(irqaction) until irq_thread_dtor() finishes
- CVSS
- —
- EPSS
- 0.22% (p13)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-23
- Product
- Linux Linux
Description
In the Linux kernel, the following vulnerability has been resolved: genirq: Defer kfree(irqaction) until irq_thread_dtor() finishes When an interrupt thread exits abnormally via do_exit() (e.g. the interrupt handler oopses) without returning from irq_thread(), a concurrent call to free_irq() could free the irqaction before the irq_thread_dtor() exit task work runs. irq thread (oopsed) free_irq() ------------------- ---------- do_exit() exit_mm() complete_vfork_done() -------> kthread_stop() returns exit_files() ... kfree(action) exit_task_work() irq_thread_dtor() action->... <- use-after-free Track the pending exit work with the IRQTF_EXIT_WORK thread flag, and have __free_irq() wait for the bit to clear before kfree(). irq_thread_dtor() only runs on irq_thread abnormal exit. If that dtor also faults, free_irq() will hang indefinitely, but double IRQ thread faults require a reboot anyways. [ tglx: Add missing include ]
Fixed in
08aaea3e62b2ddc69a65d52609a5924559d05af2 · 38d9f85a44e58e20ee2495d284bedae07ce32ee2 · 6.12.117 · 6.18.61 · 7.3.2 · a6deaadd460a3a3cfd59c857247097e8da892af8 · ac1dfa127969307c432aa4eb2ae21b406d51be46 · b21cf04007f8e039170674a6815e4ac97bbab417 · c5c65a0a75362ff9d28f96c719e9f458c72f17c0 · d04adff6860587e843948b0c31174f8ae11b8dfe · ec397edc4c8ca868865953926831b539698469e6
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=3.6.0, <6.12.117 | 6.12.117 |
| Linux | Kernel | >=6.13.0, <6.18.61 | 6.18.61 |
| Linux | Kernel | >=6.19.0, <7.3.2 | 7.3.2 |
| vendor | Linux | >=ed3e694d78cc75fa79bf29698631b146fd27aa35, <08aaea3e62b2ddc69a65d52609a5924559d05af2 | 08aaea3e62b2ddc69a65d52609a5924559d05af2 |
| vendor | Linux | >=ed3e694d78cc75fa79bf29698631b146fd27aa35, <38d9f85a44e58e20ee2495d284bedae07ce32ee2 | 38d9f85a44e58e20ee2495d284bedae07ce32ee2 |
| vendor | Linux | >=ed3e694d78cc75fa79bf29698631b146fd27aa35, <a6deaadd460a3a3cfd59c857247097e8da892af8 | a6deaadd460a3a3cfd59c857247097e8da892af8 |
| vendor | Linux | >=ed3e694d78cc75fa79bf29698631b146fd27aa35, <ac1dfa127969307c432aa4eb2ae21b406d51be46 | ac1dfa127969307c432aa4eb2ae21b406d51be46 |
| vendor | Linux | >=ed3e694d78cc75fa79bf29698631b146fd27aa35, <b21cf04007f8e039170674a6815e4ac97bbab417 | b21cf04007f8e039170674a6815e4ac97bbab417 |
| vendor | Linux | >=ed3e694d78cc75fa79bf29698631b146fd27aa35, <c5c65a0a75362ff9d28f96c719e9f458c72f17c0 | c5c65a0a75362ff9d28f96c719e9f458c72f17c0 |
| vendor | Linux | >=ed3e694d78cc75fa79bf29698631b146fd27aa35, <d04adff6860587e843948b0c31174f8ae11b8dfe | d04adff6860587e843948b0c31174f8ae11b8dfe |
| vendor | Linux | >=ed3e694d78cc75fa79bf29698631b146fd27aa35, <ec397edc4c8ca868865953926831b539698469e6 | ec397edc4c8ca868865953926831b539698469e6 |
Sources
- NVD · first seen 15d ago · NVD terms of use
- OSV · first seen 14d ago · CC-BY 4.0
- CVE List · first seen 15d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/ec397edc4c8ca868865953926831b539698469e6 other
- https://git.kernel.org/stable/c/a6deaadd460a3a3cfd59c857247097e8da892af8 other
- https://git.kernel.org/stable/c/08aaea3e62b2ddc69a65d52609a5924559d05af2 other
- https://git.kernel.org/stable/c/d04adff6860587e843948b0c31174f8ae11b8dfe other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99475.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99475 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package
- https://git.kernel.org/stable/c/38d9f85a44e58e20ee2495d284bedae07ce32ee2 other
- https://git.kernel.org/stable/c/c5c65a0a75362ff9d28f96c719e9f458c72f17c0 other
- https://git.kernel.org/stable/c/ac1dfa127969307c432aa4eb2ae21b406d51be46 other
- https://git.kernel.org/stable/c/b21cf04007f8e039170674a6815e4ac97bbab417 other