CVE-2026-99510

Source
https://cve.org/CVERecord?id=CVE-2026-99510
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99510.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-99510
Downstream
Published
2026-11-19T14:44:06Z
Modified
2026-11-19T17:01:26Z
Summary
media: hackrf: fix use-after-free in hackrf_alloc_urbs() error path
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99510.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
969ec1f6bd925092109eaf21501a9d64adfc7ad4
Fixed
ed8d9b2015afd540f6159ed272702a87f02fbd05
Fixed
e9deece85062873763dfbb8b1121e722ef2959a0
Fixed
ba097d24c56bc3c57a1173506c3c5a42d0f94988
Fixed
6802ad4b6b267dda02209b5811edac7825c8a5f6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99510.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.18.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.61
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99510.json"