Kernel memory corruption via freed parent port
Published Apr 22, 2026 · Updated Apr 22, 2026
Use-after-free in the CXL port teardown path in Linux Kernel allows local users with administrative capabilities to corrupt kernel memory. During bottom-up endpoint removal, cxl_detach_ep() can unlock parent_port after concurrent detach or cascading unregister work has freed it because child ports do not retain parent references. Triggering the flaw requires CAP_SYS_ADMIN or CAP_SYS_MODULE and CXL devices; production kernels can suffer silent memory corruption.
Summary
What happened
Use-after-free in the CXL port teardown path in Linux Kernel allows local users with administrative capabilities to corrupt kernel memory. During bottom-up endpoint removal, cxl_detach_ep() can unlock parent_port after concurrent detach or cascading unregister work has freed it because child ports do not retain parent references. Triggering the flaw requires CAP_SYS_ADMIN or CAP_SYS_MODULE and CXL devices; production kernels can suffer silent memory corruption.
The record
- CVE
- CVE-2026-31530
- Published
- Apr 22, 2026
- Updated
- Apr 22, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Apr 22, 2026CVE publishedPublication date reported by the CVE source.
- Apr 22, 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=2345df54249c6fb7779e2a72b427ee79ed3eaad5 <19d2f0b97a131198efc2c4ca3eb7f980bba8c2b4
- Affected versionversion=2345df54249c6fb7779e2a72b427ee79ed3eaad5 <2c32141462045cf93d54a5146a0ba572b83533dd
- Affected versionversion=2345df54249c6fb7779e2a72b427ee79ed3eaad5 <d216a4bd138eb57cc4ae7c43b2f709e3482af7e2
- Affected versionversion=2345df54249c6fb7779e2a72b427ee79ed3eaad5 <f7dc6f381a1e5f068333f1faa9265d6af1df4235
- Affected versionversion=6.3
What conditions does exploitation require?
What is affected?
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