kcve.ai취약점 정보 · 내 서버 확인

CVE-2026-68366 usb: gadget: uvc: clamp SEND_RESPONSE length to the response buffer

설명

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.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 3.10

    해결 버전

    • 3.10 미만
    • 5.10.265 이상
    • 5.15.216 이상
    • 6.1.183 이상
    • 6.6.148 이상
    • 6.12.101 이상
    • 6.18.42 이상
    • 7.1.6 이상
‹ 목록

운영 중인 서버의 점검 지원 범위가 궁금하면

도입 문의