CVE-2026-64327
usb: gadget: f_fs: Initialize epfile->in early to fix endpoint direction checks
Reported by linux · Published July 25, 2026
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_fs: Initialize epfile->in early to fix endpoint direction checks When parsing endpoint descriptors, ffs_data_got_descs() generates the eps_addrmap which contains the endpoint direction. However, epfile->in was previously only populated in ffs_func_eps_enable() which executes upon USB host connection. As a result, early userspace ioctls like FUNCTIONFS_DMABUF_ATTACH that run before the host connects would see epfile->in as 0, leading to incorrect DMA directions. By moving the initialization to ffs_epfiles_create(), epfile->in is accurate before userspace opens the endpoint files.
EPSS 0.16% · 5.1th percentile
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 7b07a2a7ca02a20124b552be96c5a56910795488, 7b07a2a7ca02a20124b552be96c5a56910795488, 7b07a2a7ca02a20124b552be96c5a56910795488 |
| Linux | Linux | 6.9, 0, 6.12.96 |
| linux | linux_kernel | 6.9, 6.9, 6.9 |
| Linux | Linux | 7b07a2a7ca02a20124b552be96c5a56910795488, 7b07a2a7ca02a20124b552be96c5a56910795488, 7b07a2a7ca02a20124b552be96c5a56910795488 |
Timeline
- Jul 25, 2026 EPSS Score (12 in total, the first dated here)
- Jul 25, 2026 Coalition ESS Score
- Jul 25, 2026 CVE Published
- Jul 26, 2026 Security Advisory (20 in total, the first dated here)
- Aug 9, 2026 CVE Updated
- Aug 12, 2026 Distribution Patch (21 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64327
vulnetix vdb fixes CVE-2026-64327
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64327/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart