{"id":"CVE-2026-68366","published":"2026-08-10T12:03:43Z","modified":"2026-08-19T16:34:23Z","title":"usb: gadget: uvc: clamp SEND_RESPONSE length to the response buffer","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: uvc: clamp SEND_RESPONSE length to the response buffer\n\nuvc_send_response() builds the UVC control response from a user-supplied\nstruct uvc_request_data:\n\n\treq->length = min_t(unsigned int, uvc->event_length, data->length);\n\t...\n\tmemcpy(req->buf, data->data, req->length);\n\nreq->length is clamped to uvc->event_length, which is taken from the\nhost control request wLength (up to UVC_MAX_REQUEST_SIZE, 64), and to\ndata->length, which comes from the UVCIOC_SEND_RESPONSE ioctl and is\nonly checked for being negative.  The source buffer data->data is only\n60 bytes, so a response with uvc->event_length and data->length both\ngreater than 60 makes memcpy() read past the end of data->data.\n\nClamp req->length to sizeof(data->data) as well.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00184,"percentile":0.07933,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/eaf783c005299a702f2cc96b08cd21ede081f098","tags":[]},{"url":"https://git.kernel.org/stable/c/568e68d8f80395a64848aa2946af8ade72da0ffb","tags":[]},{"url":"https://git.kernel.org/stable/c/82ec2c1e456b17451f0736c3983402642f961733","tags":[]},{"url":"https://git.kernel.org/stable/c/4e116372b7a4f87df0dc0ed4b0ab5b0bb0cc5796","tags":[]},{"url":"https://git.kernel.org/stable/c/662f6c6c6ff8a6c508e1646c09cae74e28f3cca6","tags":[]},{"url":"https://git.kernel.org/stable/c/1f03658f3e9b2f8fd1d1003ba389a0390b49a350","tags":[]},{"url":"https://git.kernel.org/stable/c/c8510fbbea09ef0170b56b14dc2b5890dc75be07","tags":[]},{"url":"https://git.kernel.org/stable/c/b70dc75e85ba968b7b76eebfe5d63000080b875b","tags":[]}],"priority":{"score":1.6,"factors":[{"name":"EPSS percentile","points":1.59}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < eaf783c005299a702f2cc96b08cd21ede081f098",">= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < 568e68d8f80395a64848aa2946af8ade72da0ffb",">= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < 82ec2c1e456b17451f0736c3983402642f961733",">= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < 4e116372b7a4f87df0dc0ed4b0ab5b0bb0cc5796",">= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < 662f6c6c6ff8a6c508e1646c09cae74e28f3cca6",">= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < 1f03658f3e9b2f8fd1d1003ba389a0390b49a350",">= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < c8510fbbea09ef0170b56b14dc2b5890dc75be07",">= a5eaaa1f33e771fa1651a4a7652b8a5f9fa7f6c1, < b70dc75e85ba968b7b76eebfe5d63000080b875b"]},{"vendor":"Linux","product":"Linux","versions":["3.10"]}],"euvd":{"id":"EUVD-2026-55467","exploited":false,"provenance":"source"}}