media: hackrf: fix use-after-free in hackrf_alloc_urbs() error path
CVE-2026-99510Published 19 Nov 2026, 14:44 UTC
Real-world risk
1.9/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.0
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Linux)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Linux kernelUbiquitous | = 3.18 | 7.4-rc1 |
What to do
Update to a fixed version: 7.4-rc1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 7), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.225
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.225 × threat 0.851.912
- Rounded to one decimal between 0.1 and 101.9
Exploitation and evidence timeline
- 19 Nov 2026 Published
- 3 Dec 2026 Risk 1.9 (cvss fallback)
Weakness
No weakness type given.
References
- https://git.kernel.org/stable/c/8019a26c425f9434d879ce291b7e004cbda77410
- https://git.kernel.org/stable/c/33ad76cb192cfff66a36d034d06b2ac7fab1cc22
- https://git.kernel.org/stable/c/9166409615dc009bdb118dc205a89c81bf598308
- https://git.kernel.org/stable/c/caf376902c1f19783345e8bfec147bfdeac15bd5
- https://git.kernel.org/stable/c/ed8d9b2015afd540f6159ed272702a87f02fbd05
- https://git.kernel.org/stable/c/e9deece85062873763dfbb8b1121e722ef2959a0
- https://git.kernel.org/stable/c/ba097d24c56bc3c57a1173506c3c5a42d0f94988
- https://git.kernel.org/stable/c/6802ad4b6b267dda02209b5811edac7825c8a5f6
- CVE-2026-99510 on CVE.org