{"id":"CVE-2026-100030","aliases":["CVE-2026-100030"],"related":[],"kind":"vulnerability","state":"published","title":"spi: ch341: handle transfers without a TX or RX buffer","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: ch341: handle transfers without a TX or RX buffer\n\nch341_transfer_one() unconditionally copies from trans->tx_buf into the\nTX packet and hands trans->rx_buf to usb_bulk_msg() for the readback.\n\nThe SPI core allows half-duplex transfers where either of the buffers\nis NULL, so a transfer without TX data crashes the kernel on the memcpy\nand a transfer without RX data makes usb_bulk_msg() store the received\ndata at address 0.\n\nThe CH341A clocks data in both directions on every transfer; there is\nno mode to disable a direction. Set SPI_CONTROLLER_MUST_TX and\nSPI_CONTROLLER_MUST_RX so the SPI core fills in dummy buffers for\nhalf-duplex transfers.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: ch341: handle transfers without a TX or RX buffer\n\nch341_transfer_one() unconditionally copies from trans->tx_buf into the\nTX packet and hands trans->rx_buf to usb_bulk_msg() for the readback.\n\nThe SPI core allows half-duplex transfers where either of the buffers\nis NULL, so a transfer without TX data crashes the kernel on the memcpy\nand a transfer without RX data makes usb_bulk_msg() store the received\ndata at address 0.\n\nThe CH341A clocks data in both directions on every transfer; there is\nno mode to disable a direction. Set SPI_CONTROLLER_MUST_TX and\nSPI_CONTROLLER_MUST_RX so the SPI core fills in dummy buffers for\nhalf-duplex transfers.","source":"cvelist"}],"published":"2026-11-30T13:23:14.044Z","modified":"2026-12-01T06:17:19.707Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8846739f52afa07e63395c80227dc544f54bd7b1","fixed":"2481f9585c843728cffe5d75d0104552e834f0d1","status":"affected"},{"type":"git","introduced":"8846739f52afa07e63395c80227dc544f54bd7b1","fixed":"90cc16ecf4a70aad6f8b3ea5af8ec38064b03428","status":"affected"},{"type":"git","introduced":"8846739f52afa07e63395c80227dc544f54bd7b1","fixed":"f1e1d3a1014aee93bc33e8cb4994123684f1cf38","status":"affected"},{"type":"git","introduced":"8846739f52afa07e63395c80227dc544f54bd7b1","fixed":"84182c48999f856c3865e4a537c244f9569c9f6c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/2481f9585c843728cffe5d75d0104552e834f0d1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90cc16ecf4a70aad6f8b3ea5af8ec38064b03428","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f1e1d3a1014aee93bc33e8cb4994123684f1cf38","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/84182c48999f856c3865e4a537c244f9569c9f6c","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-100030","url":"https://www.cve.org/CVERecord?id=CVE-2026-100030","licence":"CVE Terms of Use","modified":"2026-12-01T05:39:39.395Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-100030","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-100030","licence":"Public domain","modified":"2026-12-01T06:17:19.707Z"}],"updatedAt":"2026-12-01T06:32:13.756Z","epss":{"score":0.00175,"percentile":0.07334,"date":"2026-12-01T12:00:22.000Z"}}