{"id":"CVE-2026-99779","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-20T06:18:16.973","lastModified":"2026-11-20T06:18:16.973","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["net/9p/trans_usbg.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"a3be076dc174d9022a71a12554feb4c97b5c4d5c","lessThan":"2d2e942cd9a8fc1f11e3e8e0340a0bb4ec1e9b9c","versionType":"git","status":"affected"},{"version":"a3be076dc174d9022a71a12554feb4c97b5c4d5c","lessThan":"52544826f345280beb13d150c3bc41e61353fa0c","versionType":"git","status":"affected"},{"version":"a3be076dc174d9022a71a12554feb4c97b5c4d5c","lessThan":"277167375d269e411e2c5ce79527ff3ebf57a0bc","versionType":"git","status":"affected"},{"version":"a3be076dc174d9022a71a12554feb4c97b5c4d5c","lessThan":"cd1988cf723c2eae87112b198bf90b0aebfeaf31","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["net/9p/trans_usbg.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.12","status":"affected"},{"version":"0","lessThan":"6.12","versionType":"semver","status":"unaffected"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc2","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/277167375d269e411e2c5ce79527ff3ebf57a0bc","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2d2e942cd9a8fc1f11e3e8e0340a0bb4ec1e9b9c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/52544826f345280beb13d150c3bc41e61353fa0c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/cd1988cf723c2eae87112b198bf90b0aebfeaf31","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}