Impact
In the Linux kernel, an improper reference count handling in the OCFS2 Distributed Lock Manager (DLM) debugfs interface allows a use‑after‑free condition when a debugfs file is opened after the corresponding DLM domain has been unregistered. The flaw arises because the open path ignores the failure of dlm_grab(), storing a dangling pointer that later triggers a KASAN slab‑use‑after‑free when the file is closed. This kernel memory corruption can lead to arbitrary code execution or system instability, corresponding to CWE‑416.
Affected Systems
Affected systems are any Linux kernel installations that provide the OCFS2 filesystem with the DLM component compiled in. The issue is present in all kernel releases before the patch that enforces a reference check during debugfs open; no specific upstream version range is listed, so all kernels prior to the resolution should be considered vulnerable.
Risk and Exploitability
With a CVSS score of 5.5, the flaw presents a moderate risk. The EPSS score of < 1% and its absence from the KEV catalog suggest it is not yet widely exploited. The flaw requires privilege to open the ocfs2/dlm debugfs entry and a concurrent domain shutdown to create the dangling reference, implying a local or privileged attacker could trigger the use‑after‑free. If successfully triggered, the memory corruption could allow arbitrary kernel code execution, presenting a moderate risk to affected systems.
OpenCVE Enrichment