{"id":"CVE-2026-99510","aliases":[],"title":"media: hackrf: fix use-after-free in hackrf_alloc_urbs() error path","originalDescription":"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.","severity":{"cvss":7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","label":"high"},"exploitation":{"kev":null,"epss":{"score":0.00171,"percentile":0.06762},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=3.18.0, <6.12.117","fixed":"6.12.117"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.61","fixed":"6.18.61"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.2","fixed":"7.3.2"},{"ecosystem":"vendor","name":"Linux","range":">=969ec1f6bd925092109eaf21501a9d64adfc7ad4, <33ad76cb192cfff66a36d034d06b2ac7fab1cc22","fixed":"33ad76cb192cfff66a36d034d06b2ac7fab1cc22"},{"ecosystem":"vendor","name":"Linux","range":">=969ec1f6bd925092109eaf21501a9d64adfc7ad4, <6802ad4b6b267dda02209b5811edac7825c8a5f6","fixed":"6802ad4b6b267dda02209b5811edac7825c8a5f6"},{"ecosystem":"vendor","name":"Linux","range":">=969ec1f6bd925092109eaf21501a9d64adfc7ad4, <8019a26c425f9434d879ce291b7e004cbda77410","fixed":"8019a26c425f9434d879ce291b7e004cbda77410"},{"ecosystem":"vendor","name":"Linux","range":">=969ec1f6bd925092109eaf21501a9d64adfc7ad4, <9166409615dc009bdb118dc205a89c81bf598308","fixed":"9166409615dc009bdb118dc205a89c81bf598308"},{"ecosystem":"vendor","name":"Linux","range":">=969ec1f6bd925092109eaf21501a9d64adfc7ad4, <ba097d24c56bc3c57a1173506c3c5a42d0f94988","fixed":"ba097d24c56bc3c57a1173506c3c5a42d0f94988"},{"ecosystem":"vendor","name":"Linux","range":">=969ec1f6bd925092109eaf21501a9d64adfc7ad4, <caf376902c1f19783345e8bfec147bfdeac15bd5","fixed":"caf376902c1f19783345e8bfec147bfdeac15bd5"},{"ecosystem":"vendor","name":"Linux","range":">=969ec1f6bd925092109eaf21501a9d64adfc7ad4, <e9deece85062873763dfbb8b1121e722ef2959a0","fixed":"e9deece85062873763dfbb8b1121e722ef2959a0"},{"ecosystem":"vendor","name":"Linux","range":">=969ec1f6bd925092109eaf21501a9d64adfc7ad4, <ed8d9b2015afd540f6159ed272702a87f02fbd05","fixed":"ed8d9b2015afd540f6159ed272702a87f02fbd05"}],"references":[{"url":"https://git.kernel.org/stable/c/ed8d9b2015afd540f6159ed272702a87f02fbd05","type":"other"},{"url":"https://git.kernel.org/stable/c/e9deece85062873763dfbb8b1121e722ef2959a0","type":"other"},{"url":"https://git.kernel.org/stable/c/ba097d24c56bc3c57a1173506c3c5a42d0f94988","type":"other"},{"url":"https://git.kernel.org/stable/c/6802ad4b6b267dda02209b5811edac7825c8a5f6","type":"other"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"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","type":"advisory"},{"url":"https://git.kernel.org/stable/c/8019a26c425f9434d879ce291b7e004cbda77410","type":"other"},{"url":"https://git.kernel.org/stable/c/33ad76cb192cfff66a36d034d06b2ac7fab1cc22","type":"other"},{"url":"https://git.kernel.org/stable/c/9166409615dc009bdb118dc205a89c81bf598308","type":"other"},{"url":"https://git.kernel.org/stable/c/caf376902c1f19783345e8bfec147bfdeac15bd5","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.304Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99510","license":"NVD terms of use","firstSeenAt":"2026-11-19T15:43:48.192Z"},{"name":"osv","at":"2026-11-19T17:23:46.479Z","url":"https://osv.dev/vulnerability/CVE-2026-99510","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T17:23:46.438Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:55.084Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99510","license":"CVE Terms of Use","firstSeenAt":"2026-11-19T15:00:34.009Z"}],"firstSeenAt":"2026-11-19T15:00:34.009Z","publishedAt":"2026-11-19T14:44:06.436Z","modifiedAt":"2026-11-23T08:17:53.530Z"}