همهٔ گزارش‌ها
کم

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

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2026-90019

احتمال بهره‌برداری در ۳۰ روز آینده: 0.22%

FIRST EPSS · ۱۴۰۵/۰۹/۰۱

شرح آسیب‌پذیری

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.

A flaw was found in the Linux kernel. A null pointer dereference can occur in the usb_put_function_instance() function within the USB gadget subsystem. This issue arises because a file descriptor (fd) is not allocated before being dereferenced in an error path, which can lead to a system crash. A local attacker could exploit this vulnerability to cause a Denial of Service (DoS).