PT-2026-162612
CVE-2026-100030
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Found an issue in the description? Have something to add? Feel free to write us 👾