CVE-2023-52781

Source
https://cve.org/CVERecord?id=CVE-2023-52781
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52781.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-52781
Downstream
Related
Published
2024-05-21T15:31:00.242Z
Modified
2026-03-23T05:12:43.678597707Z
Summary
usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52781.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3dd550a2d36596a1b0ee7955da3b611c031d3873
Fixed
9ef94ec8e52eaf7b9abc5b5f8f5b911751112223
Fixed
64c27b7b2357ddb38b6afebaf46d5bff4d250702
Fixed
f89fef7710b2ba0f7a1e46594e530dcf2f77be91
Fixed
7c0244cc311a4038505b73682b7c8ceaa5c7a8c8
Fixed
974bba5c118f4c2baf00de0356e3e4f7928b4cbc
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
77ce180d68beffd1af620d0121590e16683fc6b8
Last affected
20a07e1aadcd6990893c532d1b2b507bfa065152
Last affected
a5c051b6503c0ba543e993cfc295b64f096e0a29
Last affected
ea4a173d8358b756a780786baa3fc39d282bdbe3
Last affected
77d4e2a058858b4a94fc469bc1bfc94a0958e252
Last affected
1fc15d29540a69cfb55c8b8f8c38f1af33178243
Last affected
9f8dd40c68c176f2c3f1fc8b87bc81756856938f

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52781.json"