spi: ch341: fix devres lifetime
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.114, 6.18.32, 7.0.9
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
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 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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 8846739f52afa07e63395c80227dc544f54bd7b1 · fixed in 42dfcd2ced905ea3993d88a051c13e04ab1029f7; From 8846739f52afa07e63395c80227dc544f54bd7b1 · fixed in 4422fc2411cbbdf5104a914e0596bb483faea254; From 8846739f52afa07e63395c80227dc544f54bd7b1 · fixed in 108a64b27a52f781c4f3751641e3dd65c7dd2fb5; From 8846739f52afa07e63395c80227dc544f54bd7b1 · fixed in abe572f630bc1f0e77041012ab075869036ede4f
- Linux Linux
6.11
- KernelLinux
From 6.11.0 · fixed in 6.12.114; From 6.13.0 · fixed in 6.18.32; From 6.19.0 · fixed in 7.0.9