# CVE-2026-64303: spi: fsl-lpspi: terminate the RX channel on TX prepare failure path

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 54% of CVEs (2026-12-01)
- Published: 2026-07-25T08:49:38.223Z
- Modified: 2026-10-19T21:17:30.687Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## Description

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

spi: fsl-lpspi: terminate the RX channel on TX prepare failure path

When dmaengine_prep_slave_sg() fails for the TX channel, the error path
terminates the TX DMA channel but leaves the RX channel running. Since
the RX channel was already submitted and issued prior to preparing
the TX descriptor, returning -EINVAL causes the SPI core to unmap the
DMA buffers while the RX DMA engine continues writing to them, leading
to potential memory corruption or use-after-free.

Terminate the RX channel before returning on the TX prepare failure path.

(As written by CVE List.)

## Affected

- Linux Linux: from 09c04466ce7ea494993c0635ba5edb6d2222a806 before ad370d1c7a9a832f77b2341513cd31188c9443af; from 09c04466ce7ea494993c0635ba5edb6d2222a806 before cce2063404b2341e7b2bbf85eddfcd70a31a0033; from 09c04466ce7ea494993c0635ba5edb6d2222a806 before af39a2698f69b584d14a00cffe0f51a2caa15337; from 09c04466ce7ea494993c0635ba5edb6d2222a806 before e65505d91fa036a238968e4c10744244d1b968c4; from 09c04466ce7ea494993c0635ba5edb6d2222a806 before d5c1060218a3749c8a18b36f8169d910fce20639; from 09c04466ce7ea494993c0635ba5edb6d2222a806 before 808033d80d5c9f8adf7e8de9317389270ce13430; from 09c04466ce7ea494993c0635ba5edb6d2222a806 before 9d000bdd250d649a11cd7f733175686877344582; from 09c04466ce7ea494993c0635ba5edb6d2222a806 before 01980b5da56e573d62798d0ff6c86bcaa2b22cbe; 5.2 (not affected: before 5.2; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 5.2 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4

## References

- <https://git.kernel.org/stable/c/ad370d1c7a9a832f77b2341513cd31188c9443af> (patch)
- <https://git.kernel.org/stable/c/cce2063404b2341e7b2bbf85eddfcd70a31a0033> (patch)
- <https://git.kernel.org/stable/c/af39a2698f69b584d14a00cffe0f51a2caa15337> (patch)
- <https://git.kernel.org/stable/c/e65505d91fa036a238968e4c10744244d1b968c4> (patch)
- <https://git.kernel.org/stable/c/d5c1060218a3749c8a18b36f8169d910fce20639> (patch)
- <https://git.kernel.org/stable/c/808033d80d5c9f8adf7e8de9317389270ce13430> (patch)
- <https://git.kernel.org/stable/c/9d000bdd250d649a11cd7f733175686877344582> (patch)
- <https://git.kernel.org/stable/c/01980b5da56e573d62798d0ff6c86bcaa2b22cbe> (patch)

## Sources

- CVE List: [CVE-2026-64303](https://www.cve.org/CVERecord?id=CVE-2026-64303), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-64303](https://nvd.nist.gov/vuln/detail/CVE-2026-64303), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-64303 · Whole record: https://cve.day/CVE-2026-64303.json · Rebuilt by cve.day 2026-11-25T22:59:30.059Z
