Bug 2586405 (CVE-2026-100030) - CVE-2026-100030 kernel: kernel: Denial of Service via missing buffer checks in CH341 SPI driver
Summary: CVE-2026-100030 kernel: kernel: Denial of Service via missing buffer checks i...
Keywords:
Status: NEW
Alias: CVE-2026-100030
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 13:47 UTC by OSIDB Bzimport
Modified: 2026-11-30 22:00 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 13:47:18 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.