CVE-2024-57981
publishedusb: xhci: Fix NULL pointer dereference on certain command aborts
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxc311e391a7efd101250c0e123286709b7e736249 to < fd8bfaeba4a85b14427899adec0efb3954300653 · c311e391a7efd101250c0e123286709b7e736249 to < b44253956407046e5907d4d72c8fa5b93ae94485 · c311e391a7efd101250c0e123286709b7e736249 to < cf30300a216a4f8dce94e11781a866a09d4b50d4 · c311e391a7efd101250c0e123286709b7e736249 to < 4ff18870af793ce2034a6ad746e91d0a3d985b88 · c311e391a7efd101250c0e123286709b7e736249 to < b649f0d5bc256f691c7d234c3986685d54053de1 · c311e391a7efd101250c0e123286709b7e736249 to < ae069cd2ba09a2bd6a87a68c59ef0b7ea39cd641 · c311e391a7efd101250c0e123286709b7e736249 to < 0ce5c0dac768be14afe2426101b568a0f66bfc4d · c311e391a7efd101250c0e123286709b7e736249 to < 1e0a19912adb68a4b2b74fd77001c96cd83eb073 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.16 (affected) · 0 to < 3.16 (unaffected · semver) · 5.4.291 through 5.4.* (unaffected · semver) · 5.10.235 through 5.10.* (unaffected · semver) · 5.15.179 through 5.15.* (unaffected · semver) · 6.1.129 through 6.1.* (unaffected · semver) · 6.6.76 through 6.6.* (unaffected · semver) · 6.12.13 through 6.12.* (unaffected · semver) · 6.13.2 through 6.13.* (unaffected · semver) · 6.14 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Siemens | — | SIMATIC S7-1500 TM MFP - BIOS0 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluation | No Fix Planned | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.10-2025-088 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
Show 103 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 and later · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.15-2025-069 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2KERNEL-5.4-2025-097 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-876 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 10 | kernel-64k-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-debug-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-64k-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-abi-stablelists | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-cross-headers | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-debug-uki-virt | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-doc | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-headers | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-modules-extra-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-debug-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-64k-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-debug-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-rt-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-tools | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-tools-libs | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-tools-libs-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-uki-virt | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-uki-virt-addons | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-devel | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-devel-matched | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-modules | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-core | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | kernel-zfcpdump-modules-extra | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | libperf | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | perf | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | python3-perf | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | rtla | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 10 | rv | Advisory build | 6.12.0-124.8.1.el10_1 | ALSA-2025:20095 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: usb: xhci: Fix NULL pointer dereference on certain command aborts If a command is queued to the final usable TRB of a ring segment, the enqueue pointer is advanced to the subsequent link TRB and no further. If the command is later aborted, when the abort completion is handled the dequeue pointer is advanced to the first TRB of the next segment. If no further commands are queued, xhci_handle_stopped_cmd_ring() sees the ring pointers unequal and assumes that there is a pending command, so it calls xhci_mod_cmd_timer() which crashes if cur_cmd was NULL. Don't attempt timer setup if cur_cmd is NULL. The subsequent doorbell ring likely is unnecessary too, but it's harmless. Leave it alone. This is probably Bug 219532, but no confirmation has been received. The issue has been independently reproduced and confirmed fixed using a USB MCU programmed to NAK the Status stage of SET_ADDRESS forever. Everything continued working normally after several prevented crashes.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | c311e391a7efd101250c0e123286709b7e736249 to < fd8bfaeba4a85b14427899adec0efb3954300653 (affected · git)c311e391a7efd101250c0e123286709b7e736249 to < b44253956407046e5907d4d72c8fa5b93ae94485 (affected · git)c311e391a7efd101250c0e123286709b7e736249 to < cf30300a216a4f8dce94e11781a866a09d4b50d4 (affected · git)c311e391a7efd101250c0e123286709b7e736249 to < 4ff18870af793ce2034a6ad746e91d0a3d985b88 (affected · git)c311e391a7efd101250c0e123286709b7e736249 to < b649f0d5bc256f691c7d234c3986685d54053de1 (affected · git)c311e391a7efd101250c0e123286709b7e736249 to < ae069cd2ba09a2bd6a87a68c59ef0b7ea39cd641 (affected · git)c311e391a7efd101250c0e123286709b7e736249 to < 0ce5c0dac768be14afe2426101b568a0f66bfc4d (affected · git)c311e391a7efd101250c0e123286709b7e736249 to < 1e0a19912adb68a4b2b74fd77001c96cd83eb073 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.16 (affected)0 to < 3.16 (unaffected · semver)5.4.291 through 5.4.* (unaffected · semver)5.10.235 through 5.10.* (unaffected · semver)5.15.179 through 5.15.* (unaffected · semver)6.1.129 through 6.1.* (unaffected · semver)6.6.76 through 6.6.* (unaffected · semver)6.12.13 through 6.12.* (unaffected · semver)6.13.2 through 6.13.* (unaffected · semver)6.14 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
| Siemens | SIMATIC S7-1500 TM MFP - BIOS | 0 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 and later (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | 0 and later (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
0No weakness assertions.
References
13- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- https://cert-portal.siemens.com/productcert/html/ssa-503939.html
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html
- https://git.kernel.org/stable/c/0ce5c0dac768be14afe2426101b568a0f66bfc4d
- https://git.kernel.org/stable/c/1e0a19912adb68a4b2b74fd77001c96cd83eb073
- https://git.kernel.org/stable/c/4ff18870af793ce2034a6ad746e91d0a3d985b88
- https://git.kernel.org/stable/c/ae069cd2ba09a2bd6a87a68c59ef0b7ea39cd641
- https://git.kernel.org/stable/c/b44253956407046e5907d4d72c8fa5b93ae94485
- https://git.kernel.org/stable/c/b649f0d5bc256f691c7d234c3986685d54053de1
- https://git.kernel.org/stable/c/cf30300a216a4f8dce94e11781a866a09d4b50d4
- https://git.kernel.org/stable/c/fd8bfaeba4a85b14427899adec0efb3954300653
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html
Provider assertions
3Linux · cna
usb: xhci: Fix NULL pointer dereference on certain command aborts
siemens-SADP · adp
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a142f8ecb0c32c977235729b4e8be76c87fd33d599540192b7e2ac830ec9e74d
- Ingested
- 15 Oct 2026, 13:12:09 UTC
- Source record
- Official CVE record