{"id":"CVE-2026-89867","aliases":["CVE-2026-89867"],"related":[],"kind":"vulnerability","state":"published","title":"media: chips-media: wave5: Defer job_finish() only when a DEC_PIC was queued","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: chips-media: wave5: Defer job_finish() only when a DEC_PIC was queued\n\nDecoder instances sharing a VPU also share one v4l2_m2m job slot, released\nwhen the running context calls v4l2_m2m_job_finish(). While draining,\ndevice_run() defers job_finish() once EOS is sent (sent_eos), expecting a\nlater finish_decode() (from a DEC_PIC completion IRQ) to release the slot.\n\nBut the m2m core checks job_ready() only when a job is queued, not when it\nis dispatched. A job queued while draining can run after finish_decode()\nhas already moved the instance to STOP and sent EOS. device_run() then runs\nin STOP, issues no DEC_PIC, yet still skips job_finish() - so no IRQ, no\nfinish_decode(), and the shared slot is leaked, stalling every instance.\nWith several v4l2h264dec instances in parallel, GStreamer hangs at EOS.\n\nTrack whether the run actually queued a DEC_PIC (cmd_issued) and defer\njob_finish() only then. Otherwise finish the job immediately","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: chips-media: wave5: Defer job_finish() only when a DEC_PIC was queued\n\nDecoder instances sharing a VPU also share one v4l2_m2m job slot, released\nwhen the running context calls v4l2_m2m_job_finish(). While draining,\ndevice_run() defers job_finish() once EOS is sent (sent_eos), expecting a\nlater finish_decode() (from a DEC_PIC completion IRQ) to release the slot.\n\nBut the m2m core checks job_ready() only when a job is queued, not when it\nis dispatched. A job queued while draining can run after finish_decode()\nhas already moved the instance to STOP and sent EOS. device_run() then runs\nin STOP, issues no DEC_PIC, yet still skips job_finish() - so no IRQ, no\nfinish_decode(), and the shared slot is leaked, stalling every instance.\nWith several v4l2h264dec instances in parallel, GStreamer hangs at EOS.\n\nTrack whether the run actually queued a DEC_PIC (cmd_issued) and defer\njob_finish() only then. Otherwise finish the job immediately","source":"cvelist"}],"published":"2026-09-16T10:31:37.185Z","modified":"2026-10-19T09:18:31.383Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a176ac5e701f1ba30843c0d7e0663a761bf9a61a","fixed":"63d758d2f9dba836d5ae597d317cde522e817cf9","status":"affected"},{"type":"git","introduced":"a176ac5e701f1ba30843c0d7e0663a761bf9a61a","fixed":"b694ba0a5526a69f78a6924982b1553154ccfd73","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/63d758d2f9dba836d5ae597d317cde522e817cf9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b694ba0a5526a69f78a6924982b1553154ccfd73","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89867","url":"https://www.cve.org/CVERecord?id=CVE-2026-89867","licence":"CVE Terms of Use","modified":"2026-10-19T08:54:00.501Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89867","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89867","licence":"Public domain","modified":"2026-10-19T09:18:31.383Z"}],"updatedAt":"2026-11-25T22:59:38.962Z","epss":{"score":0.00189,"percentile":0.08989,"date":"2026-12-01T12:00:22.000Z"}}