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-99297

published high CVSS 3.1 · 7.8

media: em28xx: fix double free in em28xx_alloc_urbs

Published
16 Nov 2026, 09:59:24 UTC
Updated
23 Nov 2026, 08:01:02 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxd571b592c6206d33731f41aa710fa0f69ac8611b to < c4ca656ac8f6ee0808fb6789b1b7abc50acb7b3a · d571b592c6206d33731f41aa710fa0f69ac8611b to < 504fa5e460aa0f0b9b1aa4958c291ad3f0f5faa1 · d571b592c6206d33731f41aa710fa0f69ac8611b to < 7e88a3d81166e669d940ac8c1033b8b196d79ba8 · d571b592c6206d33731f41aa710fa0f69ac8611b to < 8eaa3f63541dd03ae0457d89dc3e891f37412354 · d571b592c6206d33731f41aa710fa0f69ac8611b to < 9bc203322dbc8c2fe608555e387d4b493c4da2ef · d571b592c6206d33731f41aa710fa0f69ac8611b to < ecf511b8157e0648080bdae37f4f2eb98328c4b2 · d571b592c6206d33731f41aa710fa0f69ac8611b to < 660c91b3100c949a0c33faf9d659d1c786ccd1ee · d571b592c6206d33731f41aa710fa0f69ac8611b to < fd427b8adae437cac78a2332241a03cac56e95c2 · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.17 (affected) · 0 to < 4.17 (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.63 through 6.18.* (unaffected · semver) · 7.3.4 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: em28xx: fix double free in em28xx_alloc_urbs When allocation of usb_bufs->buf[i] fails, em28xx_alloc_urbs() explicitly frees all items within usb_bufs->buf before calling em28xx_uninit_usb_xfer(), which also frees these items, causing them to be freed twice. BUG: KASAN: double-free in usb_free_urb.part.0 (drivers/usb/core/urb.c:25 ./include/linux/kref.h:65 drivers/usb/core/urb.c:96) Free of addr ffff88802fd37c00 by task kworker/1:2/1182 Workqueue: events request_module_async Call Trace: kasan_report_invalid_free (mm/kasan/report.c:557) check_slab_allocation (mm/kasan/common.c:235) kfree (./include/linux/kasan.h:199 (discriminator 1) mm/slub.c:2693 (discriminator 1) mm/slub.c:6508 (discriminator 1) mm/slub.c:6801 (discriminator 1)) usb_free_urb.part.0 (drivers/usb/core/urb.c:25 ./include/linux/kref.h:65 drivers/usb/core/urb.c:96) usb_free_urb (drivers/usb/core/urb.c:95) em28xx_uninit_usb_xfer (drivers/media/usb/em28xx/em28xx-core.c:964) em28xx_alloc_urbs (drivers/media/usb/em28xx/em28xx-core.c:1076) em28xx_dvb_init (drivers/media/usb/em28xx/em28xx-dvb.c:1734 drivers/media/usb/em28xx/em28xx-dvb.c:1698) em28xx_init_extension (drivers/media/usb/em28xx/em28xx-core.c:1248) request_module_async (drivers/media/usb/em28xx/em28xx-cards.c:3685) process_one_work (kernel/workqueue.c:3396) worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) Allocated by task 1182: kasan_save_stack (mm/kasan/common.c:57) kasan_save_track (mm/kasan/common.c:78) __kasan_kmalloc (mm/kasan/common.c:398 mm/kasan/common.c:415) __kmalloc_noprof (./include/linux/kasan.h:263 mm/slub.c:5414 mm/slub.c:5439) em28xx_alloc_urbs (./include/linux/slab.h:995 ./include/linux/slab.h:1312 drivers/media/usb/em28xx/em28xx-core.c:1081) em28xx_dvb_init (drivers/media/usb/em28xx/em28xx-dvb.c:1734 drivers/media/usb/em28xx/em28xx-dvb.c:1698) em28xx_init_extension (drivers/media/usb/em28xx/em28xx-core.c:1248) request_module_async (drivers/media/usb/em28xx/em28xx-cards.c:3685) process_one_work (kernel/workqueue.c:3396) worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) Freed by task 1182: kasan_save_stack (mm/kasan/common.c:57) kasan_save_track (mm/kasan/common.c:78) kasan_save_free_info (mm/kasan/generic.c:584) __kasan_slab_free (mm/kasan/common.c:253 mm/kasan/common.c:285) kfree (./include/linux/kasan.h:235 mm/slub.c:2748 mm/slub.c:6508 mm/slub.c:6801) em28xx_alloc_urbs (drivers/media/usb/em28xx/em28xx-core.c:1084) em28xx_dvb_init (drivers/media/usb/em28xx/em28xx-dvb.c:1734 drivers/media/usb/em28xx/em28xx-dvb.c:1698) em28xx_init_extension (drivers/media/usb/em28xx/em28xx-core.c:1248) request_module_async (drivers/media/usb/em28xx/em28xx-cards.c:3685) process_one_work (kernel/workqueue.c:3396) worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560) kthread (kernel/kthread.c:436) ret_from_fork (arch/x86/kernel/process.c:158) ret_from_fork_asm (arch/x86/entry/entry_64.S:245) Remove the explicit cleanup loop and let em28xx_uninit_usb_xfer() handle the cleanup.

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.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - em28xx_alloc_urbs() double-frees usb_bufs->buf[i] only when kzalloc(sb_size) fails. A local user hits that from VIDIOC_STREAMON: vb2_ioctl_streamon() -> em28xx_start_analog_streaming() -> em28xx_init_usb_xfer(EM28XX_ANALOG_MODE). No USB packet or remote protocol message carries the failing allocation. AC:L - The same process retries VIDIOC_STREAMON while exhausting GFP_KERNEL memory so a later kzalloc(sb_size) fails after an earlier loop pass stored buf[j], set URB_FREE_BUFFER, and pointed urb->transfer_buffer at it. sb_size is 384*512 (bulk) or 64*alt_max_pkt_size_isoc. Both frees then run in that error path with no victim-side race. PR:L - em28xx_v4l2_open() calls v4l2_fh_open() and vb2_ioctl_streamon() performs no capable() check. Access is the em28xx /dev/video node, which udev uaccess or the video group grants to an unprivileged seated user; init-namespace root is not required. UI:N - The attacker opens the already-registered em28xx /dev/video node and issues VIDIOC_STREAMON, or a vb2 read because io_modes includes VB2_READ, while applying the memory pressure itself. S:U - The duplicate kfree is of the host kernel transfer buffer usb_bufs->buf[i] inside the em28xx driver. Escalation stays in that kernel; it does not cross a KVM/Xen guest boundary or bypass an IOMMU. C:H - After at least one successful iteration, the failure path kfree()s usb_bufs->buf[j] and em28xx_uninit_usb_xfer() calls usb_free_urb(), whose urb_destroy() kfree()s urb->transfer_buffer again because URB_FREE_BUFFER is set. Returning that slot twice lets a later allocation alias it and disclose kernel memory. I:H - The urb_destroy() second kfree of the same transfer_buffer corrupts the SLUB or buddy freelist for that object. An overlapping allocation can write through the alias into live kernel memory and overwrite function pointers, giving a control-flow hijack primitive. A:H - The reported trace is a KASAN double-free in usb_free_urb() from em28xx_uninit_usb_xfer() called by em28xx_alloc_urbs() in em28xx_dvb_init()/request_module_async. Without KASAN the second free trips a hardened freelist BUG or oopses, and STREAMON can be repeated.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux d571b592c6206d33731f41aa710fa0f69ac8611b to < c4ca656ac8f6ee0808fb6789b1b7abc50acb7b3a (affected · git)d571b592c6206d33731f41aa710fa0f69ac8611b to < 504fa5e460aa0f0b9b1aa4958c291ad3f0f5faa1 (affected · git)d571b592c6206d33731f41aa710fa0f69ac8611b to < 7e88a3d81166e669d940ac8c1033b8b196d79ba8 (affected · git)d571b592c6206d33731f41aa710fa0f69ac8611b to < 8eaa3f63541dd03ae0457d89dc3e891f37412354 (affected · git)d571b592c6206d33731f41aa710fa0f69ac8611b to < 9bc203322dbc8c2fe608555e387d4b493c4da2ef (affected · git)d571b592c6206d33731f41aa710fa0f69ac8611b to < ecf511b8157e0648080bdae37f4f2eb98328c4b2 (affected · git)d571b592c6206d33731f41aa710fa0f69ac8611b to < 660c91b3100c949a0c33faf9d659d1c786ccd1ee (affected · git)d571b592c6206d33731f41aa710fa0f69ac8611b to < fd427b8adae437cac78a2332241a03cac56e95c2 (affected · git)Default: unaffected Linux · cna
Linux Linux 4.17 (affected)0 to < 4.17 (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.63 through 6.18.* (unaffected · semver)7.3.4 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: em28xx: fix double free in em28xx_alloc_urbs

Provenance

Schema
5.2
Searchable
yes
Content hash
0435217dd4d3336974d27114f25fd153f4acb711bda8a6e7513c630c4cac9130
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