CVE-2024-26964

Source
https://cve.org/CVERecord?id=CVE-2024-26964
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26964.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-26964
Downstream
Related
Published
2024-05-01T05:19:28.437Z
Modified
2026-03-13T07:52:00.853425Z
Summary
usb: xhci: Add error handling in xhci_map_urb_for_dma
Details

In the Linux kernel, the following vulnerability has been resolved:

usb: xhci: Add error handling in xhcimapurbfordma

Currently xhcimapurbfordma() creates a temporary buffer and copies the SG list to the new linear buffer. But if the kzallocnode() fails, then the following sgpcopytobuffer() can lead to crash since it tries to memcpy to NULL pointer.

So return -ENOMEM if kzalloc returns null pointer.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26964.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2017a1e58472a27e532b9644b4a61dfe18f6baac
Fixed
4a49d24fdec0a802aa686a567a3989a9fdf4e5dd
Fixed
b2c898469dfc388f619c6c972a28466cbb1442ea
Fixed
620b6cf2f1a270f48d38e6b8ce199c1acb3e90f4
Fixed
962300a360d24c5be5a188cda48da58a37e4304d
Fixed
7b6cc33593d7ccfc3011b290849cfa899db46757
Fixed
be95cc6d71dfd0cba66e3621c65413321b398052

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26964.json"