Linux Kernel JBD2 Component Use-After-Free Vulnerability

Vulnerability

A use-after-free vulnerability has been identified in the Linux kernel's JBD2 (Journaling Block Device 2) component. This issue arises in the 'jbd2_fc_wait_bufs' function, where the buffer head reference count is improperly managed. Specifically, the function uses a buffer head after reducing its reference count, which can lead to a use-after-free condition. The vulnerability affects the stable versions of the Linux kernel.

Impact

Exploitation of this vulnerability can lead to a use-after-free condition, which may be exploited to execute arbitrary code or cause a denial-of-service condition.

Reproduction

The vulnerability can be reproduced by calling the 'jbd2_fc_wait_bufs' function with a journal that has buffer heads marked as 'dirty' but not yet written. The function will improperly handle the buffer heads, leading to a use-after-free condition.

Remediation

Users can upgrade to the latest stable version of the Linux kernel, where this vulnerability has been addressed.

Added: Sep 15, 2025, 6:27 PM
Updated: Sep 15, 2025, 6:27 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.7
remediation
7.7
relevance
0.5
threat
4.8
urgency
2.9
incentive
1.7

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