CVE-2026-64303: spi: fsl-lpspi: terminate the RX channel on TX prepare failure path
In the Linux kernel, the following vulnerability has been resolved:
spi: fsl-lpspi: terminate the RX channel on TX prepare failure path
When dmaengineprepslavesg() 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 Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-64303?
The severity of CVE-2026-64303 is classified as critical with a CVSS score of 9.8.
How do I fix CVE-2026-64303?
To fix CVE-2026-64303, update your Linux kernel to the latest version where this vulnerability has been resolved.
What type of vulnerability is CVE-2026-64303?
CVE-2026-64303 is categorized as a Use After Free vulnerability.
What systems are affected by CVE-2026-64303?
CVE-2026-64303 affects the Linux kernel, specifically implementations utilizing the fsl-lpspi SPI driver.
What potential impact does CVE-2026-64303 have?
If exploited, CVE-2026-64303 could allow unauthorized access or manipulation of data due to improper termination of the RX channel.