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

media: stm32-dcmipp: Return queued buffers on start_streaming() failure

The vb2 framework hands buffers to the driver via buf_queue() before
calling start_streaming(). If start_streaming() returns an error
without first returning those buffers via vb2_buffer_done(),
vb2_start_streaming() fires WARN_ON(owned_by_drv_count) and the queued
buffers leak.

dcmipp_bytecap_start_streaming() returned -EINVAL when the source
subdevice could not be resolved from the media graph, before
pm_runtime_resume_and_get() and media_pipeline_start() had been called.
The remaining error paths already converge on the err_buffer_done
label, which calls dcmipp_bytecap_all_buffers_done(...,
VB2_BUF_STATE_QUEUED). Jump to that label directly: the intermediate
err_pm_put / err_media_pipeline_stop labels are skipped, which is
correct because nothing they would undo has happened yet.

This mirrors the uvcvideo fix in commit 4cf3b6fd54eb ("media: uvcvideo:
Return queued buffers on start_streaming() failure").
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The stm32-dcmipp media driver forgets to return queued buffers when start_streaming() fails. This causes the vb2 framework to retain references to the buffers, creating a memory/resource leak. In an attack scenario, repeated failures could exhaust available memory or buffer credits, potentially crashing or degrading system performance. The vulnerability represents a classic resource exhaustion flaw.

Affected Systems

This flaw is present in the Linux kernel media subsystem, specifically within the stm32-dcmipp driver. No version range is disclosed, so any kernel builds containing the unpatched driver are potentially affected.

Risk and Exploitability

The CVSS score is not listed; the EPSS is unavailable and it is not in the KEV catalog. Even without quantified metrics, the attack vector is inferred to be local or privileged: an attacker who can invoke the driver’s start_streaming() (for example through a device file) could trigger the failure path. The resulting resource leak could lead to denial of service, so the risk is non‑negligible for systems that use the affected driver.

Generated by OpenCVE AI on August 10, 2026 at 15:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel version that includes the stm32-dcmipp patch (commit 624af2d4b5e9d3dd366538e4fb4a2a037792a7e3).
  • Reboot the system to load the patched kernel and driver.
  • If immediate kernel upgrade is not possible, limit access to the media device file associated with stm32-dcmipp to reduce the chance that an attacker can provoke the failure.

Generated by OpenCVE AI on August 10, 2026 at 15:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

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

Type Values Removed Values Added
Weaknesses CWE-401

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: stm32-dcmipp: Return queued buffers on start_streaming() failure The vb2 framework hands buffers to the driver via buf_queue() before calling start_streaming(). If start_streaming() returns an error without first returning those buffers via vb2_buffer_done(), vb2_start_streaming() fires WARN_ON(owned_by_drv_count) and the queued buffers leak. dcmipp_bytecap_start_streaming() returned -EINVAL when the source subdevice could not be resolved from the media graph, before pm_runtime_resume_and_get() and media_pipeline_start() had been called. The remaining error paths already converge on the err_buffer_done label, which calls dcmipp_bytecap_all_buffers_done(..., VB2_BUF_STATE_QUEUED). Jump to that label directly: the intermediate err_pm_put / err_media_pipeline_stop labels are skipped, which is correct because nothing they would undo has happened yet. This mirrors the uvcvideo fix in commit 4cf3b6fd54eb ("media: uvcvideo: Return queued buffers on start_streaming() failure").
Title media: stm32-dcmipp: Return queued buffers on start_streaming() failure
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-10T12:00:30.502Z

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

Link: CVE-2026-68211

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T18:45:16Z

Weaknesses
  • CWE-401

    Missing Release of Memory after Effective Lifetime