CVE-2023-52781

Medium

Description

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLinux Kernel
PublishedMay 21, 2024
First seenMay 21, 2024

How to fix

Update
  • linux linux_kernel3.17, 4.5, 4.10, 4.15, 4.20, 5.3, 5.10.203, 5.15.142, 6.1.66, 6.6.4 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel3.16.79 ≤ v < 3.17, 4.4.194 ≤ v < 4.5, 4.9.194 ≤ v < 4.10, 4.14.146 ≤ v < 4.15, 4.19.75 ≤ v < 4.20, 5.2.17 ≤ v < 5.3, 5.3.1 ≤ v < 5.10.203, 5.11 ≤ v < 5.15.142, 5.16 ≤ v < 6.1.66, 6.2 ≤ v < 6.6.4, 6.73.17, 4.5, 4.10, 4.15, 4.20, 5.3, 5.10.203, 5.15.142, 6.1.66, 6.6.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.