CVE-2026-99510 (GCVE-0-2026-99510)
Vulnerability from cvelistv5 – Published: 2026-11-19 14:44 – Updated: 2026-11-23 08:03
VLAI
EPSS
VEX
Title
media: hackrf: fix use-after-free in hackrf_alloc_urbs() error path
Summary
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.
Severity
Assigner
References
8 references
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Linux | Linux |
Affected:
969ec1f6bd925092109eaf21501a9d64adfc7ad4 , < 8019a26c425f9434d879ce291b7e004cbda77410
(git)
Affected: 969ec1f6bd925092109eaf21501a9d64adfc7ad4 , < 33ad76cb192cfff66a36d034d06b2ac7fab1cc22 (git) Affected: 969ec1f6bd925092109eaf21501a9d64adfc7ad4 , < 9166409615dc009bdb118dc205a89c81bf598308 (git) Affected: 969ec1f6bd925092109eaf21501a9d64adfc7ad4 , < caf376902c1f19783345e8bfec147bfdeac15bd5 (git) Affected: 969ec1f6bd925092109eaf21501a9d64adfc7ad4 , < ed8d9b2015afd540f6159ed272702a87f02fbd05 (git) Affected: 969ec1f6bd925092109eaf21501a9d64adfc7ad4 , < e9deece85062873763dfbb8b1121e722ef2959a0 (git) Affected: 969ec1f6bd925092109eaf21501a9d64adfc7ad4 , < ba097d24c56bc3c57a1173506c3c5a42d0f94988 (git) Affected: 969ec1f6bd925092109eaf21501a9d64adfc7ad4 , < 6802ad4b6b267dda02209b5811edac7825c8a5f6 (git) |
|
| Linux | Linux |
Affected:
3.18
Unaffected: 0 , < 3.18 (semver) Unaffected: 5.10.275 , ≤ 5.10.* (semver) Unaffected: 5.15.226 , ≤ 5.15.* (semver) Unaffected: 6.1.193 , ≤ 6.1.* (semver) Unaffected: 6.6.163 , ≤ 6.6.* (semver) Unaffected: 6.12.117 , ≤ 6.12.* (semver) Unaffected: 6.18.61 , ≤ 6.18.* (semver) Unaffected: 7.3.2 , ≤ 7.3.* (semver) Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix) |
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/media/usb/hackrf/hackrf.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "8019a26c425f9434d879ce291b7e004cbda77410",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
},
{
"lessThan": "33ad76cb192cfff66a36d034d06b2ac7fab1cc22",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
},
{
"lessThan": "9166409615dc009bdb118dc205a89c81bf598308",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
},
{
"lessThan": "caf376902c1f19783345e8bfec147bfdeac15bd5",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
},
{
"lessThan": "ed8d9b2015afd540f6159ed272702a87f02fbd05",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
},
{
"lessThan": "e9deece85062873763dfbb8b1121e722ef2959a0",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
},
{
"lessThan": "ba097d24c56bc3c57a1173506c3c5a42d0f94988",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
},
{
"lessThan": "6802ad4b6b267dda02209b5811edac7825c8a5f6",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/media/usb/hackrf/hackrf.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "3.18"
},
{
"lessThan": "3.18",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.275",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.226",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.275",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.15.226",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.1.193",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.6.163",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.12.117",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "6.18.61",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.3.2",
"versionStartIncluding": "3.18",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.4-rc1",
"versionStartIncluding": "3.18",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: hackrf: fix use-after-free in hackrf_alloc_urbs() error path\n\nhackrf_alloc_urbs() frees the URBs it allocated so far when one\nallocation fails, but leaves the entries in dev-\u003eurb_list[] and\ndev-\u003eurbs_initialized untouched. The caller, hackrf_start_streaming(),\nthen calls hackrf_free_urbs() on the error path, which walks\ndev-\u003eurbs_initialized entries and calls usb_free_urb() a second time on\nthe already-freed URBs, causing a use-after-free (slab-use-after-free\nWrite in usb_free_urb()).\n\nDrop the redundant cleanup loop inside hackrf_alloc_urbs() and let\nhackrf_free_urbs(), which the caller already invokes on error, own the\ncleanup of the successfully allocated URBs."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "AV:L - hackrf_alloc_urbs() is reached only from hackrf_start_streaming(), which vb2_start_streaming() runs for VIDIOC_STREAMON (vb2_ioctl_streamon) or read()/write() (vb2_fop_read/vb2_fop_write) on the /dev/swradio node from video_register_device() in hackrf_probe(). The double-free is that error path when usb_alloc_urb() returns NULL; no USB packet or remote message carries the bad input.\nAC:H - The second usb_free_urb() happens only if usb_alloc_urb(0, GFP_KERNEL) fails for a later index after at least one success, and only after hackrf_alloc_stream_bufs() has already allocated six 64KB coherent buffers. An order-0 GFP_KERNEL failure after those costly DMA allocations is not a state the caller can produce on demand.\nPR:L - hackrf_fops.open is v4l2_fh_open and the VIDIOC_STREAMON path has no capable() check, so the gate is permission to open /dev/swradioN. The kernel creates that node mode 0600 and video4linux udev grants it to the video group and the active seat, which a normal local user has, without CAP_SYS_ADMIN.\nUI:N - The same process that opens /dev/swradioN calls VIDIOC_STREAMON or read()/write() and thereby hackrf_start_streaming(). hackrf_probe() stops after CMD_BOARD_ID_READ and CMD_VERSION_STRING_READ and never calls hackrf_alloc_urbs().\nS:U - kref_put() in the second usb_free_urb() corrupts a freed struct urb inside the kernel that handled the V4L2 ioctl, the same security authority as the caller.\nC:H - hackrf_free_urbs() calls usb_free_urb() on urb_list entries that hackrf_alloc_urbs() already freed, and kref_put() writes that freed struct urb. The object contains kernel pointers (transfer_buffer, dev, complete); reclaiming the slab slot turns the use-after-free into a kernel memory read.\nI:H - The second kref_put() writes the kref at the start of the freed urb, and if a reclaim leaves that word at 1, urb_destroy() kfree()s the object again and kfree()s transfer_buffer when URB_FREE_BUFFER is set.\nA:H - That kref_put() is a slab use-after-free write in usb_free_urb(). It corrupts allocator metadata or hits refcount saturation on the freed urb and oopses the kernel."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-23T08:03:42.231Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/8019a26c425f9434d879ce291b7e004cbda77410"
},
{
"url": "https://git.kernel.org/stable/c/33ad76cb192cfff66a36d034d06b2ac7fab1cc22"
},
{
"url": "https://git.kernel.org/stable/c/9166409615dc009bdb118dc205a89c81bf598308"
},
{
"url": "https://git.kernel.org/stable/c/caf376902c1f19783345e8bfec147bfdeac15bd5"
},
{
"url": "https://git.kernel.org/stable/c/ed8d9b2015afd540f6159ed272702a87f02fbd05"
},
{
"url": "https://git.kernel.org/stable/c/e9deece85062873763dfbb8b1121e722ef2959a0"
},
{
"url": "https://git.kernel.org/stable/c/ba097d24c56bc3c57a1173506c3c5a42d0f94988"
},
{
"url": "https://git.kernel.org/stable/c/6802ad4b6b267dda02209b5811edac7825c8a5f6"
}
],
"title": "media: hackrf: fix use-after-free in hackrf_alloc_urbs() error path",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-99510",
"datePublished": "2026-11-19T14:44:06.436Z",
"dateReserved": "2026-09-25T10:25:14.419Z",
"dateUpdated": "2026-11-23T08:03:42.231Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-99510",
"date": "2026-11-22",
"epss": "0.00213",
"percentile": "0.11654"
},
"microsoft_vex": {
"current_release_date": "2026-11-21T01:20:01.000Z",
"cve": "CVE-2026-99510",
"id": "msrc_CVE-2026-99510",
"initial_release_date": "2026-11-21T01:20:01.000Z",
"product_status:known_affected": "1",
"source": "Microsoft CSAF VEX",
"status": "final",
"title": "media: hackrf: fix use-after-free in hackrf_alloc_urbs() error path",
"url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99510.json",
"version": "1"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/media/usb/hackrf/hackrf.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "8019a26c425f9434d879ce291b7e004cbda77410",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
},
{
"lessThan": "33ad76cb192cfff66a36d034d06b2ac7fab1cc22",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
},
{
"lessThan": "9166409615dc009bdb118dc205a89c81bf598308",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
},
{
"lessThan": "caf376902c1f19783345e8bfec147bfdeac15bd5",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
},
{
"lessThan": "ed8d9b2015afd540f6159ed272702a87f02fbd05",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
},
{
"lessThan": "e9deece85062873763dfbb8b1121e722ef2959a0",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
},
{
"lessThan": "ba097d24c56bc3c57a1173506c3c5a42d0f94988",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
},
{
"lessThan": "6802ad4b6b267dda02209b5811edac7825c8a5f6",
"status": "affected",
"version": "969ec1f6bd925092109eaf21501a9d64adfc7ad4",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/media/usb/hackrf/hackrf.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "3.18"
},
{
"lessThan": "3.18",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.275",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"version": "5.15.226",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"version": "6.1.193",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"version": "6.6.163",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.12.*",
"status": "unaffected",
"version": "6.12.117",
"versionType": "semver"
},
{
"lessThanOrEqual": "6.18.*",
"status": "unaffected",
"version": "6.18.61",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: hackrf: fix use-after-free in hackrf_alloc_urbs() error path\n\nhackrf_alloc_urbs() frees the URBs it allocated so far when one\nallocation fails, but leaves the entries in dev-\u003eurb_list[] and\ndev-\u003eurbs_initialized untouched. The caller, hackrf_start_streaming(),\nthen calls hackrf_free_urbs() on the error path, which walks\ndev-\u003eurbs_initialized entries and calls usb_free_urb() a second time on\nthe already-freed URBs, causing a use-after-free (slab-use-after-free\nWrite in usb_free_urb()).\n\nDrop the redundant cleanup loop inside hackrf_alloc_urbs() and let\nhackrf_free_urbs(), which the caller already invokes on error, own the\ncleanup of the successfully allocated URBs."
}
],
"id": "CVE-2026-99510",
"lastModified": "2026-11-23T08:17:53.530",
"metrics": {
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "HIGH",
"attackVector": "LOCAL",
"availabilityImpact": "HIGH",
"baseScore": 7.0,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "LOW",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.0,
"impactScore": 5.9,
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"type": "Secondary"
}
]
},
"published": "2026-11-19T15:18:06.367",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/33ad76cb192cfff66a36d034d06b2ac7fab1cc22"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/6802ad4b6b267dda02209b5811edac7825c8a5f6"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/8019a26c425f9434d879ce291b7e004cbda77410"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/9166409615dc009bdb118dc205a89c81bf598308"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/ba097d24c56bc3c57a1173506c3c5a42d0f94988"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/caf376902c1f19783345e8bfec147bfdeac15bd5"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/e9deece85062873763dfbb8b1121e722ef2959a0"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/ed8d9b2015afd540f6159ed272702a87f02fbd05"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-22T11:33:55+00:00",
"cve": "CVE-2026-99510",
"id": "CVE-2026-99510",
"initial_release_date": "2026-11-19T14:44:06.436000+00:00",
"product_status:known_not_affected": "204",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "kernel: kernel: Denial of Service via use-after-free in HackRF driver",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99510.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…