CVE-2026-68366

Not scored yetLast modified Aug 19, 2026

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.

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
LinuxLinux>= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < eaf783c005299a702f2cc96b08cd21ede081f098; >= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < 568e68d8f80395a64848aa2946af8ade72da0ffb; >= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < 82ec2c1e456b17451f0736c3983402642f961733; >= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < 4e116372b7a4f87df0dc0ed4b0ab5b0bb0cc5796; >= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < 662f6c6c6ff8a6c508e1646c09cae74e28f3cca6; >= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < 1f03658f3e9b2f8fd1d1003ba389a0390b49a350; >= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < c8510fbbea09ef0170b56b14dc2b5890dc75be07; >= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < b70dc75e85ba968b7b76eebfe5d63000080b875b
LinuxLinux3.10

References

Timeline

Published
Aug 10, 2026
Last modified
Aug 19, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-68367In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_tcm: synchronize delayed set_alt with teardown The f_tcCVE-2026-68368In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_ncm: validate datagram bounds in ncm_unwrap_ntb() When CVE-2026-68369In the Linux kernel, the following vulnerability has been resolved: usb: gadget: printer: fix infinite loop in printer_read() printer_readCVE-2026-68377.2A post-authentication command injection vulnerability in the "export-cgi" CGI program in Zyxel WAX650S firmware versions through 7.10(ABRM.4CVE-2026-683707.8In the Linux kernel, the following vulnerability has been resolved: usb: gadget: dummy_hcd: prevent fifo_req reuse during giveback dummy_hCVE-2026-683718.4In the Linux kernel, the following vulnerability has been resolved: usb: musb: omap2430: Do not put borrowed of_node in probe omap2430_proCVE-2026-68372In the Linux kernel, the following vulnerability has been resolved: usb: core: port: Deattach Type-C connector on component unbind connectCVE-2026-683738.1In the Linux kernel, the following vulnerability has been resolved: wifi: at76c50x-usb: avoid length underflow in at76_guess_freq() at76_gCVE-2026-683747.8In the Linux kernel, the following vulnerability has been resolved: usb: core: sysfs: add lock to bos_descriptors_read() Add a lock to theCVE-2026-68375In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Handle partially initialized auxiliary devices bnxt_aux_devicCVE-2026-683768.1In the Linux kernel, the following vulnerability has been resolved: sctp: fix auth_hmacs array size in struct sctp_cookie The auth_hmacs aCVE-2026-683777.8In the Linux kernel, the following vulnerability has been resolved: net/sched: act_tunnel_key: Defer dst_release to RCU callback Fix a rac
CVE-2026-68366: Unscored | Vulnix