Null Pointer Dereference in Linux Kernel USB Gadget Function
CVE-2026-90019
What is CVE-2026-90019?
A vulnerability exists in the Linux kernel where the function usb_put_function_instance() incorrectly dereferences a null pointer. This occurs in the error path of uvc_alloc_inst(), where the fd variable of the fi struct is not allocated before it is accessed, leading to potential instability or crashes. A fix has been implemented to add a null check for fi->fd, ensuring this function exits gracefully if the fd is null, thus enhancing the overall stability and security of USB gadget functionalities.
Affected Version(s)
Linux 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 < 0fc54a00954f9f4c3e3d4ffa64a530685d99a39b
Linux 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 < 6e6736c049683380f5e20becde498986e9293ca4
Linux 0062f6e56f70bd2230ba1ebd1667d1b32a1af3b2 < 3a9691fff79bcce95338435599df6d3ae433cfdc