CVE-2026-64303
spi: fsl-lpspi: terminate the RX channel on TX prepare failure path
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.
INFO
Published Date :
July 25, 2026, 10:17 a.m.
Last Modified :
Aug. 17, 2026, 5:17 a.m.
Remotely Exploit :
Yes !
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 |
Solution
- Apply the kernel patch to terminate the RX channel.
- Ensure DMA channels are properly managed on failure.
- Update the Linux kernel to the fixed version.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-64303.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-64303 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-64303
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-64303 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-64303 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 17, 2026
Action Type Old Value New Value Changed Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'ad370d1c7a9a832f77b2341513cd31188c9443af', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'cce2063404b2341e7b2bbf85eddfcd70a31a0033', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'af39a2698f69b584d14a00cffe0f51a2caa15337', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'e65505d91fa036a238968e4c10744244d1b968c4', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'd5c1060218a3749c8a18b36f8169d910fce20639', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': '808033d80d5c9f8adf7e8de9317389270ce13430', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': '9d000bdd250d649a11cd7f733175686877344582', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': '01980b5da56e573d62798d0ff6c86bcaa2b22cbe', 'versionType': 'git'}], 'programFiles': ['drivers/spi/spi-fsl-lpspi.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.2'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.2', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/spi/spi-fsl-lpspi.c'], 'defaultStatus': 'affected'}] [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'ad370d1c7a9a832f77b2341513cd31188c9443af', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'cce2063404b2341e7b2bbf85eddfcd70a31a0033', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'af39a2698f69b584d14a00cffe0f51a2caa15337', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'e65505d91fa036a238968e4c10744244d1b968c4', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'd5c1060218a3749c8a18b36f8169d910fce20639', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': '808033d80d5c9f8adf7e8de9317389270ce13430', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': '9d000bdd250d649a11cd7f733175686877344582', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': '01980b5da56e573d62798d0ff6c86bcaa2b22cbe', 'versionType': 'git'}], 'programFiles': ['drivers/spi/spi-fsl-lpspi.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.2'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.2', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/spi/spi-fsl-lpspi.c'], 'defaultStatus': 'affected'}] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 27, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jul. 25, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'ad370d1c7a9a832f77b2341513cd31188c9443af', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'cce2063404b2341e7b2bbf85eddfcd70a31a0033', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'af39a2698f69b584d14a00cffe0f51a2caa15337', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'e65505d91fa036a238968e4c10744244d1b968c4', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': 'd5c1060218a3749c8a18b36f8169d910fce20639', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': '808033d80d5c9f8adf7e8de9317389270ce13430', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': '9d000bdd250d649a11cd7f733175686877344582', 'versionType': 'git'}, {'status': 'affected', 'version': '09c04466ce7ea494993c0635ba5edb6d2222a806', 'lessThan': '01980b5da56e573d62798d0ff6c86bcaa2b22cbe', 'versionType': 'git'}], 'programFiles': ['drivers/spi/spi-fsl-lpspi.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.2'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.2', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.10.261', 'versionType': 'semver', 'lessThanOrEqual': '5.10.*'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.96', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.39', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.4', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/spi/spi-fsl-lpspi.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/01980b5da56e573d62798d0ff6c86bcaa2b22cbe Added Reference https://git.kernel.org/stable/c/808033d80d5c9f8adf7e8de9317389270ce13430 Added Reference https://git.kernel.org/stable/c/9d000bdd250d649a11cd7f733175686877344582 Added Reference https://git.kernel.org/stable/c/ad370d1c7a9a832f77b2341513cd31188c9443af Added Reference https://git.kernel.org/stable/c/af39a2698f69b584d14a00cffe0f51a2caa15337 Added Reference https://git.kernel.org/stable/c/cce2063404b2341e7b2bbf85eddfcd70a31a0033 Added Reference https://git.kernel.org/stable/c/d5c1060218a3749c8a18b36f8169d910fce20639 Added Reference https://git.kernel.org/stable/c/e65505d91fa036a238968e4c10744244d1b968c4