media: mediatek: vpu: free IRQ before destroying watchdog workqueue
- 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:
media: mediatek: vpu: free IRQ before destroying watchdog workqueue
mtk_vpu_remove() destroys the watchdog workqueue while the interrupt handler requested with devm_request_irq() is still registered: the devres core frees the interrupt only after remove() has returned. If the VPU watchdog fires in that window, vpu_irq_handler() queues vpu->wdt.ws on the already destroyed vpu->wdt.wq.
Fix this by calling devm_free_irq() before destroy_workqueue(), which releases the interrupt and waits for a running handler, so no new work can be queued while the workqueue is drained and freed.
This issue was found by an in-house static analysis tool.
| Product | Versions |
|---|---|
| Linux Linux | 3003a180ef6b9462f3cccc2a89884ef2332d2a1c to before 1a876c18f4831f66aa4a86b99e3adf6562d7dfdb Affected3003a180ef6b9462f3cccc2a89884ef2332d2a1c to before 3a587dfb8c61352041d2b32da02c6e45de32c458 Affected3003a180ef6b9462f3cccc2a89884ef2332d2a1c to before 9853bb3210e781913d97691ee501324b8db5d399 Affected3003a180ef6b9462f3cccc2a89884ef2332d2a1c to before 2ac7e12a4f0d39c56e4f51dbf7838cd93dc16dc7 Affected3003a180ef6b9462f3cccc2a89884ef2332d2a1c to before 2590068009d684c3f7f3511b98a2d20ac688e730 Affected3003a180ef6b9462f3cccc2a89884ef2332d2a1c to before bf8913279f3ea5901ca6ca7e25d24adf7ce49de5 Affected3003a180ef6b9462f3cccc2a89884ef2332d2a1c to before df79221ab69e8a08ecc7efc9455c6df28347ef33 Affected3003a180ef6b9462f3cccc2a89884ef2332d2a1c to before 2c50b58d4105f6dbaa36d6306087954b9100e9ae Affected |
| Linux Linux | 4.8 Affectedbefore 4.8 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/1a876c18f4831f66aa4a86b99e3adf6562d7dfdb
- https://git.kernel.org/stable/c/3a587dfb8c61352041d2b32da02c6e45de32c458
- https://git.kernel.org/stable/c/9853bb3210e781913d97691ee501324b8db5d399
- https://git.kernel.org/stable/c/2ac7e12a4f0d39c56e4f51dbf7838cd93dc16dc7
- https://git.kernel.org/stable/c/2590068009d684c3f7f3511b98a2d20ac688e730
- https://git.kernel.org/stable/c/bf8913279f3ea5901ca6ca7e25d24adf7ce49de5
- https://git.kernel.org/stable/c/df79221ab69e8a08ecc7efc9455c6df28347ef33
- https://git.kernel.org/stable/c/2c50b58d4105f6dbaa36d6306087954b9100e9ae
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.