{"id":"CVE-2024-27034","summary":"f2fs: compress: fix to cover normal cluster write with cp_rwsem","details":"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.","modified":"2026-04-02T10:06:54.058428Z","published":"2024-05-01T12:53:39.767Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27034.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2b1b14d9fc94b8feae20808684c8af28ec80f45b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/52982edfcefd475cc34af663d5c47c0cddaa5739"},{"type":"WEB","url":"https://git.kernel.org/stable/c/542c8b3c774a480bfd0804291a12f6f2391b0cd1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/75abfd61392b1db391bde6d738a30d685b843286"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fd244524c2cf07b5f4c3fe8abd6a99225c76544b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27034.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27034"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"4c8ff7095bef64fc47e996a938f7d57f9e077da3"},{"fixed":"7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416"},{"fixed":"542c8b3c774a480bfd0804291a12f6f2391b0cd1"},{"fixed":"75abfd61392b1db391bde6d738a30d685b843286"},{"fixed":"2b1b14d9fc94b8feae20808684c8af28ec80f45b"},{"fixed":"52982edfcefd475cc34af663d5c47c0cddaa5739"},{"fixed":"fd244524c2cf07b5f4c3fe8abd6a99225c76544b"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27034.json"}}],"schema_version":"1.7.5"}