{"id":"CVE-2026-93121","aliases":["CVE-2026-93121"],"related":[],"kind":"vulnerability","state":"published","title":"usb: gadget: f_fs: Fix fence cleanup in ffs_dmabuf_transfer() error paths","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-09-17T16:11:27.220Z","modified":"2026-10-19T10:17:02.090Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7b07a2a7ca02a20124b552be96c5a56910795488","fixed":"be539138d9a187af3b884525a395db10797c64f1","status":"affected"},{"type":"git","introduced":"7b07a2a7ca02a20124b552be96c5a56910795488","fixed":"5fd8baacc7dc477df9cac61b45491840247a9b1e","status":"affected"},{"type":"git","introduced":"7b07a2a7ca02a20124b552be96c5a56910795488","fixed":"58952c83dfe6ea3294a74734d2d1018c1120779a","status":"affected"},{"type":"git","introduced":"7b07a2a7ca02a20124b552be96c5a56910795488","fixed":"621707dc67c9846fd876d7579ec951d92aa033f1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/be539138d9a187af3b884525a395db10797c64f1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5fd8baacc7dc477df9cac61b45491840247a9b1e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58952c83dfe6ea3294a74734d2d1018c1120779a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/621707dc67c9846fd876d7579ec951d92aa033f1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93121","url":"https://www.cve.org/CVERecord?id=CVE-2026-93121","licence":"CVE Terms of Use","modified":"2026-10-19T09:05:54.766Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93121","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93121","licence":"Public domain","modified":"2026-10-19T10:17:02.090Z"}],"updatedAt":"2026-11-25T22:59:39.460Z","epss":{"score":0.00144,"percentile":0.03919,"date":"2026-12-01T12:00:22.000Z"}}