CVE-2026-138984
Description
In the Linux kernel, the following vulnerability has been resolved:
mfd: da903x: Cancel IRQ work during teardown
The IRQ handler disables the IRQ and schedules irq_work. Releasing the IRQ does not drain that work, which can continue to use the devm-allocated chip and notifier state.
Manage both IRQ-work cancellation and subdevice removal with devres. Register the subdevice-removal action before requesting the IRQ, then add the IRQ-work action after the request. This avoids leaving a live IRQ without work cancellation if action registration fails. Devres cleanup then disables the IRQ and drains the work before releasing the IRQ and removing child devices. Register both actions before creating the children so partial probe failures use the same ordering.
This issue was found by the author's in-house static analysis tool. The patch was reviewed by the author against the latest mainline tree.
Affected products
1Patches
Vulnerability mechanics
References
8- git.kernel.org/stable/c/0275de453cc4271fd1221ea992d673f923113300nvd
- git.kernel.org/stable/c/2d65b0972a6a9cff087f3ce7664b6486ac10eb81nvd
- git.kernel.org/stable/c/2f76c8c74f30091f3c142941ce64929c2346a28cnvd
- git.kernel.org/stable/c/3b40c72a48d0385ee0584c7d8e9b651375bf5b71nvd
- git.kernel.org/stable/c/57d039d8fe21cd788cea339c625f45625cc89533nvd
- git.kernel.org/stable/c/7990fad78c398883b22128ea104c561ba53603e9nvd
- git.kernel.org/stable/c/f5a4d21e00309ef03de0e4df812d84c942e2d083nvd
- git.kernel.org/stable/c/fd2258999ecdc7164ef0cda2d4102e4558a5660fnvd
News mentions
0No linked articles in our index yet.