---
id: CVE-2026-23009
title: 'xhci: sideband: don''t dereference freed ring when removing sideband endpoint'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  xhci: sideband: don't dereference freed ring when removing sideband endpoint

  xhci_sideband_remove_endpoint() incorrecly assumes that the endpoint is
  running and has a …
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= de66754e9f8029f8ae955a588959b99cab56b506 <
    34f6634dba87ef72b3c3a3a524be663adef7ab42
  - >-
    Linux >= de66754e9f8029f8ae955a588959b99cab56b506 <
    dd83dc1249737b837ac5d57c81f2b0977c613d9f
  - Linux 6.16
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-11-05T21:18:33.819863Z'
exploitAvailable: true
published: '2026-01-25'
updated: '2026-11-05'
sourceUpdated: '2026-11-05T21:23:15.450Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-23009'
references:
  - url: 'https://git.kernel.org/stable/c/34f6634dba87ef72b3c3a3a524be663adef7ab42'
  - url: 'https://git.kernel.org/stable/c/dd83dc1249737b837ac5d57c81f2b0977c613d9f'
tags:
  - cve.org
  - exploit-available
epss: 0.00158
epssPercentile: 0.04973
exploits:
  github: 1
  githubRepos:
    - >-
      https://github.com/George0Papasotiriou/CVE-2026-23009-DICOM-Network-Image-Injection-Without-Authentication
  checkedAt: '2026-11-08T19:17:29.726Z'
ingestedAt: '2026-11-05T22:38:32.065Z'
---

## Overview

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

xhci: sideband: don't dereference freed ring when removing sideband endpoint

xhci_sideband_remove_endpoint() incorrecly assumes that the endpoint is
running and has a valid transfer ring.

Lianqin reported a crash during suspend/wake-up stress testing, and
found the cause to be dereferencing a non-existing transfer ring
'ep->ring' during xhci_sideband_remove_endpoint().

The endpoint and its ring may be in unknown state if this function
is called after xHCI was reinitialized in resume (lost power), or if
device is being re-enumerated, disconnected or endpoint already dropped.

Fix this by both removing unnecessary ring access, and by checking
ep->ring exists before dereferencing it. Also make sure endpoint is
running before attempting to stop it.

Remove the xhci_initialize_ring_info() call during sideband endpoint
removal as is it only initializes ring structure enqueue, dequeue and
cycle state values to their starting values without changing actual
hardware enqueue, dequeue and cycle state. Leaving them out of sync
is worse than leaving it as it is. The endpoint will get freed in after
this in most usecases.

If the (audio) class driver want's to reuse the endpoint after offload
then it is up to the class driver to ensure endpoint is properly set up.

## Affected

- `Linux >= de66754e9f8029f8ae955a588959b99cab56b506 < 34f6634dba87ef72b3c3a3a524be663adef7ab42`
- `Linux >= de66754e9f8029f8ae955a588959b99cab56b506 < dd83dc1249737b837ac5d57c81f2b0977c613d9f`
- `Linux 6.16`

## Remediation

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