CVE-2025-37813
usb: xhci: Fix invalid pointer dereference in Etron workaround
Reported by linux · Published May 8, 2025
In the Linux kernel, the following vulnerability has been resolved: usb: xhci: Fix invalid pointer dereference in Etron workaround This check is performed before prepare_transfer() and prepare_ring(), so enqueue can already point at the final link TRB of a segment. And indeed it will, some 0.4% of times this code is called. Then enqueue + 1 is an invalid pointer. It will crash the kernel right away or load some junk which may look like a link TRB and cause the real link TRB to be replaced with a NOOP. This wouldn't end well. Use a functionally equivalent test which doesn't dereference the pointer and always gives correct result. Something has crashed my machine twice in recent days while playing with an Etron HC, and a control transfer stress test ran for confirmation has just crashed it again. The same test passes with this patch applied.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.12.29-33.102 | Amazon Linux | 1.0-0.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | fbc0a0c7718a6cb1dc5e0811a4f88a2b1deedfa1, 9258c9ed32294ce3a4b58c9d92fc49ba030d35c9, 5e1c67abc9301d05130b7e267c204e7005503b33 |
| Linux | Linux | 6.13, 0, 6.6.89 |
| amazon:2023 | kernel-livepatch-6.12.29-33.102 | 0 |
| linux | linux_kernel | 6.13, 6.12.2, 6.11.11 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-devel | 0 |
| Linux | Linux | 6.11.11, *, 9258c9ed32294ce3a4b58c9d92fc49ba030d35c9 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
Timeline
- May 7, 2025 CVE Published
- May 8, 2025 EPSS Score (30 in total, the first dated here)
- Dec 17, 2025 PoC Published (2 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (123 in total, the first dated here)
- Mar 29, 2026 Security Advisory (127 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
- Oct 18, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-37813
vulnetix vdb fixes CVE-2025-37813
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-37813/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart