---
id: CVE-2026-98757
title: 'kernel: usb: cdns3: fix use-after-free in cdns3_gadget_exit() (CVE-2026-98757)'
summary: >-
  A flaw was found in the Linux kernel's Cadence USB3 gadget driver. This
  vulnerability can lead to a Denial of Service (DoS) through a system crash or
  potentially allow privilege escalation. During device teardown, the driver
  releases memor…
severity: medium
cvss: 4.1
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe: CWE-825
vendor: Red Hat
product: Red Hat Enterprise Linux 10
affected:
  - enterprise_linux 10
published: '2026-10-18'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T05:21:36+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98757.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98757.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-98757'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2555140'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-98757'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98757'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98757.mbox
  - url: 'https://git.kernel.org/stable/c/efdf0ddaed01161dc1c1f25382856f2fd1c1f44f'
  - url: 'https://git.kernel.org/stable/c/cc448700db656cceb4b411bf99a2e7132144d035'
  - url: 'https://git.kernel.org/stable/c/95160fe606e685ff18de1e6ddcbc08289476004e'
  - url: 'https://git.kernel.org/stable/c/159dada48ee2d53eff46e66a8011d67b2c209bbc'
  - url: 'https://git.kernel.org/stable/c/ebe9b68c396792c15d0ac690d592e449e74ed804'
tags:
  - csaf
  - vex
  - red-hat
  - cve.org
epss: 0.00168
epssPercentile: 0.05966
ingestedAt: '2026-10-18T16:47:32.498Z'
---

## Overview

A flaw was found in the Linux kernel's Cadence USB3 gadget driver. This vulnerability can lead to a Denial of Service (DoS) through a system crash or potentially allow privilege escalation. During device teardown, the driver releases memory without waiting for pending background work tasks to finish. A local user could exploit this flaw to trigger a use-after-free condition—accessing memory after it has been freed—causing memory corruption.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10 · no fix planned: Red Hat Enterprise Linux 10 · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98757.json)

**kernel: usb: cdns3: fix use-after-free in cdns3_gadget_exit()** — rated Moderate by Red Hat. Released 2026-10-18, updated 2026-10-23.

Affected:

- Red Hat Enterprise Linux 10

No fix planned:

- Red Hat Enterprise Linux 10

Not affected:

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

## Remediation

Fix deferred
