Linux Kernel UBIFS Deadlock Vulnerability in Rename Whiteout and Inode Writeback Processes

Vulnerability

A deadlock vulnerability has been identified in the Linux kernel's UBIFS file system, specifically during concurrent operations of renaming whiteout files and writing back inode data. This issue causes hung tasks as the rename process waits for the writeback to complete, while the writeback process is stalled, leading to a deadlock situation.

Impact

Exploitation of this vulnerability causes a deadlock, where tasks become unresponsive and unable to proceed, potentially leading to a system hang.

Reproduction

The vulnerability can be reproduced by using the SYS_renameat2 system call to rename a file to a whiteout name, while simultaneously consuming all available space to disrupt the writeback process. This creates a deadlock as the rename operation waits for the writeback to finish, but the writeback is blocked by the renamed whiteout.

Remediation

The vulnerability has been addressed in the official Linux Git repository. Users should upgrade to the latest version.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
3.9
remediation
0.0
relevance
0.0
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.