In the Linux kernel, the following vulnerability has been resolved: usb: xhci: Add error handling in xhci_map_urb_for_dma Currently xhci_map_urb_for_dma() creates a temporary buffer and copies the SG list to the new linear buffer. But if the kzalloc_node() fails, then the following sg_pcopy_to_buffer() can lead to crash since it tries to memcpy to NULL pointer. So return -ENOMEM if kzalloc returns null pointer.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-01T05:19:28.437Z

Updated: 2024-08-02T00:21:05.629Z

Reserved: 2024-02-19T14:20:24.201Z

Link: CVE-2024-26964

cve-icon Vulnrichment

Updated: 2024-06-21T14:41:38.220Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-01T06:15:12.707

Modified: 2024-05-01T13:02:20.750

Link: CVE-2024-26964

cve-icon Redhat

Severity : Low

Publid Date: 2024-05-01T00:00:00Z

Links: CVE-2024-26964 - Bugzilla