CVE-2024-57981: usb: xhci: Fix NULL pointer dereference on certain command aborts
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.26% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 0ce5c0dac768be14afe2426101b568a0f66bfc4d, 1e0a19912adb68a4b2b74fd77001c96cd83eb073, 4ff18870af793ce2034a6ad746e91d0a3d985b88; azl3 kernel 6.6.64.2-9 on Azure Linux 3.0 6.6.78.1-3; azl3 kernel 6.6.78.1-3 on Azure Linux 3.0 6.6.78.1-3.
Low priority for now. Upgrade to Linux Linux 0ce5c0dac768be14afe2426101b568a0f66bfc4d, 1e0a19912adb68a4b2b74fd77001c96cd83eb073, 4ff18870af793ce2034a6ad746e91d0a3d985b88; azl3 kernel 6.6.64.2-9 on Azure Linux 3.0 6.6.78.1-3; azl3 kernel 6.6.78.1-3 on Azure Linux 3.0 6.6.78.1-3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Feb 27, 2025
- Updated
- Oct 15, 2026
- EPSS
- 0.2% · 19th percentile
- CWE
- CWE-476
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel3.16 and later · before 6.1.129
- linux linux kernel6.2 and later · before 6.6.76
- linux linux kernel6.7 and later · before 6.12.13
- linux linux kernel6.13 and later · before 6.13.2
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 3.16affected
- c311e391a7efd101250c0e123286709b7e736249 and later · before fd8bfaeba4a85b14427899adec0efb3954300653affected · git
- c311e391a7efd101250c0e123286709b7e736249 and later · before b44253956407046e5907d4d72c8fa5b93ae94485affected · git
- c311e391a7efd101250c0e123286709b7e736249 and later · before cf30300a216a4f8dce94e11781a866a09d4b50d4affected · git
- c311e391a7efd101250c0e123286709b7e736249 and later · before 4ff18870af793ce2034a6ad746e91d0a3d985b88affected · git
- c311e391a7efd101250c0e123286709b7e736249 and later · before b649f0d5bc256f691c7d234c3986685d54053de1affected · git
- c311e391a7efd101250c0e123286709b7e736249 and later · before ae069cd2ba09a2bd6a87a68c59ef0b7ea39cd641affected · git
- c311e391a7efd101250c0e123286709b7e736249 and later · before 0ce5c0dac768be14afe2426101b568a0f66bfc4daffected · git
- c311e391a7efd101250c0e123286709b7e736249 and later · before 1e0a19912adb68a4b2b74fd77001c96cd83eb073affected · git
- before 3.16not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:10 | kernel | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-core | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-debug | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-debug-core | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-debug-devel | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-debug-devel-matched | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-debug-modules | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-debug-modules-core | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-debug-modules-extra | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-devel | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-devel-matched | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-modules | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-modules-core | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-64k-modules-extra | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-abi-stablelists | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-core | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-cross-headers | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-debug | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-debug-core | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-debug-devel | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-debug-devel-matched | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-debug-modules | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
| AlmaLinux:10 | kernel-debug-modules-core | before 6.12.0-124.8.1.el10_1 | 6.12.0-124.8.1.el10_1 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-57979Feb 27, 2025 · pps: Fix a use-after-free31Monitor
- ← EarlierCVE-2024-57980Feb 27, 2025 · media: uvcvideo: Fix double free in error path31Monitor
- Later →CVE-2024-57982Feb 27, 2025 · xfrm: state: fix out-of-bounds read during lookup28Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 0ce5c0dac768be14afe2426101b568a0f66bfc4d | Vendor (CNA) |
| Linux Linux | 1e0a19912adb68a4b2b74fd77001c96cd83eb073 | Vendor (CNA) |
| Linux Linux | 4ff18870af793ce2034a6ad746e91d0a3d985b88 | Vendor (CNA) |
| Linux Linux | ae069cd2ba09a2bd6a87a68c59ef0b7ea39cd641 | Vendor (CNA) |
| Linux Linux | b44253956407046e5907d4d72c8fa5b93ae94485 | Vendor (CNA) |
| Linux Linux | b649f0d5bc256f691c7d234c3986685d54053de1 | Vendor (CNA) |
| Linux Linux | cf30300a216a4f8dce94e11781a866a09d4b50d4 | Vendor (CNA) |
| Linux Linux | fd8bfaeba4a85b14427899adec0efb3954300653 | Vendor (CNA) |
| azl3 kernel 6.6.64.2-9 on Azure Linux 3.0 | 6.6.78.1-3 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 kernel 6.6.78.1-3 on Azure Linux 3.0 | 6.6.78.1-3 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.179.1-1 on CBL Mariner 2.0 | 5.15.179.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.182.1-1 on CBL Mariner 2.0 | CBL-Mariner Releases | Microsoft (MSRC) |
| cbl2 kernel 5.15.182.1-1 on CBL-Mariner 2.0 | 5.15.179.1-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:kernel | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-core | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-core | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel-matched | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-core | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-extra | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-devel | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| almalinux:kernel-64k-devel-matched | 6.12.0-124.8.1.el10_1 · AlmaLinux:10 | Package registry (OSV) |
| debian:linux | 6.1.129-1 · Debian:12 | Package registry (OSV) |
| debian:linux-6.1 | 6.1.129-1~deb11u1 · Debian:11 | Package registry (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:kernel-64k-debug-devel | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:6.12.0-124.8.1.el10_1 · Red Hat:enterprise_linux:10.1 | Package registry (OSV) |
+10
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-476 · NULL Pointer DereferenceCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (12 more)Show less
- git.kernel.org/stable/c/1e0a19912adb68a4b2b74fd77001c96cd83eb073
- git.kernel.org/stable/c/4ff18870af793ce2034a6ad746e91d0a3d985b88
- git.kernel.org/stable/c/ae069cd2ba09a2bd6a87a68c59ef0b7ea39cd641
- git.kernel.org/stable/c/b44253956407046e5907d4d72c8fa5b93ae94485
- git.kernel.org/stable/c/b649f0d5bc256f691c7d234c3986685d54053de1
- git.kernel.org/stable/c/cf30300a216a4f8dce94e11781a866a09d4b50d4
- git.kernel.org/stable/c/fd8bfaeba4a85b14427899adec0efb3954300653
- lists.debian.org/debian-lts-announce/2025/03/msg00028.html
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- cert-portal.siemens.com/productcert/html/ssa-265688.html
- cert-portal.siemens.com/productcert/html/ssa-503939.html
- cert-portal.siemens.com/productcert/html/ssa-784472.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.