-

CVE-2026-64327

usb: gadget: f_fs: Initialize epfile->in early to fix endpoint direction checks

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.
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
Produkt Linux
Default Statusunaffected
Version 7b07a2a7ca02a20124b552be96c5a56910795488
Version < 82cf1142e5ccf2b6d6d22ef713aaf3e5f2b5716b
Status affected
Version 7b07a2a7ca02a20124b552be96c5a56910795488
Version < 9e04055ab5fc0470a0031ee6934739f9aa8f34a5
Status affected
Version 7b07a2a7ca02a20124b552be96c5a56910795488
Version < f99f32ea9aa976afcbec20647ed33b50a52002c1
Status affected
Version 7b07a2a7ca02a20124b552be96c5a56910795488
Version < 82cfd4739011bdc7e87b5d585703427e89ddfaa5
Status affected
HerstellerLinux
Produkt Linux
Default Statusaffected
Version 6.9
Status affected
Version 0
Version < 6.9
Status unaffected
Version <= 6.12.*
Version 6.12.96
Status unaffected
Version <= 6.18.*
Version 6.18.39
Status unaffected
Version <= 7.1.*
Version 7.1.4
Status unaffected
Version <= *
Version 7.2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.2% 0.101
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/82cf1142e5ccf2b6d6d22ef713aaf3e5f2b5716b
https://git.kernel.org/stable/c/9e04055ab5fc0470a0031ee6934739f9aa8f34a5
https://git.kernel.org/stable/c/f99f32ea9aa976afcbec20647ed33b50a52002c1
https://git.kernel.org/stable/c/82cfd4739011bdc7e87b5d585703427e89ddfaa5