Impact
The Linux kernel FunctionFS driver incorrectly initializes the endpoint direction field, causing early userspace ioctl requests to see a zero value until the USB host connects. This leads to incorrect DMA direction handling for operations such as FUNCTIONFS_DMABUF_ATTACH, which can result in unintended data transfers or memory corruption.
Affected Systems
Linux kernels prior to the patch that implements early epfile->in initialization. Any distribution shipping a kernel with the FunctionFS driver without this change is affected. The affected product is the Linux kernel, all vendors that ship it unchanged.
Risk and Exploitability
The CVSS score is 5.5, indicating moderate severity, while the EPSS score of <1% implies a low likelihood of exploitation. The vulnerability is not listed in CISA KEV. Externally, it requires a local user to invoke early ioctl operations before a host connects, so it is a local privilege scenario. The likely attack vector is local use of FUNCTIONFS_DMABUF_ATTACH before the USB device is attached, which could misdirect DMA transfers.
OpenCVE Enrichment
Debian DLA