We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-38103

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



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.

Reserved 2025-04-16 | Published 2025-07-03 | Updated 2025-07-03 | Assigner Linux

Product status

Default status
unaffected

f043bfc98c193c284e2cd768fefabe18ac2fed9b before 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b
affected

f043bfc98c193c284e2cd768fefabe18ac2fed9b before 41827a2dbdd7880df9881506dee13bc88d4230bb
affected

f043bfc98c193c284e2cd768fefabe18ac2fed9b before 1df80d748f984290c895e843401824215dcfbfb0
affected

f043bfc98c193c284e2cd768fefabe18ac2fed9b before a8f842534807985d3a676006d140541b87044345
affected

f043bfc98c193c284e2cd768fefabe18ac2fed9b before 4fa7831cf0ac71a0a345369d1a6084f2b096e55e
affected

f043bfc98c193c284e2cd768fefabe18ac2fed9b before 74388368927e9c52a69524af5bbd6c55eb4690de
affected

f043bfc98c193c284e2cd768fefabe18ac2fed9b before 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf
affected

f043bfc98c193c284e2cd768fefabe18ac2fed9b before fe7f7ac8e0c708446ff017453add769ffc15deed
affected

99de0781e0de7c866f762b931351c2a501c3074f
affected

8d675aa967d3927ac100f7af48f2a2af8a041d2d
affected

f4cf5d75416ae3d79e03179fe6f4b9f1231ae42c
affected

439f76690d7d5dd212ea7bebc1f2fa077e3d645d
affected

2929cb995378205bceda86d6fd3cbc22e522f97f
affected

57265cddde308292af881ce634a5378dd4e25900
affected

984154e7eef1f9e543dabd7422cfc99015778732
affected

Default status
affected

4.14
affected

Any version before 4.14
unaffected

5.4.295
unaffected

5.10.239
unaffected

5.15.186
unaffected

6.1.142
unaffected

6.6.94
unaffected

6.12.34
unaffected

6.15.3
unaffected

6.16-rc1
unaffected

References

git.kernel.org/...c/7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b

git.kernel.org/...c/41827a2dbdd7880df9881506dee13bc88d4230bb

git.kernel.org/...c/1df80d748f984290c895e843401824215dcfbfb0

git.kernel.org/...c/a8f842534807985d3a676006d140541b87044345

git.kernel.org/...c/4fa7831cf0ac71a0a345369d1a6084f2b096e55e

git.kernel.org/...c/74388368927e9c52a69524af5bbd6c55eb4690de

git.kernel.org/...c/485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf

git.kernel.org/...c/fe7f7ac8e0c708446ff017453add769ffc15deed

cve.org (CVE-2025-38103)

nvd.nist.gov (CVE-2025-38103)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-38103

Support options

Helpdesk Chat, Email, Knowledgebase