CVE-2023-52781

MEDIUM

Linux Kernel 3.16.79-3.17 - Always-Incorrect Control Flow Implementation in BOS Descriptor Parsing

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0024
EPSS Percentile 15.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-670
Status published
Products (32)
linux/Kernel 5.11.0 - 5.15.142linux
linux/Kernel 5.16.0 - 6.1.66linux
linux/Kernel 5.4.0 - 5.10.203linux
linux/Kernel 6.2.0 - 6.6.4linux
Linux/Linux < 5.4
Linux/Linux 1fc15d29540a69cfb55c8b8f8c38f1af33178243
Linux/Linux 20a07e1aadcd6990893c532d1b2b507bfa065152
Linux/Linux 3.16.79 - 3.17
Linux/Linux 3dd550a2d36596a1b0ee7955da3b611c031d3873 - 64c27b7b2357ddb38b6afebaf46d5bff4d250702
Linux/Linux 3dd550a2d36596a1b0ee7955da3b611c031d3873 - 7c0244cc311a4038505b73682b7c8ceaa5c7a8c8
... and 22 more
Published May 21, 2024
Tracked Since Feb 18, 2026