VDB

CVE-2025-38103

CVE-2025-38103 PUBLISHED

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

Reported by linux · Published July 3, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-perfAmazon Linux1:6.1.144-170.251.amzn2023
kernel-libbpf-staticAmazon Linux6.12.35-55.103.amzn2023
kernel-modules-extra-commonAmazon Linux6.12.35-55.103.amzn2023
kernel-tools-develAmazon Linux6.12.35-55.103.amzn2023
perf6.12Amazon Linux6.12.35-55.103.amzn2023
LinuxLinux4.14

Affected products

VendorProductVersions
LinuxLinuxf043bfc98c193c284e2cd768fefabe18ac2fed9b, f043bfc98c193c284e2cd768fefabe18ac2fed9b, f043bfc98c193c284e2cd768fefabe18ac2fed9b
LinuxLinux4.14, 0, 5.4.295
amazon:2023python3-perf0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-tools-devel0
amazon:2023perf6.120
LinuxLinux*, 6.16, 6.15.3
amazon:2023kernel-tools0
amazon:2023bpftool0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-modules-extra0
amazon:2023kernel-headers0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-devel0
amazon:2023kernel-livepatch-6.12.35-55.1030
amazon:2023kernel6.120
linuxlinux_kernel3.18.76, 3.16.50, 3.2.95
amazon:2023kernel-livepatch-6.1.144-170.2510
amazon:2023perf0

…and 3 more

Timeline

  • Jul 2, 2025 CVE Published
  • Jul 3, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (16 in total, the first dated here)
  • Nov 17, 2025 CVE Updated
  • Mar 29, 2026 Distribution Patch (224 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (238 in total, the first dated here)
  • Jun 9, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-38103
vulnetix vdb fixes CVE-2025-38103

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38103/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›