CVE-2026-64303
kernel: spi: fsl-lpspi: terminate the RX channel on TX prepare failure path
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · July 25, 2026
Updated · November 2, 2026
Description
A flaw was found in the Linux kernel's fsl-lpspi driver. This vulnerability occurs when the transmit (TX) Direct Memory Access (DMA) channel fails to prepare, but the receive (RX) DMA channel continues to operate. This can lead to memory corruption or a use-after-free condition, potentially allowing an attacker to compromise system integrity or execute unauthorized code.
Statement
A flaw in the Linux kernel's fsl-lpspi SPI driver, rated IMPORTANT by Red Hat, affects the kernel and kernel-rt packages in Red Hat Enterprise Linux 9 and 10 as well as Red Hat In-Vehicle OS 2. When preparation of the transmit (TX) DMA descriptor fails, the driver's error path terminates only the TX DMA channel, while the already-submitted receive (RX) DMA channel keeps running. As a result, the SPI core unmaps the DMA buffers while the RX DMA engine continues writing to them, which can lead to memory corruption or a use-after-free and potentially compromise system integrity. Exploitation requires local access to a system using the NXP fsl-lpspi SPI controller, since the fault is reached only on the TX DMA prepare failure path. For this reason, Red Hat assessed a CVSS 3.1 score of 7.0 (AV:L/AC:H/PR:L) rather than the CVE.org score of 9.8, as the flaw does not expose a remote or unauthenticated attack vector. Red Hat Enterprise Linux 6, 7, and 8 are not affected because the vulnerable code is not present in those streams. A fix is being pursued for the affected Red Hat Enterprise Linux 9 and 10 and Red Hat In-Vehicle OS streams; in the RHEL 9.9 kernel stream a fix is not currently planned.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-825 · Expired Pointer Dereference