usb: config: fix iteration issue in 'usb_get_bos_descriptor()'
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 9 fixed, 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 3.16.79 to before 3.17; 4.4.194 to before 4.5; 4.9.194 to before 4.10; 4.14.146 to before 4.15; 4.19.75 to before 4.20; 5.2.17 to before 5.3; 5.3.1 to before 5.4 | 3.17, 4.5, 4.10, 4.15, 4.20, 5.3, 5.4 | Patch available | CNA |
| Linux | Linux | 5.4 and later | 5.10.203, 5.15.142, 6.1.66, 6.6.4, 6.7 | Patch available | CNA |
- Linux VendorLinux Affected 3.16.79 to before 3.17; 4.4.194 to before 4.5; 4.9.194 to before 4.10; 4.14.146 to before 4.15; 4.19.75 to before 4.20; 5.2.17 to before 5.3; 5.3.1 to before 5.4 Fixed in 3.17, 4.5, 4.10, 4.15, 4.20, 5.3, 5.4 Patch available CNA
- Linux VendorLinux Affected 5.4 and later Fixed in 5.10.203, 5.15.142, 6.1.66, 6.6.4, 6.7 Patch available CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 3.16.79 to before 3.17; 4.4.194 to before 4.5; 4.9.194 to before 4.10; 4.14.146 to before 4.15; 4.19.75 to before 4.20; 5.2.17 to before 5.3; 5.3.1 to before 5.10.203; 5.11 to before 5.15.142; 5.16 to before 6.1.66; 6.2 to before 6.6.4 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.7:rc1:*:*:*:*:*:* | 6.7 rc1 | Vulnerable | Linux |
| cpe:2.3:o:linux:linux_kernel:6.7:rc2:*:*:*:*:*:* | 6.7 rc2 | Vulnerable | Linux |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 3.16.79 to before 3.17; 4.4.194 to before 4.5; 4.9.194 to before 4.10; 4.14.146 to before 4.15; 4.19.75 to before 4.20; 5.2.17 to before 5.3; 5.3.1 to before 5.10.203; 5.11 to before 5.15.142; 5.16 to before 6.1.66; 6.2 to before 6.6.4 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.7:rc1:*:*:*:*:*:* Versions 6.7 rc1 Vulnerable ·Linux
- cpe:2.3:o:linux:linux_kernel:6.7:rc2:*:*:*:*:*:* Versions 6.7 rc2 Vulnerable ·Linux
Remediation
- Fix · CNA Linux (Linux) Fixed in 3.17, 4.5, 4.10, 4.15, 4.20, 5.3, 5.4
- Fix · CNA Linux (Linux) Fixed in 5.10.203, 5.15.142, 6.1.66, 6.6.4, 6.7
Red Hat 3 advisories
- RHSA-2025:10701 Released 2025-07-09 · Red Hat rating Importantkernel security update
- Red Hat CodeReady Linux Builder EUS (v.9.4) kernel-tools-libs-devel-5.14.0-427.76.1.el9_4, libperf-5.14.0-427.76.1.el9_4
- Red Hat Enterprise Linux AppStream EUS (v.9.4) kernel-64k-debug-devel-5.14.0-427.76.1.el9_4, kernel-64k-debug-devel-matched-5.14.0-427.76.1.el9_4, kernel-64k-devel-5.14.0-427.76.1.el9_4 +11
- Red Hat Enterprise Linux BaseOS EUS (v.9.4) bpftool-7.3.0-427.76.1.el9_4, kernel-5.14.0-427.76.1.el9_4, kernel-64k-5.14.0-427.76.1.el9_4 +29
- Red Hat Enterprise Linux Real Time EUS (v.9.4) kernel-rt-5.14.0-427.76.1.el9_4, kernel-rt-core-5.14.0-427.76.1.el9_4, kernel-rt-debug-5.14.0-427.76.1.el9_4 +9
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) kernel-rt-5.14.0-427.76.1.el9_4, kernel-rt-core-5.14.0-427.76.1.el9_4, kernel-rt-debug-5.14.0-427.76.1.el9_4 +11
- RHSA-2024:4352 Released 2024-07-08 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.8.1.rt7.349.el8_10, kernel-rt-core-4.18.0-553.8.1.rt7.349.el8_10, kernel-rt-debug-4.18.0-553.8.1.rt7.349.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.8.1.rt7.349.el8_10, kernel-rt-core-4.18.0-553.8.1.rt7.349.el8_10, kernel-rt-debug-4.18.0-553.8.1.rt7.349.el8_10 +7
- RHSA-2024:4211 Released 2024-07-02 · Red Hat rating Importantkernel security and bug fix update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.8.1.el8_10, kernel-4.18.0-553.8.1.el8_10, kernel-abi-stablelists-4.18.0-553.8.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.8.1.el8_10
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat CodeReady Linux Builder EUS (v.9.4) | Fixed | RHSA-2025:10701 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2025:10701 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2024:4211 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.4) | Fixed | RHSA-2025:10701 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2024:4211 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2024:4352 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2024:4352 |
| Red Hat Enterprise Linux Real Time EUS (v.9.4) | Fixed | RHSA-2025:10701 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.4) | Fixed | RHSA-2025:10701 |
Not affected: 1 product
- Red Hat Enterprise Linux BaseOS (v. 8)
Timeline
- 2026-10-02 Threatist record created from CVE-2023-52781
- 2026-10-03 Alias added: GHSA-3pwm-r3r4-xpvf
References
Patch 5
- https://git.kernel.org/stable/c/9ef94ec8e52eaf7b9abc5b5f8f5b911751112223
- https://git.kernel.org/stable/c/64c27b7b2357ddb38b6afebaf46d5bff4d250702
- https://git.kernel.org/stable/c/f89fef7710b2ba0f7a1e46594e530dcf2f77be91
- https://git.kernel.org/stable/c/7c0244cc311a4038505b73682b7c8ceaa5c7a8c8
- https://git.kernel.org/stable/c/974bba5c118f4c2baf00de0356e3e4f7928b4cbc
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2023-52781 · CVE Program
- CVE-2023-52781 · NVD
- FIRST EPSS
- GHSA-3pwm-r3r4-xpvf · GitHub Advisory Database · CC BY 4.0
- CVE-2023-52781 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences