{"id":"DEBIAN-CVE-2026-99449","aliases":[],"title":null,"originalDescription":"In the Linux kernel, the following vulnerability has been resolved: usb: gadget: fix refcount underflow in gadgetfs_bind() error path gadgetfs_bind() calls get_dev() only on the success path, but gadgetfs_unbind() called from the enomem error label unconditionally calls put_dev(). When bind fails (e.g. ENOMEM), put_dev() fires without a matching get_dev(), leaving the refcount unbalanced. A subsequent close of the ep0 file descriptor calls dev_release() -> put_dev() which hits zero and frees the object; then gadgetfs_kill_sb() calls put_dev(the_device) again on the already-freed pointer, triggering a refcount underflow and use-after-free. Fix by calling get_dev() at the start of gadgetfs_bind(), before any error path that invokes gadgetfs_unbind(), so the reference is always balanced regardless of whether bind succeeds or fails.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"Debian:13","name":"linux","range":">=0, <6.12.117-1","fixed":"6.12.117-1"},{"ecosystem":"Debian:14","name":"linux","range":">=0, <7.3.3-1","fixed":"7.3.3-1"}],"references":[{"url":"https://security-tracker.debian.org/tracker/CVE-2026-99449","type":"advisory"}],"sources":[{"name":"osv","at":"2026-11-22T01:25:44.620Z","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-99449","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T19:35:42.515Z"}],"firstSeenAt":"2026-11-19T19:35:42.515Z","publishedAt":"2026-11-19T15:17:58.693Z","modifiedAt":"2026-11-20T09:47:32.805Z"}