CVE-2026-64327
usb: gadget: f_fs: Initialize epfile->in early to fix endpoint direction checks
Check your servers for CVE-2026-64327
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-64327 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.16%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 2.88% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 7b07a2a7ca02a20124b552be96c5a56910795488, before 82cf1142e5ccf2b6d6d22ef713aaf3e5f2b5716b affected from 7b07a2a7ca02a20124b552be96c5a56910795488, before 9e04055ab5fc0470a0031ee6934739f9aa8f34a5 affected from 7b07a2a7ca02a20124b552be96c5a56910795488, before f99f32ea9aa976afcbec20647ed33b50a52002c1 affected from 7b07a2a7ca02a20124b552be96c5a56910795488, before 82cfd4739011bdc7e87b5d585703427e89ddfaa5
Other versions: unaffected
|
| Linux |
affected 6.9 unaffected before 6.9 unaffected from 6.12.96 up to and including 6.12.* unaffected from 6.18.39 up to and including 6.18.* unaffected from 7.1.4 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-64327 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-64327
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-64327
trivy image --scanners vuln IMAGE | grep CVE-2026-64327
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/82cf1142e5ccf2b6d6d22ef713aaf3e5f2b5716b git.kernel.org
- https://git.kernel.org/stable/c/9e04055ab5fc0470a0031ee6934739f9aa8f34a5 git.kernel.org
- https://git.kernel.org/stable/c/f99f32ea9aa976afcbec20647ed33b50a52002c1 git.kernel.org
- https://git.kernel.org/stable/c/82cfd4739011bdc7e87b5d585703427e89ddfaa5 git.kernel.org
Source: the record CVE-2026-64327 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse