Skip to main content
Network Thinking Solutions Logo

CVE-2026-99449

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().

All CVEs
CVE-2026-99449Published 11/19/2026

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().

Vendor advisory
CVSS—Unscored

Overview

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.

Published
11/19/2026
Last modified
11/23/2026
CVE assigner
Linux
NVD analysis
Received

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 09e4c7127b4663317c54f37b29722843dc0d93aa

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 260b0c0ab0b75b358b0b22988ea9a93b5c40c593

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 48373c3c210e7d797993953ae6d619dfc9e7df54

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5370f6139485ee3801a83ab32b4b881b97cead46

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a28791bdb256abd0f338a9b32a95392907d1c987

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e7e89759445e97ccb445758c6c8d5caed4eb42f9

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < adb693d0369cd7f08f9424588fdd1f613c22d43b

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cb3b441f2698455a48e9a023d5f7f4e3fcb94c73

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source
Linux
Linux
2.6.12

Verify advisory

Verify the advisory platform, edition, update channel, and any version exceptions.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

No CVSS score is published for this record yet. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.