CVE-2026-89494

Description

A flaw was found in ocfs2, a component of the Linux kernel. A remote attacker, by sending a specially crafted Distributed Lock Manager (DLM) migration message, could exploit a lack of validation in the dlm_mig_lockres_handler. This flaw allows for an out-of-bounds write to the heap, potentially leading to arbitrary code execution. Additionally, an out-of-bounds read could cause a system panic, resulting in a denial of service.

Statement

A flaw was found in the ocfs2 Distributed Lock Manager (DLM) of the Linux kernel, rated by Red Hat as Moderate. When a node receives a specially crafted DLM_MIG_LOCKRES migration message, the unvalidated num_locks and lockname_len fields allow an out-of-bounds read past the end of the allocated message buffer, which ends in a kernel panic and denial of service, and a heap out-of-bounds write when the lock name is copied into a fixed 32-byte object, potentially allowing arbitrary code execution. Exploitation requires the attacker to be a node participating in the OCFS2 DLM domain, so an attacker must already control or act as a trusted cluster node; for this reason Red Hat assesses the impact as Moderate (CVSS 5.5), significantly lower than the upstream CVSS 9.8 rating, which assumes an unauthenticated remote attacker. All Red Hat Enterprise Linux kernel and kernel-rt streams and the Red Hat OpenShift Container Platform (RHCOS) versions in scope are not affected because the vulnerable ocfs2 DLM code is not present in the shipped kernel packages.

Mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score5.5N/A9.8
Attack VectorLocalN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredLowN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/AHigh
Integrity ImpactNoneN/AHigh
Availability ImpactHighN/AHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.