What’s Vulnerable › Vulnerabilities
CVE-2026-99510: media: hackrf: fix use-after-free in hackrf_alloc_urbs() error path
- Severity: high (CVSS 7.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-11-19 · updated 2026-11-23
Description
In the Linux kernel, the following vulnerability has been resolved: media: hackrf: fix use-after-free in hackrf_alloc_urbs() error path hackrf_alloc_urbs() frees the URBs it allocated so far when one allocation fails, but leaves the entries in dev->urb_list[] and dev->urbs_initialized untouched. The caller, hackrf_start_streaming(), then calls hackrf_free_urbs() on the error path, which walks dev->urbs_initialized entries and calls usb_free_urb() a second time on the already-freed URBs, causing a use-after-free (slab-use-after-free Write in usb_free_urb()). Drop the redundant cleanup loop inside hackrf_alloc_urbs() and let hackrf_free_urbs(), which the caller already invokes on error, own the cleanup of the successfully allocated URBs.
Affected products
- Linux: 3.18 — fixed in 7.4-rc1
How to fix
Upgrade to a fixed version: Linux 7.4-rc1. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/33ad76cb192cfff66a36d034d06b2ac7fab1cc22
- https://git.kernel.org/stable/c/6802ad4b6b267dda02209b5811edac7825c8a5f6
- https://git.kernel.org/stable/c/8019a26c425f9434d879ce291b7e004cbda77410
- https://git.kernel.org/stable/c/9166409615dc009bdb118dc205a89c81bf598308
- https://git.kernel.org/stable/c/ba097d24c56bc3c57a1173506c3c5a42d0f94988
- https://git.kernel.org/stable/c/caf376902c1f19783345e8bfec147bfdeac15bd5
- https://git.kernel.org/stable/c/e9deece85062873763dfbb8b1121e722ef2959a0
- https://git.kernel.org/stable/c/ed8d9b2015afd540f6159ed272702a87f02fbd05
Get alerted when CVE-2026-99510 or the next vulnerability affects your stack