VDB

CVE-2024-26964

CVE-2024-26964 PUBLISHED

usb: xhci: Add error handling in xhci_map_urb_for_dma

Reported by linux · Published May 1, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-headersAmazon Linux6.1.84-99.169.amzn2023
kernel-libbpfAmazon Linux6.1.84-99.169.amzn2023
perfAmazon Linux6.1.84-99.169.amzn2023
linux_kernellinux6.8.3, 6.7.12, 6.6.24, 6.1.84, 5.15.154
LinuxLinuxbe95cc6d71dfd0cba66e3621c65413321b398052, b2c898469dfc388f619c6c972a28466cbb1442ea, 962300a360d24c5be5a188cda48da58a37e4304d, 7b6cc33593d7ccfc3011b290849cfa899db46757, 620b6cf2f1a270f48d38e6b8ce199c1acb3e90f4, 4a49d24fdec0a802aa686a567a3989a9fdf4e5dd

Affected products

VendorProductVersions
LinuxLinux2017a1e58472a27e532b9644b4a61dfe18f6baac, 2017a1e58472a27e532b9644b4a61dfe18f6baac, 2017a1e58472a27e532b9644b4a61dfe18f6baac
LinuxLinux5.11, 0, 5.15.154
amazon:2023kernel-headers0
amazon:2023kernel-libbpf0
amazon:2023perf0
LinuxLinux6.1.84, 6.6.24, 6.7.12
amazon:2023kernel-libbpf-static0
amazon:2023python3-perf0
amazon:2023kernel-modules-extra-common0
amazon:2023bpftool0
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools-devel0
amazon:2023kernel-devel0
amazon:2023kernel-livepatch-6.1.84-99.1690
linuxlinux_kernel5.11, 5.11, 5.11
amazon:2023kernel0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-tools0

Timeline

  • May 1, 2024 EPSS Score (30 in total, the first dated here)
  • May 1, 2024 CVE Published
  • Oct 4, 2024 Coalition ESS Score (6 in total, the first dated here)
  • Dec 5, 2024 PoC Published (2 in total, the first dated here)
  • Jan 15, 2026 Security Advisory (329 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (291 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-26964
vulnetix vdb fixes CVE-2024-26964

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-26964/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›