# CVE-2026-138915: media: chips-media: wave5: Balance runtime PM on encoder close errors

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-11-30T13:26:10.188Z
- Modified: 2026-11-30T14:17:50.257Z
- 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.

(As written by CVE List.)

## Affected

- 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 *)

## References

- <https://git.kernel.org/stable/c/df569382cf48e3de2aae00d2d6a0c47a06695b51>
- <https://git.kernel.org/stable/c/7c67c2c59d81f152f23df8b68989a68c2429b303>
- <https://git.kernel.org/stable/c/4009daa5d9a72a67dd497bb4546632b2506a3650>

## Sources

- CVE List: [CVE-2026-138915](https://www.cve.org/CVERecord?id=CVE-2026-138915), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-138915](https://nvd.nist.gov/vuln/detail/CVE-2026-138915), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-138915 · Whole record: https://cve.day/CVE-2026-138915.json · Rebuilt by cve.day 2026-11-30T14:32:34.085Z
