What’s Vulnerable › Vulnerabilities

CVE-2024-34027: f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock

Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock It needs to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock to avoid racing with checkpoint, otherwise, filesystem metadata including blkaddr in dnode, inode fields and .total_valid_block_count may be corrupted after SPO case.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.219, 5.15.161, 6.1.93, 6.6.33. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-34027 or the next vulnerability affects your stack