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

CVE-2024-42236 usb: gadget: configfs: Prevent OOB read/write in usb_string_copy()

설명

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: configfs: Prevent OOB read/write in usb_string_copy() Userspace provided string 's' could trivially have the length zero. Left unchecked this will firstly result in an OOB read in the form `if (str[0 - 1] == '\n') followed closely by an OOB write in the form `str[0 - 1] = '\0'`. There is already a validating check to catch strings that are too long. Let's supply an additional check for invalid strings that are too short.

영향 받는 제품 제품 1개

  • Linux

    Linux

    해결 버전 있음

    영향 받는 버전

    • 3.10

    해결 버전

    • 3.10 미만
    • 4.19.318 이상
    • 5.4.280 이상
    • 5.10.222 이상
    • 5.15.163 이상
    • 6.1.100 이상
    • 6.6.41 이상
    • 6.9.10 이상

참고 자료 8건

‹ 목록

점검 지원 범위 문의

도입 문의