# CVE-2026-68222: media: msi2500: Return queued buffers on start\_streaming() failure

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 4, 2026-11-26)
- **Published:** 2026-08-10T12:00:42.687Z
- **Modified:** 2026-08-19T17:20:38.120Z

## Who should check

- Anyone running Linux \>= 977e444f59ad16eedf66acae4f357011c74da291, \< c74b680704baecea4620c0774de473069e0bc4e8; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 2d10eedb786a13f91d76e11320fabb0bf712519f; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 2de14ddb4fea04ca616403a6ba81c5e8099e9b9e; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 1d58229b330b7f67fbfa07e0f2a8a51fbeafaa9a; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< bab9d5a67d4db96ae8c187b92b37979911302a10; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 264b5380c4f8aa92dbc2983ecd2b627f1d5e0061; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 3673cb0a5711e910074d69201da9e1535c03f97a; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 7201c17786a498497bca57752883b90914d405ac
- Anyone running Linux 3.12

## Description

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

media: msi2500: 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.

msi2500\_start\_streaming() had five error paths that all hit this trap
and were further tangled by ret-overwriting between calls:

  - -ENODEV when the USB device was already disconnected
  - -ERESTARTSYS when mutex\_lock\_interruptible() was interrupted
  - msi2500\_set\_usb\_adc() failure: ret was silently overwritten by
    the next call (msi2500\_isoc\_init), so the error was lost entirely
  - msi2500\_isoc\_init() failure: cleanup\_queued\_bufs was called, but
    the function then fell through to msi2500\_ctrl\_msg() and again
    masked the original error by overwriting ret
  - msi2500\_ctrl\_msg(CMD\_START\_STREAMING) failure: no cleanup at all,
    leaving isoc URBs submitted with no way for the driver to consume
    them

Consolidate the error paths into a small goto chain.  Every failure
now stops the function, drains the queued-buffer list, and returns
the real error code.  The ctrl\_msg failure path also rolls back the
preceding msi2500\_isoc\_init() via msi2500\_isoc\_cleanup() before
unlocking and draining.

The cleanup helper takes a vb2\_buffer\_state argument so that the
start\_streaming error paths can pass VB2\_BUF\_STATE\_QUEUED (as
expected by userspace on start\_streaming failure) while stop\_streaming
keeps its existing VB2\_BUF\_STATE\_ERROR semantics.

This mirrors the uvcvideo fix in commit 4cf3b6fd54eb ("media: uvcvideo:
Return queued buffers on start\_streaming() failure").

## Affected and fixed versions

- Linux: \>= 977e444f59ad16eedf66acae4f357011c74da291, \< c74b680704baecea4620c0774de473069e0bc4e8; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 2d10eedb786a13f91d76e11320fabb0bf712519f; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 2de14ddb4fea04ca616403a6ba81c5e8099e9b9e; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 1d58229b330b7f67fbfa07e0f2a8a51fbeafaa9a; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< bab9d5a67d4db96ae8c187b92b37979911302a10; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 264b5380c4f8aa92dbc2983ecd2b627f1d5e0061; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 3673cb0a5711e910074d69201da9e1535c03f97a; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 7201c17786a498497bca57752883b90914d405ac (cvelist)
- Linux: 3.12 (cvelist)

## Mitigation

- Upgrade Linux to 7201c17786a498497bca57752883b90914d405ac or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-68222. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-68222.md
Affected: Linux >= 977e444f59ad16eedf66acae4f357011c74da291, < c74b680704baecea4620c0774de473069e0bc4e8; >= 977e444f59ad16eedf66acae4f357011c74da291, < 2d10eedb786a13f91d76e11320fabb0bf712519f; >= 977e444f59ad16eedf66acae4f357011c74da291, < 2de14ddb4fea04ca616403a6ba81c5e8099e9b9e; >= 977e444f59ad16eedf66aca…
Fixed in: Linux 2d10eedb786a13f91d76e11320fabb0bf712519f, Linux 2de14ddb4fea04ca616403a6ba81c5e8099e9b9e, Linux 1d58229b330b7f67fbfa07e0f2a8a51fbeafaa9a, Linux 264b5380c4f8aa92dbc2983ecd2b627f1d5e0061, Linux 3673cb0a5711e910074d69201da9e1535c03f97a, Linux 7201c17786a498497bca57752883b90914d405ac

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-68222 being exploited?

There is no confirmed exploitation: CVE-2026-68222 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-68222?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-68222?

Linux \>= 977e444f59ad16eedf66acae4f357011c74da291, \< c74b680704baecea4620c0774de473069e0bc4e8; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 2d10eedb786a13f91d76e11320fabb0bf712519f; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 2de14ddb4fea04ca616403a6ba81c5e8099e9b9e; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 1d58229b330b7f67fbfa07e0f2a8a51fbeafaa9a; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< bab9d5a67d4db96ae8c187b92b37979911302a10; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 264b5380c4f8aa92dbc2983ecd2b627f1d5e0061; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 3673cb0a5711e910074d69201da9e1535c03f97a; \>= 977e444f59ad16eedf66acae4f357011c74da291, \< 7201c17786a498497bca57752883b90914d405ac; Linux 3.12.

### Is there a fix for CVE-2026-68222?

Yes. Fixed in Linux 2d10eedb786a13f91d76e11320fabb0bf712519f, Linux 2de14ddb4fea04ca616403a6ba81c5e8099e9b9e, Linux 1d58229b330b7f67fbfa07e0f2a8a51fbeafaa9a, Linux 264b5380c4f8aa92dbc2983ecd2b627f1d5e0061, Linux 3673cb0a5711e910074d69201da9e1535c03f97a, Linux 7201c17786a498497bca57752883b90914d405ac. Upgrade Linux to 7201c17786a498497bca57752883b90914d405ac or later.

### How do I check if I'm affected by CVE-2026-68222?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/c74b680704baecea4620c0774de473069e0bc4e8>
- other: <https://git.kernel.org/stable/c/2d10eedb786a13f91d76e11320fabb0bf712519f>
- other: <https://git.kernel.org/stable/c/2de14ddb4fea04ca616403a6ba81c5e8099e9b9e>
- other: <https://git.kernel.org/stable/c/1d58229b330b7f67fbfa07e0f2a8a51fbeafaa9a>
- other: <https://git.kernel.org/stable/c/bab9d5a67d4db96ae8c187b92b37979911302a10>
- other: <https://git.kernel.org/stable/c/264b5380c4f8aa92dbc2983ecd2b627f1d5e0061>
- other: <https://git.kernel.org/stable/c/3673cb0a5711e910074d69201da9e1535c03f97a>
- other: <https://git.kernel.org/stable/c/7201c17786a498497bca57752883b90914d405ac>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-68222>

HTML: <https://flawdb.com/CVE-2026-68222> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-68222>
