CVE-2025-68773
spi: fsl-cpm: Check length parity before switching to 16 bit mode
Mitigation
- No fix listed yet: follow the vendor advisory.
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
Vulnerability facts
- Affected
- Linux >= 60afe299bb541a928ba39bcb4ae8d3e428d1c5a5, < c8f1d35076b78df61ace737e41cc1f4b7b63236c; >= 4badd33929c05ed314794b95f1af1308f7222be8, < 9c34a4a2ead00979d203a8c16bea87f0ef5291d8; >= 7f6738e003b364783f3019fdf6e7645bc8dd1643, < 837a23a11e0f734f096c7c7b0778d0e625e3dc87; >= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, < 3dd6d01384823e1bd8602873153d6fc4337ac4fe; >= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, < 743cebcbd1b2609ec5057ab474979cef73d1b681; >= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, < be0b613198e6bfa104ad520397cab82ad3ec1771; >= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, < 1417927df8049a0194933861e9b098669a95c762; 42c04316d9275ec267d36e5e9064cd56c9884148; dc120f2d35b030390a2bc0f94dd5f37e900cae91; b558275c1b040f0e5aa56c862241f9212b6118c3; …; Linux 6.4
- Fixed in
- Linux 9c34a4a2ead00979d203a8c16bea87f0ef5291d8, Linux 837a23a11e0f734f096c7c7b0778d0e625e3dc87, Linux 3dd6d01384823e1bd8602873153d6fc4337ac4fe, Linux 743cebcbd1b2609ec5057ab474979cef73d1b681, Linux 1417927df8049a0194933861e9b098669a95c762
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 60afe299bb541a928ba39bcb4ae8d3e428d1c5a5, < c8f1d35076b78df61ace737e41cc1f4b7b63236c; >= 4badd33929c05ed314794b95f1af1308f7222be8, < 9c34a4a2ead00979d203a8c16bea87f0ef5291d8; >= 7f6738e003b364783f3019fdf6e7645bc8dd1643, < 837a23a11e0f734f096c7c7b0778d0e625e3dc87; >= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, < 3dd6d01384823e1bd8602873153d6fc4337ac4fe; >= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, < 743cebcbd1b2609ec5057ab474979cef73d1b681; >= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, < be0b613198e6bfa104ad520397cab82ad3ec1771; >= fc96ec826bced75cc6b9c07a4ac44bbf651337ab, < 1417927df8049a0194933861e9b098669a95c762; 42c04316d9275ec267d36e5e9064cd56c9884148; dc120f2d35b030390a2bc0f94dd5f37e900cae91; b558275c1b040f0e5aa56c862241f9212b6118c3; … | — | cvelist |
| Linux | 6.4 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Other
- https://git.kernel.org/stable/c/c8f1d35076b78df61ace737e41cc1f4b7b63236c
- https://git.kernel.org/stable/c/9c34a4a2ead00979d203a8c16bea87f0ef5291d8
- https://git.kernel.org/stable/c/837a23a11e0f734f096c7c7b0778d0e625e3dc87
- https://git.kernel.org/stable/c/3dd6d01384823e1bd8602873153d6fc4337ac4fe
- https://git.kernel.org/stable/c/743cebcbd1b2609ec5057ab474979cef73d1b681
- https://git.kernel.org/stable/c/be0b613198e6bfa104ad520397cab82ad3ec1771
- https://git.kernel.org/stable/c/1417927df8049a0194933861e9b098669a95c762
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html
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.