---
id: CVE-2026-46228
title: 'spi: ch341: fix devres lifetime'
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  spi: ch341: fix devres lifetime

  USB drivers bind to USB interfaces and any device managed resources
  should have their lifetime tied to the interface rather than parent…
severity: none
vendor: Linux
product: Linux
affected:
  - >-
    Linux >= 8846739f52afa07e63395c80227dc544f54bd7b1 <
    42dfcd2ced905ea3993d88a051c13e04ab1029f7
  - >-
    Linux >= 8846739f52afa07e63395c80227dc544f54bd7b1 <
    4422fc2411cbbdf5104a914e0596bb483faea254
  - >-
    Linux >= 8846739f52afa07e63395c80227dc544f54bd7b1 <
    108a64b27a52f781c4f3751641e3dd65c7dd2fb5
  - >-
    Linux >= 8846739f52afa07e63395c80227dc544f54bd7b1 <
    abe572f630bc1f0e77041012ab075869036ede4f
  - Linux 6.11
published: '2026-05-28'
updated: '2026-10-21'
sourceUpdated: '2026-10-21T12:41:27.598Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-46228'
references:
  - url: 'https://git.kernel.org/stable/c/42dfcd2ced905ea3993d88a051c13e04ab1029f7'
  - url: 'https://git.kernel.org/stable/c/4422fc2411cbbdf5104a914e0596bb483faea254'
  - url: 'https://git.kernel.org/stable/c/108a64b27a52f781c4f3751641e3dd65c7dd2fb5'
  - url: 'https://git.kernel.org/stable/c/abe572f630bc1f0e77041012ab075869036ede4f'
tags:
  - cve.org
epss: 0.0016
epssPercentile: 0.04801
ingestedAt: '2026-10-21T12:48:53.628Z'
---

## Overview

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

spi: ch341: fix devres lifetime

USB drivers bind to USB interfaces and any device managed resources
should have their lifetime tied to the interface rather than parent USB
device. This avoids issues like memory leaks when drivers are unbound
without their devices being physically disconnected (e.g. on probe
deferral or configuration changes).

Fix the controller and driver data lifetime so that they are released
on driver unbind.

Note that this also makes sure that the SPI controller is placed
correctly under the USB interface in the device tree.

## Affected

- `Linux >= 8846739f52afa07e63395c80227dc544f54bd7b1 < 42dfcd2ced905ea3993d88a051c13e04ab1029f7`
- `Linux >= 8846739f52afa07e63395c80227dc544f54bd7b1 < 4422fc2411cbbdf5104a914e0596bb483faea254`
- `Linux >= 8846739f52afa07e63395c80227dc544f54bd7b1 < 108a64b27a52f781c4f3751641e3dd65c7dd2fb5`
- `Linux >= 8846739f52afa07e63395c80227dc544f54bd7b1 < abe572f630bc1f0e77041012ab075869036ede4f`
- `Linux 6.11`

## Remediation

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