Description
In the Linux kernel, the following vulnerability has been resolved:

ocfs2: validate lengths in dlm_mig_lockres_handler

A node receiving a DLM_MIG_LOCKRES message trusts several fields of the
peer-supplied dlm_migratable_lockres without validation. num_locks and
lockname_len are bounded only on the sending side, and the message is
never checked to actually carry num_locks migratable_lock entries. As a
result dlm_process_recovery_data() walks mres->ml[0..num_locks) past the
kmalloc(data_len) copy of the message (an out-of-bounds read that ends in
a BUG_ON panic), and dlm_init_lockres() copies lockname_len bytes into the
fixed 32-byte o2dlm_lockname slab object (a heap out-of-bounds write).
Both are reachable by any node in the domain.

Validate these fields right after dlm_grab(), before anything uses them --
including the not-joined error path, which already prints mres->lockname
with the unbounded lockname_len as a %.*s precision. Reject the message
unless lockname_len <= DLM_LOCKID_NAME_MAX, num_locks <=
DLM_MAX_MIGRATABLE_LOCKS (the bound the sender already asserts), and the
payload is large enough to hold the claimed locks. Conforming recovery
and migration messages are unaffected.
Published: 2026-09-11
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: System crash and possible denial of service via out‑of‑bounds memory access
Action: Apply patch
AI Analysis

Impact

An OCFS2 node that message performs an out‑of‑bounds read and a heap out‑of‑bounds write (CWE‑787). The read occurs in dlm_process_recovery_data() when it iterates past the allocated buffer, and the write occurs in dlm_init_lockres() when it copies a lock name longer than the fixed 32‑byte o2dlm_lockname slab object. Both operations trigger a BUG_ON or corrupt kernel memory, leading to a panicked process and a kernel reboot, effectively destroying availability of the affected node.

Affected Systems

The vulnerability is present in the Linux kernel itself and would affect any distribution running the OCFS2 shared‑file‑system. All nodes in such a domain are potential targets, regardless of the specific vendor or distribution name.

Risk and Exploitability

The CVSS score of 9.8 combined with an EPSS score of < 1% indicates a high severity but low probability of exploitation. The vulnerability is not listed in CISA KEV. Based on the description, it is inferred that the likely attack vector is sending a crafted DLM_MIG_LOCKRES packet to a node within the same domain, such as a compromised cluster member or a maliciously configured client. Successful exploitation would result in a kernel crash and denial of service on that node. The risk is mitigated by updating the kernel to a patched version that validates the message lengths before processing.

Generated by OpenCVE AI on September 15, 2026 at 22:38 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the DLM migration message validation fix (for example, apply the patch from commit 50c4cc9183e11f… provided in the official kernel repository).
  • If a kernel upgrade cannot be performed immediately, disable the DLM migration feature or the entire DLM subsystem on nodes until the patch is applied, thereby preventing malicious messages from being processed.
  • Continuously monitor kernel logs for BUG_ON or crash indicators related to DLM messages and isolate or reboot nodes exhibiting such behavior to maintain cluster stability.

Generated by OpenCVE AI on September 15, 2026 at 22:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6528-1 linux security update
History

Mon, 14 Sep 2026 12:30:00 +0000


Sun, 13 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Sat, 12 Sep 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important


Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ocfs2: validate lengths in dlm_mig_lockres_handler A node receiving a DLM_MIG_LOCKRES message trusts several fields of the peer-supplied dlm_migratable_lockres without validation. num_locks and lockname_len are bounded only on the sending side, and the message is never checked to actually carry num_locks migratable_lock entries. As a result dlm_process_recovery_data() walks mres->ml[0..num_locks) past the kmalloc(data_len) copy of the message (an out-of-bounds read that ends in a BUG_ON panic), and dlm_init_lockres() copies lockname_len bytes into the fixed 32-byte o2dlm_lockname slab object (a heap out-of-bounds write). Both are reachable by any node in the domain. Validate these fields right after dlm_grab(), before anything uses them -- including the not-joined error path, which already prints mres->lockname with the unbounded lockname_len as a %.*s precision. Reject the message unless lockname_len <= DLM_LOCKID_NAME_MAX, num_locks <= DLM_MAX_MIGRATABLE_LOCKS (the bound the sender already asserts), and the payload is large enough to hold the claimed locks. Conforming recovery and migration messages are unaffected.
Title ocfs2: validate lengths in dlm_mig_lockres_handler
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-14T12:00:28.925Z

Reserved: 2026-09-11T19:38:34.714Z

Link: CVE-2026-89494

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-11T20:19:31.370

Modified: 2026-09-14T13:19:06.433

Link: CVE-2026-89494

cve-icon Redhat

Severity : Important

Publid Date: 2026-09-11T19:43:45Z

Links: CVE-2026-89494 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-15T22:45:07Z

Weaknesses