SecurityContext

CVE-2026-99449: Linux Kernel - Use-After-Free

  • Cve: CVE-2026-99449
  • Name: Linux Kernel - Use-After-Free
  • 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.
  • Impact: Local attackers can trigger a use-after-free, potentially leading to memory corruption or privilege escalation.
  • Remediation: Update to the latest kernel version containing the fix.
  • Vulnerability type: use_after_free
  • Vulnerability impact: privilege_escalation
  • Requirements: Attacker needs ability to trigger bind failure and close ep0 file descriptor
  • Labels source: securitycontext
  • Cvss vector: N/A
  • Epss score: 0.0022
  • Epss percentile: 0.12623
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-11-19T15:17:58Z
  • Age in days: 5
  • Modified at: 2026-11-23T08:17:48Z
  • Patch available: yes
  • References total: 8
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-99449
  • Nvd status: received
  • Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, severity, cvss score, hackerone

References

Same in every row:

  • Source: nvd
  • Tags:
Url
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/adb693d0369cd7f08f9424588fdd1f613c22d43b
https://git.kernel.org/stable/c/cb3b441f2698455a48e9a023d5f7f4e3fcb94c73
https://git.kernel.org/stable/c/e7e89759445e97ccb445758c6c8d5caed4eb42f9

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 2.6.12, < 7.4-rc1; >= 2.6.12, < 7.3.2; >= 2.6.12, < 6.18.61; >= 2.6.12, < 6.12.117; >= 2.6.12, < 6.6.163; >= 2.6.12, < 6.1.193; >= 2.6.12, < 5.15.226; >= 2.6.12, < 5.10.275nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports