{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99779","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-09-25T10:25:14.434Z","datePublished":"2026-11-20T05:51:42.376Z","dateUpdated":"2026-11-20T05:51:42.376Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-20T05:51:42.376Z"},"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":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/9p/trans_usbg.c"],"versions":[{"version":"a3be076dc174d9022a71a12554feb4c97b5c4d5c","lessThan":"2d2e942cd9a8fc1f11e3e8e0340a0bb4ec1e9b9c","status":"affected","versionType":"git"},{"version":"a3be076dc174d9022a71a12554feb4c97b5c4d5c","lessThan":"52544826f345280beb13d150c3bc41e61353fa0c","status":"affected","versionType":"git"},{"version":"a3be076dc174d9022a71a12554feb4c97b5c4d5c","lessThan":"277167375d269e411e2c5ce79527ff3ebf57a0bc","status":"affected","versionType":"git"},{"version":"a3be076dc174d9022a71a12554feb4c97b5c4d5c","lessThan":"cd1988cf723c2eae87112b198bf90b0aebfeaf31","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/9p/trans_usbg.c"],"versions":[{"version":"6.12","status":"affected"},{"version":"0","lessThan":"6.12","status":"unaffected","versionType":"semver"},{"version":"6.12.118","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.64","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.5","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.12.118"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.18.64"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.3.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"7.4-rc2"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/2d2e942cd9a8fc1f11e3e8e0340a0bb4ec1e9b9c"},{"url":"https://git.kernel.org/stable/c/52544826f345280beb13d150c3bc41e61353fa0c"},{"url":"https://git.kernel.org/stable/c/277167375d269e411e2c5ce79527ff3ebf57a0bc"},{"url":"https://git.kernel.org/stable/c/cd1988cf723c2eae87112b198bf90b0aebfeaf31"}],"title":"net/9p/usbg: call disable_usb9pfs() from usb9pfs_disable()","x_generator":{"engine":"bippy-1.2.0"}}}}