CVE-2026-68213: media: rtl2832_sdr: Return queued buffers on start_streaming() failure

Published Aug 10, 2026
·
Updated

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

media: rtl2832sdr: Return queued buffers on startstreaming() 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(ownedbydrvcount) and the queued buffers leak.

rtl2832sdrstartstreaming() had multiple error paths that hit this trap: two direct early returns (-ENODEV, -ERESTARTSYS), plus six goto err paths covering subdev spower, tuner setup, ADC setup, stream-buffer allocation, urb allocation, and urb submission failures. None of them returned the queued buffers.

The original function had no distinct success exit and fell straight through into the err label, which previously only did mutexunlock and "return ret". Adding queued-buffer cleanup at err must therefore be paired with an explicit success return; otherwise every successful start would also drain the buffer queue and kill streaming. Add that success return, then add rtl2832sdrcleanupqueuedbufs() at the err label and before each early return.

The cleanup helper takes a vb2bufferstate argument so that the startstreaming error paths can pass VB2BUFSTATEQUEUED (as expected by userspace on startstreaming failure) while stopstreaming keeps its existing VB2BUFSTATEERROR semantics.

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

The err label still does not roll back powerctrl(), frontendctrl(), the POWERON flag, or stream/URB allocations that may have happened before the failing step. Those are pre-existing leaks of a different class and are not addressed here.

Affected Software

1 affected component
Linux Kernel

Event History

Aug 10, 2026
CVE Published
via MITRE·12:00 PM
Data Sourced
via MITRE·12:00 PM
Description
Data Sourced
via NVD·01:20 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-68213?

CVE-2026-68213 has a severity rating of 11, indicating a critical vulnerability in the Linux kernel's media subsystem.

2

How do I fix CVE-2026-68213?

To fix CVE-2026-68213, you should update your Linux kernel to the latest version that addresses this vulnerability.

3

What are the potential impacts of CVE-2026-68213?

The potential impacts of CVE-2026-68213 include disrupted data streaming and potential denial of service in media applications relying on the rtl2832_sdr driver.

4

Who is affected by CVE-2026-68213?

Users of the Linux kernel who utilize the rtl2832_sdr driver in media applications are affected by CVE-2026-68213.

5

When was CVE-2026-68213 published?

CVE-2026-68213 was published on August 10, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203