Impact
The Linux kernel FunctionFS driver improperly initializes the epfile->in field, causing early userspace ioctl calls such as FUNCTIONFS_DMABUF_ATTACH to see an incorrect DMA direction until the USB host is connected; this misdirection can lead the kernel to perform DMA transfers with the wrong source or destination, potentially leaking sensitive memory or causing data corruption.
Affected Systems
Linux kernel versions prior to the patch that initializes epfile->in early are affected; any distribution shipping an unpatched kernel with the FunctionFS driver, especially kernels before the 7.2 release that lacked this change, is vulnerable, and the issue manifests in the FunctionFS device nodes exposed by the USB gadget subsystem.
Risk and Exploitability
The CVSS score of 5.5 indicates moderate severity, while an EPSS score of less than 1% shows a low likelihood of exploitation; the vulnerability is not listed in CISA KEV. Exploitation requires a local user to invoke early ioctl operations before a USB host is attached, making it a local privilege scenario that could misdirect DMA transfers and potentially expose sensitive memory or destabilize the system.
OpenCVE Enrichment
Debian DLA