Kernel crash via stale debugfs directory pointer
Published May 21, 2024 · Updated May 11, 2026
NULL pointer dereference in the Linux kernel hisi_sas driver allows local users to crash the kernel during device removal. The debugfs initialization failure path removes debugfs_dir but leaves the stale pointer set, so hisi_sas_debugfs_exit later passes it to debugfs_remove_recursive a second time. The fault requires a memory-allocation failure during debugfs setup, subsequent removal of a HiSilicon SAS v3 device, and local access; the demonstrated consequence is a kernel crash.
Summary
What happened
NULL pointer dereference in the Linux kernel hisi_sas driver allows local users to crash the kernel during device removal. The debugfs initialization failure path removes debugfs_dir but leaves the stale pointer set, so hisi_sas_debugfs_exit later passes it to debugfs_remove_recursive a second time. The fault requires a memory-allocation failure during debugfs setup, subsequent removal of a HiSilicon SAS v3 device, and local access; the demonstrated consequence is a kernel crash.
The record
- CVE
- CVE-2023-52808
- Published
- May 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 21, 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.5
- Affected versionversion=47caad1577cd7a39e2048c5e4edbce4b863dc12b <33331b265aac9441ac0c1a5442e3f05d038240ec
- Affected versionversion=47caad1577cd7a39e2048c5e4edbce4b863dc12b <6de426f9276c448e2db7238911c97fb157cb23be
- Affected versionversion=47caad1577cd7a39e2048c5e4edbce4b863dc12b <75a2656260fe8c7eeabda6ff4600b29e183f48db
- Affected versionversion=47caad1577cd7a39e2048c5e4edbce4b863dc12b <b4465009e7d60c6111946db4c8f1e50d401ed7be
- Affected versionversion=47caad1577cd7a39e2048c5e4edbce4b863dc12b <f0bfc8a5561fb0b2c48183dcbfe00bdd6d973bd3
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.
Weakness, pattern, technique
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