CVE-2026-46228 spi: ch341: fix devres lifetime
A memory leak in the Linux kernel's ch341 SPI driver can lead to resource exhaustion and denial of service when the driver is unbound.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-46228?
CVE-2026-46228 is a medium-severity memory corruption vulnerability in Linux kernel, published on 28 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-401
Which versions are affected by CVE-2026-46228?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-46228?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-46228 being exploited?
There is no known exploitation of CVE-2026-46228 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-46228, DEBIAN-CVE-2026-46228, GHSA-qpf5-pj4j-j3vf, ROOT-OS-DEBIAN-13-CVE-2026-46228, UBUNTU-CVE-2026-46228.