media: hackrf: fix use-after-free in hackrf_alloc_urbs() error path (Linux Linux)

CVE-2026-99510
HIGH 7.0

En bref

Source
NVD
EPSS
EPSS 0.17 % · centile 7 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 969ec1f6bd925092109eaf21501a9d64adfc7ad4 < 8019a26c425f9434d879ce291b7e004cbda77410
affectée : ≥ 969ec1f6bd925092109eaf21501a9d64adfc7ad4 < 33ad76cb192cfff66a36d034d06b2ac7fab1cc22
affectée : ≥ 969ec1f6bd925092109eaf21501a9d64adfc7ad4 < 9166409615dc009bdb118dc205a89c81bf598308
affectée : ≥ 969ec1f6bd925092109eaf21501a9d64adfc7ad4 < caf376902c1f19783345e8bfec147bfdeac15bd5
affectée : ≥ 969ec1f6bd925092109eaf21501a9d64adfc7ad4 < ed8d9b2015afd540f6159ed272702a87f02fbd05
affectée : ≥ 969ec1f6bd925092109eaf21501a9d64adfc7ad4 < e9deece85062873763dfbb8b1121e722ef2959a0
affectée : ≥ 969ec1f6bd925092109eaf21501a9d64adfc7ad4 < ba097d24c56bc3c57a1173506c3c5a42d0f94988
affectée : ≥ 969ec1f6bd925092109eaf21501a9d64adfc7ad4 < 6802ad4b6b267dda02209b5811edac7825c8a5f6
Autres versions : non affectée
Linux · Linux
affectée : 3.18
non affectée : ≥ 0 < 3.18
non affectée : ≥ 5.10.275 ≤ 5.10.*
non affectée : ≥ 5.15.226 ≤ 5.15.*
non affectée : ≥ 6.1.193 ≤ 6.1.*
non affectée : ≥ 6.6.163 ≤ 6.6.*
non affectée : ≥ 6.12.117 ≤ 6.12.*
non affectée : ≥ 6.18.61 ≤ 6.18.*
non affectée : ≥ 7.3.2 ≤ 7.3.*
non affectée : ≥ 7.4-rc1 ≤ *
Autres versions : affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD