CVE-2026-68209

Source
https://cve.org/CVERecord?id=CVE-2026-68209
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68209.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-68209
Downstream
Published
2026-08-10T12:00:28.245Z
Modified
2026-08-12T04:18:46.647440797Z
Summary
media: sun4i-csi: Return queued buffers on start_streaming() failure
Details

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 bufqueue() before calling startstreaming(). If startstreaming() returns an error without first returning those buffers via vb2bufferdone(), vb2startstreaming() fires WARNON(ownedbydrv_count) and the queued buffers leak.

sun4icsistartstreaming() 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 errcleardmaqueue label, which calls returnallbuffers(..., VB2BUFSTATEQUEUED) under csi->qlock. Jump to that label directly: the intermediate errdisabledevice / errdisablepipeline / errfreescratchbuffer 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").

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68209.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
577bbf23b758848f0c4a50d346460b690c753024
Fixed
4872161e6fbe4e1783daea8bff79caddfae0fb82
Fixed
a8abecc638a7feb20b78fabd563b05e30c071331
Fixed
b5184b3f0e9d4cc47059ba1138c9a73d43d2493f
Fixed
668face37fdb6b6900645dc8777195498541c9a7
Fixed
bbba3e260a62810a717b4442a3bb96d0ec0f6309

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68209.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.4.0
Fixed
6.6.148
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.101
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.42
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68209.json"