5.5

CVE-2023-52781

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

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 3.16.79 < 3.17
LinuxLinux Kernel Version >= 4.4.194 < 4.5
LinuxLinux Kernel Version >= 4.9.194 < 4.10
LinuxLinux Kernel Version >= 4.14.146 < 4.15
LinuxLinux Kernel Version >= 4.19.75 < 4.20
LinuxLinux Kernel Version >= 5.2.17 < 5.3
LinuxLinux Kernel Version >= 5.3.1 < 5.10.203
LinuxLinux Kernel Version >= 5.11 < 5.15.142
LinuxLinux Kernel Version >= 5.16 < 6.1.66
LinuxLinux Kernel Version >= 6.2 < 6.6.4
LinuxLinux Kernel Version6.7 Updaterc1
LinuxLinux Kernel Version6.7 Updaterc2
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.24% 0.147
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 5.5 1.8 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-670 Always-Incorrect Control Flow Implementation

The code contains a control flow path that does not reflect the algorithm that the path is intended to implement, leading to incorrect behavior any time this path is navigated.

https://git.kernel.org/stable/c/64c27b7b2357ddb38b6afebaf46d5bff4d250702
Patch
https://git.kernel.org/stable/c/7c0244cc311a4038505b73682b7c8ceaa5c7a8c8
Patch
https://git.kernel.org/stable/c/974bba5c118f4c2baf00de0356e3e4f7928b4cbc
Patch
https://git.kernel.org/stable/c/9ef94ec8e52eaf7b9abc5b5f8f5b911751112223
Patch
https://git.kernel.org/stable/c/f89fef7710b2ba0f7a1e46594e530dcf2f77be91
Patch