CVE-2024-27034: f2fs: compress: fix to cover normal cluster write with cp_rwsem
In the Linux kernel, the following vulnerability has been resolved:
f2fs: compress: fix to cover normal cluster write with cprwsem
When we overwrite compressed cluster w/ normal cluster, we should not unlock cprwsem during f2fswriterawpages(), otherwise data will be corrupted if partial blocks were persisted before CP & SPOR, due to cluster metadata wasn't updated atomically.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1
Event History
Frequently Asked Questions
What is the severity of CVE-2024-27034?
CVE-2024-27034 is considered a high severity vulnerability due to potential data corruption.
How do I fix CVE-2024-27034?
To fix CVE-2024-27034, update your Linux kernel to one of the patched versions: 6.1.123-1, 6.1.119-1, 6.12.10-1, or 6.12.11-1.
What versions of the Linux kernel are affected by CVE-2024-27034?
CVE-2024-27034 affects Linux kernel versions up to and including 5.10.226-1.
What does CVE-2024-27034 affect in the Linux kernel?
CVE-2024-27034 affects the f2fs compressed cluster write functionality, potentially leading to data corruption.
Is CVE-2024-27034 present in my Debian installation?
If you're running Debian with a Linux kernel version up to 5.10.226-1, you may be vulnerable to CVE-2024-27034.