Paper/Archive/CVE-2026-64303

CVE-2026-64303

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

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
Linux09c04466ce7ea494993c0635ba5edb6d2222a806 – < ad370d1c7a9a832f77b2341513cd31188c9443afad370d1c7a9a832f77b2341513cd31188c9443afCNA
Linux09c04466ce7ea494993c0635ba5edb6d2222a806 – < cce2063404b2341e7b2bbf85eddfcd70a31a0033cce2063404b2341e7b2bbf85eddfcd70a31a0033CNA
Linux09c04466ce7ea494993c0635ba5edb6d2222a806 – < af39a2698f69b584d14a00cffe0f51a2caa15337af39a2698f69b584d14a00cffe0f51a2caa15337CNA
Linux09c04466ce7ea494993c0635ba5edb6d2222a806 – < e65505d91fa036a238968e4c10744244d1b968c4e65505d91fa036a238968e4c10744244d1b968c4CNA
Linux09c04466ce7ea494993c0635ba5edb6d2222a806 – < d5c1060218a3749c8a18b36f8169d910fce20639d5c1060218a3749c8a18b36f8169d910fce20639CNA
Linux09c04466ce7ea494993c0635ba5edb6d2222a806 – < 808033d80d5c9f8adf7e8de9317389270ce13430808033d80d5c9f8adf7e8de9317389270ce13430CNA
Linux09c04466ce7ea494993c0635ba5edb6d2222a806 – < 9d000bdd250d649a11cd7f7331756868773445829d000bdd250d649a11cd7f733175686877344582CNA
Linux09c04466ce7ea494993c0635ba5edb6d2222a806 – < 01980b5da56e573d62798d0ff6c86bcaa2b22cbe01980b5da56e573d62798d0ff6c86bcaa2b22cbeCNA
Linux5.25.10.261CNA

Scores by source

Linux (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

refgit.kernel.org/stable/c/ad370d1c7a9a832f77b2341513cd31188c9443afrefgit.kernel.org/stable/c/cce2063404b2341e7b2bbf85eddfcd70a31a0033refgit.kernel.org/stable/c/af39a2698f69b584d14a00cffe0f51a2caa15337refgit.kernel.org/stable/c/e65505d91fa036a238968e4c10744244d1b968c4refgit.kernel.org/stable/c/d5c1060218a3749c8a18b36f8169d910fce20639refgit.kernel.org/stable/c/808033d80d5c9f8adf7e8de9317389270ce13430refgit.kernel.org/stable/c/9d000bdd250d649a11cd7f733175686877344582refgit.kernel.org/stable/c/01980b5da56e573d62798d0ff6c86bcaa2b22cbe