cbcvebase.
CVE-2024-57981
published 2025-02-27

CVE-2024-57981: 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…

PriorityP421medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.24%
15.3th percentile
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.

Affected

26 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.129-1 (bookworm)linux 6.1.129-1 (bookworm)
debianlinux-6.1< linux 6.1.129-1 (bookworm)linux 6.1.129-1 (bookworm)
linuxlinux
linuxlinux>= c311e391a7efd101250c0e123286709b7e736249 < fd8bfaeba4a85b14427899adec0efb3954300653fd8bfaeba4a85b14427899adec0efb3954300653
linuxlinux>= c311e391a7efd101250c0e123286709b7e736249 < b44253956407046e5907d4d72c8fa5b93ae94485b44253956407046e5907d4d72c8fa5b93ae94485
linuxlinux>= c311e391a7efd101250c0e123286709b7e736249 < cf30300a216a4f8dce94e11781a866a09d4b50d4cf30300a216a4f8dce94e11781a866a09d4b50d4
linuxlinux>= c311e391a7efd101250c0e123286709b7e736249 < 4ff18870af793ce2034a6ad746e91d0a3d985b884ff18870af793ce2034a6ad746e91d0a3d985b88
linuxlinux>= c311e391a7efd101250c0e123286709b7e736249 < b649f0d5bc256f691c7d234c3986685d54053de1b649f0d5bc256f691c7d234c3986685d54053de1
linuxlinux>= c311e391a7efd101250c0e123286709b7e736249 < ae069cd2ba09a2bd6a87a68c59ef0b7ea39cd641ae069cd2ba09a2bd6a87a68c59ef0b7ea39cd641
linuxlinux>= c311e391a7efd101250c0e123286709b7e736249 < 0ce5c0dac768be14afe2426101b568a0f66bfc4d0ce5c0dac768be14afe2426101b568a0f66bfc4d
linuxlinux>= c311e391a7efd101250c0e123286709b7e736249 < 1e0a19912adb68a4b2b74fd77001c96cd83eb0731e0a19912adb68a4b2b74fd77001c96cd83eb073
linuxlinux_kernel>= 0 < 5.10.237-15.10.237-1
linuxlinux_kernel>= 0 < 6.1.129-16.1.129-1
linuxlinux_kernel>= 0 < 6.12.13-16.12.13-1
linuxlinux_kernel>= 0 < 6.12.13-16.12.13-1
linuxlinux_kernel>= 0 < 5.4.0-216.2365.4.0-216.236
linuxlinux_kernel>= 0 < 5.15.0-140.1505.15.0-140.150
linuxlinux_kernel>= 0 < 6.8.0-64.676.8.0-64.67
linuxlinux_kernel>= 3.16 < 6.1.1296.1.129
linuxlinux_kernel>= 6.13 < 6.13.26.13.2
linuxlinux_kernel>= 6.2 < 6.6.766.6.76
linuxlinux_kernel>= 6.7 < 6.12.136.12.13
msrcazl3_kernel_6.6.64.2-9_on_azure_linux_3.0
msrcazl3_kernel_6.6.78.1-3_on_azure_linux_3.0
msrccbl2_kernel_5.15.179.1-1_on_cbl_mariner_2.0

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv8.8HIGH
vendor_ubuntu8.8HIGH
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.