CVE-2025-68352
published high CVSS 3.1 · 7.8spi: ch341: fix out-of-bounds memory access in ch341_transfer_one
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux8846739f52afa07e63395c80227dc544f54bd7b1 to < cad6c0fd6f3c0e76a1f75df4bce3b08a13f08974 · 8846739f52afa07e63395c80227dc544f54bd7b1 to < ea1e43966cd03098fcd5f0d72e6c2901d45fa08d · 8846739f52afa07e63395c80227dc544f54bd7b1 to < 81841da1f30f66a850cc8796d99ba330aad9d696 · 8846739f52afa07e63395c80227dc544f54bd7b1 to < 545d1287e40a55242f6ab68bcc1ba3b74088b1bc · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.11 (affected) · 0 to < 6.11 (unaffected · semver) · 6.12.63 through 6.12.* (unaffected · semver) · 6.17.13 through 6.17.* (unaffected · semver) · 6.18.2 through 6.18.* (unaffected · semver) · 6.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20228-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20228-1 |
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-16 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20228-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20228-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20228-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20228-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultppc64le | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20228-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaults390x | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20228-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | gfs2-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20228-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kbaarch64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kb-develaarch64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-64kb-extraaarch64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-azureaarch64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-azurex86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-develaarch64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-develx86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-extraaarch64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-extrax86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-azure-vdsox86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultaarch64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultppc64le | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaults390x | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-defaultx86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-baseaarch64 | Advisory build | 6.12.0-160000.9.1.160000.2.6 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-baseppc64le | Advisory build | 6.12.0-160000.9.1.160000.2.6 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-basex86_64 | Advisory build | 6.12.0-160000.9.1.160000.2.6 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develaarch64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develppc64le | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-devels390x | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-develx86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extraaarch64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extrappc64le | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extras390x | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-extrax86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchppc64le | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchs390x | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-livepatchx86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-default-vdsox86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-develnoarch | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-docsnoarch | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-docs-htmlnoarch | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallaarch64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallppc64le | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmallx86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develaarch64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develppc64le | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-develx86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-kvmsmall-vdsox86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-macrosnoarch | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qaaarch64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qappc64le | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qas390x | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-obs-qax86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-sourcenoarch | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-source-vanillanoarch | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsaarch64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsppc64le | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-symss390x | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-symsx86_64 | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | SLE-16 | kernel-zfcpdumps390x | Advisory build | 6.12.0-160000.9.1 | SUSE-SU-2026:20220-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-64kbaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-azureaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-azurex86_64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultppc64le | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaults390x | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-rtaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | cluster-md-kmp-rtx86_64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-64kbaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-azureaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-azurex86_64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultppc64le | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaults390x | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-defaultx86_64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-rtaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dlm-kmp-rtx86_64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-allwinneraarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-alteraaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amazonaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amdaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-amlogicaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-apmaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-appleaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-armaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-broadcomaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-caviumaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-exynosaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-freescaleaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-hisiliconaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-lgaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-marvellaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | dtb-mediatekaarch64 | Advisory build | 6.12.0-160000.9.1 | OPENSUSE-SU-2026:20145-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The vulnerable function is reached through local write or SPI_IOC_MESSAGE operations on a provisioned spidev device. A malicious USB peripheral alone cannot trigger the faulty copy. AC:L - A transfer of at least 32 attacker-controlled bytes deterministically produces the one-byte overflow without a race. The attacker controls the overflowing byte and can repeat requests or perform heap grooming. PR:L - Binding spidev normally requires administrator provisioning, but the transfer path has no capability check. Once device-node access is granted, an ordinary unprivileged local user can trigger the bug. UI:N - The attacker directly opens the device and submits the transfer; no action by another user is required. S:U - The vulnerable SPI driver and the affected kernel memory share the same kernel security authority. This is a conventional local kernel privilege-escalation condition rather than a VM or IOMMU boundary escape. C:H - The out-of-bounds access can corrupt an adjacent slab object, potentially enabling control-flow hijacking and arbitrary kernel-memory disclosure. Under the required higher-severity treatment of exploitable memory corruption, confidentiality impact is high. I:H - For transfers of at least 32 bytes, the attacker controls the byte written beyond ch341->tx_buf. Corruption of adjacent allocator metadata or kernel objects can plausibly yield arbitrary writes or kernel code execution. A:H - The adjacent-object corruption can damage allocator metadata or devres list pointers, causing a kernel oops or panic. The triggering transfer can be submitted repeatedly.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 8846739f52afa07e63395c80227dc544f54bd7b1 to < cad6c0fd6f3c0e76a1f75df4bce3b08a13f08974 (affected · git)8846739f52afa07e63395c80227dc544f54bd7b1 to < ea1e43966cd03098fcd5f0d72e6c2901d45fa08d (affected · git)8846739f52afa07e63395c80227dc544f54bd7b1 to < 81841da1f30f66a850cc8796d99ba330aad9d696 (affected · git)8846739f52afa07e63395c80227dc544f54bd7b1 to < 545d1287e40a55242f6ab68bcc1ba3b74088b1bc (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.11 (affected)0 to < 6.11 (unaffected · semver)6.12.63 through 6.12.* (unaffected · semver)6.17.13 through 6.17.* (unaffected · semver)6.18.2 through 6.18.* (unaffected · semver)6.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
spi: ch341: fix out-of-bounds memory access in ch341_transfer_one
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 47e141ef805cd8626148bb33b6ec32ee9f1debe2a5905e022eea2f6ae58512cc
- Ingested
- 23 Sep 2026, 08:57:02 UTC
- Source record
- Official CVE record