Linux Kernel: SPI CH341 devres Lifetime Leak Fix
CVE-2026-46228 Published on May 28, 2026
spi: ch341: fix devres lifetime
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.
Products Associated with CVE-2026-46228
Want to know whenever a new CVE is published for Linux Kernel? stack.watch will email you.
Affected Versions
Linux:- Version 8846739f52afa07e63395c80227dc544f54bd7b1 and below 4422fc2411cbbdf5104a914e0596bb483faea254 is affected.
- Version 8846739f52afa07e63395c80227dc544f54bd7b1 and below 108a64b27a52f781c4f3751641e3dd65c7dd2fb5 is affected.
- Version 8846739f52afa07e63395c80227dc544f54bd7b1 and below abe572f630bc1f0e77041012ab075869036ede4f is affected.
- Version 6.11 is affected.
- Before 6.11 is unaffected.
- Version 6.18.32, <= 6.18.* is unaffected.
- Version 7.0.9, <= 7.0.* is unaffected.
- Version 7.1-rc1, <= * is unaffected.