CVEvulnerability

CVE-2023-52781

5.5 MEDIUM Published 2024-05-21 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-05-21
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-670

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.

Affected configurations

• linux linux kernel (>= 3.16.79 < 3.17) • linux linux kernel (>= 4.4.194 < 4.5) • linux linux kernel (>= 4.9.194 < 4.10) • linux linux kernel (>= 4.14.146 < 4.15) • linux linux kernel (>= 4.19.75 < 4.20) • linux linux kernel (>= 5.2.17 < 5.3) • linux linux kernel (>= 5.3.1 < 5.10.203) • linux linux kernel (>= 5.11 < 5.15.142) • linux linux kernel (>= 5.16 < 6.1.66) • linux linux kernel (>= 6.2 < 6.6.4) • linux linux kernel 6.7

Related

Weakness · CWE (1)

  • CWE-670 Always-Incorrect Control Flow Implementation weakness

References