{"id":"CVE-2026-93121","aliases":[],"url":"https://o3.security/vulnerability/CVE-2026-93121","summary":"usb: gadget: f_fs: Fix fence cleanup in ffs_dmabuf_transfer() error paths","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: f_fs: Fix fence cleanup in ffs_dmabuf_transfer() error paths\n\nThe error paths for endpoint-disabled (ESHUTDOWN) and request-allocation\nfailure (ENOMEM) in ffs_dmabuf_transfer() jump to err_fence_put which\ncalls dma_fence_put() on the fence. However, at that point the fence has\nonly been kmalloc'd — dma_fence_init() has not been called yet, so the\nrefcount and the fence ops are uninitialized. Calling dma_fence_put() on\nsuch an object leads to undefined behavior.\n\nUse kfree() instead, since the fence is just a plain allocation at this\nstage, and rename the label to err_fence_free to reflect the actual\ncleanup action.","published":"2026-09-17T16:11:27.220Z","modified":"2026-09-19T03:47:31.513216650Z","cvss":{"score":7,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"Linux","name":"Kernel","fixedVersion":"6.12.110"}],"fix":null,"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/58952c83dfe6ea3294a74734d2d1018c1120779a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5fd8baacc7dc477df9cac61b45491840247a9b1e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/621707dc67c9846fd876d7579ec951d92aa033f1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be539138d9a187af3b884525a395db10797c64f1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/93xxx/CVE-2026-93121.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93121"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-19T03:47:31.513216650Z"}}