CVE-2026-68228

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

State
Published
Severity
7.8 High
Published
Aug 10, 2026
Updated
Aug 17, 2026
Reserved
Jul 30, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 9707a6254a8a6b978bde811a44fe07d86c229d1c to before 1ee2b2b189ddc7b23c8eee1145de42b8bd19fb06Affected
  • 9707a6254a8a6b978bde811a44fe07d86c229d1c to before f24ca8b53fe15db40957bdaa40c9aa68e1557bbeAffected
  • 9707a6254a8a6b978bde811a44fe07d86c229d1c to before d681227ce43bfd74b6eb69beecd9b0bec1fd8b48Affected
  • 9707a6254a8a6b978bde811a44fe07d86c229d1c to before b20157147089a9c16a38c7810e2fe6f2df8e3277Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.12.101 through 6.12.*Not affected
  • 6.18.42 through 6.18.*Not affected
  • 7.1.6 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.