What’s Vulnerable › Vulnerabilities

CVE-2024-27034: f2fs: compress: fix to cover normal cluster write with cp_rwsem

Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: compress: fix to cover normal cluster write with cp_rwsem When we overwrite compressed cluster w/ normal cluster, we should not unlock cp_rwsem during f2fs_write_raw_pages(), otherwise data will be corrupted if partial blocks were persisted before CP & SPOR, due to cluster metadata wasn't updated atomically.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.153, 6.1.83, 6.6.23, 6.7.11. Check the vendor advisory for mitigations.

References

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