Kernel crash via LPSPI probe use-after-free
Published Apr 17, 2024 · Updated May 11, 2026
Use-after-free in the LPSPI controller probe path in Linux allows local users to crash the kernel through a probe error. fsl_lpspi_probe() manually drops the SPI controller with spi_controller_put() after devm_spi_register_controller() succeeds, leaving device-managed cleanup to call spi_unregister_controller() on freed memory. Exploitation requires local low-privileged access and an LPSPI device whose probe fails after registration; the documented result is a NULL-pointer kernel crash.
Summary
What happened
Use-after-free in the LPSPI controller probe path in Linux allows local users to crash the kernel through a probe error. fsl_lpspi_probe() manually drops the SPI controller with spi_controller_put() after devm_spi_register_controller() succeeds, leaving device-managed cleanup to call spi_unregister_controller() on freed memory. Exploitation requires local low-privileged access and an LPSPI device whose probe fails after registration; the documented result is a NULL-pointer kernel crash.
The record
- CVE
- CVE-2024-26866
- Published
- Apr 17, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 17, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.10
- Affected versionversion=5314987de5e5f5e38436ef4a69328bc472bbd63e <1543418e82789cc383cd36d41469983c64e3fc7f
- Affected versionversion=5314987de5e5f5e38436ef4a69328bc472bbd63e <2ae0ab0143fcc06190713ed81a6486ed0ad3c861
- Affected versionversion=5314987de5e5f5e38436ef4a69328bc472bbd63e <996ce839606afd0fef91355627868022aa73eb68
- Affected versionversion=5314987de5e5f5e38436ef4a69328bc472bbd63e <da83ed350e4604b976e94239b08d8e2e7eaee7ea
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo