{"id":"CVE-2026-99510","aliases":["CVE-2026-99510"],"related":[],"kind":"vulnerability","state":"published","title":"media: hackrf: fix use-after-free in hackrf_alloc_urbs() error path","summary":"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->urb_list[] and\ndev->urbs_initialized untouched. The caller, hackrf_start_streaming(),\nthen calls hackrf_free_urbs() on the error path, which walks\ndev->urbs_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->urb_list[] and\ndev->urbs_initialized untouched. The caller, hackrf_start_streaming(),\nthen calls hackrf_free_urbs() on the error path, which walks\ndev->urbs_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.","source":"cvelist"}],"published":"2026-11-19T14:44:06.436Z","modified":"2026-11-23T08:17:53.530Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"969ec1f6bd925092109eaf21501a9d64adfc7ad4","fixed":"8019a26c425f9434d879ce291b7e004cbda77410","status":"affected"},{"type":"git","introduced":"969ec1f6bd925092109eaf21501a9d64adfc7ad4","fixed":"33ad76cb192cfff66a36d034d06b2ac7fab1cc22","status":"affected"},{"type":"git","introduced":"969ec1f6bd925092109eaf21501a9d64adfc7ad4","fixed":"9166409615dc009bdb118dc205a89c81bf598308","status":"affected"},{"type":"git","introduced":"969ec1f6bd925092109eaf21501a9d64adfc7ad4","fixed":"caf376902c1f19783345e8bfec147bfdeac15bd5","status":"affected"},{"type":"git","introduced":"969ec1f6bd925092109eaf21501a9d64adfc7ad4","fixed":"ed8d9b2015afd540f6159ed272702a87f02fbd05","status":"affected"},{"type":"git","introduced":"969ec1f6bd925092109eaf21501a9d64adfc7ad4","fixed":"e9deece85062873763dfbb8b1121e722ef2959a0","status":"affected"},{"type":"git","introduced":"969ec1f6bd925092109eaf21501a9d64adfc7ad4","fixed":"ba097d24c56bc3c57a1173506c3c5a42d0f94988","status":"affected"},{"type":"git","introduced":"969ec1f6bd925092109eaf21501a9d64adfc7ad4","fixed":"6802ad4b6b267dda02209b5811edac7825c8a5f6","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.18","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/8019a26c425f9434d879ce291b7e004cbda77410","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/33ad76cb192cfff66a36d034d06b2ac7fab1cc22","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9166409615dc009bdb118dc205a89c81bf598308","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/caf376902c1f19783345e8bfec147bfdeac15bd5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ed8d9b2015afd540f6159ed272702a87f02fbd05","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e9deece85062873763dfbb8b1121e722ef2959a0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba097d24c56bc3c57a1173506c3c5a42d0f94988","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6802ad4b6b267dda02209b5811edac7825c8a5f6","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99510","url":"https://www.cve.org/CVERecord?id=CVE-2026-99510","licence":"CVE Terms of Use","modified":"2026-11-23T08:03:42.231Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99510","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99510","licence":"Public domain","modified":"2026-11-23T08:17:53.530Z"}],"updatedAt":"2026-11-25T22:59:52.097Z","epss":{"score":0.00151,"percentile":0.02228,"date":"2026-11-30T12:00:22.000Z"}}