CVE-2026-68366

usb: gadget: uvc: clamp SEND_RESPONSE length to the response buffer

N/A
Published: August 10, 2026 at 12:03 PM UTC
Updated: August 19, 2026 at 05:20 PM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: uvc: clamp SEND_RESPONSE length to the response buffer uvc_send_response() builds the UVC control response from a user-supplied struct uvc_request_data: req->length = min_t(unsigned int, uvc->event_length, data->length); ... memcpy(req->buf, data->data, req->length); req->length is clamped to uvc->event_length, which is taken from the host control request wLength (up to UVC_MAX_REQUEST_SIZE, 64), and to data->length, which comes from the UVCIOC_SEND_RESPONSE ioctl and is only checked for being negative. The source buffer data->data is only 60 bytes, so a response with uvc->event_length and data->length both greater than 60 makes memcpy() read past the end of data->data. Clamp req->length to sizeof(data->data) as well.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.10 ≤ v < 5.10.2653.10 ≤ v < 5.15.2163.10 ≤ v < 6.1.1833.10 ≤ v < 6.12.1013.10 ≤ v < 6.18.423.10 ≤ v < 6.6.1483.10 ≤ v < 7.1.63.10 ≤ v < 7.23.10a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1
Vendor states this is fixed in 1f03658f3e9b2f8fd1d1003ba389a0390b49a350 (fixed)
Vendor states this is fixed in 4e116372b7a4f87df0dc0ed4b0ab5b0bb0cc5796 (fixed)
Vendor states this is fixed in 568e68d8f80395a64848aa2946af8ade72da0ffb (fixed)
Vendor states this is fixed in 662f6c6c6ff8a6c508e1646c09cae74e28f3cca6 (fixed)
Vendor states this is fixed in 82ec2c1e456b17451f0736c3983402642f961733 (fixed)
Vendor states this is fixed in b70dc75e85ba968b7b76eebfe5d63000080b875b (fixed)
Vendor states this is fixed in c8510fbbea09ef0170b56b14dc2b5890dc75be07 (fixed)
Vendor states this is fixed in eaf783c005299a702f2cc96b08cd21ede081f098 (fixed)
Vendor states this is fixed in 3.10 (unaffected)
Vendor states this is fixed in 5.10.265 (unaffected)
Vendor states this is fixed in 5.15.216 (unaffected)
Vendor states this is fixed in 6.1.183 (unaffected)
Vendor states this is fixed in 6.12.101 (unaffected)
Vendor states this is fixed in 6.18.42 (unaffected)
Vendor states this is fixed in 6.6.148 (unaffected)
Vendor states this is fixed in 7.1.6 (unaffected)
Vendor states this is fixed in 7.2 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusRECEIVED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card