CVE-2025-39760

usb: core: config: Prevent OOB read in SS endpoint companion parsing

State
Published
Severity
Not scored
Published
Sep 11, 2025
Updated
Jun 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

usb: core: config: Prevent OOB read in SS endpoint companion parsing

usb_parse_ss_endpoint_companion() checks descriptor type before length, enabling a potentially odd read outside of the buffer size.

Fix this up by checking the size first before looking at any of the fields in the descriptor.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 to before 5c3097ede7835d3caf6543eb70ff689af4550cd2Affected
  • 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 to before 058ad2b722812708fe90567875704ae36563e33bAffected
  • 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 to before b10e0f868067c6f25bbfabdcf3e1e6432c24ca55Affected
  • 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 to before 5badd56c711e2c8371d1670f9bd486697575423cAffected
  • 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 to before 9512510cee7d1becdb0e9413fdd3ab783e4e30eeAffected
  • 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 to before 4fe6f472f0beef4281e6f03bc38a910a33be663fAffected
  • 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 to before 9843bcb187cb933861f7805022e6873905f669e4Affected
  • 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 to before cf16f408364efd8a68f39011a3b073c83a03612dAffected
LinuxLinux
  • 2.6.35Affected
  • before 2.6.35Not affected
  • 5.10.241 through 5.10.*Not affected
  • 5.15.190 through 5.15.*Not affected
  • 6.1.149 through 6.1.*Not affected
  • 6.6.103 through 6.6.*Not affected
  • 6.12.43 through 6.12.*Not affected
  • 6.15.11 through 6.15.*Not affected
  • 6.16.2 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.