CVE-2024-27034
f2fs: compress: fix to cover normal cluster write with cp_rwsem
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 542c8b3c774a480bfd0804291a12f6f2391b0cd1; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 75abfd61392b1db391bde6d738a30d685b843286; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 2b1b14d9fc94b8feae20808684c8af28ec80f45b; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 52982edfcefd475cc34af663d5c47c0cddaa5739; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < fd244524c2cf07b5f4c3fe8abd6a99225c76544b
- Anyone running Linux 5.6
Vulnerability facts
- Affected
- Linux >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 542c8b3c774a480bfd0804291a12f6f2391b0cd1; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 75abfd61392b1db391bde6d738a30d685b843286; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 2b1b14d9fc94b8feae20808684c8af28ec80f45b; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 52982edfcefd475cc34af663d5c47c0cddaa5739; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < fd244524c2cf07b5f4c3fe8abd6a99225c76544b; Linux 5.6
- Fixed in
- Linux 7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416, Linux 542c8b3c774a480bfd0804291a12f6f2391b0cd1, Linux 75abfd61392b1db391bde6d738a30d685b843286, Linux 2b1b14d9fc94b8feae20808684c8af28ec80f45b, Linux 52982edfcefd475cc34af663d5c47c0cddaa5739
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.33% chance of exploitation in 30 days (percentile 18, 2026-11-26)
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 542c8b3c774a480bfd0804291a12f6f2391b0cd1; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 75abfd61392b1db391bde6d738a30d685b843286; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 2b1b14d9fc94b8feae20808684c8af28ec80f45b; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 52982edfcefd475cc34af663d5c47c0cddaa5739; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < fd244524c2cf07b5f4c3fe8abd6a99225c76544b | — | cvelist |
| Linux | 5.6 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-27034. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-27034.md Affected: Linux >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 542c8b3c774a480bfd0804291a12f6f2391b0cd1; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 75abfd61392b1db391bde6d738a30d685b843286; >= 4c8ff7095bef64fc47e996a… Fixed in: Linux 7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416, Linux 542c8b3c774a480bfd0804291a12f6f2391b0cd1, Linux 75abfd61392b1db391bde6d738a30d685b843286, Linux 2b1b14d9fc94b8feae20808684c8af28ec80f45b, Linux 52982edfcefd475cc34af663d5c47c0cddaa5739 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416
- https://git.kernel.org/stable/c/542c8b3c774a480bfd0804291a12f6f2391b0cd1
- https://git.kernel.org/stable/c/75abfd61392b1db391bde6d738a30d685b843286
- https://git.kernel.org/stable/c/2b1b14d9fc94b8feae20808684c8af28ec80f45b
- https://git.kernel.org/stable/c/52982edfcefd475cc34af663d5c47c0cddaa5739
- https://git.kernel.org/stable/c/fd244524c2cf07b5f4c3fe8abd6a99225c76544b
FAQ
Is CVE-2024-27034 being exploited?
There is no confirmed exploitation: CVE-2024-27034 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-27034?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-27034?
Linux >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 542c8b3c774a480bfd0804291a12f6f2391b0cd1; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 75abfd61392b1db391bde6d738a30d685b843286; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 2b1b14d9fc94b8feae20808684c8af28ec80f45b; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 52982edfcefd475cc34af663d5c47c0cddaa5739; >= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < fd244524c2cf07b5f4c3fe8abd6a99225c76544b; Linux 5.6.
Is there a fix for CVE-2024-27034?
Yes. Fixed in Linux 7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416, Linux 542c8b3c774a480bfd0804291a12f6f2391b0cd1, Linux 75abfd61392b1db391bde6d738a30d685b843286, Linux 2b1b14d9fc94b8feae20808684c8af28ec80f45b, Linux 52982edfcefd475cc34af663d5c47c0cddaa5739. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-27034?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.