Summary
In the Linux kernel DLM (Distributed Lock Manager) subsystem, dlm_search_rsb_tree only checked whether the resource name length exceeded DLM_RESNAME_MAXLEN, not whether it was negative. A negative value passed to memcpy() is converted to a very large size, causing a stack buffer overflow on the key[] array. The fix changes the 'len' parameter to unsigned int so the existing check catches such values.
Per the CVSS vector (score 9.8, critical), the attack is network-based, low complexity, requires no authentication or user interaction, and successful exploitation can impact confidentiality, integrity and availability. The vulnerability is not listed in CISA KEV; EPSS is about 1.2% (68th percentile).
Who is affected
Organizations running Linux systems with DLM in use (e.g. GFS2/OCFS2 or clustered LVM clusters) on affected kernels starting from 6.6.
What to do
- Update the kernel to a fixed version: 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1 (or later in the respective branch), or a distribution kernel including the referenced fix commits.
- Check exposure: determine the kernel version (uname -r) and whether the DLM module is loaded (lsmod | grep dlm).
- If DLM is not needed, consider disabling or not loading the dlm module until patched.
- Restrict network access to DLM traffic to trusted cluster nodes only (firewall, isolated network).
- Monitor your Linux distribution's security advisories for backported fixes.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
References
- git.kernel.org/stable/c/08cb20cf07a8c5324b49442421da1556fd2d7cff
- git.kernel.org/stable/c/35d6a8cf1b8865f4f1646f98683925e3cd070a1c
- git.kernel.org/stable/c/69beb43cd143f63078e569d9d90c6c401c866695
- git.kernel.org/stable/c/d785f7d92f197b72d496bbcf54a160cd54f00263
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.