CVE-2025-68352: spi: ch341: fix out-of-bounds memory access in ch341_transfer_one

Published Dec 24, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

spi: ch341: fix out-of-bounds memory access in ch341transferone

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->txbuf' to 'ch341->txbuf + 1', using 'len' as the length is incorrect because:

1. It causes an out-of-bounds read from 'trans->txbuf' (which has size 'trans->len', i.e., 'len - 1' in this context). 2. It can cause an out-of-bounds write to 'ch341->txbuf' if 'len' is CH341PACKETLENGTH (32). Writing 32 bytes to ch341->txbuf + 1 overflows the buffer.

Fix this by copying 'len - 1' bytes.

Affected Software

1 affected component
linux/kernel

Event History

Dec 24, 2025
CVE Published
via MITRE·10:32 AM
Data Sourced
via MITRE·10:32 AM
DescriptionSeverity
Data Sourced
via NVD·11:15 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2025-68352?

CVE-2025-68352 is classified as a medium severity vulnerability due to the potential for out-of-bounds memory access.

2

How do I fix CVE-2025-68352?

To fix CVE-2025-68352, update the Linux kernel to the latest stable version where this vulnerability has been resolved.

3

What components are affected by CVE-2025-68352?

CVE-2025-68352 affects the SPI (Serial Peripheral Interface) subsystem in the Linux kernel related to the ch341 driver.

4

What type of vulnerability is CVE-2025-68352?

CVE-2025-68352 is an out-of-bounds memory access vulnerability which could lead to undefined behavior or potential data corruption.

5

Who discovered CVE-2025-68352?

CVE-2025-68352 was discovered by Atuin, the Automated Vulnerability Discovery Engine.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203