Kernel crash via post-release mutex unlock
Published Apr 10, 2024 · Updated May 23, 2026
Use-after-free in the Linux SPI core 5.14.15 through 5.15.4 allows local users to crash the kernel during controller removal. spi_unregister_controller calls put_device, allowing spi_controller_release to free the controller before mutex_unlock accesses its add_lock member. Exploitation requires local low-privileged access and a reachable SPI controller-removal path; the bounded consequence is a kernel crash and service interruption.
Summary
What happened
Use-after-free in the Linux SPI core 5.14.15 through 5.15.4 allows local users to crash the kernel during controller removal. spi_unregister_controller calls put_device, allowing spi_controller_release to free the controller before mutex_unlock accesses its add_lock member. Exploitation requires local low-privileged access and a reachable SPI controller-removal path; the bounded consequence is a kernel crash and service interruption.
The record
- CVE
- CVE-2021-47195
- Published
- Apr 10, 2024
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 10, 2024CVE publishedPublication date reported by the CVE source.
- May 23, 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=5.14.15 <5.15
- Affected versionversion=5.15
- Affected versionversion=6098475d4cb48d821bdf453c61118c56e26294f0 <37330f37f6666c7739a44b2b6b95b047ccdbed2d
- Affected versionversion=6098475d4cb48d821bdf453c61118c56e26294f0 <6c53b45c71b4920b5e62f0ea8079a1da382b9434
- Affected versionversion=722ef19a161ce3fffb3d1b01ce2301c306639bdd
- Affected versionversion=aa3f3d7bef59583f2d3234173105a27ff61ef8fe <54c2c96eafcfd242e52e932ab54ace4784efe1dd
- Affected versionversion=c8dce228db6f81dbc897a018dfc5c418e917cf64 <11eab327a2a8bd36c38afbff920ae1bd45588dd4
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