# CVE-2026-68228: media: chips-media: wave5: Move src_buf Removal to finish_encode

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-08-10T12:00:50.892Z
- Modified: 2026-12-01T17:07:44.290Z
- Weaknesses: CWE-362
- Assigned by: Linux

## Description

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

media: chips-media: wave5: Move src_buf Removal to finish_encode

During encoder processing, there is a case where the IRQ response could
return the buffer back to userspace via v4l2_m2m_buf_done call. In this
time, userspace could queue up this same buffer before start_encode removes
the index from the ready queue. This would then lead to a case where the
buffer in the ready queue could be a self loop due to the
WRITE_ONCE(prev->next, new) call in __list_add.

When __list_del is finally called, the loop is already made so nothing
points back to ready queue list head and pointers are poisoned.

A buffer should not be marked as DONE before the buffer is removed from
m2m ready queue. Move removal entirely to finish_encode.

(As written by CVE List.)

## Affected

- Linux Linux: from 9707a6254a8a6b978bde811a44fe07d86c229d1c before 1ee2b2b189ddc7b23c8eee1145de42b8bd19fb06; from 9707a6254a8a6b978bde811a44fe07d86c229d1c before f24ca8b53fe15db40957bdaa40c9aa68e1557bbe; from 9707a6254a8a6b978bde811a44fe07d86c229d1c before d681227ce43bfd74b6eb69beecd9b0bec1fd8b48; from 9707a6254a8a6b978bde811a44fe07d86c229d1c before b20157147089a9c16a38c7810e2fe6f2df8e3277; 6.8 (not affected: before 6.8; from 6.12.101 up to 6.12.*; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.8 before 6.12.101; from 6.13 before 6.18.42; from 6.19 before 7.1.6

## References

- <https://git.kernel.org/stable/c/1ee2b2b189ddc7b23c8eee1145de42b8bd19fb06> (patch)
- <https://git.kernel.org/stable/c/f24ca8b53fe15db40957bdaa40c9aa68e1557bbe> (patch)
- <https://git.kernel.org/stable/c/d681227ce43bfd74b6eb69beecd9b0bec1fd8b48> (patch)
- <https://git.kernel.org/stable/c/b20157147089a9c16a38c7810e2fe6f2df8e3277> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2026-68228 · Whole record: https://cve.day/CVE-2026-68228.json · Rebuilt by cve.day 2026-12-01T17:17:32.250Z
