{"id":"CVE-2024-27034","aliases":["CVE-2024-27034"],"related":[],"kind":"vulnerability","state":"published","title":"f2fs: compress: fix to cover normal cluster write with cp_rwsem","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se resolvió la siguiente vulnerabilidad: f2fs: compress: corrección para cubrir la escritura normal del clúster con cp_rwsem Cuando sobrescribimos el clúster comprimido con el clúster normal, no debemos desbloquear cp_rwsem durante f2fs_write_raw_pages(); de lo contrario, los datos se dañarán si Los bloques parciales persistieron antes de CP y SPOR, debido a que los metadatos del clúster no se actualizaron atómicamente.","source":"nvd"}],"published":"2024-05-01T12:53:39.767Z","modified":"2026-08-05T11:29:08.856Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"4c8ff7095bef64fc47e996a938f7d57f9e077da3","fixed":"7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416","status":"affected"},{"type":"git","introduced":"4c8ff7095bef64fc47e996a938f7d57f9e077da3","fixed":"542c8b3c774a480bfd0804291a12f6f2391b0cd1","status":"affected"},{"type":"git","introduced":"4c8ff7095bef64fc47e996a938f7d57f9e077da3","fixed":"75abfd61392b1db391bde6d738a30d685b843286","status":"affected"},{"type":"git","introduced":"4c8ff7095bef64fc47e996a938f7d57f9e077da3","fixed":"2b1b14d9fc94b8feae20808684c8af28ec80f45b","status":"affected"},{"type":"git","introduced":"4c8ff7095bef64fc47e996a938f7d57f9e077da3","fixed":"52982edfcefd475cc34af663d5c47c0cddaa5739","status":"affected"},{"type":"git","introduced":"4c8ff7095bef64fc47e996a938f7d57f9e077da3","fixed":"fd244524c2cf07b5f4c3fe8abd6a99225c76544b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.6","status":"unaffected"},{"type":"semver","introduced":"5.15.153","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.83","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.23","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.7.11","lastAffected":"6.7.*","status":"unaffected"},{"type":"semver","introduced":"6.8.2","lastAffected":"6.8.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.9","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.6","fixed":"5.15.153"},{"status":"affected","introduced":"5.16","fixed":"6.1.83"},{"status":"affected","introduced":"6.2","fixed":"6.6.23"},{"status":"affected","introduced":"6.7","fixed":"6.7.11"},{"status":"affected","introduced":"6.8","fixed":"6.8.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/542c8b3c774a480bfd0804291a12f6f2391b0cd1","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/75abfd61392b1db391bde6d738a30d685b843286","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2b1b14d9fc94b8feae20808684c8af28ec80f45b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/52982edfcefd475cc34af663d5c47c0cddaa5739","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd244524c2cf07b5f4c3fe8abd6a99225c76544b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-09T18:39:02.187Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-27034","url":"https://www.cve.org/CVERecord?id=CVE-2024-27034","licence":"CVE Terms of Use","modified":"2026-08-05T11:29:08.856Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-27034","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27034","licence":"Public domain","modified":"2026-08-04T11:17:36.413Z"}],"updatedAt":"2026-11-25T22:58:39.790Z","epss":{"score":0.00286,"percentile":0.22714,"date":"2026-12-01T12:00:22.000Z"}}