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

media: chips-media: wave5: Balance runtime PM on encoder close errors

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

Description

In the Linux kernel, the following vulnerability has been resolved: media: chips-media: wave5: Balance runtime PM on encoder close errors wave5_vpu_enc_close() resumes the device before taking the hardware lock. Its three error paths call pm_runtime_resume_and_get() again instead of dropping that reference. Each failure therefore increments the runtime PM usage count twice and can prevent the device from suspending afterward. Replace the extra resume calls with pm_runtime_put_sync() to balance the reference acquired on entry, matching the successful close path. This aligns wave5_vpu_enc_close() with wave5_vpu_dec_close(), which already releases the reference on its error paths.

Affected products and versions

Linux Linux2092b3833487e5ce138f4303f98e46ba0f87f1d0 – < df569382cf48e3de2aae00d2d6a0c47a06695b51 · 2092b3833487e5ce138f4303f98e46ba0f87f1d0 – < 7c67c2c59d81f152f23df8b68989a68c2429b303 · 2092b3833487e5ce138f4303f98e46ba0f87f1d0 – < 4009daa5d9a72a67dd497bb4546632b2506a3650Fixed in: df569382cf48e3de2aae00d2d6a0c47a06695b51 · 7c67c2c59d81f152f23df8b68989a68c2429b303 · 4009daa5d9a72a67dd497bb4546632b2506a3650
Linux Linux6.13Fixed in: 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.