CVE-2026-63895
kernel: usb: gadget: f_fs: copy only received bytes on short ep0 read
Loading…
Severity
UnknownRed Hat Product Security
CVSS
Review impact separately from score.
Published · July 19, 2026
Updated · July 22, 2026
Description
A flaw was found in the Linux kernel's FunctionFS (f_fs) driver. This vulnerability allows a privileged gadget daemon to receive uninitialized kernel memory (slab residue) due to incorrect handling of short USB control-OUT transfers. When ffs_ep0_read() processes a short control-OUT transfer, it copies more data than was actually received, exposing potentially sensitive information from the kernel's memory to the daemon. This information disclosure could lead to further exploitation.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CWE-125 · Out-of-bounds Read