{"id":"CVE-2024-27034","published":"2024-05-01T12:53:39Z","modified":"2026-08-05T11:29:08Z","title":"f2fs: compress: fix to cover normal cluster write with cp_rwsem","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: compress: fix to cover normal cluster write with cp_rwsem\n\nWhen we overwrite compressed cluster w/ normal cluster, we should\nnot unlock cp_rwsem during f2fs_write_raw_pages(), otherwise data\nwill be corrupted if partial blocks were persisted before CP & SPOR,\ndue to cluster metadata wasn't updated atomically.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00327,"percentile":0.18254,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416","tags":[]},{"url":"https://git.kernel.org/stable/c/542c8b3c774a480bfd0804291a12f6f2391b0cd1","tags":[]},{"url":"https://git.kernel.org/stable/c/75abfd61392b1db391bde6d738a30d685b843286","tags":[]},{"url":"https://git.kernel.org/stable/c/2b1b14d9fc94b8feae20808684c8af28ec80f45b","tags":[]},{"url":"https://git.kernel.org/stable/c/52982edfcefd475cc34af663d5c47c0cddaa5739","tags":[]},{"url":"https://git.kernel.org/stable/c/fd244524c2cf07b5f4c3fe8abd6a99225c76544b","tags":[]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":3.65},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416",">= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 542c8b3c774a480bfd0804291a12f6f2391b0cd1",">= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 75abfd61392b1db391bde6d738a30d685b843286",">= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 2b1b14d9fc94b8feae20808684c8af28ec80f45b",">= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < 52982edfcefd475cc34af663d5c47c0cddaa5739",">= 4c8ff7095bef64fc47e996a938f7d57f9e077da3, < fd244524c2cf07b5f4c3fe8abd6a99225c76544b"]},{"vendor":"Linux","product":"Linux","versions":["5.6"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-05-09T18:39:02.187775Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-24296","exploited":false,"provenance":"source"}}