CVE-2025-68364 in Linuxinfo

Summary

by MITRE • 12/24/2025

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

ocfs2: relax BUG() to ocfs2_error() in __ocfs2_move_extent()

In '__ocfs2_move_extent()', relax 'BUG()' to 'ocfs2_error()' just to avoid crashing the whole kernel due to a filesystem corruption.

Be aware that VulDB is the high quality source for vulnerability data.

Analysis

by VulDB Data Team • 01/12/2026

The vulnerability identified as CVE-2025-68364 resides within the Linux kernel's ocfs2 filesystem implementation, specifically addressing a critical error handling mechanism that could lead to system-wide crashes. This issue manifests in the __ocfs2_move_extent() function where the kernel employs a BUG() macro that terminates the entire kernel execution when encountering filesystem corruption conditions. The ocfs2 filesystem, which stands for Oracle Cluster File System 2, is designed for clustered environments where multiple nodes access shared storage simultaneously, making its stability crucial for enterprise deployments.

The technical flaw involves the inappropriate use of the BUG() macro within the __ocfs2_move_extent() function, which is responsible for managing extent movement operations in the ocfs2 filesystem. When filesystem corruption is detected during extent operations, the BUG() macro triggers an immediate kernel panic, causing the entire system to crash rather than allowing the kernel to handle the error gracefully. This behavior represents a significant deviation from proper error handling practices, as the system should be able to recover from localized filesystem corruption without bringing down the complete operating environment. The vulnerability directly maps to CWE-704, which encompasses improper error handling and error recovery mechanisms in kernel space code.

The operational impact of this vulnerability extends beyond simple system crashes, potentially affecting high-availability clustered environments where ocfs2 is deployed. In production systems, a single corrupted extent could trigger a complete kernel panic, disrupting services and requiring manual intervention to restore system functionality. The consequence is particularly severe in enterprise environments where clustered file systems are critical for maintaining data availability and business continuity. This vulnerability affects systems running Linux kernels that include the ocfs2 filesystem implementation, with the severity increasing in environments where multiple nodes depend on shared storage resources.

The fix implemented in the resolution involves relaxing the BUG() macro to ocfs2_error(), which provides a more graceful degradation approach to handling filesystem corruption conditions. This change allows the kernel to log the error condition and continue operating rather than immediately crashing the entire system. The updated approach aligns with best practices for kernel error handling as recommended in the Linux kernel documentation and follows the ATT&CK framework's principle of maintaining system availability through proper error recovery mechanisms. The change specifically addresses the issue described in CVE-2025-68364 by ensuring that filesystem corruption in ocfs2 operations does not result in complete kernel panics, thereby maintaining system stability and preventing cascading failures in clustered environments. Organizations should prioritize applying this patch to maintain system reliability and prevent unexpected service disruptions in their ocfs2-based deployments.

Responsible

Linux

Reservation

12/16/2025

Disclosure

12/24/2025

Moderation

accepted

CPE

ready

EPSS

0.00185

KEV

no

Activities

very low

Sources

Might our Artificial Intelligence support you?

Check our Alexa App!