media: chips-media: wave5: Balance runtime PM on encoder close errors
Summary
| CVE | CVE-2026-138915 |
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 14:17:50 UTC |
| Updated | 2026-11-30 14:17:50 UTC |
| 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. |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|
| CNA |
Linux |
Linux |
affected 2092b3833487e5ce138f4303f98e46ba0f87f1d0 df569382cf48e3de2aae00d2d6a0c47a06695b51 git |
Not specified |
| CNA |
Linux |
Linux |
affected 2092b3833487e5ce138f4303f98e46ba0f87f1d0 7c67c2c59d81f152f23df8b68989a68c2429b303 git |
Not specified |
| CNA |
Linux |
Linux |
affected 2092b3833487e5ce138f4303f98e46ba0f87f1d0 4009daa5d9a72a67dd497bb4546632b2506a3650 git |
Not specified |
| CNA |
Linux |
Linux |
affected 6.13 |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.13 semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 6.18.63 6.18.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.3.4 7.3.* semver |
Not specified |
| CNA |
Linux |
Linux |
unaffected 7.4-rc1 * original_commit_for_fix |
Not specified |
References
| Reference | Source | Link | Tags |
|---|
| git.kernel.org/stable/c/4009daa5d9a72a67dd497bb4546632b2506a3650 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/7c67c2c59d81f152f23df8b68989a68c2429b303 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| git.kernel.org/stable/c/df569382cf48e3de2aae00d2d6a0c47a06695b51 |
416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
git.kernel.org |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.