# CVE-2026-100030: spi: ch341: handle transfers without a TX or RX buffer

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-11-30T13:23:14.044Z
- Modified: 2026-12-01T06:17:19.707Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8846739f52afa07e63395c80227dc544f54bd7b1 before 2481f9585c843728cffe5d75d0104552e834f0d1; from 8846739f52afa07e63395c80227dc544f54bd7b1 before 90cc16ecf4a70aad6f8b3ea5af8ec38064b03428; from 8846739f52afa07e63395c80227dc544f54bd7b1 before f1e1d3a1014aee93bc33e8cb4994123684f1cf38; from 8846739f52afa07e63395c80227dc544f54bd7b1 before 84182c48999f856c3865e4a537c244f9569c9f6c; 6.11 (not affected: before 6.11; from 6.12.117 up to 6.12.*; from 6.18.63 up to 6.18.*; from 7.3.4 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/2481f9585c843728cffe5d75d0104552e834f0d1>
- <https://git.kernel.org/stable/c/90cc16ecf4a70aad6f8b3ea5af8ec38064b03428>
- <https://git.kernel.org/stable/c/f1e1d3a1014aee93bc33e8cb4994123684f1cf38>
- <https://git.kernel.org/stable/c/84182c48999f856c3865e4a537c244f9569c9f6c>

## Sources

- CVE List: [CVE-2026-100030](https://www.cve.org/CVERecord?id=CVE-2026-100030), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-100030](https://nvd.nist.gov/vuln/detail/CVE-2026-100030), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-100030 · Whole record: https://cve.day/CVE-2026-100030.json · Rebuilt by cve.day 2026-12-01T06:32:13.756Z
