mfd: da903x: Cancel IRQ work during teardown
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
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.
| Product | Versions |
|---|---|
| Linux Linux | 26b8f5e1e2d1229c186d8e61d26513c43a058c5e to before 2d65b0972a6a9cff087f3ce7664b6486ac10eb81 Affected26b8f5e1e2d1229c186d8e61d26513c43a058c5e to before f5a4d21e00309ef03de0e4df812d84c942e2d083 Affected26b8f5e1e2d1229c186d8e61d26513c43a058c5e to before 57d039d8fe21cd788cea339c625f45625cc89533 Affected26b8f5e1e2d1229c186d8e61d26513c43a058c5e to before 3b40c72a48d0385ee0584c7d8e9b651375bf5b71 Affected26b8f5e1e2d1229c186d8e61d26513c43a058c5e to before 0275de453cc4271fd1221ea992d673f923113300 Affected26b8f5e1e2d1229c186d8e61d26513c43a058c5e to before 7990fad78c398883b22128ea104c561ba53603e9 Affected26b8f5e1e2d1229c186d8e61d26513c43a058c5e to before 2f76c8c74f30091f3c142941ce64929c2346a28c Affected26b8f5e1e2d1229c186d8e61d26513c43a058c5e to before fd2258999ecdc7164ef0cda2d4102e4558a5660f Affected |
| Linux Linux | 2.6.28 Affectedbefore 2.6.28 Not Affected5.10.275 through 5.10.* Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.117 through 6.12.* Not Affected6.18.63 through 6.18.* Not Affected7.3.4 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/2d65b0972a6a9cff087f3ce7664b6486ac10eb81
- https://git.kernel.org/stable/c/f5a4d21e00309ef03de0e4df812d84c942e2d083
- https://git.kernel.org/stable/c/57d039d8fe21cd788cea339c625f45625cc89533
- https://git.kernel.org/stable/c/3b40c72a48d0385ee0584c7d8e9b651375bf5b71
- https://git.kernel.org/stable/c/0275de453cc4271fd1221ea992d673f923113300
- https://git.kernel.org/stable/c/7990fad78c398883b22128ea104c561ba53603e9
- https://git.kernel.org/stable/c/2f76c8c74f30091f3c142941ce64929c2346a28c
- https://git.kernel.org/stable/c/fd2258999ecdc7164ef0cda2d4102e4558a5660f
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.