CVE-2023-52781 usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
설명
In the Linux kernel, the following vulnerability has been resolved: usb: config: fix iteration issue in 'usb_get_bos_descriptor()' The BOS descriptor defines a root descriptor and is the base descriptor for accessing a family of related descriptors. Function 'usb_get_bos_descriptor()' encounters an iteration issue when skipping the 'USB_DT_DEVICE_CAPABILITY' descriptor type. This results in the same descriptor being read repeatedly. To address this issue, a 'goto' statement is introduced to ensure that the pointer and the amount read is updated correctly. This ensures that the function iterates to the next descriptor instead of reading the same descriptor repeatedly.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 3.16.79 이상 3.17 미만
- 4.4.194 이상 4.5 미만
- 4.9.194 이상 4.10 미만
- 4.14.146 이상 4.15 미만
- 4.19.75 이상 4.20 미만
- 5.2.17 이상 5.3 미만
- 5.3.1 이상 5.4 미만
- 5.4
해결 버전
- 3.17 이상
- 4.5 이상
- 4.10 이상
- 4.15 이상
- 4.20 이상
- 5.3 이상
- 5.4 이상
- 5.4 미만
외 4개 구간 펼치기
- 5.10.203 이상
- 5.15.142 이상
- 6.1.66 이상
- 6.6.4 이상
참고 자료 5건
- git.kernel.org https://git.kernel.org/stable/c/64c27b7b2357ddb38b6afebaf46d5bff4d250702 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/7c0244cc311a4038505b73682b7c8ceaa5c7a8c8 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/974bba5c118f4c2baf00de0356e3e4f7928b4cbc (새 창)
- git.kernel.org https://git.kernel.org/stable/c/9ef94ec8e52eaf7b9abc5b5f8f5b911751112223 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/f89fef7710b2ba0f7a1e46594e530dcf2f77be91 (새 창)