cvelo
P4 · InfoEPSS 0.2%

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

  • CVE-2026-138910
  • GHSA-rj6q-wfv5-374v
  • EUVD-2026-138613

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.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    6.2none stated
    before 6.2: not affectednone stated
    from 6.6.163 up to 6.6.*: not affectednone stated
    from 6.12.117 up to 6.12.*: not affectednone stated
    from 6.18.63 up to 6.18.*: not affectednone stated
    from 7.3.4 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.