System crash via cleared CXL driver context
Published May 21, 2024 · Updated May 23, 2026
NULL pointer dereference in affected Linux kernel versions allows local users to crash systems while removing a CXL mock memory device. During cxl_memdev_unregister(), memdev teardown clears the cxlds driver context before dependent CXL regions finish unwinding, so cxl_region_decode_reset() dereferences the cleared context. Triggering the teardown requires local administrative control over CXL device or module removal, and the documented consequence is a kernel crash.
Summary
What happened
NULL pointer dereference in affected Linux kernel versions allows local users to crash systems while removing a CXL mock memory device. During cxl_memdev_unregister(), memdev teardown clears the cxlds driver context before dependent CXL regions finish unwinding, so cxl_region_decode_reset() dereferences the cleared context. Triggering the teardown requires local administrative control over CXL device or module removal, and the documented consequence is a kernel crash.
The record
- CVE
- CVE-2023-52849
- Published
- May 21, 2024
- Updated
- May 23, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1529
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- May 21, 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.8 <5.15
- Affected versionversion=5.15
- Affected versionversion=964a9834492210f48b360baa9e20a9eedf4d08ff
- Affected versionversion=9cc238c7a526dba9ee8c210fa2828886fc65db66 <0ca074f7d788627a4e0b047ca5fbdb5fc567220c
- Affected versionversion=9cc238c7a526dba9ee8c210fa2828886fc65db66 <20bd0198bebdd706bd4614b3933ef70d7c19618f
- Affected versionversion=9cc238c7a526dba9ee8c210fa2828886fc65db66 <7c7371b41a14e86f53e7dbe5baa7b1d3e0ab324b
- Affected versionversion=9cc238c7a526dba9ee8c210fa2828886fc65db66 <88d3917f82ed4215a2154432c26de1480a61b209
- Affected versionversion=9cc238c7a526dba9ee8c210fa2828886fc65db66 <cad22a757029c3a1985c221a2d4a6491ad4035ae
What conditions does exploitation require?
What is affected?
Published CVSS scores
No CVSS assessment is available in this record.
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