CVE-2026-64327

CVE-2026-64327

Medium · published July 25, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
4.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00159 · 4.7th percentile
Published
2026-07-25T14:17Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 6.9, < 6.12.966.12.96
linux/linux_kernel≥ 6.13, < 6.18.396.18.39
linux/linux_kernel≥ 6.19, < 7.1.47.1.4
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 25 JUL 08:49Z
    usb: gadget: f_fs: Initialize epfile->in early to fix endpoint direction checks
    cvelistv5