CVE-2023-52898

xhci: Fix null pointer dereference when host dies

MEDIUM
4.7
CVSS Score
Published: August 21, 2024 at 06:10 AM UTC
Updated: June 17, 2026 at 06:43 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.7
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: xhci: Fix null pointer dereference when host dies Make sure xhci_free_dev() and xhci_kill_endpoint_urbs() do not race and cause null pointer dereference when host suddenly dies. Usb core may call xhci_free_dev() which frees the xhci->devs[slot_id] virt device at the same time that xhci_kill_endpoint_urbs() tries to loop through all the device's endpoints, checking if there are any cancelled urbs left to give back. hold the xhci spinlock while freeing the virt device

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.19.2714.15 ≤ v < 4.19.2714.15 ≤ v < 5.10.1654.15 ≤ v < 5.15.904.15 ≤ v < 5.4.2304.15 ≤ v < 6.1.84.15 ≤ v < 6.24.20 ≤ v < 5.4.2305.11 ≤ v < 5.15.905.16 ≤ v < 6.1.85.5 ≤ v < 5.10.16511ec7588a10d4bc2e1e385ac565d2166d375fba16.2 rc16.2 rc26.2 rc36.2 rc4
Vendor states this is fixed in 081105213ff6f661c114781d469233c7d0e09c2e (fixed)
Vendor states this is fixed in 133b902378e4acbd824c29dd0d48570ad596e368 (fixed)
Vendor states this is fixed in 6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1 (fixed)
Vendor states this is fixed in a2bc47c43e70cf904b1af49f76d572326c08bca7 (fixed)
Vendor states this is fixed in c462ac871f49753eca86bb960f573b993976a5ea (fixed)
Vendor states this is fixed in ea2ee5e9991caf74e0604f994c1831a5867055b2 (fixed)
Vendor states this is fixed in 4.15 (unaffected)
Vendor states this is fixed in 4.19.271 (unaffected)
Vendor states this is fixed in 5.10.165 (unaffected)
Vendor states this is fixed in 5.15.90 (unaffected)
Vendor states this is fixed in 5.4.230 (unaffected)
Vendor states this is fixed in 6.1.8 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/081105213ff6f661c114781d469233c7d0e09c2e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/133b902378e4acbd824c29dd0d48570ad596e368
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6fac4b5cecb3928a0a81069aaa815a2edc8dd5a1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a2bc47c43e70cf904b1af49f76d572326c08bca7
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c462ac871f49753eca86bb960f573b993976a5ea
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/ea2ee5e9991caf74e0604f994c1831a5867055b2

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card