---
id: CVE-2026-89739
title: >-
  kernel: usb: dwc3: gadget: Fix use-after-free in dwc3_gadget_free_endpoints
  due to race condition (CVE-2026-89739)
summary: >-
  A flaw was found in the Linux kernel's USB dwc3 gadget driver. A race
  condition exists where a delayed operation might try to access memory that has
  already been freed. This can lead to a use-after-free vulnerability, which a
  local attacke…
severity: high
cvss: 7
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'
cvssSource: vendor
cwe: CWE-825
vendor: Red Hat
product: Red Hat Enterprise Linux 9
affected:
  - enterprise_linux 10
  - enterprise_linux 9
  - openshift_container_platform 4
published: '2026-09-11'
updated: '2026-09-16'
sourceUpdated: '2026-09-16T07:23:56+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89739.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89739.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-89739'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2532363'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-89739'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-89739'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-89739.mbox
  - url: 'https://git.kernel.org/stable/c/448e95c0f3eaa8d99f16ccae92ab94545f14413b'
  - url: 'https://git.kernel.org/stable/c/93e08b13a7a30e4e78556d993720e0bc36231ec7'
  - url: 'https://git.kernel.org/stable/c/9c855832790cd488d87de1885974f4c37cfe7358'
tags:
  - csaf
  - vex
  - red-hat
  - cve.org
epss: 0.00206
epssPercentile: 0.09577
ingestedAt: '2026-09-14T11:11:19.885Z'
---

## Overview

A flaw was found in the Linux kernel's USB dwc3 gadget driver. A race condition exists where a delayed operation might try to access memory that has already been freed. This can lead to a use-after-free vulnerability, which a local attacker could potentially exploit to cause a system crash (denial of service) or gain elevated privileges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4 · updated 2026-09-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-89739.json)

**kernel: usb: dwc3: gadget: Fix use-after-free in dwc3_gadget_free_endpoints due to race condition** — rated Moderate by Red Hat. Released 2026-09-11, updated 2026-09-16.

Affected:

- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4

No fix planned:

- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4

Not affected:

- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat OpenShift Container Platform 4

## Remediation

Affected
