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.
Published: 2026-09-16
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Patch
AI Analysis

Impact

The Linux kernel contains a null pointer dereference in usb_put_function_instance() used by the USB gadget subsystem; when an error path in uvc_alloc_inst() attempts to access fi->fd before it has been allocated, the kernel crashes. This results in a denial of service when the gadget subsystem is loaded.

Affected Systems

All Linux kernel implementations that include the gadget subsystem and do not contain the commit adding a null check for fi->fd are affected; distributions shipping those kernel versions remain vulnerable until upgraded to releases that incorporate the fix.

Risk and Exploitability

Based on the description, the likely attack vector would involve a malicious USB device that triggers the gadget subsystem's error path to create the null pointer dereference; the EPSS score of less than 1% suggests exploitation probability is low. The vulnerability is not listed in the CISA KEV catalog, and no CVSS score is provided in the data.

Generated by OpenCVE AI on September 18, 2026 at 03:53 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply an updated Linux kernel release that incorporates the null check for usb_put_function_instance()
  • If a kernel upgrade is not feasible, backport or apply the commit that introduces the null check to the current kernel source
  • Disable or restrict USB gadget functionality on systems that cannot be promptly updated

Generated by OpenCVE AI on September 18, 2026 at 03:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Fri, 18 Sep 2026 04:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Wed, 16 Sep 2026 10:45:00 +0000

Type Values Removed Values Added
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.
Title usb: gadget: fix null pointer dereference in usb_put_function_instance()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-16T10:33:24.173Z

Reserved: 2026-09-11T19:38:34.781Z

Link: CVE-2026-90019

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-16T11:17:14.780

Modified: 2026-09-16T11:17:14.780

Link: CVE-2026-90019

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-18T04:00:03Z

Weaknesses