Linux kernel spi-fsl-lpspi driver teardown order use-after-free
CVE-2026-31485High
The spi-fsl-lpspi driver registers the SPI controller using a deferred cleanup function, but tears down DMA channels immediately during driver removal. If an SPI transfer is running when the driver is removed, the DMA teardown completes before the SPI controller is unregistered, causing the transfer to attempt to access freed DMA resources. An attacker with the ability to trigger SPI transfers whilst the driver is being removed could cause a kernel NULL pointer dereference and denial of service.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Detail
Affected versions
- linux linux kernel: from 4.10.1, before 5.10.253
- linux linux kernel: from 5.11, before 5.15.203
- linux linux kernel: from 5.16, before 6.1.168
- linux linux kernel: from 6.2, before 6.6.131
- linux linux kernel: from 6.7, before 6.12.80
- linux linux kernel: from 6.13, before 6.18.21
- linux linux kernel: from 6.19, before 6.19.11
- linux linux kernel: 4.10
- linux linux kernel: 7.0
Reports naming this CVE1 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)