CVE-2023-52781

Source
https://nvd.nist.gov/vuln/detail/CVE-2023-52781
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-52781.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-52781
Downstream
Related
Published
2024-05-21T16:15:17Z
Modified
2025-09-25T16:40:04Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

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

The BOS descriptor defines a root descriptor and is the base descriptor for accessing a family of related descriptors.

Function 'usbgetbosdescriptor()' encounters an iteration issue when skipping the 'USBDTDEVICECAPABILITY' 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.

References

Affected packages