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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2026-01-13T15:28:50.686Z
- **Modified:** 2026-11-10T13:17:59.407Z

## Who should check

- Anyone running Linux \>= 60afe299bb541a928ba39bcb4ae8d3e428d1c5a5, \< c8f1d35076b78df61ace737e41cc1f4b7b63236c; \>= 4badd33929c05ed314794b95f1af1308f7222be8, \< 9c34a4a2ead00979d203a8c16bea87f0ef5291d8; \>= 7f6738e003b364783f3019fdf6e7645bc8dd1643, \< 837a23a11e0f734f096c7c7b0778d0e625e3dc87; \>= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, \< 3dd6d01384823e1bd8602873153d6fc4337ac4fe; \>= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, \< 743cebcbd1b2609ec5057ab474979cef73d1b681; \>= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, \< be0b613198e6bfa104ad520397cab82ad3ec1771; \>= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, \< 1417927df8049a0194933861e9b098669a95c762; 42c04316d9275ec267d36e5e9064cd56c9884148; dc120f2d35b030390a2bc0f94dd5f37e900cae91; b558275c1b040f0e5aa56c862241f9212b6118c3; …
- Anyone running Linux 6.4

## Description

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
PAGE\_SIZE 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 and fixed versions

- Linux: \>= 60afe299bb541a928ba39bcb4ae8d3e428d1c5a5, \< c8f1d35076b78df61ace737e41cc1f4b7b63236c; \>= 4badd33929c05ed314794b95f1af1308f7222be8, \< 9c34a4a2ead00979d203a8c16bea87f0ef5291d8; \>= 7f6738e003b364783f3019fdf6e7645bc8dd1643, \< 837a23a11e0f734f096c7c7b0778d0e625e3dc87; \>= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, \< 3dd6d01384823e1bd8602873153d6fc4337ac4fe; \>= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, \< 743cebcbd1b2609ec5057ab474979cef73d1b681; \>= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, \< be0b613198e6bfa104ad520397cab82ad3ec1771; \>= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, \< 1417927df8049a0194933861e9b098669a95c762; 42c04316d9275ec267d36e5e9064cd56c9884148; dc120f2d35b030390a2bc0f94dd5f37e900cae91; b558275c1b040f0e5aa56c862241f9212b6118c3; … (cvelist)
- Linux: 6.4 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68773. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68773.md
Affected: Linux >= 60afe299bb541a928ba39bcb4ae8d3e428d1c5a5, < c8f1d35076b78df61ace737e41cc1f4b7b63236c; >= 4badd33929c05ed314794b95f1af1308f7222be8, < 9c34a4a2ead00979d203a8c16bea87f0ef5291d8; >= 7f6738e003b364783f3019fdf6e7645bc8dd1643, < 837a23a11e0f734f096c7c7b0778d0e625e3dc87; >= fc96ec826bced75cc6b9c07…
Fixed in: Linux 9c34a4a2ead00979d203a8c16bea87f0ef5291d8, Linux 837a23a11e0f734f096c7c7b0778d0e625e3dc87, Linux 3dd6d01384823e1bd8602873153d6fc4337ac4fe, Linux 743cebcbd1b2609ec5057ab474979cef73d1b681, Linux 1417927df8049a0194933861e9b098669a95c762

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68773 being exploited?

There is no confirmed exploitation: CVE-2025-68773 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68773?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68773?

Linux \>= 60afe299bb541a928ba39bcb4ae8d3e428d1c5a5, \< c8f1d35076b78df61ace737e41cc1f4b7b63236c; \>= 4badd33929c05ed314794b95f1af1308f7222be8, \< 9c34a4a2ead00979d203a8c16bea87f0ef5291d8; \>= 7f6738e003b364783f3019fdf6e7645bc8dd1643, \< 837a23a11e0f734f096c7c7b0778d0e625e3dc87; \>= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, \< 3dd6d01384823e1bd8602873153d6fc4337ac4fe; \>= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, \< 743cebcbd1b2609ec5057ab474979cef73d1b681; \>= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, \< be0b613198e6bfa104ad520397cab82ad3ec1771; \>= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, \< 1417927df8049a0194933861e9b098669a95c762; 42c04316d9275ec267d36e5e9064cd56c9884148; dc120f2d35b030390a2bc0f94dd5f37e900cae91; b558275c1b040f0e5aa56c862241f9212b6118c3; …; Linux 6.4.

### Is there a fix for CVE-2025-68773?

Yes. Fixed in Linux 9c34a4a2ead00979d203a8c16bea87f0ef5291d8, Linux 837a23a11e0f734f096c7c7b0778d0e625e3dc87, Linux 3dd6d01384823e1bd8602873153d6fc4337ac4fe, Linux 743cebcbd1b2609ec5057ab474979cef73d1b681, Linux 1417927df8049a0194933861e9b098669a95c762. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68773?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/c8f1d35076b78df61ace737e41cc1f4b7b63236c>
- other: <https://git.kernel.org/stable/c/9c34a4a2ead00979d203a8c16bea87f0ef5291d8>
- other: <https://git.kernel.org/stable/c/837a23a11e0f734f096c7c7b0778d0e625e3dc87>
- other: <https://git.kernel.org/stable/c/3dd6d01384823e1bd8602873153d6fc4337ac4fe>
- other: <https://git.kernel.org/stable/c/743cebcbd1b2609ec5057ab474979cef73d1b681>
- other: <https://git.kernel.org/stable/c/be0b613198e6bfa104ad520397cab82ad3ec1771>
- other: <https://git.kernel.org/stable/c/1417927df8049a0194933861e9b098669a95c762>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68773>

HTML: <https://flawdb.com/CVE-2025-68773> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68773>
