CVE-2023-52781

usb: config: fix iteration issue in 'usb_get_bos_descriptor()'

published May 21, 2024

CVSS
—
EPSS
0%
Percentile
14.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00241 · 14.5th percentile
Published
2024-05-21T15:31Z
EPSS history
Timeline
  • 21 MAY 15:31Z
    usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
    cvelistv5