CVE-2026-46228

spi: ch341: fix devres lifetime

State
Published
Severity
Not scored
Published
May 28, 2026
Updated
Oct 21, 2026
Reserved
May 13, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8846739f52afa07e63395c80227dc544f54bd7b1 to before 42dfcd2ced905ea3993d88a051c13e04ab1029f7Affected
  • 8846739f52afa07e63395c80227dc544f54bd7b1 to before 4422fc2411cbbdf5104a914e0596bb483faea254Affected
  • 8846739f52afa07e63395c80227dc544f54bd7b1 to before 108a64b27a52f781c4f3751641e3dd65c7dd2fb5Affected
  • 8846739f52afa07e63395c80227dc544f54bd7b1 to before abe572f630bc1f0e77041012ab075869036ede4fAffected
LinuxLinux
  • 6.11Affected
  • before 6.11Not affected
  • 6.12.114 through 6.12.*Not affected
  • 6.18.32 through 6.18.*Not affected
  • 7.0.9 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.