PT-2026-34390 · Linux · Linux Kernel
Published
2026-04-22
·
Updated
2026-05-26
·
CVE-2026-31485
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A teardown order issue exists in the spi-fsl-lpspi driver. The SPI controller is registered using
devm spi register controller(), which delays unregistration until after the fsl lpspi remove() function returns. Because fsl lpspi remove() synchronously tears down DMA channels, a running SPI transfer can trigger a NULL pointer dereference resulting from a use-after-free condition in the fsl lpspi dma transfer() function.Recommendations
Update the Linux kernel to a version where
devm spi register controller() is replaced by spi register controller() in fsl lpspi probe() and spi unregister controller() is added to fsl lpspi remove().Fix
Use After Free
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel