CVE-2025-68773: spi: fsl-cpm: Check length parity before switching to 16 bit mode

Published Jan 13, 2026
·
Updated

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

spi: fsl-cpm: Check length parity before switching to 16 bit mode

Commit fc96ec826bce ("spi: fsl-cpm: Use 16 bit mode for large transfers with even size") failed to make sure that the size is really even before switching to 16 bit mode. Until recently the problem went unnoticed because kernfs uses a pre-allocated bounce buffer of size PAGESIZE for reading EEPROM.

But commit 8ad6249c51d0 ("eeprom: at25: convert to spi-mem API") introduced an additional dynamically allocated bounce buffer whose size is exactly the size of the transfer, leading to a buffer overrun in the fsl-cpm driver when that size is odd.

Add the missing length parity verification and remain in 8 bit mode when the length is not even.

Affected Software

2 affected componentsFixes available
linux/kernel
Microsoft azl3 kernel 6.6.119.3-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Apply the fix from commit fc96ec826bce by ensuring the spi: fsl-cpm driver “Check length parity before switching to 16 bit mode” so the transfer size is really even before moving out of 8 bit mode.

Event History

Jan 13, 2026
CVE Published
via MITRE·03:28 PM
Data Sourced
via MITRE·03:28 PM
Description
Data Sourced
via NVD·04:15 PM
Description
Jan 15, 2026
Data Sourced
via Microsoft·09:04 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·09:04 AM
Affected Software
Updated
via Microsoft·09:04 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2025-68773?

CVE-2025-68773 is classified as a high-severity vulnerability due to its potential impact on data integrity.

2

How do I fix CVE-2025-68773?

To fix CVE-2025-68773, it is recommended to update to the patched version of the Linux kernel that addresses this vulnerability.

3

What systems are affected by CVE-2025-68773?

CVE-2025-68773 affects various versions of the Linux kernel that utilizes the fsl-cpm SPI driver.

4

What are the consequences of not addressing CVE-2025-68773?

Failing to address CVE-2025-68773 may allow attackers to exploit the vulnerability, potentially leading to data corruption during SPI transactions.

5

How does CVE-2025-68773 impact SPI communication?

CVE-2025-68773 can introduce issues during 16-bit mode switching in SPI communication, particularly with large data transfers.

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