{"identifier":"CVE-2026-99449","cve":{"id":"CVE-2026-99449","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: fix refcount underflow in gadgetfs_bind() error path\n\ngadgetfs_bind() calls get_dev() only on the success path, but\ngadgetfs_unbind() called from the enomem error label unconditionally\ncalls put_dev().  When bind fails (e.g. ENOMEM), put_dev() fires\nwithout a matching get_dev(), leaving the refcount unbalanced.\n\nA subsequent close of the ep0 file descriptor calls dev_release() ->\nput_dev() which hits zero and frees the object; then gadgetfs_kill_sb()\ncalls put_dev(the_device) again on the already-freed pointer, triggering\na refcount underflow and use-after-free.\n\nFix by calling get_dev() at the start of gadgetfs_bind(), before any\nerror path that invokes gadgetfs_unbind(), so the reference is always\nbalanced regardless of whether bind succeeds or fails.","published":"2026-11-19T15:17:58.693000+00:00","modified":"2026-11-23T08:17:48.757000+00:00","status":"Received","score":null,"severity":"UNSCORED","vector":"","cvss_version":"","affected":[],"weaknesses":[],"references":[{"url":"https://git.kernel.org/stable/c/09e4c7127b4663317c54f37b29722843dc0d93aa","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/260b0c0ab0b75b358b0b22988ea9a93b5c40c593","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/48373c3c210e7d797993953ae6d619dfc9e7df54","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5370f6139485ee3801a83ab32b4b881b97cead46","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a28791bdb256abd0f338a9b32a95392907d1c987","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/adb693d0369cd7f08f9424588fdd1f613c22d43b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/cb3b441f2698455a48e9a023d5f7f4e3fcb94c73","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e7e89759445e97ccb445758c6c8d5caed4eb42f9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"kev":null,"kev_checked":true,"metrics":{},"configurations":[],"source":"nvd","retrieved_at":"2026-11-23T10:47:15.845613+00:00","exploited":false,"kev_stale":false,"products":[],"priority":{"label":"Assess exposure and vendor guidance","reasons":["No higher-priority signal is available in the current stored evidence."]},"epss":{"probability":0.0022,"percentile":0.13401,"date":"2026-12-04","stale":false},"version_assessment":null},"news":[],"campaigns":[],"domains":[{"domain":"git.kernel.org","source_url":"https://git.kernel.org/stable/c/09e4c7127b4663317c54f37b29722843dc0d93aa","investigate_url":"https://investigate.aeglixmind.com/#git.kernel.org"}],"arsenal_url":"https://arsenal.aeglixmind.com/?cve=CVE-2026-99449","catalog_url":"https://cves.aeglixmind.com/cve/CVE-2026-99449","research_url":"https://investigate.aeglixmind.com/research/cve/CVE-2026-99449","coverage":{"news_candidates_checked":0,"campaign_candidates_checked":0,"bounded":false,"notice":"Exact CVE mentions in stored public excerpts and reviewed campaign content only. A mention is not proof of exploitation, attribution or tool suitability. Missing matches do not establish absence."}}