Description
In the Linux kernel, the following vulnerability has been resolved: spi: ch341: handle transfers without a TX or RX buffer ch341_transfer_one() unconditionally copies from trans->tx_buf into the TX packet and hands trans->rx_buf to usb_bulk_msg() for the readback. The SPI core allows half-duplex transfers where either of the buffers is NULL, so a transfer without TX data crashes the kernel on the memcpy and a transfer without RX data makes usb_bulk_msg() store the received data at address 0. The CH341A clocks data in both directions on every transfer; there is no mode to disable a direction. Set SPI_CONTROLLER_MUST_TX and SPI_CONTROLLER_MUST_RX so the SPI core fills in dummy buffers for half-duplex transfers.
Severity (CVSS)
| Base score | 7.8 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8846739f52afa07e63395c80227dc544f54bd7b1 to <2481f9585c843728cffe5d75d0104552e834f0d1 [affected]; 8846739f52afa07e63395c80227dc544f54bd7b1 to <90cc16ecf4a70aad6f8b3ea5af8ec38064b03428 [affected]; 8846739f52afa07e63395c80227dc544f54bd7b1 to <f1e1d3a1014aee93bc33e8cb4994123684f1cf38 [affected]; 8846739f52afa07e63395c80227dc544f54bd7b1 to <84182c48999f856c3865e4a537c244f9569c9f6c [affected] |
| Linux | Linux | 6.11 [affected]; 0 to <6.11 [unaffected]; 6.12.117 to <=6.12.* [unaffected]; 6.18.63 to <=6.18.* [unaffected]; 7.3.4 to <=7.3.* [unaffected]; 7.4-rc1 to <=* [unaffected] |
References
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 01 Dec 2026 08:04 UTC.