Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-138910

media: mtk-jpeg: Fix runtime PM leak in mtk_jpegdec_worker()

Published 30/11/2026 · Updated 30/11/2026 · Linux

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.

Affected products and versions

Linux Linuxdedc21500334b97b80d4ca37ab683cde214fcb03 – < 09ad627493769b80d5adbf0e8d6fcbb01f03f227 · dedc21500334b97b80d4ca37ab683cde214fcb03 – < 82d35074100024399798c4d47d8cd78b6a92af37 · dedc21500334b97b80d4ca37ab683cde214fcb03 – < a210840ed70921f04e7c74074950a3da1bbc5e2f · dedc21500334b97b80d4ca37ab683cde214fcb03 – < be02c5649ce74d701cf8dacfe850700c0ee3b5b3 · dedc21500334b97b80d4ca37ab683cde214fcb03 – < befd4506174addc5e85641b4ef304c9247b48c55Fixed in: 09ad627493769b80d5adbf0e8d6fcbb01f03f227 · 82d35074100024399798c4d47d8cd78b6a92af37 · a210840ed70921f04e7c74074950a3da1bbc5e2f · be02c5649ce74d701cf8dacfe850700c0ee3b5b3 · befd4506174addc5e85641b4ef304c9247b48c55
Linux Linux6.2Fixed in: 6.6.163 · 6.12.117 · 6.18.63 · 7.3.4 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.