CVE-2024-27034

published 1 May 2024 · updated 5 Aug 2026

f2fs: compress: fix to cover normal cluster write with cp_rwsem

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 2b1b14d9fc94b8feae20808684c8af28ec80f45b, Kernel 52982edfcefd475cc34af663d5c47c0cddaa5739, Kernel 542c8b3c774a480bfd0804291a12f6f2391b0cd1 and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.6, >=4c8ff7095bef64fc47e996a938f7d57f9e077da3 <2b1b14d9fc94b8feae20808684c8af28ec80f45b, >=4c8ff7095bef64fc47e996a938f7d57f9e077da3 <52982edfcefd475cc34af663d5c47c0cddaa5739, >=4c8ff7095bef64fc47e996a938f7d57f9e077da3 <542c8b3c774a480bfd0804291a12f6f2391b0cd1, >=4c8ff7095bef64fc47e996a938f7d57f9e077da3 <75abfd61392b1db391bde6d738a30d685b843286, >=4c8ff7095bef64fc47e996a938f7d57f9e077da3 <7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416, >=4c8ff7095bef64fc47e996a938f7d57f9e077da3 <fd244524c2cf07b5f4c3fe8abd6a99225c76544b2b1b14d9fc94b8feae20808684c8af28ec80f45b, 52982edfcefd475cc34af663d5c47c0cddaa5739, 542c8b3c774a480bfd0804291a12f6f2391b0cd1, 75abfd61392b1db391bde6d738a30d685b843286, 7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416, fd244524c2cf07b5f4c3fe8abd6a99225c76544b

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-27034 severity on Zeptric[![CVE-2024-27034](https://zeptric.io/badge/cve/CVE-2024-27034.svg)](https://zeptric.io/cve/CVE-2024-27034)