# CVE-2026-89867: media: chips-media: wave5: Defer job_finish() only when a DEC_PIC was queued

- 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 8% of CVEs (2026-12-01)
- Published: 2026-09-16T10:31:37.185Z
- Modified: 2026-10-19T09:18:31.383Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

media: chips-media: wave5: Defer job_finish() only when a DEC_PIC was queued

Decoder instances sharing a VPU also share one v4l2_m2m job slot, released
when the running context calls v4l2_m2m_job_finish(). While draining,
device_run() defers job_finish() once EOS is sent (sent_eos), expecting a
later finish_decode() (from a DEC_PIC completion IRQ) to release the slot.

But the m2m core checks job_ready() only when a job is queued, not when it
is dispatched. A job queued while draining can run after finish_decode()
has already moved the instance to STOP and sent EOS. device_run() then runs
in STOP, issues no DEC_PIC, yet still skips job_finish() - so no IRQ, no
finish_decode(), and the shared slot is leaked, stalling every instance.
With several v4l2h264dec instances in parallel, GStreamer hangs at EOS.

Track whether the run actually queued a DEC_PIC (cmd_issued) and defer
job_finish() only then. Otherwise finish the job immediately

(As written by CVE List.)

## Affected

- Linux Linux: from a176ac5e701f1ba30843c0d7e0663a761bf9a61a before 63d758d2f9dba836d5ae597d317cde522e817cf9; from a176ac5e701f1ba30843c0d7e0663a761bf9a61a before b694ba0a5526a69f78a6924982b1553154ccfd73; 7.0 (not affected: before 7.0; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/63d758d2f9dba836d5ae597d317cde522e817cf9>
- <https://git.kernel.org/stable/c/b694ba0a5526a69f78a6924982b1553154ccfd73>

## Sources

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

---

Page: https://cve.day/CVE-2026-89867 · Whole record: https://cve.day/CVE-2026-89867.json · Rebuilt by cve.day 2026-11-25T22:59:38.962Z
