CVE-2025-38103
HIGH 7.1CVSS 3.1In 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.
- Published
- 3 Jul 2025
- Last modified
- 5 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-125
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 3.2.95, < 3.3 | 3.3 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 3.16.50, < 3.17 | 3.17 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 3.18.76, < 3.19 | 3.19 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.1.46, < 4.2 | 4.2 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.4.93, < 4.5 | 4.5 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.9.57, < 4.10 | 4.10 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.13.8, < 4.14 | 4.14 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.14.1, < 5.4.295 | 5.4.295 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.5, < 5.10.239 | 5.10.239 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.15.186 | 5.15.186 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.16, < 6.1.142 | 6.1.142 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.2, < 6.6.94 | 6.6.94 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.7, < 6.12.34 | 6.12.34 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 6.13, < 6.15.3 | 6.15.3 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:4.14:-:*:*:*:*:*:* |
= 4.14 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:4.14:rc5:*:*:*:*:*:* |
= 4.14 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:4.14:rc6:*:*:*:*:*:* |
= 4.14 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:4.14:rc7:*:*:*:*:*:* |
= 4.14 | |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:4.14:rc8:*:*:*:*:*:* |
= 4.14 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* |
= 11.0 |
References
- https://git.kernel.org/stable/c/1df80d748f984290c895e843401824215dcfbfb0 · Patch
- https://git.kernel.org/stable/c/41827a2dbdd7880df9881506dee13bc88d4230bb · Patch
- https://git.kernel.org/stable/c/485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf · Patch
- https://git.kernel.org/stable/c/4fa7831cf0ac71a0a345369d1a6084f2b096e55e · Patch
- https://git.kernel.org/stable/c/74388368927e9c52a69524af5bbd6c55eb4690de · Patch
- https://git.kernel.org/stable/c/7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b · Patch
- https://git.kernel.org/stable/c/a8f842534807985d3a676006d140541b87044345 · Patch
- https://git.kernel.org/stable/c/fe7f7ac8e0c708446ff017453add769ffc15deed · Patch
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html · Mailing List, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html · Mailing List, Third Party Advisory
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 3 Jul 2025)