Read the docs

Resource leak in Linux kernel net/9p/usbg USB gadget driver

Priority LOW 22Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from CNA.

Summary

The Linux kernel net/9p/usbg USB gadget driver is affected from 6.12. Its disable callback never calls disable_usb9pfs(), so the IN and OUT endpoints and their usb_request objects stay active when the host resets or unconfigures the gadget. When the host reconfigures the device, new requests are allocated over the old ones, which leaks the previous allocations while the endpoints remain enabled.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

Description from the CNA

In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: call disable_usb9pfs() from usb9pfs_disable() usb9pfs_disable() is the usb_function ->disable callback, invoked by the composite gadget core whenever the host resets or unconfigures the gadget. The gadget function API requires this callback to disable its endpoints; every other in-tree function driver does so from its ->disable hook. usb9pfs_disable() never called disable_usb9pfs(), so the IN/OUT endpoints and their usb_request objects were left active and allocated across a host-driven disable. When the host later reconfigures the device, enable_usb9pfs() calls alloc_requests() again and unconditionally overwrites usb9pfs->in_req/out_req, permanently leaking the previous allocations, while the endpoints themselves are left enabled underneath the function's own idea of being disabled. Call disable_usb9pfs() before reinit_completion(&usb9pfs->send), mirroring the same sequence already used in p9_usbg_close(). Placing it before the reinit_completion() also ensures usb_ep_disable() has synchronously flushed any requests still queued in hardware before the completion is reset, closing the same race that motivated resetting the completion here in the first place.

Why it matters now

EPSS 0.00187 4th percentileScored 2026-11-30
Fix Fixed Linux (Linux): 6.12.118, 6.18.64, 7.3.5 +1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux6.12 and later6.12.118, 6.18.64, 7.3.5, 7.4-rc2Patch availableCNA
  • Linux VendorLinux Affected 6.12 and later Fixed in 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

Remediation

Upgrade the Linux kernel to 6.12.118, 6.18.64, 7.3.5 or 7.4-rc2, depending on the release branch in use.

Written with Claude Haiku 5.5 from the sources below · 2026-11-20

  • Fix · CNA Linux (Linux) Fixed in 6.12.118, 6.18.64, 7.3.5, 7.4-rc2

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

Not affected: 7 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Container Platform 5

Timeline

  1. 2026-11-20 Threatist record created from CVE-2026-99779
  2. 2026-11-20 Alias added: GHSA-fg8v-rx56-65pf
  3. 2026-11-20 Affected versions changed · Red Hat
  4. 2026-11-20 CVSS score added · Red Hat

References

  • TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
  • TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
See all 23530 →

Sources