CVE-2025-68773
spi: fsl-cpm: Check length parity before switching to 16 bit mode
Check your servers for CVE-2025-68773
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68773 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.4% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 60afe299bb541a928ba39bcb4ae8d3e428d1c5a5, before c8f1d35076b78df61ace737e41cc1f4b7b63236c affected from 4badd33929c05ed314794b95f1af1308f7222be8, before 9c34a4a2ead00979d203a8c16bea87f0ef5291d8 affected from 7f6738e003b364783f3019fdf6e7645bc8dd1643, before 837a23a11e0f734f096c7c7b0778d0e625e3dc87 affected from fc96ec826bced75cc6b9c07a4ac44bbf651337ab, before 3dd6d01384823e1bd8602873153d6fc4337ac4fe affected from fc96ec826bced75cc6b9c07a4ac44bbf651337ab, before 743cebcbd1b2609ec5057ab474979cef73d1b681 affected from fc96ec826bced75cc6b9c07a4ac44bbf651337ab, before be0b613198e6bfa104ad520397cab82ad3ec1771 affected from fc96ec826bced75cc6b9c07a4ac44bbf651337ab, before 1417927df8049a0194933861e9b098669a95c762 affected 42c04316d9275ec267d36e5e9064cd56c9884148 affected dc120f2d35b030390a2bc0f94dd5f37e900cae91 affected b558275c1b040f0e5aa56c862241f9212b6118c3 affected b9d9e8856f1c83e4277403f9b4c369b322ebcb12 affected 36a6d0f66c874666caf4e8be155b1be30f6231be affected from 5.10.181, before 5.10.248 affected from 5.15.114, before 5.15.198 affected from 6.1.29, before 6.1.160 affected from 4.14.316, before 4.15 affected from 4.19.284, before 4.20 affected from 5.4.244, before 5.5 affected from 6.2.16, before 6.3 affected from 6.3.3, before 6.4
Other versions: unaffected
|
| Linux |
affected 6.4 unaffected before 6.4 unaffected from 5.10.248 up to and including 5.10.* unaffected from 5.15.198 up to and including 5.15.* unaffected from 6.1.160 up to and including 6.1.* unaffected from 6.6.120 up to and including 6.6.* unaffected from 6.12.64 up to and including 6.12.* unaffected from 6.18.3 up to and including 6.18.* unaffected 6.19 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68773 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68773
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-68773
trivy image --scanners vuln IMAGE | grep CVE-2025-68773
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c8f1d35076b78df61ace737e41cc1f4b7b63236c git.kernel.org
- https://git.kernel.org/stable/c/9c34a4a2ead00979d203a8c16bea87f0ef5291d8 git.kernel.org
- https://git.kernel.org/stable/c/837a23a11e0f734f096c7c7b0778d0e625e3dc87 git.kernel.org
- https://git.kernel.org/stable/c/3dd6d01384823e1bd8602873153d6fc4337ac4fe git.kernel.org
- https://git.kernel.org/stable/c/743cebcbd1b2609ec5057ab474979cef73d1b681 git.kernel.org
- https://git.kernel.org/stable/c/be0b613198e6bfa104ad520397cab82ad3ec1771 git.kernel.org
- https://git.kernel.org/stable/c/1417927df8049a0194933861e9b098669a95c762 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
Source: the record CVE-2025-68773 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse