Skip to main content
VulnerabilityPublished Updated

CVE-2026-63895: Linux kernel · usb: gadget: f_fs: copy only received bytes on short ep0 read

Affects Linux kernelSource GCVE Database

0

Not known to be exploited · fixed in 5.15.0-1117.124~20.04.1 : update Linux kernel when convenient.

Data as of 28 Oct 2026, 12:29 UTC

Severity
Medium

Rated by Threat Radar · No CVSS score from NVD or the CNA

Patch
Available – fixed in 5.15.0-1117.124~20.04.1, 5.15.0-1123.132~20.04.1, 5.15.0-1122.131~20.04.1 +67

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 26 Oct 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 26.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=resoluteOther threatsAffected
  • <7.0.0-28.28
Fixed in
  • 7.0.0-28.28
Ubuntu 26.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=resoluteOther threatsAffected
  • <7.0.0-1009.9
Fixed in
  • 7.0.0-1009.9
Ubuntu 26.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=resoluteOther threatsAffected
  • <7.0.0-1010.10
Fixed in
  • 7.0.0-1010.10
Ubuntu 26.04 LTSlinux-azure-fdepkg:deb/ubuntu/linux-azure-fde?arch=source&distro=resoluteOther threatsAffected
  • <7.0.0-1009.9
Fixed in
  • 7.0.0-1009.9
Ubuntu 26.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=resoluteOther threatsAffected
  • <7.0.0-1008.8
Fixed in
  • 7.0.0-1008.8
Ubuntu 26.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=resoluteOther threatsAffected
  • <7.0.0-1003.4
Fixed in
  • 7.0.0-1003.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch fixing this vulnerability is available and should be applied. The fix updates the usb gadget functionfs driver to copy only the actual received bytes on short ep0 reads, preventing uninitialized memory leakage. Users should update their Linux kernel to version 5.15.0-1117.124~20.04.1 or later as provided by their distribution. No additional mitigation is required as the vulnerability is not reachable by unprivileged userspace and normal USB host stacks reject the triggering condition.

Description

CVE-2026-63895 is a vulnerability in the Linux kernel's USB gadget functionfs driver where the function incorrectly copies more bytes to userspace than were actually received on a short control OUT transfer. This results in uninitialized kernel memory being leaked to the privileged FunctionFS daemon. The flaw occurs because the driver copies the full length specified in the USB setup packet rather than the actual received byte count. The issue is fixed by copying only the actual received bytes. The vulnerability is reachable only by privileged gadget daemons and requires bypassing normal host-side USB checks. Fixes are available in Linux kernel versions 5.15.0-1117.124~20.04.1 and later.

References

Community reviews

Loading reviews…