
<https://sepses.org/resource/cve/CVE-2026-99449> <http://purl.org/dc/terms/description> """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.""" ;
	<http://purl.org/dc/terms/identifier> "CVE-2026-99449" ;
	<http://purl.org/dc/terms/issued> "2026-11-19T15:17:58.693"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
	<http://purl.org/dc/terms/modified> "2026-11-19T15:17:58.693"^^<http://www.w3.org/2001/XMLSchema#dateTime>, "2026-11-23T08:17:48.757"^^<http://www.w3.org/2001/XMLSchema#dateTime> ;
	<http://purl.org/dc/terms/title> "CVE-2026-99449" ;
	<https://sepses.org/vocab/ref/cve#assigner> "416baaa9-dc9f-4396-8d5f-8c081fb06d67" ;
	<https://sepses.org/vocab/ref/cve#hasCVSS3BaseMetric> <https://sepses.org/resource/cvss/CVSS3BaseMetric/CVE-2026-99449> ;
	<https://sepses.org/vocab/ref/cve#hasReference> <https://sepses.org/resource/cve/reference/CVE-2026-99449> ;
	<https://sepses.org/vocab/ref/cve#state> <https://sepses.org/resource/vocab/cve/state/Received> ;
	a <https://sepses.org/vocab/ref/cve#CVE> .

