Linux · Linux Kernel · CVE-2024-56586
**Name of the Vulnerable Software and Affected Versions**
Linux kernel versions prior to 6.6.74
**Description**
The issue arises when creating large files during a checkpoint disable period, resulting in insufficient free segments. This leads to a failure in writing back the root inode in `f2fs enable checkpoint`. Upon unmounting the file system after enabling the checkpoint, the root inode is dirty in the `f2fs evict inode` function, triggering a BUG ON. The estimated number of potentially affected devices is not specified. There is no information about real-world incidents where this issue was exploited.
**Recommendations**
For Linux kernel versions prior to 6.6.74, update to version 6.6.74 or later to resolve the issue. As a temporary workaround, consider avoiding the creation of large files during the checkpoint disable period to minimize the risk of triggering the BUG ON. Additionally, restrict the use of the `f2fs evict inode` function until a patch is available.