{"id":"CVE-2026-90019","aliases":["CVE-2026-90019"],"related":[],"kind":"vulnerability","state":"published","title":"usb: gadget: fix null pointer dereference in usb_put_function_instance()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: fix null pointer dereference in usb_put_function_instance()\n\nusb_put_function_instance() attempts to dereference fd inside fi struct\nto get mod in uvc_alloc_inst() error path. However, fd is not allocated\nuntil later in try_get_usb_function_instance() after allocating fi in\nuvc_alloc_inst() and thus guranteed to be null in error path. Fix this\nby adding a null check for fi->fd that returns if fd is null.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: fix null pointer dereference in usb_put_function_instance()\n\nusb_put_function_instance() attempts to dereference fd inside fi struct\nto get mod in uvc_alloc_inst() error path. However, fd is not allocated\nuntil later in try_get_usb_function_instance() after allocating fi in\nuvc_alloc_inst() and thus guranteed to be null in error path. Fix this\nby adding a null check for fi->fd that returns if fd is null.","source":"cvelist"}],"published":"2026-09-16T10:33:24.173Z","modified":"2026-10-19T09:18:49.927Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2","fixed":"0fc54a00954f9f4c3e3d4ffa64a530685d99a39b","status":"affected"},{"type":"git","introduced":"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2","fixed":"6e6736c049683380f5e20becde498986e9293ca4","status":"affected"},{"type":"git","introduced":"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2","fixed":"3a9691fff79bcce95338435599df6d3ae433cfdc","status":"affected"},{"type":"git","introduced":"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2","fixed":"7a4f4ca7ff32ae24807c83e2a06d62b13378d53c","status":"affected"},{"type":"git","introduced":"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2","fixed":"6ea3a073ca97716d4a73df49a3bec1c3ccf8e2a0","status":"affected"},{"type":"git","introduced":"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2","fixed":"d3a7fa61997db3bf6dadef4c1bd87a4fa782a817","status":"affected"},{"type":"git","introduced":"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2","fixed":"5117f236e9e30744338b425395d55913c4500897","status":"affected"},{"type":"git","introduced":"0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2","fixed":"6e74ac5c596fd246e37eadfc354567179ccbe9aa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.9","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0fc54a00954f9f4c3e3d4ffa64a530685d99a39b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6e6736c049683380f5e20becde498986e9293ca4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3a9691fff79bcce95338435599df6d3ae433cfdc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7a4f4ca7ff32ae24807c83e2a06d62b13378d53c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6ea3a073ca97716d4a73df49a3bec1c3ccf8e2a0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3a7fa61997db3bf6dadef4c1bd87a4fa782a817","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5117f236e9e30744338b425395d55913c4500897","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6e74ac5c596fd246e37eadfc354567179ccbe9aa","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90019","url":"https://www.cve.org/CVERecord?id=CVE-2026-90019","licence":"CVE Terms of Use","modified":"2026-10-19T08:56:32.862Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90019","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90019","licence":"Public domain","modified":"2026-10-19T09:18:49.927Z"}],"updatedAt":"2026-11-25T22:59:39.016Z","epss":{"score":0.00216,"percentile":0.12852,"date":"2026-12-01T12:00:22.000Z"}}