---
id: CVE-2026-98764
title: >-
  kernel: usb: gadget: f_fs: Fix NULL pointer dereference in
  FUNCTIONFS_ENDPOINT_DESC (CVE-2026-98764)
summary: >-
  A flaw was found in the Linux kernel's USB (Universal Serial Bus) FunctionFS
  gadget subsystem. A local user can cause a Denial of Service (DoS) by
  triggering a kernel crash when querying endpoint descriptors on a USB gadget
  configured with…
severity: medium
cvss: 4.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'
cvssSource: vendor
cwe: CWE-476
vendor: Red Hat
product: Linux
affected:
  - >-
    Linux >= c559a353410939c0884e83bdb0e2420a986ac53b <
    06ac8609d6d185ac18c1d6a6a8a9b99e398bd124
  - >-
    Linux >= c559a353410939c0884e83bdb0e2420a986ac53b <
    9d8761b3c133f6c6a6d3486839dac60e2cf4bfe3
  - >-
    Linux >= c559a353410939c0884e83bdb0e2420a986ac53b <
    7811d8e26c77f8eea79e22d0d14c67ec0658b348
  - >-
    Linux >= c559a353410939c0884e83bdb0e2420a986ac53b <
    35ab269602e1f7c4c0fe6ea3477264bea77eced3
  - >-
    Linux >= c559a353410939c0884e83bdb0e2420a986ac53b <
    9cd072788c76595529eb38f42bf94d23852f8534
  - Linux 3.18
published: '2026-10-18'
updated: '2026-10-23'
sourceUpdated: '2026-10-23T05:38:34+00:00'
source: CSAF
sourceUrl: 'https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98764.json'
references:
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98764.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-98764'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2555112'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-98764'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-98764'
  - url: >-
      https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98764.mbox
  - url: 'https://git.kernel.org/stable/c/06ac8609d6d185ac18c1d6a6a8a9b99e398bd124'
  - url: 'https://git.kernel.org/stable/c/9d8761b3c133f6c6a6d3486839dac60e2cf4bfe3'
  - url: 'https://git.kernel.org/stable/c/7811d8e26c77f8eea79e22d0d14c67ec0658b348'
  - url: 'https://git.kernel.org/stable/c/35ab269602e1f7c4c0fe6ea3477264bea77eced3'
  - url: 'https://git.kernel.org/stable/c/9cd072788c76595529eb38f42bf94d23852f8534'
tags:
  - csaf
  - vex
  - red-hat
  - cve.org
epss: 0.00168
epssPercentile: 0.05972
ingestedAt: '2026-10-18T16:47:32.494Z'
---

## Overview

A flaw was found in the Linux kernel's USB (Universal Serial Bus) FunctionFS gadget subsystem. A local user can cause a Denial of Service (DoS) by triggering a kernel crash when querying endpoint descriptors on a USB gadget configured with lower-speed settings than the active connection speed. In this scenario, the driver accesses an uninitialized memory pointer without proper validation, leading to an immediate system crash.

## Vendor advisories

- **Red Hat VEX** · Moderate · updated 2026-10-23 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98764.json)

**kernel: usb: gadget: f_fs: Fix NULL pointer dereference in FUNCTIONFS_ENDPOINT_DESC** — rated Moderate by Red Hat. Released 2026-10-18, updated 2026-10-23.

Not affected:

- Red Hat Enterprise Linux 10
- 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

Refer to the advisory for fix availability.
