CVE-2023-52898

Medium

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

Package Linux Kernel
Published 2024-08-21
Last modified 2024-09-13
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

4.7

out of 10
Medium
Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-476

CVE-2023-52898 is a NULL Pointer Dereference vulnerability

What is NULL Pointer Dereference?

The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. Learn more on MITRE CWE

Affected versions

Linux kernel versions 4.15 and later are affected. Fixed in 4.19.271, 5.4.230, 5.10.165, 5.15.90, 6.1.8, 6.2 and their respective stable series.

Affected from
≥ 4.15
Fixed in
✓ 4.19.271 4.19.x ✓ 5.4.230 5.4.x ✓ 5.10.165 5.10.x ✓ 5.15.90 5.15.x ✓ 6.1.8 6.1.x ✓ 6.2

Frequently asked questions

  • What is CVE-2023-52898?

    CVE-2023-52898 is a Medium severity Linux kernel vulnerability with a CVSS score of 4.7 out of 10 , classified as a NULL Pointer Dereference flaw (CWE-476) . It affects Linux kernel versions from 4.15 onward and has been patched in 4.19.271, 5.4.230, 5.10.165 and others. CVE-2023-52898 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2023-52898?

    CVE-2023-52898 has a CVSS score of 4.7 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2023-52898?

    Yes. CVE-2023-52898 has been patched. Fixed versions include 4.19.271, 5.4.230, 5.10.165 and others. If you are running Linux kernel 4.15 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2023-52898 actively exploited?

    No. CVE-2023-52898 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.