{
  "id": "CVE-2025-68352",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-68352",
  "published_at": "2025-12-24T10:32:43.366Z",
  "title": "spi: ch341: fix out-of-bounds memory access in ch341_transfer_one",
  "vendor": "Linux",
  "product": "Linux",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "In the Linux kernel, the following vulnerability has been resolved:\n\nspi: ch341: fix out-of-bounds memory access in ch341_transfer_one\n\nDiscovered by Atuin - Automated Vulnerability Discovery Engine.\n\nThe 'len' variable is calculated as 'min(32, trans-\u003elen + 1)',\nwhich includes the 1-byte command header.\n\nWhen copying data from 'trans-\u003etx_buf' to 'ch341-\u003etx_buf + 1', using 'len'\nas the length is incorrect because:\n\n1. It causes an out-of-bounds read from 'trans-\u003etx_buf' (which has size\n   'trans-\u003elen', i.e., 'len - 1' in this context).\n2. It can cause an out-of-bounds write to 'ch341-\u003etx_buf' if 'len' is\n   CH341_PACKET_LENGTH (32). Writing 32 bytes to ch341-\u003etx_buf + 1\n   overflows the buffer.\n\nFix this by copying 'len - 1' bytes.",
  "cvss_by_source": {
    "cna": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "\u003e= 8846739f52afa07e63395c80227dc544f54bd7b1, \u003c cad6c0fd6f3c0e76a1f75df4bce3b08a13f08974",
          "\u003e= 8846739f52afa07e63395c80227dc544f54bd7b1, \u003c ea1e43966cd03098fcd5f0d72e6c2901d45fa08d",
          "\u003e= 8846739f52afa07e63395c80227dc544f54bd7b1, \u003c 81841da1f30f66a850cc8796d99ba330aad9d696",
          "\u003e= 8846739f52afa07e63395c80227dc544f54bd7b1, \u003c 545d1287e40a55242f6ab68bcc1ba3b74088b1bc"
        ],
        "fixed_in": [
          "cad6c0fd6f3c0e76a1f75df4bce3b08a13f08974",
          "ea1e43966cd03098fcd5f0d72e6c2901d45fa08d",
          "81841da1f30f66a850cc8796d99ba330aad9d696",
          "545d1287e40a55242f6ab68bcc1ba3b74088b1bc"
        ]
      },
      {
        "vendor": "Linux",
        "product": "Linux",
        "ranges": [
          "6.11"
        ],
        "fixed_in": [
          "0",
          "6.12.63",
          "6.17.13",
          "6.18.2",
          "6.19"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Linux to cad6c0fd6f3c0e76a1f75df4bce3b08a13f08974 or ea1e43966cd03098fcd5f0d72e6c2901d45fa08d or 81841da1f30f66a850cc8796d99ba330aad9d696 or 545d1287e40a55242f6ab68bcc1ba3b74088b1bc or later.",
      "Upgrade Linux to 0 or 6.12.63 or 6.17.13 or 6.18.2 or 6.19 or later."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
