Technical impact
This flaw in the Linux spi:ch341 driver causes the kernel to crash when a half‑duplex SPI transfer omits a TX or RX buffer. During a transfer without TX data the driver performs an unconditional memcpy from a NULL tx_buf, and if the RX buffer is missing the usb_bulk_msg function writes received data to address zero. The resulting kernel panic disables the system and could allow a malicious USB device to repeatedly bring a machine down.
Affected Systems
Any Linux kernel that builds the CH341 SPI controller driver is affected. The bug exists in all kernel releases that have not applied the upstream fix, regardless of distribution or kernel version. Embedded devices, workstations or servers using a CH341A USB‑to‑SPI bridge are at risk.
Risk and Exploitability
The vulnerability leads to an unconditional kernel crash when an attacker can trigger an improper SPI transfer, for example by connecting a malicious USB device that initiates a half‑duplex transaction. While it requires local interaction with the USB subsystem, the impact is critical: a single request can halt the entire kernel. No exploit code is required beyond the malformed transfer payload. The EPSS score is not available, the vulnerability is not yet listed in CISA’s KEV catalog, and the CVSS score is not provided in the CVE data. The launch of an attack is straightforward once the CH341 driver is active, especially on devices that expose the SPI bus to external consumers.