CVEvulnerability
CVE-2026-46228
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2026-05-28
- Last modified
- 2026-10-21
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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 configurations
• linux linux kernel (>= 6.11 < 6.18.32)
• linux linux kernel (>= 6.19 < 7.0.9)
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/108a64b27a52f781c4f3751641e3dd65c7dd2fb5 Patch
- https://git.kernel.org/stable/c/42dfcd2ced905ea3993d88a051c13e04ab1029f7 git.kernel.org
- https://git.kernel.org/stable/c/4422fc2411cbbdf5104a914e0596bb483faea254 Patch
- https://git.kernel.org/stable/c/abe572f630bc1f0e77041012ab075869036ede4f Patch