Skip to content
DayZeroHub
High Not yet writtenCVSS 7CVE-2026-99510

CVE-2026-99510: media: hackrf: fix use-after-free in hackrf_alloc_urbs() error path

Linux Linux

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-99510: high-severity vulnerability (CVSS 7) in Linux Linux.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.

Affected products and versions

Linux Linux >= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < 8019a26c425f9434d879ce291b7e004cbda77410; Linux Linux >= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < 33ad76cb192cfff66a36d034d06b2ac7fab1cc22; Linux Linux >= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < 9166409615dc009bdb118dc205a89c81bf598308; Linux Linux >= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < caf376902c1f19783345e8bfec147bfdeac15bd5; Linux Linux >= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < ed8d9b2015afd540f6159ed272702a87f02fbd05; Linux Linux >= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < e9deece85062873763dfbb8b1121e722ef2959a0; Linux Linux >= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < ba097d24c56bc3c57a1173506c3c5a42d0f94988; Linux Linux >= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < 6802ad4b6b267dda02209b5811edac7825c8a5f6; Linux Linux 3.18; Linux Linux < 3.18; Linux Linux 5.10.275 (fixed in 5.10.275); Linux Linux 5.15.226 (fixed in 5.15.226)

ProductVersionsFixed in
Linux Linux>= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < 8019a26c425f9434d879ce291b7e004cbda77410—
Linux Linux>= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < 33ad76cb192cfff66a36d034d06b2ac7fab1cc22—
Linux Linux>= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < 9166409615dc009bdb118dc205a89c81bf598308—
Linux Linux>= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < caf376902c1f19783345e8bfec147bfdeac15bd5—
Linux Linux>= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < ed8d9b2015afd540f6159ed272702a87f02fbd05—
Linux Linux>= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < e9deece85062873763dfbb8b1121e722ef2959a0—
Linux Linux>= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < ba097d24c56bc3c57a1173506c3c5a42d0f94988—
Linux Linux>= 969ec1f6bd925092109eaf21501a9d64adfc7ad4, < 6802ad4b6b267dda02209b5811edac7825c8a5f6—
Linux Linux3.18—
Linux Linux< 3.18—
Linux Linux5.10.2755.10.275
Linux Linux5.15.2265.15.226
Linux Linux6.1.1936.1.193
Linux Linux6.6.1636.6.163
Linux Linux6.12.1176.12.117
Linux Linux6.18.616.18.61
Linux Linux7.3.27.3.2
Linux Linux7.4-rc17.4-rc1

Action recommended by the source

Upgrade to a fixed version: 5.10.275, 5.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1.

Fixed in: 5.10.275, 5.15.226, 6.1.193, 6.12.117, 6.18.61, 6.6.163, 7.3.2, 7.4-rc1

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Relevant change history

  1. Published

    Preliminary advisory published.