CVE Catalog

CVE-2026-90019

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel, usb_put_function_instance() attempts to dereference fd inside the fi struct in the uvc_alloc_inst() error path. However, fd is not allocated until later in try_get_usb_function_instance(), so it is guaranteed to be NULL in the error path. The fix adds a NULL check for fi->fd.

Risk Assessment

A NULL pointer dereference in the error path can cause a kernel crash (denial of service) during USB gadget function allocation error handling.

Recommendation

Update the Linux kernel to a version with the fix that adds a NULL check for fi->fd before dereferencing.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS