CVE-2025-38103: HID: usbhid: Eliminate recurrent out-of-bounds bug in usbhid_parse()

Published Jul 3, 2025
·
Updated

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

HID: usbhid: Eliminate recurrent out-of-bounds bug in usbhidparse()

Update struct hiddescriptor 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 rptdesc.

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.

Affected Software

22 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel>=3.2.95<3.3
Linux Linux kernel>=3.16.50<3.17
Linux Linux kernel>=3.18.76<3.19
Linux Linux kernel>=4.1.46<4.2
Linux Linux kernel>=4.4.93<4.5
Linux Linux kernel>=4.9.57<4.10
Linux Linux kernel>=4.13.8<4.14
Linux Linux kernel>=4.14.1<5.4.295
Linux Linux kernel>=5.5<5.10.239
Linux Linux kernel>=5.11<5.15.186
Linux Linux kernel>=5.16<6.1.142
Linux Linux kernel>=6.2<6.6.94
Linux Linux kernel>=6.7<6.12.34
Linux Linux kernel>=6.13<6.15.3
Linux Linux kernel=4.14
Linux Linux kernel=4.14-rc5
Linux Linux kernel=4.14-rc6
Linux Linux kernel=4.14-rc7
Linux Linux kernel=4.14-rc8
Debian Debian Linux=11.0
debian/linux
6.1.176-16.1.190-16.12.107-16.12.113-17.2.12-17.2.13-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
  2. Compensating control

    Add a warning message when the HID descriptor contains unsupported optional HID class descriptors.

Event History

Jul 3, 2025
CVE Published
via MITRE·08:35 AM
Data Sourced
via MITRE·08:35 AM
Description
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-38103?

CVE-2025-38103 has been classified with a severity level that may allow potential denial of service due to an out-of-bounds bug.

2

How do I fix CVE-2025-38103?

To fix CVE-2025-38103, update the Linux kernel to a version that includes the patch addressing the vulnerability.

3

Which versions of the Linux kernel are affected by CVE-2025-38103?

CVE-2025-38103 affects multiple versions of the Linux kernel prior to the release of patches that eliminate the vulnerability.

4

What components are impacted by CVE-2025-38103?

CVE-2025-38103 primarily impacts the HID subsystem specifically related to USB Human Interface Devices within the Linux kernel.

5

Is CVE-2025-38103 being actively exploited in the wild?

As of now, there are no confirmed reports of CVE-2025-38103 being actively exploited in the wild.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203