CVE-2025-38103
HID: usbhid: Eliminate recurrent out-of-bounds bug in usbhid_parse()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 41827a2dbdd7880df9881506dee13bc88d4230bb; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 1df80d748f984290c895e843401824215dcfbfb0; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < a8f842534807985d3a676006d140541b87044345; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 4fa7831cf0ac71a0a345369d1a6084f2b096e55e; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 74388368927e9c52a69524af5bbd6c55eb4690de; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < fe7f7ac8e0c708446ff017453add769ffc15deed; 99de0781e0de7c866f762b931351c2a501c3074f; 8d675aa967d3927ac100f7af48f2a2af8a041d2d; …
- Anyone running Linux 4.14
Vulnerability facts
- Affected
- Linux >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 41827a2dbdd7880df9881506dee13bc88d4230bb; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 1df80d748f984290c895e843401824215dcfbfb0; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < a8f842534807985d3a676006d140541b87044345; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 4fa7831cf0ac71a0a345369d1a6084f2b096e55e; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 74388368927e9c52a69524af5bbd6c55eb4690de; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < fe7f7ac8e0c708446ff017453add769ffc15deed; 99de0781e0de7c866f762b931351c2a501c3074f; 8d675aa967d3927ac100f7af48f2a2af8a041d2d; …; Linux 4.14
- Fixed in
- Linux 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b, Linux 41827a2dbdd7880df9881506dee13bc88d4230bb, Linux 1df80d748f984290c895e843401824215dcfbfb0, Linux 4fa7831cf0ac71a0a345369d1a6084f2b096e55e, Linux 74388368927e9c52a69524af5bbd6c55eb4690de, Linux 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.1 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- CWE
- CWE-125
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 41827a2dbdd7880df9881506dee13bc88d4230bb; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 1df80d748f984290c895e843401824215dcfbfb0; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < a8f842534807985d3a676006d140541b87044345; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 4fa7831cf0ac71a0a345369d1a6084f2b096e55e; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 74388368927e9c52a69524af5bbd6c55eb4690de; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < fe7f7ac8e0c708446ff017453add769ffc15deed; 99de0781e0de7c866f762b931351c2a501c3074f; 8d675aa967d3927ac100f7af48f2a2af8a041d2d; … | — | cvelist |
| Linux | 4.14 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-38103. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-38103.md Affected: Linux >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 41827a2dbdd7880df9881506dee13bc88d4230bb; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 1df80d748f984290c895e843401824215dcfbfb0; >= f043bfc98c193c284e2cd76… Fixed in: Linux 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b, Linux 41827a2dbdd7880df9881506dee13bc88d4230bb, Linux 1df80d748f984290c895e843401824215dcfbfb0, Linux 4fa7831cf0ac71a0a345369d1a6084f2b096e55e, Linux 74388368927e9c52a69524af5bbd6c55eb4690de, Linux 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- 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
FAQ
Is CVE-2025-38103 being exploited?
There is no confirmed exploitation: CVE-2025-38103 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-38103?
High: CVSS 7.1 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-38103?
Linux >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 41827a2dbdd7880df9881506dee13bc88d4230bb; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 1df80d748f984290c895e843401824215dcfbfb0; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < a8f842534807985d3a676006d140541b87044345; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 4fa7831cf0ac71a0a345369d1a6084f2b096e55e; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 74388368927e9c52a69524af5bbd6c55eb4690de; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf; >= f043bfc98c193c284e2cd768fefabe18ac2fed9b, < fe7f7ac8e0c708446ff017453add769ffc15deed; 99de0781e0de7c866f762b931351c2a501c3074f; 8d675aa967d3927ac100f7af48f2a2af8a041d2d; …; Linux 4.14.
Is there a fix for CVE-2025-38103?
Yes. Fixed in Linux 7a6d6b68db128da2078ccd9a751dfa3f75c9cf5b, Linux 41827a2dbdd7880df9881506dee13bc88d4230bb, Linux 1df80d748f984290c895e843401824215dcfbfb0, Linux 4fa7831cf0ac71a0a345369d1a6084f2b096e55e, Linux 74388368927e9c52a69524af5bbd6c55eb4690de, Linux 485e1b741eb838cbe1d6b0e81e5ab62ae6c095cf. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-38103?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.