{"id":"DEBIAN-CVE-2026-99777","aliases":[],"title":null,"originalDescription":"In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: remove bogus context initialization in alloc_requests alloc_requests() initializes usb9pfs->in_req->context to point at the struct f_usb9pfs instance itself. usb9pfs_queue_tx() later overwrites this with the real struct p9_req_t pointer before every transmit, and usb9pfs_tx_complete() clears it back to NULL after each completion, so in_req->context only ever holds a valid p9_req_t once a request has actually been queued. usb9pfs_clear_tx(), however, can run at any time (mount close, gadget disable) independent of whether a request was ever queued. If it runs before the first usb9pfs_transmit(), it reads the leftover sentinel value, type-confuses the struct f_usb9pfs pointer as a struct p9_req_t, and both writes through it (req->t_err = -ECONNRESET) and hands it to p9_client_cb(), which manipulates req->wq and req->refcount at bogus offsets inside f_usb9pfs. This reliably corrupts memory or panics whenever the transport is torn down before any 9p request has been transmitted, e.g. mounting and immediately unmounting, or a cable disconnect racing the very first request. usb9pfs->out_req->context is set t","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"Debian:12","name":"linux-6.12","range":">=0, <6.12.118-1~deb12u1","fixed":"6.12.118-1~deb12u1"},{"ecosystem":"Debian:13","name":"linux","range":">=0, <6.12.118-1","fixed":"6.12.118-1"},{"ecosystem":"Debian:14","name":"linux","range":">=0, <7.3.5-1","fixed":"7.3.5-1"}],"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2026-99777","type":"advisory"}],"sources":[{"name":"osv","at":"2026-12-02T19:44:55.978Z","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-99777","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T05:04:17.370Z"}],"firstSeenAt":"2026-11-21T05:04:17.370Z","publishedAt":"2026-11-20T06:18:16.720Z","modifiedAt":"2026-12-02T19:00:42.150Z"}