7.8
HIGH CVSS 3.1
CVE-2026-68209
media: sun4i-csi: Return queued buffers on start_streaming() failure
Description

In the Linux kernel, the following vulnerability has been resolved: media: sun4i-csi: 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. sun4i_csi_start_streaming() returned -EINVAL when no matching CSI format could be found, before any setup (scratch buffer allocation, pipeline start) had been performed. The remaining error paths already converge on the err_clear_dma_queue label, which calls return_all_buffers(..., VB2_BUF_STATE_QUEUED) under csi->qlock. Jump to that label directly: the intermediate err_disable_device / err_disable_pipeline / err_free_scratch_buffer 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").

INFO

Published Date :

Aug. 10, 2026, 1:20 p.m.

Last Modified :

Aug. 17, 2026, 5:18 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-68209 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Ensure queued buffers are returned on start_streaming() failure to prevent memory leaks.
  • Apply the Linux kernel patch to return buffers on failure.
  • Update the kernel to the fixed version.
  • Verify buffer handling logic in start_streaming().
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-68209 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-68209 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-68209 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-68209 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 17, 2026

    Action Type Old Value New Value
    Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': '4872161e6fbe4e1783daea8bff79caddfae0fb82', 'versionType': 'git'}, {'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': 'a8abecc638a7feb20b78fabd563b05e30c071331', 'versionType': 'git'}, {'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': 'b5184b3f0e9d4cc47059ba1138c9a73d43d2493f', 'versionType': 'git'}, {'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': '668face37fdb6b6900645dc8777195498541c9a7', 'versionType': 'git'}, {'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': 'bbba3e260a62810a717b4442a3bb96d0ec0f6309', 'versionType': 'git'}], 'programFiles': ['drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.4'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.4', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': '4872161e6fbe4e1783daea8bff79caddfae0fb82', 'versionType': 'git'}, {'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': 'a8abecc638a7feb20b78fabd563b05e30c071331', 'versionType': 'git'}, {'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': 'b5184b3f0e9d4cc47059ba1138c9a73d43d2493f', 'versionType': 'git'}, {'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': '668face37fdb6b6900645dc8777195498541c9a7', 'versionType': 'git'}, {'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': 'bbba3e260a62810a717b4442a3bb96d0ec0f6309', 'versionType': 'git'}], 'programFiles': ['drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.4'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.4', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c'], 'defaultStatus': 'affected'}]
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 13, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Aug. 10, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': '4872161e6fbe4e1783daea8bff79caddfae0fb82', 'versionType': 'git'}, {'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': 'a8abecc638a7feb20b78fabd563b05e30c071331', 'versionType': 'git'}, {'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': 'b5184b3f0e9d4cc47059ba1138c9a73d43d2493f', 'versionType': 'git'}, {'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': '668face37fdb6b6900645dc8777195498541c9a7', 'versionType': 'git'}, {'status': 'affected', 'version': '577bbf23b758848f0c4a50d346460b690c753024', 'lessThan': 'bbba3e260a62810a717b4442a3bb96d0ec0f6309', 'versionType': 'git'}], 'programFiles': ['drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.4'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.4', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.6.148', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.101', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.42', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.6', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/media/platform/sunxi/sun4i-csi/sun4i_dma.c'], 'defaultStatus': 'affected'}]
    Added Description In the Linux kernel, the following vulnerability has been resolved: media: sun4i-csi: 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. sun4i_csi_start_streaming() returned -EINVAL when no matching CSI format could be found, before any setup (scratch buffer allocation, pipeline start) had been performed. The remaining error paths already converge on the err_clear_dma_queue label, which calls return_all_buffers(..., VB2_BUF_STATE_QUEUED) under csi->qlock. Jump to that label directly: the intermediate err_disable_device / err_disable_pipeline / err_free_scratch_buffer 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").
    Added Reference https://git.kernel.org/stable/c/4872161e6fbe4e1783daea8bff79caddfae0fb82
    Added Reference https://git.kernel.org/stable/c/668face37fdb6b6900645dc8777195498541c9a7
    Added Reference https://git.kernel.org/stable/c/a8abecc638a7feb20b78fabd563b05e30c071331
    Added Reference https://git.kernel.org/stable/c/b5184b3f0e9d4cc47059ba1138c9a73d43d2493f
    Added Reference https://git.kernel.org/stable/c/bbba3e260a62810a717b4442a3bb96d0ec0f6309
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.