CVE-2026-64328
Last modified
CVE-2026-64328 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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 object is kmalloc'd, with the underlying dma_fence later initialized by dma_fence_init(), which sets its kref counter to 1. Then, dma_resv_add_fence() gets a second reference, and a pointer to the ffs_dma_fence is passed as the usb_request's "context" field. The dma-resv mechanism will manage the second reference, but the first reference is never properly released; the ffs_dmabuf_cleanup() function decreases the reference count, but only to balance with the reference grab in ffs_dmabuf_signal_done(). The code will then slowly leak memory as more ffs_dma_fence objects are created without being ever freed. Address this issue by transferring ownership of the fence to the DMA reservation object, by calling dma_fence_put() right after dma_resv_add_fence(). EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
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 object is kmalloc'd, with the underlying dma_fence later initialized by dma_fence_init(), which sets its kref counter to 1. Then, dma_resv_add_fence() gets a second reference, and a pointer to the ffs_dma_fence is passed as the usb_request's "context" field. The dma-resv mechanism will manage the second reference, but the first reference is never properly released; the ffs_dmabuf_cleanup() function decreases the reference count, but only to balance with the reference grab in ffs_dmabuf_signal_done(). The code will then slowly leak memory as more ffs_dma_fence objects are created without being ever freed. Address this issue by transferring ownership of the fence to the DMA reservation object, by calling dma_fence_put() right after dma_resv_add_fence(). The ffs_dma_fence then gets properly discarded after being signalled.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.9, < 6.12.96 | — |
| Linux | Linux Kernel | >= 6.13, < 6.18.39 | — |
| Linux | Linux Kernel | >= 6.19, < 7.1.4 | — |
| Linux | Linux Kernel | 7.2 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-64328?
How severe is CVE-2026-64328?
How do I fix CVE-2026-64328?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-64322In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64323In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-64324In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64325In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-64326In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-64327In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-64329In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-6433The Custom css-js-php WordPress plugin through 2.0.7 does no…7.3
- CVE-2026-64330In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64331In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-64332In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2026-64333In the Linux kernel, the following vulnerability has been re…7.8
Are you affected by CVE-2026-64328?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
