CVE-2025-37813
kernel: usb: xhci: Fix invalid pointer dereference in Etron workaround
Overview
Description
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.
Source: OX vulnerability database
Severity
5.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-476
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 50 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | kernel-uek +34 | 6.12.0-102.36.5.2.el9uek |
Red Hat 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | bpftool +25 | eol |
| 9 | bpftool +106 | affected |
SUSE Linux Enterprise 2 releases · 8 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.6 | kernel-livepatch-6-4-0-150600-23-87-default | 1-150600.13.3.1 | SUSE-SU-2026:0471-1 |
| 15.6 | cluster-md-kmp-default +17 | 6.4.0-150600.23.87.1 | SUSE-SU-2026:0471-1 |
| 15.6 | kernel-default-base | 6.4.0-150600.23.87.1.150600.12.40.1 | SUSE-SU-2026:0471-1 |
| 15.7 | kernel-livepatch-6-4-0-150700-7-31-rt | 1-150700.1.3.2 | SUSE-SU-2026:0587-1 |
| 15.7 | kernel-livepatch-6-4-0-150700-7-8-rt | 1-150700.1.5.1 | SUSE-SU-2025:02333-1 |
| 15.7 | kernel-livepatch-6-4-0-150700-53-6-default | 1-150700.15.3.1 | SUSE-SU-2025:02307-1 |
4 more rows
SUSE Linux Enterprise Micro 2 releases · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 6.0 | kernel-default +5 | 6.4.0-39.1 | SUSE-SU-2026:20477-1 |
| 6.0 | kernel-default-base | 6.4.0-39.1.21.16 | SUSE-SU-2026:20477-1 |
| 6.0 | kernel-devel-rt +3 | 6.4.0-40.1 | SUSE-SU-2026:20845-1 |
| 6.1 | kernel-default +6 | 6.4.0-39.1 | SUSE-SU-2026:20498-1 |
| 6.1 | kernel-default-base | 6.4.0-39.1.21.16 | SUSE-SU-2026:20498-1 |
| 6.1 | kernel-devel-rt +4 | 6.4.0-40.1 | SUSE-SU-2026:20876-1 |
amazon linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-12-29-33-102 | 1.0-0.amzn2023 |
| 2023 | bpftool +20 | 6.12.29-33.102.amzn2023 |
debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | linux | 6.12.27-1 |
| 14 | linux | 6.12.27-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 6.12.27-1 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 13 | rootio-linux | 6.12.27-1 |
root.io ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 24.04 | linux +1 | 6.8.0-100.100 |
ubuntu 2 releases · 24 packages
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | linux-lowlatency-hwe-6-8 | 6.8.0-100.100.1~22.04.1 |
| 22.04 | linux-hwe-6-8 +1 | 6.8.0-100.100~22.04.1 |
| 22.04 | linux-oracle-6-8 | 6.8.0-1043.44~22.04.1 |
| 22.04 | linux-ibm-6-8 | 6.8.0-1044.44~22.04.1 |
| 22.04 | linux-aws-6-8 +1 | 6.8.0-1046.49~22.04.1 |
| 22.04 | linux-azure-fde-6-8 | 6.8.0-1046.53~22.04.1 |
18 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-37813
- git.kernel.org https://git.kernel.org/linus/1ea050da5562af9b930d17cbbe9632d30f5df43a (6.15-rc4)
- git.kernel.org https://git.kernel.org/stable/c/0624e29c595b05e7a0e6d1c368f0a05799928e30
- git.kernel.org https://git.kernel.org/stable/c/142273a49f2c315eabdbdf5a71c15e479b75ca91
- git.kernel.org https://git.kernel.org/stable/c/1ea050da5562af9b930d17cbbe9632d30f5df43a
- git.kernel.org https://git.kernel.org/stable/c/bce3055b08e303e28a8751f6073066f5c33a0744
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-37813.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-20530.html
- lore.kernel.org https://lore.kernel.org/linux-cve-announce/2025050817-CVE-2025-37813-8f2b@gregkh/T
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-37813
Show all 30 references
- ubuntu.com https://ubuntu.com/security/notices/USN-7594-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7594-2
- ubuntu.com https://ubuntu.com/security/notices/USN-7594-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-4
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-5
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-6
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-7
- ubuntu.com https://ubuntu.com/security/notices/USN-8028-8
- ubuntu.com https://ubuntu.com/security/notices/USN-8031-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8031-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8031-3
- ubuntu.com https://ubuntu.com/security/notices/USN-8052-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8052-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8074-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8074-2
- ubuntu.com https://ubuntu.com/security/notices/USN-8126-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-37813
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.