
Cloud Vulnerability DB
A community-led vulnerabilities database
A vulnerability in the Linux kernel's F2FS (Flash-Friendly File System) compression functionality was discovered and resolved in June 2024. The issue (CVE-2024-34027) involves the need to cover {reserve,release}_compress_blocks() with cp_rwsem lock to prevent racing conditions with checkpoint operations (Kernel Git).
The vulnerability stems from a race condition in the F2FS filesystem's compression block handling. Without proper cp_rwsem lock coverage for {reserve,release}_compress_blocks() operations, filesystem metadata including block address in dnode, inode fields, and .total_valid_block_count could become corrupted during SPO (Sudden Power Off) scenarios. The issue has been assigned a CVSS v3.1 Base Score of 7.0 HIGH with vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).
If exploited, this vulnerability could lead to filesystem metadata corruption, particularly affecting block addresses in dnode, inode fields, and total valid block count after sudden power off events. This could potentially compromise the integrity and reliability of the filesystem (Kernel Git).
The vulnerability requires local access with low privileges and high attack complexity. While no public exploits have been reported, the potential for filesystem corruption makes this a significant concern for systems using F2FS with compression enabled (NVD).
The issue has been fixed in various Linux kernel versions. Ubuntu has released patches for multiple versions including 24.04 LTS (6.8.0-44.44), 22.04 LTS (5.15.0-121.131), and 20.04 LTS (5.15.0-121.131~20.04.1). System administrators should update their kernel to the patched versions (Ubuntu Security).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."