# CVE-2026-90019: usb: gadget: fix null pointer dereference in usb_put_function_instance()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2026-09-16T10:33:24.173Z
- Modified: 2026-10-19T09:18:49.927Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

usb: gadget: fix null pointer dereference in usb_put_function_instance()

usb_put_function_instance() attempts to dereference fd inside fi struct
to get mod in uvc_alloc_inst() error path. However, fd is not allocated
until later in try_get_usb_function_instance() after allocating fi in
uvc_alloc_inst() and thus guranteed to be null in error path. Fix this
by adding a null check for fi->fd that returns if fd is null.

(As written by CVE List.)

## Affected

- Linux Linux: from 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 before 0fc54a00954f9f4c3e3d4ffa64a530685d99a39b; from 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 before 6e6736c049683380f5e20becde498986e9293ca4; from 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 before 3a9691fff79bcce95338435599df6d3ae433cfdc; from 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 before 7a4f4ca7ff32ae24807c83e2a06d62b13378d53c; from 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 before 6ea3a073ca97716d4a73df49a3bec1c3ccf8e2a0; from 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 before d3a7fa61997db3bf6dadef4c1bd87a4fa782a817; from 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 before 5117f236e9e30744338b425395d55913c4500897; from 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 before 6e74ac5c596fd246e37eadfc354567179ccbe9aa; 3.9 (not affected: before 3.9; from 5.10.270 up to 5.10.*; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/0fc54a00954f9f4c3e3d4ffa64a530685d99a39b>
- <https://git.kernel.org/stable/c/6e6736c049683380f5e20becde498986e9293ca4>
- <https://git.kernel.org/stable/c/3a9691fff79bcce95338435599df6d3ae433cfdc>
- <https://git.kernel.org/stable/c/7a4f4ca7ff32ae24807c83e2a06d62b13378d53c>
- <https://git.kernel.org/stable/c/6ea3a073ca97716d4a73df49a3bec1c3ccf8e2a0>
- <https://git.kernel.org/stable/c/d3a7fa61997db3bf6dadef4c1bd87a4fa782a817>
- <https://git.kernel.org/stable/c/5117f236e9e30744338b425395d55913c4500897>
- <https://git.kernel.org/stable/c/6e74ac5c596fd246e37eadfc354567179ccbe9aa>

## Sources

- CVE List: [CVE-2026-90019](https://www.cve.org/CVERecord?id=CVE-2026-90019), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-90019](https://nvd.nist.gov/vuln/detail/CVE-2026-90019), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-90019 · Whole record: https://cve.day/CVE-2026-90019.json · Rebuilt by cve.day 2026-11-25T22:59:39.016Z
