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

CVE-2026-64303
CRITICAL 9.8

At a glance

Source
NVD
EPSS
EPSS 0.69 % · percentile 53 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1CRITICAL 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected 09c04466ce7ea494993c0635ba5edb6d2222a806 < ad370d1c7a9a832f77b2341513cd31188c9443af ; affected 09c04466ce7ea494993c0635ba5edb6d2222a806 < cce2063404b2341e7b2bbf85eddfcd70a31a0033 ; affected 09c04466ce7ea494993c0635ba5edb6d2222a806 < af39a2698f69b584d14a00cffe0f51a2caa15337 ; affected 09c04466ce7ea494993c0635ba5edb6d2222a806 < e65505d91fa036a238968e4c10744244d1b968c4 ; affected 09c04466ce7ea494993c0635ba5edb6d2222a806 < d5c1060218a3749c8a18b36f8169d910fce20639 ; affected 09c04466ce7ea494993c0635ba5edb6d2222a806 < 808033d80d5c9f8adf7e8de9317389270ce13430
Linux · Linuxaffected 5.2 ; unaffected 0 < 5.2 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD