CVE-2026-138915
Not scored
media: chips-media: wave5: Balance runtime PM on encoder close errors
- Severity
- Not scored
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 2092b3833487e5ce138f4303f98e46ba0f87f1d0 before df569382cf48e3de2aae00d2d6a0c47a06695b51, from 2092b3833487e5ce138f4303f98e46ba0f87f1d0 before 7c67c2c59d81f152f23df8b68989a68c2429b303, from 2092b3833487e5ce138f4303f98e46ba0f87f1d0 before 4009daa5d9a72a67dd497bb4546632b2506a3650, 6.13 Not affected: before 6.13, from 6.18.63 up to 6.18.*, from 7.3.4 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-138915 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-138915 changed 2026-11-30 | Public domain |