← VULNERABILITIES

CVE-2026-99475

genirq: Defer kfree(irqaction) until irq_thread_dtor() finishes

UnscoredFix available
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

EcosystemPackageRangeFixed
LinuxKernel>=3.6.0, <6.12.1176.12.117
LinuxKernel>=6.13.0, <6.18.616.18.61
LinuxKernel>=6.19.0, <7.3.27.3.2
vendorLinux>=ed3e694d78cc75fa79bf29698631b146fd27aa35, <08aaea3e62b2ddc69a65d52609a5924559d05af208aaea3e62b2ddc69a65d52609a5924559d05af2
vendorLinux>=ed3e694d78cc75fa79bf29698631b146fd27aa35, <38d9f85a44e58e20ee2495d284bedae07ce32ee238d9f85a44e58e20ee2495d284bedae07ce32ee2
vendorLinux>=ed3e694d78cc75fa79bf29698631b146fd27aa35, <a6deaadd460a3a3cfd59c857247097e8da892af8a6deaadd460a3a3cfd59c857247097e8da892af8
vendorLinux>=ed3e694d78cc75fa79bf29698631b146fd27aa35, <ac1dfa127969307c432aa4eb2ae21b406d51be46ac1dfa127969307c432aa4eb2ae21b406d51be46
vendorLinux>=ed3e694d78cc75fa79bf29698631b146fd27aa35, <b21cf04007f8e039170674a6815e4ac97bbab417b21cf04007f8e039170674a6815e4ac97bbab417
vendorLinux>=ed3e694d78cc75fa79bf29698631b146fd27aa35, <c5c65a0a75362ff9d28f96c719e9f458c72f17c0c5c65a0a75362ff9d28f96c719e9f458c72f17c0
vendorLinux>=ed3e694d78cc75fa79bf29698631b146fd27aa35, <d04adff6860587e843948b0c31174f8ae11b8dfed04adff6860587e843948b0c31174f8ae11b8dfe
vendorLinux>=ed3e694d78cc75fa79bf29698631b146fd27aa35, <ec397edc4c8ca868865953926831b539698469e6ec397edc4c8ca868865953926831b539698469e6

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

JSON