Skip to main content
Vulnerability Database/CVE-2026-93252

CVE-2026-93252: Linux Kernel OCFS2 Race Condition Vulnerability

CVE-2026-93252 is a race condition flaw in the Linux kernel OCFS2 filesystem causing circular locking dependencies between ip_xattr_sem and j_trans_barrier. This article covers the technical details, impact, and fixes.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-93252 Overview

CVE-2026-93252 is a Linux kernel vulnerability in the Oracle Cluster File System version 2 (OCFS2) subsystem. The flaw involves a circular locking dependency between &oi->ip_xattr_sem and &journal->j_trans_barrier inside ocfs2_init_acl(). A lockdep warning exposes the ordering violation during setxattr and mkdir/mknod operations against OCFS2 volumes.

The condition can lead to kernel deadlocks on affected mounts, interrupting file system availability. The upstream fix reorders lock acquisition so that ip_xattr_sem is always acquired before j_trans_barrier.

Critical Impact

Local workloads performing concurrent extended attribute writes and directory creation on OCFS2 volumes can trigger a deadlock resulting in denial of service.

Affected Products

  • Linux kernel versions containing the vulnerable OCFS2 ocfs2_init_acl() implementation
  • Distributions shipping OCFS2 with the pre-patch lock ordering
  • Systems using OCFS2 with POSIX ACL support enabled

Discovery Timeline

  • 2026-09-24 - CVE-2026-93252 published to the National Vulnerability Database (NVD)
  • 2026-09-24 - Last updated in NVD database

Technical Details for CVE-2026-93252

Vulnerability Analysis

The vulnerability is a kernel-level deadlock caused by inconsistent lock ordering across two OCFS2 code paths. In Path 1, ocfs2_xattr_set() acquires ip_xattr_sem as a writer and then starts a journal transaction, which takes j_trans_barrier as a reader. In Path 2, ocfs2_mknod() first starts a journal transaction (acquiring j_trans_barrier as a reader) and then invokes ocfs2_init_acl(), which attempts to acquire ip_xattr_sem on the parent directory to read the default Access Control List (ACL).

Because rw_semaphores enforce writer priority, a pending writer on j_trans_barrier, such as the journal commit thread, can block Path 1 after it has already taken ip_xattr_sem. Path 2 then stalls waiting for Path 1 to release ip_xattr_sem, producing a classic AB-BA circular wait. See [CWE-833: Deadlock].

Root Cause

The root cause is lock-ordering inversion between the inode extended attribute semaphore and the journal transaction barrier. ocfs2_init_acl() performs disk reads and lock acquisition inside an already-started OCFS2 transaction, violating the ordering established by the setxattr path.

Attack Vector

Triggering the deadlock requires local access to an OCFS2 mount with concurrent workloads performing extended attribute updates and directory or node creation. The condition is a reliability and availability issue rather than a remote code execution vector. No public proof-of-concept exploit is listed, and the CVE is not present on the CISA Known Exploited Vulnerabilities catalog. The EPSS probability is 0.211%.

The vulnerability is described in prose rather than code here because no verified exploit samples are available. Review the referenced stable kernel commits for the authoritative patch content.

Detection Methods for CVE-2026-93252

Indicators of Compromise

  • Kernel log entries containing possible circular locking dependency detected referencing ocfs2_init_acl and ocfs2_start_trans
  • Hung task warnings on processes performing mkdir, mknod, or setxattr operations against OCFS2 mounts
  • Lockdep traces naming &oi->ip_xattr_sem and &journal->j_trans_barrier

Detection Strategies

  • Enable CONFIG_PROVE_LOCKING in test environments to surface lockdep warnings in OCFS2 workloads
  • Audit kernel versions deployed on OCFS2 cluster nodes against the patched stable commits listed in the references
  • Monitor file system responsiveness metrics on OCFS2 volumes to catch stalled directory creation operations

Monitoring Recommendations

  • Forward dmesg and /var/log/kern.log to a centralized logging system for lockdep and hung task alerts
  • Alert on kernel task states of D (uninterruptible sleep) persisting beyond expected thresholds on OCFS2 workloads
  • Track OCFS2 journal commit thread activity for sustained blocking conditions

How to Mitigate CVE-2026-93252

Immediate Actions Required

  • Upgrade the Linux kernel to a stable release containing the OCFS2 lock-ordering fix referenced in the kernel.org commits
  • Inventory all cluster nodes mounting OCFS2 volumes and confirm patch status across the cluster
  • Reduce concurrent setxattr and directory creation workloads on unpatched OCFS2 mounts until patches are deployed

Patch Information

The upstream fix precomputes ACL state before starting the OCFS2 transaction, preserving POSIX ACL storage semantics while ensuring ip_xattr_sem is always acquired before j_trans_barrier. A new struct ocfs2_acl_state and helpers ocfs2_acl_init_prepare() and ocfs2_acl_init_release() eliminate duplicated logic across ocfs2_mknod() and ocfs2_init_security_and_acl(). The patch also removes the unnecessary ip_xattr_sem acquisition in ocfs2_xattr_set_handle() for new inodes not yet inserted into the inode hash. Patches are available in Kernel Stable Commit 1222f7a, Kernel Stable Commit 4936d44, Kernel Stable Commit 5b7b3c5, Kernel Stable Commit 8931403, Kernel Stable Commit 8d88f52, Kernel Stable Commit bd7c05f, Kernel Stable Commit caf3056, and Kernel Stable Commit f8747d8.

Workarounds

  • Where feasible, migrate workloads off OCFS2 to a supported file system until patched kernels are deployed
  • Serialize administrative operations that combine extended attribute writes with directory creation on OCFS2 mounts
  • Avoid enabling POSIX ACL defaults on OCFS2 parent directories subject to high mknod or mkdir concurrency until patched

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.