{"id":"CVE-2026-99510","summary":"media: hackrf: fix use-after-free in hackrf_alloc_urbs() error path","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: hackrf: fix use-after-free in hackrf_alloc_urbs() error path\n\nhackrf_alloc_urbs() frees the URBs it allocated so far when one\nallocation fails, but leaves the entries in dev-\u003eurb_list[] and\ndev-\u003eurbs_initialized untouched. The caller, hackrf_start_streaming(),\nthen calls hackrf_free_urbs() on the error path, which walks\ndev-\u003eurbs_initialized entries and calls usb_free_urb() a second time on\nthe already-freed URBs, causing a use-after-free (slab-use-after-free\nWrite in usb_free_urb()).\n\nDrop the redundant cleanup loop inside hackrf_alloc_urbs() and let\nhackrf_free_urbs(), which the caller already invokes on error, own the\ncleanup of the successfully allocated URBs.","modified":"2026-11-19T17:01:26.729284852Z","published":"2026-11-19T14:44:06.436Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99510.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6802ad4b6b267dda02209b5811edac7825c8a5f6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba097d24c56bc3c57a1173506c3c5a42d0f94988"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e9deece85062873763dfbb8b1121e722ef2959a0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ed8d9b2015afd540f6159ed272702a87f02fbd05"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99510.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99510"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"969ec1f6bd925092109eaf21501a9d64adfc7ad4"},{"fixed":"ed8d9b2015afd540f6159ed272702a87f02fbd05"},{"fixed":"e9deece85062873763dfbb8b1121e722ef2959a0"},{"fixed":"ba097d24c56bc3c57a1173506c3c5a42d0f94988"},{"fixed":"6802ad4b6b267dda02209b5811edac7825c8a5f6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99510.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.18.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99510.json"}}],"schema_version":"1.9.2"}