---
id: CVE-2026-98695
title: 'USB: serial: fix ioctl hangup race'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  USB: serial: fix ioctl hangup race

  The tty ioctls can race with hangup and end up calling into a tty driver
  for a device that is already gone or powered down.

  Seriali…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= f34d7a5b7010b82fe97da95496b9971435530062 <
    ae0da9a5c1ca95c20cc5feffd511ce6eae75924e
  - >-
    Linux >= f34d7a5b7010b82fe97da95496b9971435530062 <
    4597ddd6168ae2a4123404e5f0871f1070dc7773
  - >-
    Linux >= f34d7a5b7010b82fe97da95496b9971435530062 <
    7912a95d1345c77d8d63b530b00c118700b78abd
  - >-
    Linux >= f34d7a5b7010b82fe97da95496b9971435530062 <
    ae0e61d95677efa778379853e495d748e6efbf95
  - Linux 2.6.26
published: '2026-10-18'
updated: '2026-10-18'
sourceUpdated: '2026-10-18T15:46:19.498Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-98695'
references:
  - url: 'https://git.kernel.org/stable/c/ae0da9a5c1ca95c20cc5feffd511ce6eae75924e'
  - url: 'https://git.kernel.org/stable/c/4597ddd6168ae2a4123404e5f0871f1070dc7773'
  - url: 'https://git.kernel.org/stable/c/7912a95d1345c77d8d63b530b00c118700b78abd'
  - url: 'https://git.kernel.org/stable/c/ae0e61d95677efa778379853e495d748e6efbf95'
tags:
  - cve.org
ingestedAt: '2026-10-18T16:47:32.517Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

USB: serial: fix ioctl hangup race

The tty ioctls can race with hangup and end up calling into a tty driver
for a device that is already gone or powered down.

Serialise the callbacks using the tty port mutex and add the missing
checks to make sure the port has not been hung up before accessing port
driver data or hardware.

This specifically avoids dereferencing a NULL-pointer if a device is
disconnected during lengthy break signalling.

Note that TIOCGICOUNT and TIOCMIWAIT do not access port driver data or
hardware and are therefore not affected by the race.

## Affected

- `Linux >= f34d7a5b7010b82fe97da95496b9971435530062 < ae0da9a5c1ca95c20cc5feffd511ce6eae75924e`
- `Linux >= f34d7a5b7010b82fe97da95496b9971435530062 < 4597ddd6168ae2a4123404e5f0871f1070dc7773`
- `Linux >= f34d7a5b7010b82fe97da95496b9971435530062 < 7912a95d1345c77d8d63b530b00c118700b78abd`
- `Linux >= f34d7a5b7010b82fe97da95496b9971435530062 < ae0e61d95677efa778379853e495d748e6efbf95`
- `Linux 2.6.26`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
