Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-99510

published high CVSS 3.1 · 7.0

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

Published
19 Nov 2026, 14:44:06 UTC
Updated
23 Nov 2026, 08:03:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < 8019a26c425f9434d879ce291b7e004cbda77410 · 969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < 33ad76cb192cfff66a36d034d06b2ac7fab1cc22 · 969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < 9166409615dc009bdb118dc205a89c81bf598308 · 969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < caf376902c1f19783345e8bfec147bfdeac15bd5 · 969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < ed8d9b2015afd540f6159ed272702a87f02fbd05 · 969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < e9deece85062873763dfbb8b1121e722ef2959a0 · 969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < ba097d24c56bc3c57a1173506c3c5a42d0f94988 · 969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < 6802ad4b6b267dda02209b5811edac7825c8a5f6 · Other versions: unaffected Affected Not stated Linux
Linux — Linux3.18 (affected) · 0 to < 3.18 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.61 through 6.18.* (unaffected · semver) · 7.3.2 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux-6.12 Advisory build 6.12.117-1~deb12u1 DLA-4927-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-develppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-devels390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
Show 13 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed kernel-develx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macross390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-macrosx86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourceppc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sources390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-sourcex86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillaaarch64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillappc64le Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillas390x Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1
SUSE / openSUSE openSUSE-Tumbleweed kernel-source-vanillax86_64 Advisory build 7.3.6-2.1 OPENSUSE-SU-2026:12733-1

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

2

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.0 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: 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. AC: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. PR: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. UI: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(). S: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. C: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. I: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. A: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.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < 8019a26c425f9434d879ce291b7e004cbda77410 (affected · git)969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < 33ad76cb192cfff66a36d034d06b2ac7fab1cc22 (affected · git)969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < 9166409615dc009bdb118dc205a89c81bf598308 (affected · git)969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < caf376902c1f19783345e8bfec147bfdeac15bd5 (affected · git)969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < ed8d9b2015afd540f6159ed272702a87f02fbd05 (affected · git)969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < e9deece85062873763dfbb8b1121e722ef2959a0 (affected · git)969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < ba097d24c56bc3c57a1173506c3c5a42d0f94988 (affected · git)969ec1f6bd925092109eaf21501a9d64adfc7ad4 to < 6802ad4b6b267dda02209b5811edac7825c8a5f6 (affected · git)Default: unaffected Linux · cna
Linux Linux 3.18 (affected)0 to < 3.18 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.61 through 6.18.* (unaffected · semver)7.3.2 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

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

Provenance

Schema
5.2
Searchable
yes
Content hash
7fbe36e653e48007726a28047b0aabc53fc58291ffaadb4acf6c20ab082dd90a
Ingested
23 Nov 2026, 14:35:29 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected