CVE-2026-63895: Linux kernel · usb: gadget: f_fs: copy only received bytes on short ep0 read
Affects Linux kernelSource GCVE Database
Not known to be exploited.
Data as of 16 Nov 2026, 14:50 UTC
Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Thin evidence
One scorer or noneExploitation evidence
Disclosed: evidence found.
CVE published 19 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
AI-suggested
A fix is available that modifies the f_fs USB gadget function to copy only the actual number of bytes received during short ep0 OUT transfers, preventing leakage of uninitialized kernel memory. Users should apply the official Linux kernel patch once available. Since the vulnerability affects privileged gadget daemons, no additional mitigation is required beyond applying the fix.
Description
A vulnerability in the Linux kernel's USB gadget function (f_fs) causes uninitialized kernel memory to be copied to userspace during short control OUT transfers on endpoint 0 (ep0). This occurs because the code copies the full length specified in the USB setup packet rather than the actual number of bytes received, potentially leaking kernel slab memory to privileged gadget daemons. The issue is fixed by copying only the actual received bytes.
References
- git.kernel.org/stable/c/90ccf5fb63243fae1b4b3200f3310500500ecf2e (opens in a new tab)
- git.kernel.org/stable/c/af32dbb2ca0b3d09271ab718d13857a457fa16f2 (opens in a new tab)
- git.kernel.org/stable/c/e835bf9a055f71874065a40780ca5560b7df8b33 (opens in a new tab)
- git.kernel.org/stable/c/88874a19b2b093bfaaa1c0090fa536c44da8c08b (opens in a new tab)
- git.kernel.org/stable/c/607730a414773a7cbe3037a64a6c64e72689ff5e (opens in a new tab)
- git.kernel.org/stable/c/23c1f7deb9dd8447ecde749850676302aa1e2bd3 (opens in a new tab)
- git.kernel.org/stable/c/4e036c10e7f4df5d951c69cc3697bc8e209c6d02 (opens in a new tab)