CVE-2025-68352spi: ch341: fix out-of-bounds memory access in ch341_transfer_one
- 7.8HighCVSS base score
- 0.15%Exploitation in 30 daysEPSS · top 95% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: spi: ch341: fix out-of-bounds memory access in ch341_transfer_one Discovered by Atuin - Automated Vulnerability Discovery Engine. The 'len' variable is calculated as 'min(32, trans->len + 1)', which includes the 1-byte command header. When copying data from 'trans->tx_buf' to 'ch341->tx_buf + 1', using 'len' as the length is incorrect because: 1. It causes an out-of-bounds read from 'trans->tx_buf' (which has size 'trans->len', i.e., 'len - 1' in this context). 2. It can cause an out-of-bounds write to 'ch341->tx_buf' if 'len' is CH341_PACKET_LENGTH (32). Writing 32 bytes to ch341->tx_buf + 1 overflows the buffer. Fix this by copying 'len - 1' bytes.
Timeline
ID reserved
By Linux
- 8 days later
· 8 days later
Published
- 7 months later
· 7 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.15% · top 95% of all CVEs (12 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 8846739f52afa07e63395c80227dc544f54bd7b1 – < cad6c0fd6f3c0e76a1f75df4bce3b08a13f08974
- affected 8846739f52afa07e63395c80227dc544f54bd7b1 – < ea1e43966cd03098fcd5f0d72e6c2901d45fa08d
- affected 8846739f52afa07e63395c80227dc544f54bd7b1 – < 81841da1f30f66a850cc8796d99ba330aad9d696
- affected 8846739f52afa07e63395c80227dc544f54bd7b1 – < 545d1287e40a55242f6ab68bcc1ba3b74088b1bc
- affected 6.11
- unaffected < 6.11
- unaffected 6.12.63 – ≤ 6.12.*
- unaffected 6.17.13 – ≤ 6.17.*
- unaffected 6.18.2 – ≤ 6.18.*
- unaffected 6.19 – ≤ *
References
References4
- https://git.kernel.org/stable/c/cad6c0fd6f3c0e76a1f75df4bce3b08a13f08974 (opens in a new tab)
- https://git.kernel.org/stable/c/ea1e43966cd03098fcd5f0d72e6c2901d45fa08d (opens in a new tab)
- https://git.kernel.org/stable/c/81841da1f30f66a850cc8796d99ba330aad9d696 (opens in a new tab)
- https://git.kernel.org/stable/c/545d1287e40a55242f6ab68bcc1ba3b74088b1bc (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-205102 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-68352)Record last updated .