CVEvulnerability

CVE-2023-52898

4.7 MEDIUM Published 2024-08-21 Modified 2026-06-17 Official page ↗
Status
Analyzed
Published
2024-08-21
Last modified
2026-06-17
Assigner
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS 3.1 ([email protected])
4.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-476

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 configurations

• linux linux kernel (< 4.19.271) • linux linux kernel (>= 4.20 < 5.4.230) • linux linux kernel (>= 5.5 < 5.10.165) • linux linux kernel (>= 5.11 < 5.15.90) • linux linux kernel (>= 5.16 < 6.1.8) • linux linux kernel 6.2

Related

Weakness · CWE (1)

  • CWE-476 NULL Pointer Dereference weakness

References