{"id":"CVE-2026-138915","aliases":["CVE-2026-138915"],"related":[],"kind":"vulnerability","state":"published","title":"media: chips-media: wave5: Balance runtime PM on encoder close errors","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-11-30T13:26:10.188Z","modified":"2026-11-30T14:17:50.257Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2092b3833487e5ce138f4303f98e46ba0f87f1d0","fixed":"df569382cf48e3de2aae00d2d6a0c47a06695b51","status":"affected"},{"type":"git","introduced":"2092b3833487e5ce138f4303f98e46ba0f87f1d0","fixed":"7c67c2c59d81f152f23df8b68989a68c2429b303","status":"affected"},{"type":"git","introduced":"2092b3833487e5ce138f4303f98e46ba0f87f1d0","fixed":"4009daa5d9a72a67dd497bb4546632b2506a3650","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.13","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/df569382cf48e3de2aae00d2d6a0c47a06695b51","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c67c2c59d81f152f23df8b68989a68c2429b303","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4009daa5d9a72a67dd497bb4546632b2506a3650","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138915","url":"https://www.cve.org/CVERecord?id=CVE-2026-138915","licence":"CVE Terms of Use","modified":"2026-11-30T13:26:10.188Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138915","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138915","licence":"Public domain","modified":"2026-11-30T14:17:50.257Z"}],"updatedAt":"2026-11-30T14:32:34.085Z","epss":{"score":0.00193,"percentile":0.09408,"date":"2026-12-01T12:00:22.000Z"}}