CVE-2025-68352
Out-of-Bounds Read/Write in Linux Kernel ch341 SPI Driver
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is an out-of-bounds memory access issue in the Linux kernel's spi ch341 driver. Specifically, the code incorrectly calculates the length of data to copy, leading to reading beyond the source buffer and potentially writing beyond the destination buffer. This happens because the length variable includes an extra byte for a command header, causing the copy operation to exceed buffer boundaries. The fix involves adjusting the copy length to avoid these out-of-bounds accesses.
How can this vulnerability impact me? :
This vulnerability can lead to memory corruption due to out-of-bounds reads and writes. Such memory corruption can cause system instability, crashes, or potentially allow an attacker to execute arbitrary code or escalate privileges if exploited.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version where the ch341 driver has been fixed to correctly handle the buffer length by copying 'len - 1' bytes instead of 'len'. This prevents out-of-bounds memory access. Avoid using vulnerable kernel versions and apply vendor patches or kernel updates as soon as they become available.