CVE-2024-57981: Linux kernel xHCI command-abort NULL-pointer dereference
- Vendor
- Linux
CVE-2024-57981 is a NULL-pointer dereference in the Linux kernel xHCI USB host-controller driver during certain command-abort sequences. When a command occupies the final usable transfer request block (TRB) of a ring segment, the enqueue pointer advances to the link TRB. Aborting that command advances the dequeue pointer to the first TRB of the next segment. If no additional commands are queued, xhci_handle_stopped_cmd_ring() incorrectly interprets the unequal pointers as indicating a pending command and invokes xhci_mod_cmd_timer() while cur_cmd is NULL, causing a kernel crash. The defect was introduced in Linux 3.16.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can cause a kernel crash and local denial of service, interrupting system operation and hosted services. No confidentiality loss, integrity compromise, privilege escalation, or arbitrary code execution is established for this vulnerability.
Mitigation
If you can’t patch tonight, do this now.
No confirmed vulnerability-specific workaround is documented. Restricting access to untrusted USB devices and limiting local access can reduce exposure to the demonstrated trigger, but does not replace installing the fixed kernel.
Remediation
Patch, then assume compromise.
Install a current supported kernel or vendor kernel update containing the fix that skips command-timer setup when cur_cmd is NULL, then reboot into the updated kernel. Fixed upstream releases include 6.1.129, 6.6.76, 6.12.13, 6.13.2, and 6.14-rc1. Red Hat addresses the vulnerability in RHEL 9 through RHSA-2025:20518 and RHEL 10 through RHSA-2025:20095. Prefer supported kernel updates over cherry-picking the individual fix.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2024-57981 exploited in the wild?
- As of Oct 25, 2026, Mallory has no reports of CVE-2024-57981 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2024-57981?
- As of Oct 25, 2026, Mallory has found no public exploit for CVE-2024-57981.
- Is there a patch for CVE-2024-57981?
- Install a current supported kernel or vendor kernel update containing the fix that skips command-timer setup when cur_cmd is NULL, then reboot into the updated kernel. Fixed upstream releases include 6.1.129, 6.6.76, 6.12.13, 6.13.2, and 6.14-rc1.
- What products are affected by CVE-2024-57981?
- Linux Kernel.
- How severe is CVE-2024-57981?
- CVE-2024-57981 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.32% (18th percentile) as of Oct 25, 2026.
Recent activity
6 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.