CVE-2023-52781
usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: usb: config: soluciona el problema de iteración en 'usb_get_bos_descriptor()'. El descriptor BOS define un descriptor raíz y es el descriptor base para acceder a una familia de descriptores relacionados. La función 'usb_get_bos_descriptor()' encuentra un problema de iteración al omitir el tipo de descriptor 'USB_DT_DEVICE_CAPABILITY'. Esto da como resultado que el mismo descriptor se lea repetidamente. Para solucionar este problema, se introduce una declaración 'goto' para garantizar que el puntero y la cantidad leída se actualicen correctamente. Esto garantiza que la función pase al siguiente descriptor en lugar de leer el mismo descriptor repetidamente.
CVSS Scores
SSVC
- Decision:Track
Timeline
- 2024-05-21 CVE Reserved
- 2024-05-21 CVE Published
- 2024-05-22 EPSS Updated
- 2024-12-19 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-20: Improper Input Validation
CAPEC
References (15)
URL | Tag | Source |
---|---|---|
https://git.kernel.org/stable/c/3dd550a2d36596a1b0ee7955da3b611c031d3873 | Vuln. Introduced | |
https://git.kernel.org/stable/c/77ce180d68beffd1af620d0121590e16683fc6b8 | Vuln. Introduced | |
https://git.kernel.org/stable/c/20a07e1aadcd6990893c532d1b2b507bfa065152 | Vuln. Introduced | |
https://git.kernel.org/stable/c/a5c051b6503c0ba543e993cfc295b64f096e0a29 | Vuln. Introduced | |
https://git.kernel.org/stable/c/ea4a173d8358b756a780786baa3fc39d282bdbe3 | Vuln. Introduced | |
https://git.kernel.org/stable/c/77d4e2a058858b4a94fc469bc1bfc94a0958e252 | Vuln. Introduced | |
https://git.kernel.org/stable/c/1fc15d29540a69cfb55c8b8f8c38f1af33178243 | Vuln. Introduced | |
https://git.kernel.org/stable/c/9f8dd40c68c176f2c3f1fc8b87bc81756856938f | Vuln. Introduced |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2023-52781 | 2024-07-08 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2282698 | 2024-07-08 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 5.4 < 5.10.203 Search vendor "Linux" for product "Linux Kernel" and version " >= 5.4 < 5.10.203" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 5.4 < 5.15.142 Search vendor "Linux" for product "Linux Kernel" and version " >= 5.4 < 5.15.142" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 5.4 < 6.1.66 Search vendor "Linux" for product "Linux Kernel" and version " >= 5.4 < 6.1.66" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 5.4 < 6.6.4 Search vendor "Linux" for product "Linux Kernel" and version " >= 5.4 < 6.6.4" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | >= 5.4 < 6.7 Search vendor "Linux" for product "Linux Kernel" and version " >= 5.4 < 6.7" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 3.16.79 Search vendor "Linux" for product "Linux Kernel" and version "3.16.79" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 4.4.194 Search vendor "Linux" for product "Linux Kernel" and version "4.4.194" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 4.9.194 Search vendor "Linux" for product "Linux Kernel" and version "4.9.194" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 4.14.146 Search vendor "Linux" for product "Linux Kernel" and version "4.14.146" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 4.19.75 Search vendor "Linux" for product "Linux Kernel" and version "4.19.75" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 5.2.17 Search vendor "Linux" for product "Linux Kernel" and version "5.2.17" | en |
Affected
| ||||||
Linux Search vendor "Linux" | Linux Kernel Search vendor "Linux" for product "Linux Kernel" | 5.3.1 Search vendor "Linux" for product "Linux Kernel" and version "5.3.1" | en |
Affected
|