cbcvebase.
CVE-2025-38103
published 2025-07-03

CVE-2025-38103: In the Linux kernel, the following vulnerability has been resolved: HID: usbhid: Eliminate recurrent out-of-bounds bug in usbhid_parse() Update struct…

high7.1CVSS 3.1
AVLACLPRLUINSUCHINAH
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.

Affected

57 ranges· showing 25
VendorProductVersion rangeFixed in
debiandebian_linux
debianlinux< linux 6.1.147-1 (bookworm)linux 6.1.147-1 (bookworm)
debianlinux-6.1< linux 6.1.147-1 (bookworm)linux 6.1.147-1 (bookworm)
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux
linuxlinux>= 3.16.50 < 3.173.17
linuxlinux>= 3.18.76 < 3.193.19
linuxlinux>= 3.2.95 < 3.33.3
linuxlinux>= 4.1.46 < 4.24.2
linuxlinux>= 4.13.8 < 4.144.14
linuxlinux>= 4.4.93 < 4.54.5
linuxlinux>= 4.9.57 < 4.104.10
linuxlinux>= f043bfc98c193c284e2cd768fefabe18ac2fed9b < 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b
linuxlinux>= f043bfc98c193c284e2cd768fefabe18ac2fed9b < 41827a2dbdd7880df9881506dee13bc88d4230bb41827a2dbdd7880df9881506dee13bc88d4230bb
linuxlinux>= f043bfc98c193c284e2cd768fefabe18ac2fed9b < 1df80d748f984290c895e843401824215dcfbfb01df80d748f984290c895e843401824215dcfbfb0
linuxlinux>= f043bfc98c193c284e2cd768fefabe18ac2fed9b < a8f842534807985d3a676006d140541b87044345a8f842534807985d3a676006d140541b87044345
linuxlinux>= f043bfc98c193c284e2cd768fefabe18ac2fed9b < 4fa7831cf0ac71a0a345369d1a6084f2b096e55e4fa7831cf0ac71a0a345369d1a6084f2b096e55e
linuxlinux>= f043bfc98c193c284e2cd768fefabe18ac2fed9b < 74388368927e9c52a69524af5bbd6c55eb4690de74388368927e9c52a69524af5bbd6c55eb4690de
linuxlinux>= f043bfc98c193c284e2cd768fefabe18ac2fed9b < 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf

CVSS provenance

nvdv3.17.1HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
osv7.1HIGH