In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Fix DMA fence leak In ffs_dmabuf_transfer(), a ffs_dma_fence… (CVE-2026-64328)
A memory leak vulnerability in the Linux kernel's USB gadget function f_fs was resolved. The issue occurs in ffs_dmabuf_transfer() where a dma_fence object is allocated and referenced improperly, causing a reference count imbalance. This leads to a slow memory leak as dma_fence objects are not freed correctly. The fix involves transferring ownership of the fence to the DMA reservation object to ensure proper release.
AI Analysis
Technical Summary
CVE-2026-64328 describes a memory leak vulnerability in the Linux kernel's USB gadget subsystem (f_fs). In the function ffs_dmabuf_transfer(), a ffs_dma_fence object is allocated and initialized with a reference count of one. A second reference is added by dma_resv_add_fence(), but the original reference is never released properly. The cleanup function only balances references related to signaling, leaving the initial reference unreleased. This causes a slow memory leak as more ffs_dma_fence objects accumulate without being freed. The vulnerability is addressed by calling dma_fence_put() immediately after dma_resv_add_fence(), transferring ownership to the DMA reservation object and ensuring proper disposal after signaling.
Potential Impact
The vulnerability causes a slow memory leak in the Linux kernel's USB gadget function, which can lead to increased memory consumption over time. There is no indication of direct code execution or privilege escalation from this issue. No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code that properly releases the dma_fence reference by calling dma_fence_put() after dma_resv_add_fence(). Users should apply the official kernel update or patch that includes this fix once available. Patch status is not yet confirmed—check the vendor advisory or Linux kernel mailing lists for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Fix DMA fence leak In ffs_dmabuf_transfer(), a ffs_dma_fence… (CVE-2026-64328)
Description
A memory leak vulnerability in the Linux kernel's USB gadget function f_fs was resolved. The issue occurs in ffs_dmabuf_transfer() where a dma_fence object is allocated and referenced improperly, causing a reference count imbalance. This leads to a slow memory leak as dma_fence objects are not freed correctly. The fix involves transferring ownership of the fence to the DMA reservation object to ensure proper release.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-64328 describes a memory leak vulnerability in the Linux kernel's USB gadget subsystem (f_fs). In the function ffs_dmabuf_transfer(), a ffs_dma_fence object is allocated and initialized with a reference count of one. A second reference is added by dma_resv_add_fence(), but the original reference is never released properly. The cleanup function only balances references related to signaling, leaving the initial reference unreleased. This causes a slow memory leak as more ffs_dma_fence objects accumulate without being freed. The vulnerability is addressed by calling dma_fence_put() immediately after dma_resv_add_fence(), transferring ownership to the DMA reservation object and ensuring proper disposal after signaling.
Potential Impact
The vulnerability causes a slow memory leak in the Linux kernel's USB gadget function, which can lead to increased memory consumption over time. There is no indication of direct code execution or privilege escalation from this issue. No known exploits are reported in the wild.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code that properly releases the dma_fence reference by calling dma_fence_put() after dma_resv_add_fence(). Users should apply the official kernel update or patch that includes this fix once available. Patch status is not yet confirmed—check the vendor advisory or Linux kernel mailing lists for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-rwqh-f7g9-w86h
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64328"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a65420d9c2644c7f8085699
Added to database: 07/25/2026, 23:09:01 UTC
Last enriched: 07/25/2026, 23:34:11 UTC
Last updated: 07/26/2026, 03:58:24 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.