CVE-2026-138911
media: mediatek: vpu: free IRQ before destroying watchdog workqueue
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.
INFO
Published Date :
Nov. 30, 2026, 2:17 p.m.
Last Modified :
Nov. 30, 2026, 2:17 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Free the interrupt using devm_free_irq().
- Destroy the watchdog workqueue.
- Ensure interrupt handler registration is managed correctly.
- Review device resource management.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-138911.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-138911 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-138911
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-138911 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-138911 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/138xxx/CVE-2026-138911.json">CVE-2026-138911</a> Added Reference https://git.kernel.org/stable/c/1a876c18f4831f66aa4a86b99e3adf6562d7dfdb Added Reference https://git.kernel.org/stable/c/2590068009d684c3f7f3511b98a2d20ac688e730 Added Reference https://git.kernel.org/stable/c/2ac7e12a4f0d39c56e4f51dbf7838cd93dc16dc7 Added Reference https://git.kernel.org/stable/c/2c50b58d4105f6dbaa36d6306087954b9100e9ae Added Reference https://git.kernel.org/stable/c/3a587dfb8c61352041d2b32da02c6e45de32c458 Added Reference https://git.kernel.org/stable/c/9853bb3210e781913d97691ee501324b8db5d399 Added Reference https://git.kernel.org/stable/c/bf8913279f3ea5901ca6ca7e25d24adf7ce49de5 Added Reference https://git.kernel.org/stable/c/df79221ab69e8a08ecc7efc9455c6df28347ef33