CVE-2025-39760

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

At a glance

Severity
Not available
EPSS
EPSS 0.18 % · percentile 7 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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

VersionScoreVectorScored by
CVSS 3.1HIGH 7.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HNVD · nvd@nist.gov (Primary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 < 5c3097ede7835d3caf6543eb70ff689af4550cd2 ; affected 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 < 058ad2b722812708fe90567875704ae36563e33b ; affected 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 < b10e0f868067c6f25bbfabdcf3e1e6432c24ca55 ; affected 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 < 5badd56c711e2c8371d1670f9bd486697575423c ; affected 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 < 9512510cee7d1becdb0e9413fdd3ab783e4e30ee ; affected 842f16905dfc6743c1dd80c3d29b49ba3ab7f7c8 < 4fe6f472f0beef4281e6f03bc38a910a33be663f
Linux · Linuxaffected 2.6.35 ; unaffected 0 < 2.6.35 ; unaffected 5.10.241 ≤ 5.10.* ; unaffected 5.15.190 ≤ 5.15.* ; unaffected 6.1.149 ≤ 6.1.* ; unaffected 6.6.103 ≤ 6.6.*

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD