# CVE-2026-99475: genirq: Defer kfree(irqaction) until irq_thread_dtor() finishes

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-11-19T14:43:07.169Z
- Modified: 2026-11-23T08:17:51.117Z
- Assigned by: 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 ]

(As written by CVE List.)

## Affected

- Linux Linux: from ed3e694d78cc75fa79bf29698631b146fd27aa35 before 38d9f85a44e58e20ee2495d284bedae07ce32ee2; from ed3e694d78cc75fa79bf29698631b146fd27aa35 before c5c65a0a75362ff9d28f96c719e9f458c72f17c0; from ed3e694d78cc75fa79bf29698631b146fd27aa35 before ac1dfa127969307c432aa4eb2ae21b406d51be46; from ed3e694d78cc75fa79bf29698631b146fd27aa35 before b21cf04007f8e039170674a6815e4ac97bbab417; from ed3e694d78cc75fa79bf29698631b146fd27aa35 before ec397edc4c8ca868865953926831b539698469e6; from ed3e694d78cc75fa79bf29698631b146fd27aa35 before a6deaadd460a3a3cfd59c857247097e8da892af8; from ed3e694d78cc75fa79bf29698631b146fd27aa35 before 08aaea3e62b2ddc69a65d52609a5924559d05af2; from ed3e694d78cc75fa79bf29698631b146fd27aa35 before d04adff6860587e843948b0c31174f8ae11b8dfe; 3.6 (not affected: before 3.6; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.117 up to 6.12.*; from 6.18.61 up to 6.18.*; from 7.3.2 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/38d9f85a44e58e20ee2495d284bedae07ce32ee2>
- <https://git.kernel.org/stable/c/c5c65a0a75362ff9d28f96c719e9f458c72f17c0>
- <https://git.kernel.org/stable/c/ac1dfa127969307c432aa4eb2ae21b406d51be46>
- <https://git.kernel.org/stable/c/b21cf04007f8e039170674a6815e4ac97bbab417>
- <https://git.kernel.org/stable/c/ec397edc4c8ca868865953926831b539698469e6>
- <https://git.kernel.org/stable/c/a6deaadd460a3a3cfd59c857247097e8da892af8>
- <https://git.kernel.org/stable/c/08aaea3e62b2ddc69a65d52609a5924559d05af2>
- <https://git.kernel.org/stable/c/d04adff6860587e843948b0c31174f8ae11b8dfe>

## Sources

- CVE List: [CVE-2026-99475](https://www.cve.org/CVERecord?id=CVE-2026-99475), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-99475](https://nvd.nist.gov/vuln/detail/CVE-2026-99475), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-99475 · Whole record: https://cve.day/CVE-2026-99475.json · Rebuilt by cve.day 2026-11-25T22:59:52.086Z
