{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "8846739f52afa07e63395c80227dc544f54bd7b1"
            },
            {
              "fixed": "2481f9585c843728cffe5d75d0104552e834f0d1"
            },
            {
              "fixed": "90cc16ecf4a70aad6f8b3ea5af8ec38064b03428"
            },
            {
              "fixed": "f1e1d3a1014aee93bc33e8cb4994123684f1cf38"
            },
            {
              "fixed": "84182c48999f856c3865e4a537c244f9569c9f6c"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.11.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100030.json"
  },
  "details": "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-\u003etx_buf into the\nTX packet and hands trans-\u003erx_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.",
  "id": "CVE-2026-100030",
  "modified": "2026-12-01T06:45:26.467393657Z",
  "published": "2026-11-30T13:23:14.044Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2481f9585c843728cffe5d75d0104552e834f0d1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/84182c48999f856c3865e4a537c244f9569c9f6c"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/90cc16ecf4a70aad6f8b3ea5af8ec38064b03428"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f1e1d3a1014aee93bc33e8cb4994123684f1cf38"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/100xxx/CVE-2026-100030.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-100030"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "spi: ch341: handle transfers without a TX or RX buffer"
}