Linux Kernel OCFS2 Credit Exhaustion Vulnerability in Direct I/O Operations

Vulnerability

A vulnerability has been addressed in the Linux kernel's OCFS2 file system related to direct I/O (DIO) operations. During these operations, the Journal Block Device (JBD2) can issue warnings about excessive credit demands, which may lead to credit exhaustion. This issue arises because the OCFS2 DIO write completion process does not efficiently manage transaction credits, causing potential disruptions. The vulnerability affects the Linux kernel OCFS2 component.

Impact

The vulnerability could lead to a denial of service by causing the JBD2 journal to exhaust its available credits, which are essential for managing write operations. This exhaustion can disrupt normal file system operations, particularly in scenarios involving direct I/O.

Reproduction

The vulnerability can be reproduced by performing direct I/O write operations on an OCFS2 file system. During this process, JBD2 will generate warnings about exceeding credit limits, indicating that the file system is struggling to manage transaction credits effectively.

Remediation

Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability. These patches modify the OCFS2 DIO write handling to process extents in batches, preventing credit exhaustion. The patches are included in the official Linux kernel repository.

Added: May 28, 2026, 5:38 AM
Updated: May 28, 2026, 5:38 AM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
3.9
remediation
7.7
relevance
9.4
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.