CVE-2023-52781

Medium

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.

Package Linux Kernel
Published 2024-05-21
Last modified 2025-09-25
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-670

CVE-2023-52781 is classified as CWE-670

See CWE-670 on MITRE CWE for full details on this weakness type.

Affected versions

Linux kernel versions 3.16.79, 4.4.194, 4.9.194, 4.14.146, 4.19.75, 5.2.17, 5.3.1, 5.4 and later are affected. Fixed in 5.10.203, 5.15.142, 6.1.66, 6.6.4, 6.7 and their respective stable series.

Affected from
≥ 3.16.79 ≥ 4.4.194 ≥ 4.9.194 ≥ 4.14.146 ≥ 4.19.75 ≥ 5.2.17 ≥ 5.3.1 ≥ 5.4
Fixed in
✓ 5.10.203 5.10.x ✓ 5.15.142 5.15.x ✓ 6.1.66 6.1.x ✓ 6.6.4 6.6.x ✓ 6.7

Frequently asked questions

  • What is CVE-2023-52781?

    CVE-2023-52781 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 3.16.79 onward and has been patched in 5.10.203, 5.15.142, 6.1.66 and others. CVE-2023-52781 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2023-52781?

    CVE-2023-52781 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2023-52781?

    Yes. CVE-2023-52781 has been patched. Fixed versions include 5.10.203, 5.15.142, 6.1.66 and others. If you are running Linux kernel 3.16.79 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2023-52781 actively exploited?

    No. CVE-2023-52781 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.