Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Critical 9.8CVE-2026-139768

Linux kernel DLM: stack buffer overflow from negative length in dlm_search_rsb_tree

Published 30/11/2026 · Updated 02/12/2026 · Linux

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

  1. 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.
  2. Check exposure: determine the kernel version (uname -r) and whether the DLM module is loaded (lsmod | grep dlm).
  3. If DLM is not needed, consider disabling or not loading the dlm module until patched.
  4. Restrict network access to DLM traffic to trusted cluster nodes only (firewall, isolated network).
  5. Monitor your Linux distribution's security advisories for backported fixes.

Affected products and versions

Linux Linux63e711b081609748d631fc3a08b14ba01c8e4f16 – < 08cb20cf07a8c5324b49442421da1556fd2d7cff · 63e711b081609748d631fc3a08b14ba01c8e4f16 – < 35d6a8cf1b8865f4f1646f98683925e3cd070a1c · 63e711b081609748d631fc3a08b14ba01c8e4f16 – < 69beb43cd143f63078e569d9d90c6c401c866695 · 63e711b081609748d631fc3a08b14ba01c8e4f16 – < d785f7d92f197b72d496bbcf54a160cd54f00263Fixed in: 08cb20cf07a8c5324b49442421da1556fd2d7cff · 35d6a8cf1b8865f4f1646f98683925e3cd070a1c · 69beb43cd143f63078e569d9d90c6c401c866695 · d785f7d92f197b72d496bbcf54a160cd54f00263
Linux Linux6.6Fixed in: 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1

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

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.