spi: fsl-cpm: Check length parity before switching to 16 bit mode
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.181 to before 5.10.248; 5.15.114 to before 5.15.198; 6.1.29 to before 6.1.160; 4.14.316 to before 4.15; 4.19.284 to before 4.20; 5.4.244 to before 5.5; 6.2.16 to before 6.3; 6.3.3 to before 6.4 | 5.10.248, 5.15.198, 6.1.160, 4.15, 4.20, 5.5, 6.3, 6.4 | Patch available | CNA |
| Linux | Linux | 6.4 and later | 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3, 6.19 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.181 to before 5.10.248; 5.15.114 to before 5.15.198; 6.1.29 to before 6.1.160; 4.14.316 to before 4.15; 4.19.284 to before 4.20; 5.4.244 to before 5.5; 6.2.16 to before 6.3; 6.3.3 to before 6.4 Fixed in 5.10.248, 5.15.198, 6.1.160, 4.15, 4.20, 5.5, 6.3, 6.4 Patch available CNA
- Linux VendorLinux Affected 6.4 and later Fixed in 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3, 6.19 Patch available CNA
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.248, 5.15.198, 6.1.160, 4.15, 4.20, 5.5, 6.3, 6.4
- Fix · CNA Linux (Linux) Fixed in 5.10.248, 5.15.198, 6.1.160, 6.6.120, 6.12.64, 6.18.3, 6.19
Vendor assessments
Red Hat
Not affected: 5 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2025-68773
- 2026-10-03 Alias added: GHSA-wrfv-x882-24r3
References
Other 7
- 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
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2025-68773 · CVE Program
- CVE-2025-68773 · NVD
- FIRST EPSS
- GHSA-wrfv-x882-24r3 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-68773 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences