media: mtk-jpeg: Fix runtime PM leak in mtk_jpegdec_worker()
- 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: mtk-jpeg: Fix runtime PM leak in mtk_jpegdec_worker()
pm_runtime_get_sync() leaves the device's runtime PM usage count incremented even when it fails. mtk_jpegdec_worker() jumps to dec_end on that failure, which does not call pm_runtime_put(), so the reference taken by the failed resume is leaked.
Use pm_runtime_resume_and_get() instead, which drops the reference again when resuming the device fails.
| Product | Versions |
|---|---|
| Linux Linux | dedc21500334b97b80d4ca37ab683cde214fcb03 to before 09ad627493769b80d5adbf0e8d6fcbb01f03f227 Affecteddedc21500334b97b80d4ca37ab683cde214fcb03 to before 82d35074100024399798c4d47d8cd78b6a92af37 Affecteddedc21500334b97b80d4ca37ab683cde214fcb03 to before a210840ed70921f04e7c74074950a3da1bbc5e2f Affecteddedc21500334b97b80d4ca37ab683cde214fcb03 to before be02c5649ce74d701cf8dacfe850700c0ee3b5b3 Affecteddedc21500334b97b80d4ca37ab683cde214fcb03 to before befd4506174addc5e85641b4ef304c9247b48c55 Affected |
| Linux Linux | 6.2 Affectedbefore 6.2 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/09ad627493769b80d5adbf0e8d6fcbb01f03f227
- https://git.kernel.org/stable/c/82d35074100024399798c4d47d8cd78b6a92af37
- https://git.kernel.org/stable/c/a210840ed70921f04e7c74074950a3da1bbc5e2f
- https://git.kernel.org/stable/c/be02c5649ce74d701cf8dacfe850700c0ee3b5b3
- https://git.kernel.org/stable/c/befd4506174addc5e85641b4ef304c9247b48c55
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.