CVE-2026-99449
usb: gadget: fix refcount underflow in gadgetfs_bind() error path
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 09e4c7127b4663317c54f37b29722843dc0d93aa; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 260b0c0ab0b75b358b0b22988ea9a93b5c40c593; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 48373c3c210e7d797993953ae6d619dfc9e7df54; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5370f6139485ee3801a83ab32b4b881b97cead46; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a28791bdb256abd0f338a9b32a95392907d1c987; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e7e89759445e97ccb445758c6c8d5caed4eb42f9; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < adb693d0369cd7f08f9424588fdd1f613c22d43b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cb3b441f2698455a48e9a023d5f7f4e3fcb94c73
- Anyone running Linux 2.6.12
Vulnerability facts
- Affected
- Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 09e4c7127b4663317c54f37b29722843dc0d93aa; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 260b0c0ab0b75b358b0b22988ea9a93b5c40c593; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 48373c3c210e7d797993953ae6d619dfc9e7df54; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5370f6139485ee3801a83ab32b4b881b97cead46; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a28791bdb256abd0f338a9b32a95392907d1c987; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e7e89759445e97ccb445758c6c8d5caed4eb42f9; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < adb693d0369cd7f08f9424588fdd1f613c22d43b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cb3b441f2698455a48e9a023d5f7f4e3fcb94c73; Linux 2.6.12
- Fixed in
- Linux 09e4c7127b4663317c54f37b29722843dc0d93aa, Linux 260b0c0ab0b75b358b0b22988ea9a93b5c40c593, Linux 48373c3c210e7d797993953ae6d619dfc9e7df54, Linux 5370f6139485ee3801a83ab32b4b881b97cead46
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 7, 2026-11-28)
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 09e4c7127b4663317c54f37b29722843dc0d93aa; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 260b0c0ab0b75b358b0b22988ea9a93b5c40c593; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 48373c3c210e7d797993953ae6d619dfc9e7df54; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5370f6139485ee3801a83ab32b4b881b97cead46; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a28791bdb256abd0f338a9b32a95392907d1c987; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e7e89759445e97ccb445758c6c8d5caed4eb42f9; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < adb693d0369cd7f08f9424588fdd1f613c22d43b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cb3b441f2698455a48e9a023d5f7f4e3fcb94c73 | — | cvelist |
| Linux | 2.6.12 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-99449. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-99449.md Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 09e4c7127b4663317c54f37b29722843dc0d93aa; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 260b0c0ab0b75b358b0b22988ea9a93b5c40c593; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 48373c3c210e7d797993953ae6d619dfc9e7df54; >= 1da177e4c3f41524e886b7f… Fixed in: Linux 09e4c7127b4663317c54f37b29722843dc0d93aa, Linux 260b0c0ab0b75b358b0b22988ea9a93b5c40c593, Linux 48373c3c210e7d797993953ae6d619dfc9e7df54, Linux 5370f6139485ee3801a83ab32b4b881b97cead46 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
Other
- https://git.kernel.org/stable/c/09e4c7127b4663317c54f37b29722843dc0d93aa
- https://git.kernel.org/stable/c/260b0c0ab0b75b358b0b22988ea9a93b5c40c593
- https://git.kernel.org/stable/c/48373c3c210e7d797993953ae6d619dfc9e7df54
- https://git.kernel.org/stable/c/5370f6139485ee3801a83ab32b4b881b97cead46
- https://git.kernel.org/stable/c/a28791bdb256abd0f338a9b32a95392907d1c987
- https://git.kernel.org/stable/c/e7e89759445e97ccb445758c6c8d5caed4eb42f9
- https://git.kernel.org/stable/c/adb693d0369cd7f08f9424588fdd1f613c22d43b
- https://git.kernel.org/stable/c/cb3b441f2698455a48e9a023d5f7f4e3fcb94c73
FAQ
Is CVE-2026-99449 being exploited?
There is no confirmed exploitation: CVE-2026-99449 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).
How serious is CVE-2026-99449?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-99449?
Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 09e4c7127b4663317c54f37b29722843dc0d93aa; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 260b0c0ab0b75b358b0b22988ea9a93b5c40c593; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 48373c3c210e7d797993953ae6d619dfc9e7df54; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 5370f6139485ee3801a83ab32b4b881b97cead46; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a28791bdb256abd0f338a9b32a95392907d1c987; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < e7e89759445e97ccb445758c6c8d5caed4eb42f9; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < adb693d0369cd7f08f9424588fdd1f613c22d43b; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < cb3b441f2698455a48e9a023d5f7f4e3fcb94c73; Linux 2.6.12.
Is there a fix for CVE-2026-99449?
Yes. Fixed in Linux 09e4c7127b4663317c54f37b29722843dc0d93aa, Linux 260b0c0ab0b75b358b0b22988ea9a93b5c40c593, Linux 48373c3c210e7d797993953ae6d619dfc9e7df54, Linux 5370f6139485ee3801a83ab32b4b881b97cead46. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-99449?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| HIGH 7.0 | CVE-2026-137974 Tuned: local privilege escalation through untrusted mount table parsing in the spindown-disk profile | Linux kernel+1 | EPSS 31% | |
| HIGH 7.8 | CVE-2026-137941 Gimp: gimp: heap out-of-bounds write via unvalidated levels channel property | Linux kernel+1 | EPSS 11% | |
| HIGH 7.3 | CVE-2026-137898 Pam: linux-pam pam_econf local privilege escalation via relative "(null)" config directory from empty vendor directory handling | Linux kernel+1 | EPSS 11% | |
| MEDIUM 6.5 | CVE-2026-102963 Use-after-return in getaddrinfo() when a DNS query that followed a CNAME cannot be cancelled | Linux kernel+1 | EPSS 24% | |
| MEDIUM 5.3 | CVE-2026-115841 Sequoia-openpgp: sequoia-openpgp: degenerate dsa keys are accepted on the nettle and openssl backendsa | Linux kernel+4 | EPSS 3% |