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

published high CVSS 3.1 · 7.0

usb: gadget: f_fs: Fix fence cleanup in ffs_dmabuf_transfer() error paths

Published
17 Sep 2026, 16:11:27 UTC
Updated
19 Oct 2026, 09:05:54 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux7b07a2a7ca02a20124b552be96c5a56910795488 to < be539138d9a187af3b884525a395db10797c64f1 · 7b07a2a7ca02a20124b552be96c5a56910795488 to < 5fd8baacc7dc477df9cac61b45491840247a9b1e · 7b07a2a7ca02a20124b552be96c5a56910795488 to < 58952c83dfe6ea3294a74734d2d1018c1120779a · 7b07a2a7ca02a20124b552be96c5a56910795488 to < 621707dc67c9846fd876d7579ec951d92aa033f1 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.9 (affected) · 0 to < 6.9 (unaffected · semver) · 6.12.110 through 6.12.* (unaffected · semver) · 6.18.52 through 6.18.* (unaffected · semver) · 7.2.6 through 7.2.* (unaffected · semver) · 7.3 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.111-1~deb12u1 DLA-4817-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
Debian trixie linux Advisory build 6.12.111-1 DSA-6528-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-16 cluster-md-kmp-defaults390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 dlm-kmp-defaults390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaults390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24651-1
SUSE / openSUSE SLE-16 gfs2-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-64kbaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-64kb-develaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-64kb-extraaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-azureaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-azurex86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-azure-develaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-azure-develx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-azure-extraaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-azure-extrax86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-azure-vdsox86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-defaultaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-defaultppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-defaults390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-defaultx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-baseaarch64 Advisory build 6.12.0-160000.41.1.160000.2.32 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-baseppc64le Advisory build 6.12.0-160000.41.1.160000.2.32 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-basex86_64 Advisory build 6.12.0-160000.41.1.160000.2.32 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-develaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-develppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-devels390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-develx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-extraaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-extrappc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-extras390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-extrax86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-livepatchppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-livepatchs390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-livepatchx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-default-vdsox86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-develnoarch Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-devel-nvidianoarch Advisory build 6.12.0-160100.7.1 SUSE-SU-2026:24705-1
SUSE / openSUSE SLE-16 kernel-docsnoarch Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-docs-htmlnoarch Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-kvmsmallaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-kvmsmallppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-kvmsmallx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-develaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-develppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-develx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-kvmsmall-vdsox86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-macrosnoarch Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-nvidia64kbaarch64 Advisory build 6.12.0-160100.7.1 SUSE-SU-2026:24705-1
SUSE / openSUSE SLE-16 kernel-nvidia64kb-develaarch64 Advisory build 6.12.0-160100.7.1 SUSE-SU-2026:24705-1
SUSE / openSUSE SLE-16 kernel-obs-qaaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-obs-qappc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-obs-qas390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-obs-qax86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-sourcenoarch Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-source-vanillanoarch Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-symsaarch64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-symsppc64le Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-symss390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-symsx86_64 Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE SLE-16 kernel-zfcpdumps390x Advisory build 6.12.0-160000.41.1 SUSE-SU-2026:24662-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-64kbaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-azureaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-azurex86_64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaultaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaults390x Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-rtaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 cluster-md-kmp-rtx86_64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-64kbaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-azureaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-azurex86_64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaultaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaultppc64le Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaults390x Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-defaultx86_64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-rtaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dlm-kmp-rtx86_64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-allwinneraarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-alteraaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-amazonaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-amdaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-amlogicaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-apmaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-appleaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-armaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-broadcomaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-caviumaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1
SUSE / openSUSE openSUSE-Leap-16.0 dtb-exynosaarch64 Advisory build 6.12.0-160000.41.1 OPENSUSE-SU-2026:22266-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Fix fence cleanup in ffs_dmabuf_transfer() error paths The error paths for endpoint-disabled (ESHUTDOWN) and request-allocation failure (ENOMEM) in ffs_dmabuf_transfer() jump to err_fence_put which calls dma_fence_put() on the fence. However, at that point the fence has only been kmalloc'd — dma_fence_init() has not been called yet, so the refcount and the fence ops are uninitialized. Calling dma_fence_put() on such an object leads to undefined behavior. Use kfree() instead, since the fence is just a plain allocation at this stage, and rename the label to err_fence_free to reflect the actual cleanup action.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

17

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 - The uninitialized fence is kmalloc'd and then dma_fence_put() in ffs_dmabuf_transfer(), reached only from ffs_epfile_ioctl()'s FUNCTIONFS_DMABUF_TRANSFER case after copy_from_user of usb_ffs_dmabuf_transfer_req; USB host traffic never supplies that ioctl or the fence object. AC:H - err_fence_put runs only when epfile->ep != ep after ffs_epfile_wait_ep() (epfile->ep is NULLed solely by ffs_func_eps_disable() from gadget set_alt/disable/unbind) or when usb_ep_alloc_request(..., GFP_ATOMIC) fails; the ioctl caller cannot invoke those gadget callbacks and cannot reliably force that small GFP_ATOMIC allocation to fail. PR:L - ffs_epfile_ioctl() has no capable() check; FUNCTIONFS_DMABUF_TRANSFER only needs the endpoint file open. FunctionFS inodes take uid/gid/mode from ffs_fs_parse_param() (uid=/gid=/fmode=), which deployed gadgets use to hand ep nodes to non-root daemons such as adbd. UI:N - The attacker issues FUNCTIONFS_DMABUF_TRANSFER themselves on an endpoint fd they already hold; ffs_epfile_wait_ep() needing a prior host SET_CONFIGURATION is ambient gadget enumeration, not a victim action at exploit time. S:U - dma_fence_put() on the kmalloc'd ffs_dma_fence runs dma_fence_release() in the same kernel that hosts FunctionFS, so impact stays inside that kernel's privilege boundary rather than crossing a VM or IOMMU authority. C:H - kmalloc_obj(*fence) is not zeroed and dma_fence_init() has not run, so fence->refcount and fence->ops are leftover heap contents; dma_fence_put() calls dma_fence_release() if the sprayed refcount is 1, which rcu_dereference()s ops and reads other fence fields. I:H - dma_fence_release() calls ops->release() through the uninitialized fence->ops pointer (or walks garbage cb_list in the pending-signal path); a same-cache heap spray can point ops at attacker-controlled function pointers for control-flow hijack. A:H - dma_fence_release() does list_empty(&fence->cb_list) and dma_fence_lock_irqsave() on uninitialized cb_list/lock and may invoke a wild ops->release(), any of which oopses or panics when the ESHUTDOWN or ENOMEM err_fence_put path runs.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 7b07a2a7ca02a20124b552be96c5a56910795488 to < be539138d9a187af3b884525a395db10797c64f1 (affected · git)7b07a2a7ca02a20124b552be96c5a56910795488 to < 5fd8baacc7dc477df9cac61b45491840247a9b1e (affected · git)7b07a2a7ca02a20124b552be96c5a56910795488 to < 58952c83dfe6ea3294a74734d2d1018c1120779a (affected · git)7b07a2a7ca02a20124b552be96c5a56910795488 to < 621707dc67c9846fd876d7579ec951d92aa033f1 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.9 (affected)0 to < 6.9 (unaffected · semver)6.12.110 through 6.12.* (unaffected · semver)6.18.52 through 6.18.* (unaffected · semver)7.2.6 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

4

Provider assertions

1

Linux · cna

usb: gadget: f_fs: Fix fence cleanup in ffs_dmabuf_transfer() error paths

Provenance

Schema
5.2
Searchable
yes
Content hash
5610f3e678227db49a7959beedf796134eecf28fb2b23a46c2b7f274126c8c29
Ingested
19 Oct 2026, 09:34:28 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