CVE-2026-89494
Received Received - Intake

Buffer Overflow in OCFS2 Kernel Module

Vulnerability report for CVE-2026-89494, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-09-11

Last updated on: 2026-09-11

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-09-11
Last Modified
2026-09-11
Generated
2026-09-12
AI Q&A
2026-09-12
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves improper validation of fields in a DLM_MIG_LOCKRES message received by a node. The message contains fields like num_locks and lockname_len that are not checked for validity. This can lead to an out-of-bounds read and write, causing a system crash or potential heap corruption.

Detection Guidance

This vulnerability is specific to the Linux kernel's OCFS2 filesystem and DLM (Distributed Lock Manager) component. Detection requires checking kernel logs for DLM-related errors or crashes, particularly during cluster operations. Look for messages indicating out-of-bounds reads or writes in dlm_mig_lockres_handler. No direct network detection commands are applicable as this is a local kernel memory corruption issue.

Impact Analysis

If exploited, this vulnerability could allow an attacker within the same domain to crash the system by triggering a BUG_ON panic. It may also enable heap corruption, potentially leading to arbitrary code execution or privilege escalation.

Mitigation Strategies

Immediately update your Linux kernel to the latest stable version that includes the fix for this CVE. If using a cluster with OCFS2, ensure all nodes are updated simultaneously. Monitor kernel logs for DLM-related errors post-update. Disable OCFS2 cluster services temporarily if an unpatched kernel must be used until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-89494. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart