{"id":"CVE-2026-99779","aliases":["CVE-2026-99779"],"related":[],"kind":"vulnerability","state":"published","title":"net/9p/usbg: call disable_usb9pfs() from usb9pfs_disable()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/9p/usbg: call disable_usb9pfs() from usb9pfs_disable()\n\nusb9pfs_disable() is the usb_function ->disable callback, invoked by\nthe composite gadget core whenever the host resets or unconfigures\nthe gadget. The gadget function API requires this callback to disable\nits endpoints; every other in-tree function driver does so from its\n->disable hook.\n\nusb9pfs_disable() never called disable_usb9pfs(), so the IN/OUT\nendpoints and their usb_request objects were left active and\nallocated across a host-driven disable. When the host later\nreconfigures the device, enable_usb9pfs() calls alloc_requests() again\nand unconditionally overwrites usb9pfs->in_req/out_req, permanently\nleaking the previous allocations, while the endpoints themselves are\nleft enabled underneath the function's own idea of being disabled.\n\nCall disable_usb9pfs() before reinit_completion(&usb9pfs->send),\nmirroring the same sequence already used in p9_usbg_close(). Placing\nit before the reinit_completion() also ensures usb_ep_disable() has\nsynchronously flushed any requests still queued in hardware before the\ncompletion is reset, closing the same race that motivated resetting\nthe completion here in the first place.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet/9p/usbg: call disable_usb9pfs() from usb9pfs_disable()\n\nusb9pfs_disable() is the usb_function ->disable callback, invoked by\nthe composite gadget core whenever the host resets or unconfigures\nthe gadget. The gadget function API requires this callback to disable\nits endpoints; every other in-tree function driver does so from its\n->disable hook.\n\nusb9pfs_disable() never called disable_usb9pfs(), so the IN/OUT\nendpoints and their usb_request objects were left active and\nallocated across a host-driven disable. When the host later\nreconfigures the device, enable_usb9pfs() calls alloc_requests() again\nand unconditionally overwrites usb9pfs->in_req/out_req, permanently\nleaking the previous allocations, while the endpoints themselves are\nleft enabled underneath the function's own idea of being disabled.\n\nCall disable_usb9pfs() before reinit_completion(&usb9pfs->send),\nmirroring the same sequence already used in p9_usbg_close(). Placing\nit before the reinit_completion() also ensures usb_ep_disable() has\nsynchronously flushed any requests still queued in hardware before the\ncompletion is reset, closing the same race that motivated resetting\nthe completion here in the first place.","source":"cvelist"}],"published":"2026-11-20T05:51:42.376Z","modified":"2026-11-20T06:18:16.973Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"a3be076dc174d9022a71a12554feb4c97b5c4d5c","fixed":"2d2e942cd9a8fc1f11e3e8e0340a0bb4ec1e9b9c","status":"affected"},{"type":"git","introduced":"a3be076dc174d9022a71a12554feb4c97b5c4d5c","fixed":"52544826f345280beb13d150c3bc41e61353fa0c","status":"affected"},{"type":"git","introduced":"a3be076dc174d9022a71a12554feb4c97b5c4d5c","fixed":"277167375d269e411e2c5ce79527ff3ebf57a0bc","status":"affected"},{"type":"git","introduced":"a3be076dc174d9022a71a12554feb4c97b5c4d5c","fixed":"cd1988cf723c2eae87112b198bf90b0aebfeaf31","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.12","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2d2e942cd9a8fc1f11e3e8e0340a0bb4ec1e9b9c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/52544826f345280beb13d150c3bc41e61353fa0c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/277167375d269e411e2c5ce79527ff3ebf57a0bc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cd1988cf723c2eae87112b198bf90b0aebfeaf31","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99779","url":"https://www.cve.org/CVERecord?id=CVE-2026-99779","licence":"CVE Terms of Use","modified":"2026-11-20T05:51:42.376Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99779","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99779","licence":"Public domain","modified":"2026-11-20T06:18:16.973Z"}],"updatedAt":"2026-11-25T22:59:52.343Z","epss":{"score":0.00187,"percentile":0.08676,"date":"2026-12-01T12:00:22.000Z"}}