{"id":"CVE-2026-138915","summary":"media: chips-media: wave5: Balance runtime PM on encoder close errors","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: chips-media: wave5: Balance runtime PM on encoder close errors\n\nwave5_vpu_enc_close() resumes the device before taking the hardware lock.\nIts three error paths call pm_runtime_resume_and_get() again instead of\ndropping that reference.  Each failure therefore increments the runtime PM\nusage count twice and can prevent the device from suspending afterward.\n\nReplace the extra resume calls with pm_runtime_put_sync() to balance the\nreference acquired on entry, matching the successful close path.  This\naligns wave5_vpu_enc_close() with wave5_vpu_dec_close(), which already\nreleases the reference on its error paths.","modified":"2026-11-30T15:01:26.550371869Z","published":"2026-11-30T13:26:10.188Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138915.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4009daa5d9a72a67dd497bb4546632b2506a3650"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c67c2c59d81f152f23df8b68989a68c2429b303"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df569382cf48e3de2aae00d2d6a0c47a06695b51"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138915.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138915"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2092b3833487e5ce138f4303f98e46ba0f87f1d0"},{"fixed":"df569382cf48e3de2aae00d2d6a0c47a06695b51"},{"fixed":"7c67c2c59d81f152f23df8b68989a68c2429b303"},{"fixed":"4009daa5d9a72a67dd497bb4546632b2506a3650"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138915.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.63"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138915.json"}}],"schema_version":"1.9.2"}