CVE-2023-52781: Linux Kernel

Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Linux Linux Kernel: from 3.16.79, before 3.17 (fixed in 3.17); from 4.4.194, before 4.5 (fixed in 4.5); from 4.9.194, before 4.10 (fixed in 4.10); from 4.14.146, before 4.15 (fixed in 4.15); from 4.19.75, before 4.20 (fixed in 4.20); from 5.2.17, before 5.3 (fixed in 5.3); …

Published 2024-05-21. Last modified 2026-06-17.