media: chips-media: wave5: Balance runtime PM on encoder close errors
- 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: 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.
| Product | Versions |
|---|---|
| Linux Linux | 2092b3833487e5ce138f4303f98e46ba0f87f1d0 to before df569382cf48e3de2aae00d2d6a0c47a06695b51 Affected2092b3833487e5ce138f4303f98e46ba0f87f1d0 to before 7c67c2c59d81f152f23df8b68989a68c2429b303 Affected2092b3833487e5ce138f4303f98e46ba0f87f1d0 to before 4009daa5d9a72a67dd497bb4546632b2506a3650 Affected |
| Linux Linux | 6.13 Affectedbefore 6.13 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
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.