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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
f043bfc98c193c284e2cd768fefabe18ac2fed9b to < 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5baffectedf043bfc98c193c284e2cd768fefabe18ac2fed9b to < 41827a2dbdd7880df9881506dee13bc88d4230bbaffectedf043bfc98c193c284e2cd768fefabe18ac2fed9b to < 1df80d748f984290c895e843401824215dcfbfb0affectedf043bfc98c193c284e2cd768fefabe18ac2fed9b to < a8f842534807985d3a676006d140541b87044345affectedf043bfc98c193c284e2cd768fefabe18ac2fed9b to < 4fa7831cf0ac71a0a345369d1a6084f2b096e55eaffectedf043bfc98c193c284e2cd768fefabe18ac2fed9b to < 74388368927e9c52a69524af5bbd6c55eb4690deaffectedf043bfc98c193c284e2cd768fefabe18ac2fed9b to < 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cfaffectedf043bfc98c193c284e2cd768fefabe18ac2fed9b to < fe7f7ac8e0c708446ff017453add769ffc15deedaffected99de0781e0de7c866f762b931351c2a501c3074faffected8d675aa967d3927ac100f7af48f2a2af8a041d2daffectedf4cf5d75416ae3d79e03179fe6f4b9f1231ae42caffected439f76690d7d5dd212ea7bebc1f2fa077e3d645daffected2929cb995378205bceda86d6fd3cbc22e522f97faffected57265cddde308292af881ce634a5378dd4e25900affected984154e7eef1f9e543dabd7422cfc99015778732affected3.2.95 to < 3.3affected3.16.50 to < 3.17affected3.18.76 to < 3.19affected4.1.46 to < 4.2affected4.4.93 to < 4.5affected4.9.57 to < 4.10affected4.13.8 to < 4.14affected
Linux Linux
Default version status: affected
4.14affected0 to < 4.14unaffected5.4.295 to ≤ 5.4.*unaffected5.10.239 to ≤ 5.10.*unaffected5.15.186 to ≤ 5.15.*unaffected6.1.142 to ≤ 6.1.*unaffected6.6.94 to ≤ 6.6.*unaffected6.12.34 to ≤ 6.12.*unaffected6.15.3 to ≤ 6.15.*unaffected6.16 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b ↗
- https://git.kernel.org/stable/c/41827a2dbdd7880df9881506dee13bc88d4230bb ↗
- https://git.kernel.org/stable/c/1df80d748f984290c895e843401824215dcfbfb0 ↗
- https://git.kernel.org/stable/c/a8f842534807985d3a676006d140541b87044345 ↗
- https://git.kernel.org/stable/c/4fa7831cf0ac71a0a345369d1a6084f2b096e55e ↗
- https://git.kernel.org/stable/c/74388368927e9c52a69524af5bbd6c55eb4690de ↗
- https://git.kernel.org/stable/c/485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf ↗
- https://git.kernel.org/stable/c/fe7f7ac8e0c708446ff017453add769ffc15deed ↗
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html ↗
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html ↗