{"id":"CVE-2026-93121","published":"2026-09-17T16:11:27Z","modified":"2026-10-19T09:05:54Z","title":"usb: gadget: f_fs: Fix fence cleanup in ffs_dmabuf_transfer() error paths","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00155,"percentile":0.04583,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/be539138d9a187af3b884525a395db10797c64f1","tags":[]},{"url":"https://git.kernel.org/stable/c/5fd8baacc7dc477df9cac61b45491840247a9b1e","tags":[]},{"url":"https://git.kernel.org/stable/c/58952c83dfe6ea3294a74734d2d1018c1120779a","tags":[]},{"url":"https://git.kernel.org/stable/c/621707dc67c9846fd876d7579ec951d92aa033f1","tags":[]}],"priority":{"score":5.8,"factors":[{"name":"EPSS percentile","points":0.92},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 7b07a2a7ca02a20124b552be96c5a56910795488, < be539138d9a187af3b884525a395db10797c64f1",">= 7b07a2a7ca02a20124b552be96c5a56910795488, < 5fd8baacc7dc477df9cac61b45491840247a9b1e",">= 7b07a2a7ca02a20124b552be96c5a56910795488, < 58952c83dfe6ea3294a74734d2d1018c1120779a",">= 7b07a2a7ca02a20124b552be96c5a56910795488, < 621707dc67c9846fd876d7579ec951d92aa033f1"]},{"vendor":"Linux","product":"Linux","versions":["6.9"]}],"euvd":{"id":"EUVD-2026-82229","exploited":false,"provenance":"source"}}