In the Linux kernel, the following vulnerability has been resolved: ocfs2: validate lengths in dlm_mig_lockres_handler A node receiving a… (CVE-2026-89494)
A vulnerability in the Linux kernel's ocfs2 component related to the handling of DLM_MIG_LOCKRES messages has been resolved. The flaw involved insufficient validation of peer-supplied fields num_locks and lockname_len, leading to out-of-bounds memory reads and writes. This could cause kernel panics or memory corruption when processing recovery or migration messages. The fix adds validation checks to ensure these fields are within expected bounds before use. The vulnerability affects nodes in the domain that receive these messages. No CVSS score is provided.
AI Analysis
Technical Summary
The Linux kernel's ocfs2 filesystem had a vulnerability in the dlm_mig_lockres_handler function where a node receiving a DLM_MIG_LOCKRES message did not validate the num_locks and lockname_len fields of the peer-supplied dlm_migratable_lockres structure. These fields were only bounded on the sending side, and the message was not verified to contain the claimed number of migratable lock entries. This led to dlm_process_recovery_data() reading out-of-bounds memory beyond the allocated message buffer, causing a BUG_ON kernel panic, and dlm_init_lockres() performing a heap out-of-bounds write by copying more bytes than the fixed 32-byte slab object could hold. The vulnerability is reachable by any node in the domain. The patch adds validation immediately after dlm_grab() to reject messages where lockname_len exceeds DLM_LOCKID_NAME_MAX, num_locks exceeds DLM_MAX_MIGRATABLE_LOCKS, or the payload is too small to hold the claimed locks. Legitimate recovery and migration messages are unaffected.
Potential Impact
Exploitation of this vulnerability can cause out-of-bounds memory reads and writes in the kernel, leading to kernel panics (BUG_ON) or heap corruption. This can disrupt system stability and potentially be leveraged for denial of service or other impacts by any node in the domain sending crafted DLM_MIG_LOCKRES messages.
Mitigation Recommendations
A fix is available that validates the num_locks and lockname_len fields in DLM_MIG_LOCKRES messages before they are processed. Systems should apply the official kernel patch that adds these validation checks. Until patched, nodes should be cautious about accepting DLM_MIG_LOCKRES messages from untrusted nodes in the domain. No other mitigation is indicated.
In the Linux kernel, the following vulnerability has been resolved: ocfs2: validate lengths in dlm_mig_lockres_handler A node receiving a… (CVE-2026-89494)
Description
A vulnerability in the Linux kernel's ocfs2 component related to the handling of DLM_MIG_LOCKRES messages has been resolved. The flaw involved insufficient validation of peer-supplied fields num_locks and lockname_len, leading to out-of-bounds memory reads and writes. This could cause kernel panics or memory corruption when processing recovery or migration messages. The fix adds validation checks to ensure these fields are within expected bounds before use. The vulnerability affects nodes in the domain that receive these messages. No CVSS score is provided.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's ocfs2 filesystem had a vulnerability in the dlm_mig_lockres_handler function where a node receiving a DLM_MIG_LOCKRES message did not validate the num_locks and lockname_len fields of the peer-supplied dlm_migratable_lockres structure. These fields were only bounded on the sending side, and the message was not verified to contain the claimed number of migratable lock entries. This led to dlm_process_recovery_data() reading out-of-bounds memory beyond the allocated message buffer, causing a BUG_ON kernel panic, and dlm_init_lockres() performing a heap out-of-bounds write by copying more bytes than the fixed 32-byte slab object could hold. The vulnerability is reachable by any node in the domain. The patch adds validation immediately after dlm_grab() to reject messages where lockname_len exceeds DLM_LOCKID_NAME_MAX, num_locks exceeds DLM_MAX_MIGRATABLE_LOCKS, or the payload is too small to hold the claimed locks. Legitimate recovery and migration messages are unaffected.
Potential Impact
Exploitation of this vulnerability can cause out-of-bounds memory reads and writes in the kernel, leading to kernel panics (BUG_ON) or heap corruption. This can disrupt system stability and potentially be leveraged for denial of service or other impacts by any node in the domain sending crafted DLM_MIG_LOCKRES messages.
Mitigation Recommendations
A fix is available that validates the num_locks and lockname_len fields in DLM_MIG_LOCKRES messages before they are processed. Systems should apply the official kernel patch that adds these validation checks. Until patched, nodes should be cautious about accepting DLM_MIG_LOCKRES messages from untrusted nodes in the domain. No other mitigation is indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-hhc4-rpwx-gp2p
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89494"]
Threat ID: 6aa4a01655bf5e2cf5a866e8
Added to database: 09/12/2026, 00:43:02 UTC
Last enriched: 09/12/2026, 01:12:11 UTC
Last updated: 09/12/2026, 01:12:11 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.