kcve.ai취약점 정보 · 내 자산 확인

CVE-2021-46906 HID: usbhid: fix info leak in hid_submit_ctrl

설명

In the Linux kernel, the following vulnerability has been resolved: HID: usbhid: fix info leak in hid_submit_ctrl In hid_submit_ctrl(), the way of calculating the report length doesn't take into account that report->size can be zero. When running the syzkaller reproducer, a report of size 0 causes hid_submit_ctrl) to calculate transfer_buffer_length as 16384. When this urb is passed to the usb core layer, KMSAN reports an info leak of 16384 bytes. To fix this, first modify hid_report_len() to account for the zero report size case by using DIV_ROUND_UP for the division. Then, call it from hid_submit_ctrl().

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 2.6.12

    해결 버전

    • 2.6.12 미만
    • 4.4.274 이상
    • 4.9.274 이상
    • 4.14.238 이상
    • 4.19.196 이상
    • 5.4.127 이상
    • 5.10.45 이상
    • 5.12.12 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의