Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: spi: ch341: fix out-of-bounds memory access in ch341_transfer_one Discovered by… (CVE-2025-68352)
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.
AI Analysis
Technical Summary
The Linux kernel's spi: ch341 driver contained a vulnerability (CVE-2025-68352) where the length used for copying data from the transmit buffer was calculated as min(32, trans->len + 1), including a 1-byte command header. This led to an out-of-bounds read from trans->tx_buf and a potential out-of-bounds write to ch341->tx_buf when the length reached the maximum packet size of 32 bytes. The fix involves copying len - 1 bytes instead, preventing buffer overflow and memory corruption.
Potential Impact
This vulnerability can cause out-of-bounds memory reads and writes in kernel space, potentially leading to memory corruption, system instability, or privilege escalation. The CVSS 3.1 vector indicates local attack vector with low complexity and no user interaction, resulting in high confidentiality, integrity, and availability impacts.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by correcting the length of bytes copied in the ch341_transfer_one function. Users should apply the official kernel updates or patches that include this fix. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or Linux kernel advisory for the latest remediation guidance.
Linux hwe edge: In the Linux kernel, the following vulnerability has been resolved: spi: ch341: fix out-of-bounds memory access in ch341_transfer_one Discovered by… (CVE-2025-68352)
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.
CVSS v3.1
Score 7.8high
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's spi: ch341 driver contained a vulnerability (CVE-2025-68352) where the length used for copying data from the transmit buffer was calculated as min(32, trans->len + 1), including a 1-byte command header. This led to an out-of-bounds read from trans->tx_buf and a potential out-of-bounds write to ch341->tx_buf when the length reached the maximum packet size of 32 bytes. The fix involves copying len - 1 bytes instead, preventing buffer overflow and memory corruption.
Potential Impact
This vulnerability can cause out-of-bounds memory reads and writes in kernel space, potentially leading to memory corruption, system instability, or privilege escalation. The CVSS 3.1 vector indicates local attack vector with low complexity and no user interaction, resulting in high confidentiality, integrity, and availability impacts.
Mitigation Recommendations
A fix for this vulnerability has been implemented in the Linux kernel by correcting the length of bytes copied in the ch341_transfer_one function. Users should apply the official kernel updates or patches that include this fix. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or Linux kernel advisory for the latest remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-3cw8-5h35-w527
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2025-68352"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a6b72d39c2644c7f8477fc9
Added to database: 07/30/2026, 15:50:43 UTC
Last enriched: 07/30/2026, 18:41:13 UTC
Last updated: 09/10/2026, 19:36:51 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.