Impact
In the Linux kernel the FunctionFS gadget driver allocates a control‑OUT data buffer of the requested length and copies the full length to userspace, even when the actual transfer is shorter. This causes uninitialized slab residue to be delivered to the userspace gadget daemon, allowing sensitive kernel data to be read. The flaw satisfies CWE‑125 (Unchecked Return Value leading to Overread) and permits information leakage without modifying kernel data or crashing the system.
Affected Systems
All Linux kernel builds that ship the FunctionFS gadget driver are potentially affected. The bug is not tied to a specific vendor release and may appear in any kernel that has not yet incorporated the upstream patch. The vulnerability is accessible only to privileged gadget services such as adbd, UMS, or other composite gadget daemons, and cannot be triggered by unprivileged userspace programs.
Risk and Exploitability
Based on the description, it is inferred that the attack vector involves a privileged gadget daemon performing a short control‑OUT transfer that bypasses host‑side checks. The EPSS score is listed as <1% and the vulnerability is not present in the CISA KEV catalog, indicating a low likelihood of exploitation in the wild. Exploitation requires a privileged gadget daemon and a short control‑OUT transfer with a bypass of the host stack’s length check. While the information exposed can aid further attacks, the attack path is non‑trivial and the overall risk to the majority of deployments is modest until patched.
OpenCVE Enrichment
Ubuntu USN