Skip to main content
EPSS 0.1%top 96%

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)

0
Medium
Published: 12/24/2025 (12/24/2025, 11:15:00 UTC)
Source: GCVE Database
Product: linux-hwe-edge

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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Affected versions
<6.17.0-1009.9~24.04.2<6.17.0-1010.10~24.04.1<6.17.0-1009.9~24.04.3<6.17.0-19.19~24.04.2<6.17.0-1018.18

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/30/2026, 18:41:13 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses