CVE-2024-26964

MEDIUM

Linux Kernel 5.11-6.8.2 Null Pointer Dereference in xhci_map_urb_for_dma

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 5.5
EPSS 0.0022
EPSS Percentile 13.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (20)
linux/Kernel 5.11.0 - 5.15.154linux
linux/Kernel 5.16.0 - 6.1.84linux
linux/Kernel 6.2.0 - 6.6.24linux
linux/Kernel 6.7.0 - 6.7.12linux
linux/Kernel 6.8.0 - 6.8.3linux
Linux/Linux < 5.11
Linux/Linux 2017a1e58472a27e532b9644b4a61dfe18f6baac - 4a49d24fdec0a802aa686a567a3989a9fdf4e5dd
Linux/Linux 2017a1e58472a27e532b9644b4a61dfe18f6baac - 620b6cf2f1a270f48d38e6b8ce199c1acb3e90f4
Linux/Linux 2017a1e58472a27e532b9644b4a61dfe18f6baac - 7b6cc33593d7ccfc3011b290849cfa899db46757
Linux/Linux 2017a1e58472a27e532b9644b4a61dfe18f6baac - 962300a360d24c5be5a188cda48da58a37e4304d
... and 10 more
Published May 01, 2024
Tracked Since Feb 18, 2026