CVE-2025-38103

High

Description

In the Linux kernel, the following vulnerability has been resolved: HID: usbhid: Eliminate recurrent out-of-bounds bug in usbhid_parse() Update struct hid_descriptor to better reflect the mandatory and optional parts of the HID Descriptor as per USB HID 1.11 specification. Note: the kernel currently does not parse any optional HID class descriptors, only the mandatory report descriptor. Update all references to member element desc[0] to rpt_desc. Add test to verify bLength and bNumDescriptors values are valid. Replace the for loop with direct access to the mandatory HID class descriptor member for the report descriptor. This eliminates the possibility of getting an out-of-bounds fault. Add a warning message if the HID descriptor contains any unsupported optional HID class descriptors.

SeverityHigh
CVSS7.1
Exploit probability—
ProductLinux Kernel
PublishedJul 3, 2025
First seenJul 3, 2025

How to fix

Affected products

ProductAffected versionsFixed in
linux linux_kernel3.2.95 ≤ v < 3.3, 3.16.50 ≤ v < 3.17, 3.18.76 ≤ v < 3.19, 4.1.46 ≤ v < 4.2, 4.4.93 ≤ v < 4.5, 4.9.57 ≤ v < 4.10, 4.13.8 ≤ v < 4.14, 4.14.1 ≤ v < 5.4.295, 5.5 ≤ v < 5.10.239, 5.11 ≤ v < 5.15.186, 5.16 ≤ v < 6.1.142, 6.2 ≤ v < 6.6.94, 6.7 ≤ v < 6.12.34, 6.13 ≤ v < 6.15.3, 4.143.3, 3.17, 3.19, 4.2, 4.5, 4.10, 4.14, 5.4.295, 5.10.239, 5.15.186, 6.1.142, 6.6.94, 6.12.34, 6.15.3
debian debian_linux11.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.