{"id":"CVE-2024-26964","published":"2024-05-01T05:19:28Z","modified":"2026-05-11T20:07:47Z","title":"usb: xhci: Add error handling in xhci_map_urb_for_dma","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: xhci: Add error handling in xhci_map_urb_for_dma\n\nCurrently xhci_map_urb_for_dma() creates a temporary buffer and copies\nthe SG list to the new linear buffer. But if the kzalloc_node() fails,\nthen the following sg_pcopy_to_buffer() can lead to crash since it\ntries to memcpy to NULL pointer.\n\nSo return -ENOMEM if kzalloc returns null pointer.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0023,"percentile":0.14169,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4a49d24fdec0a802aa686a567a3989a9fdf4e5dd","tags":[]},{"url":"https://git.kernel.org/stable/c/b2c898469dfc388f619c6c972a28466cbb1442ea","tags":[]},{"url":"https://git.kernel.org/stable/c/620b6cf2f1a270f48d38e6b8ce199c1acb3e90f4","tags":[]},{"url":"https://git.kernel.org/stable/c/962300a360d24c5be5a188cda48da58a37e4304d","tags":[]},{"url":"https://git.kernel.org/stable/c/7b6cc33593d7ccfc3011b290849cfa899db46757","tags":[]},{"url":"https://git.kernel.org/stable/c/be95cc6d71dfd0cba66e3621c65413321b398052","tags":[]}],"priority":{"score":2.8,"factors":[{"name":"EPSS percentile","points":2.83}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 2017a1e58472a27e532b9644b4a61dfe18f6baac, < 4a49d24fdec0a802aa686a567a3989a9fdf4e5dd",">= 2017a1e58472a27e532b9644b4a61dfe18f6baac, < b2c898469dfc388f619c6c972a28466cbb1442ea",">= 2017a1e58472a27e532b9644b4a61dfe18f6baac, < 620b6cf2f1a270f48d38e6b8ce199c1acb3e90f4",">= 2017a1e58472a27e532b9644b4a61dfe18f6baac, < 962300a360d24c5be5a188cda48da58a37e4304d",">= 2017a1e58472a27e532b9644b4a61dfe18f6baac, < 7b6cc33593d7ccfc3011b290849cfa899db46757",">= 2017a1e58472a27e532b9644b4a61dfe18f6baac, < be95cc6d71dfd0cba66e3621c65413321b398052"]},{"vendor":"Linux","product":"Linux","versions":["5.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-21T14:41:33.785567Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24226","exploited":false,"provenance":"source"}}