CVE-2023-52898

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
21/08/2024
Last modified:
13/09/2024

Description

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

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.19.271 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.20 (including) 5.4.230 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.165 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.90 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 6.1.8 (excluding)
cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.2:rc4:*:*:*:*:*:*