Data corruption via premature cp_rwsem release
Published May 1, 2024 · Updated Aug 5, 2026
Data corruption in Linux kernel F2FS 5.6 through 6.8.1 allows local users to corrupt persisted file data through compressed-cluster overwrites. f2fs_write_raw_pages releases cp_rwsem while replacing a compressed cluster, allowing partial blocks to persist before cluster metadata is updated atomically. Exploitation requires local write access to a compression-enabled F2FS file and a checkpoint followed by sudden power-off recovery.
Summary
What happened
Data corruption in Linux kernel F2FS 5.6 through 6.8.1 allows local users to corrupt persisted file data through compressed-cluster overwrites. f2fs_write_raw_pages releases cp_rwsem while replacing a compressed cluster, allowing partial blocks to persist before cluster metadata is updated atomically. Exploitation requires local write access to a compression-enabled F2FS file and a checkpoint followed by sudden power-off recovery.
The record
- CVE
- CVE-2024-27034
- Published
- May 1, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 1, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4c8ff7095bef64fc47e996a938f7d57f9e077da3 <2b1b14d9fc94b8feae20808684c8af28ec80f45b
- Affected versionversion=4c8ff7095bef64fc47e996a938f7d57f9e077da3 <52982edfcefd475cc34af663d5c47c0cddaa5739
- Affected versionversion=4c8ff7095bef64fc47e996a938f7d57f9e077da3 <542c8b3c774a480bfd0804291a12f6f2391b0cd1
- Affected versionversion=4c8ff7095bef64fc47e996a938f7d57f9e077da3 <75abfd61392b1db391bde6d738a30d685b843286
- Affected versionversion=4c8ff7095bef64fc47e996a938f7d57f9e077da3 <7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416
- Affected versionversion=4c8ff7095bef64fc47e996a938f7d57f9e077da3 <fd244524c2cf07b5f4c3fe8abd6a99225c76544b
- Affected versionversion=5.6
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
No sourced classifications are available.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo