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.
Published: 2026-08-10
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

During media encoding in the Linux kernel, the wave5 driver can return a buffer to userspace before removing it from the ready queue. If userspace queues the same buffer again, a self‑loop can form in the list that tracks ready buffers. When the list is later deleted, the corrupt pointers prevent the list head from being reached, poisoning kernel data structures and potentially corrupting memory. This flaw could be leveraged to destabilize the kernel.

Affected Systems

All Linux kernel installations that include the media subsystem driver "chips‑media wave5" are affected, regardless of distribution. The fix moves the buffer removal into finish_encode, eliminating the race. No specific kernel version is listed, so any kernel that has not applied the patch is vulnerable.

Risk and Exploitability

The CVSS score of 7.8 indicates a high severity, and the EPSS score of < 1% indicates a very low probability of exploitation. Because the flaw relies on a race between IRQ handling and userspace enqueuing, the practical attack window is narrow. Although listed as a memory corruption issue, there are currently no publicly known exploits, and the vulnerability is not listed in CISA KEV.

Generated by OpenCVE AI on August 14, 2026 at 00:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update to the latest stable Linux kernel containing the patch that moves buffer removal to finish_encode.
  • Ensure the wave5 media driver module is rebuilt and loaded from the updated kernel image.
  • Test media encoding workloads to confirm stability, and monitor kernel logs for any NMI or OOPS messages.

Generated by OpenCVE AI on August 14, 2026 at 00:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
History

Thu, 13 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Wed, 12 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-367
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
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.
Title media: chips-media: wave5: Move src_buf Removal to finish_encode
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:01:16.349Z

Reserved: 2026-07-30T09:28:09.376Z

Link: CVE-2026-68228

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-10T13:20:11.017

Modified: 2026-08-17T05:18:25.037

Link: CVE-2026-68228

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-10T12:00:50Z

Links: CVE-2026-68228 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-14T00:30:03Z

Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition