Skip to main content

Linux Kernel CVE-2025-68352

HIGH
2025-12-24 416baaa9-dc9f-4396-8d5f-8c081fb06d67
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attach or use CH341 SPI device
  2. Delivery
    Gain local SPI transfer access
  3. Exploit
    Craft 32-byte full-packet transfer
  4. Execution
    Trigger out-of-bounds read/write in ch341_transfer_one
  5. Persist
    Corrupt adjacent kernel heap byte
  6. Impact
    Escalate privileges or crash kernel

Vulnerability Assessment

Exploitation Conditions

Exploitation requires the target to have a WCH CH341 USB-to-SPI bridge device present and the spi-ch341 kernel driver loaded, plus local access permitting an SPI transfer to reach ch341_transfer_one. The overread triggers on any transfer, but the out-of-bounds write specifically requires a transfer whose length makes 'len' equal CH341_PACKET_LENGTH (32), i.e. a full-packet payload. Limiting factors: the CVSS vector indicates local vector with low but non-zero privileges (PR:L - authenticated/local access needed, not remote unauthenticated), the CH341 SPI hardware/driver is a non-default niche configuration absent from typical servers and desktops, and the memory write is only a single byte, constraining exploit reliability.

Impact

The CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, base 7.8) reflects a local, low-complexity, low-privilege kernel memory-corruption bug with high confidentiality, integrity, and availability impact - the standard scoring for a local kernel heap overflow. However, the real-world priority is materially lower than the 7.8 suggests: EPSS is only 0.18% (7th percentile), the CVE is not on CISA KEV, and no public exploit is identified. Critically, exploitation is gated on physical/administrative presence of a CH341 SPI bridge device and the spi-ch341 driver being loaded, which is uncommon outside embedded/hardware-hacking and lab environments. The high CIA impact assumes successful kernel memory corruption, but the overflow is only a single byte (out-of-bounds write of 1 byte past a 32-byte buffer) plus a 1-byte overread, so practical weaponization into full code execution is non-trivial and not demonstrated. Net: a legitimate memory-safety defect worth patching, but low operational urgency for most fleets.

Exploit ScenarioDerived

A local user with SPI access on a host that has a CH341 USB-SPI adapter attached issues an SPI transfer with a length that drives 'len' to the 32-byte packet maximum, causing the driver to read one byte past the caller buffer and write one byte past ch341->tx_buf. Repeatedly grooming the kernel heap around the tx_buf could let the attacker corrupt adjacent kernel data toward privilege escalation, though no public proof-of-concept exists and only single-byte corruption is available.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 30, 2026

Out-of-bounds memory access in the Linux kernel's ch341 SPI driver (drivers/spi/spi-ch341) allows a local low-privileged actor to trigger heap buffer overreads and overwrites during SPI transfers on systems using a WCH CH341 USB-to-SPI bridge. The flaw stems from ch341_transfer_one copying 'len' bytes (which includes a 1-byte command header) instead of 'len - 1' from the user-supplied transfer buffer, causing both an out-of-bounds read from trans->tx_buf and, when len equals the 32-byte packet length, a 1-byte overflow of ch341->tx_buf. EPSS is low at 0.18% and there is no public exploit identified at time of analysis, consistent with a niche hardware-dependent kernel driver rather than a widely exploited target.

RemediationAI

Update to a Linux kernel build that includes the fix, which replaces the memcpy length with 'len - 1' so only payload bytes are copied; the fix is available upstream via the four referenced stable commits (e.g., https://git.kernel.org/stable/c/ea1e43966cd03098fcd5f0d72e6c2901d45fa08d and the sibling commits 545d1287, 81841da1, cad6c0fd). Because these are stable-tree commits rather than a single tagged release, apply your distribution's corresponding patched kernel package rather than an upstream version number. As a compensating control where patching is delayed, prevent the vulnerable code path from loading by blacklisting the spi-ch341 module (add 'blacklist spi-ch341' via modprobe) and restrict who can attach CH341 USB adapters - trade-off: this disables legitimate use of CH341 SPI dongles, so only apply on hosts that do not require them.

Affected ProductsAI

The Linux kernel's spi-ch341 driver is affected on systems using the WCH CH341 USB-to-SPI bridge. No specific version range or CPE is provided in the source data; the fix is distributed across multiple stable trees as shown by the four git.kernel.org stable commits (545d1287e40a55242f6ab68bcc1ba3b74088b1bc, 81841da1f30f66a850cc8796d99ba330aad9d696, cad6c0fd6f3c0e76a1f75df4bce3b08a13f08974, and ea1e43966cd03098fcd5f0d72e6c2901d45fa08d), indicating several maintained kernel branches received backports. Affected versions should be confirmed against each distribution's kernel changelog since exact introduced/fixed release tags are not enumerated in the provided intelligence.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected component is the SPI controller driver for the WCH CH341, a USB-to-serial/SPI/I2C bridge chip commonly found on cheap USB programmer/adapter dongles. The kernel driver frames each SPI transfer in a 32-byte USB packet (CH341_PACKET_LENGTH) where byte 0 is a command header and the remaining bytes carry payload. In ch341_transfer_one, 'len' is computed as min(32, trans->len + 1) to account for that header, but the same 'len' was then used as the memcpy length when copying payload from the SPI core's trans->tx_buf (which only holds trans->len bytes) into ch341->tx_buf + 1. This is a classic off-by-one/length-miscalculation buffer overflow (CWE-125 out-of-bounds read and CWE-787 out-of-bounds write); the upstream CWE field is marked N/A in the source data. The read reaches one byte past the caller's buffer, and when a full 32-byte transfer occurs, writing 32 bytes at offset +1 overruns the driver's fixed 32-byte tx_buf by one byte.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.8 HIGH

Local trigger via SPI transfer needing local privileges (PR:L) and no user interaction; kernel memory corruption gives high C/I/A, though single-byte write limits reliability.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

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).

  1. 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.

Executive ViewAI

Why It Matters

A high-severity buffer overflow vulnerability (CVE-2025-68352) in the Linux kernel's CH341 SPI driver exposes organizations using WCH CH341 USB-to-SPI bridge hardware to local privilege escalation attacks. With no vendor patch available and low public exploitation likelihood, organizations relying on this hardware must implement immediate access controls and inventory measures. The attack surface is limited to systems with local access, but impact is severe for environments where this hardware is present.

Business Impact: Medium
Compensating Controls

No vendor-released patch identified at time of analysis. Implement interim mitigations: restrict /dev/ch341* device node access to root-only via udev rules; disable ch341 kernel module on systems where not required; enforce SELinux or AppArmor policies restricting unprivileged SPI operations; enable kernel audit logging for SPI transfer errors and access attempts; maintain systems at latest available kernel version for your distribution; isolate affected systems on network segments to prevent lateral movement if compromised.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche WCH CH341 USB-SPI bridge driver, rare outside embedded/lab use
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest Image SL-Micro Affected
Container suse/sl-micro/6.0/toolbox:latest Affected
Image SLES-Azure-3P Image SLES-Azure-Basic Image SLES-Azure-Standard Image SLES-BYOS-Azure Image SLES-BYOS-EC2 Image SLES-BYOS-GCE Image SLES-CHOST-BYOS-Aliyun Image SLES-CHOST-BYOS-Azure Image SLES-CHOST-BYOS-EC2 Image SLES-CHOST-BYOS-GCE Image SLES-CHOST-BYOS-GDC Image SLES-CHOST-BYOS-SAP-CCloud Image SLES-EC2 Image SLES-EC2-ECS Image SLES-GCE Image SLES-GCE-3P Image SLES-Hardened-BYOS-Azure Image SLES-Hardened-BYOS-EC2 Image SLES-Hardened-BYOS-GCE Image SLES-SAPCAL-Azure Image SLES-SAPCAL-EC2 Image SLES-SAPCAL-GCE Affected
Image SLES-SAP-Azure Image SLES-SAP-Azure-3P Image SLES-SAP-BYOS-Azure Image SLES-SAP-BYOS-EC2 Image SLES-SAP-BYOS-GCE Image SLES-SAP-EC2 Image SLES-SAP-GCE Image SLES-SAP-GCE-3P Affected
SUSE Linux Enterprise High Availability Extension 16.0 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy