CVE-2026-64303 Details
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.
A vulnerability exists in the Linux kernel's SPI controller for the Freescale LPSPI interface. When the DMA engine preparation for the TX channel fails, the error handling correctly stops the TX channel but neglects to terminate the RX channel, which continues to operate. This oversight can lead to memory corruption or use-after-free conditions, as the RX channel writes data to buffers that have already been unmapped. The issue arises because the RX operation is initiated before the TX descriptor is prepared, creating a conflict when an error occurs.
The vulnerability has been addressed in the Linux kernel. Users should upgrade to the latest version where this issue has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/01980b5da56e573d62798d0ff6c86bcaa2b22cbe | kernel.org | Patch |
| https://git.kernel.org/stable/c/808033d80d5c9f8adf7e8de9317389270ce13430 | kernel.org | Patch |
| https://git.kernel.org/stable/c/9d000bdd250d649a11cd7f733175686877344582 | kernel.org | Patch |
| https://git.kernel.org/stable/c/ad370d1c7a9a832f77b2341513cd31188c9443af | kernel.org | Patch |
| https://git.kernel.org/stable/c/af39a2698f69b584d14a00cffe0f51a2caa15337 | kernel.org | Patch |
| https://git.kernel.org/stable/c/cce2063404b2341e7b2bbf85eddfcd70a31a0033 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d5c1060218a3749c8a18b36f8169d910fce20639 | kernel.org | Patch |
| https://git.kernel.org/stable/c/e65505d91fa036a238968e4c10744244d1b968c4 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
| CWE-416 | Use After Free | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.2, < 5.10.261 >= 5.11, < 5.15.212 >= 5.16, < 6.1.178 >= 6.2, < 6.6.145 >= 6.7, < 6.12.96 >= 6.13, < 6.18.39 >= 6.19, < 7.1.4 |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Modified | CISA-ADP |
| Oct 16, 2026 | CVE Modified | kernel.org |
| Oct 16, 2026 | CVE Modified | CISA-ADP |
| Sep 3, 2026 | Initial Analysis | [email protected] |
| Aug 17, 2026 | CVE Modified | kernel.org |
| Jul 27, 2026 | CVE Modified | kernel.org |
| Jul 25, 2026 | New CVE Received | kernel.org |