Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-46228

spi: ch341: fix devres lifetime

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8846739f52afa07e63395c80227dc544f54bd7b1 to < 42dfcd2ced905ea3993d88a051c13e04ab1029f7affected
  • 8846739f52afa07e63395c80227dc544f54bd7b1 to < 4422fc2411cbbdf5104a914e0596bb483faea254affected
  • 8846739f52afa07e63395c80227dc544f54bd7b1 to < 108a64b27a52f781c4f3751641e3dd65c7dd2fb5affected
  • 8846739f52afa07e63395c80227dc544f54bd7b1 to < abe572f630bc1f0e77041012ab075869036ede4faffected

Linux Linux

Default version status: affected

  • 6.11affected
  • 0 to < 6.11unaffected
  • 6.12.114 to ≤ 6.12.*unaffected
  • 6.18.32 to ≤ 6.18.*unaffected
  • 7.0.9 to ≤ 7.0.*unaffected
  • 7.1 to ≤ *unaffected

References