{"schema_version":"1.9.0","id":"CVE-2024-34027","published":"2024-06-24T13:56:49.389Z","modified":"2026-08-12T03:51:20.360732389Z","summary":"f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock\n\nIt needs to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock\nto avoid racing with checkpoint, otherwise, filesystem metadata including\nblkaddr in dnode, inode fields and .total_valid_block_count may be\ncorrupted after SPO case.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ef8d563f184e1112651f2cbde383d43e599334e8"},{"fixed":"a6e1f7744e9b84f86a629a76024bba8468aa153b"},{"fixed":"b5bac43875aa27ec032dbbb86173baae6dce6182"},{"fixed":"5d47d63883735718825ca2efc4fca6915469774f"},{"fixed":"329edb7c9e3b6ca27e6ca67ab1cdda1740fb3a2b"},{"fixed":"69136304fd144144a4828c7b7b149d0f80321ba4"},{"fixed":"0a4ed2d97cb6d044196cc3e726b6699222b41019"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-34027.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.8.0"},{"fixed":"5.10.219"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.161"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.93"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.33"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.9.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-34027.json"}}],"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0a4ed2d97cb6d044196cc3e726b6699222b41019"},{"type":"WEB","url":"https://git.kernel.org/stable/c/329edb7c9e3b6ca27e6ca67ab1cdda1740fb3a2b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5d47d63883735718825ca2efc4fca6915469774f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/69136304fd144144a4828c7b7b149d0f80321ba4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a6e1f7744e9b84f86a629a76024bba8468aa153b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b5bac43875aa27ec032dbbb86173baae6dce6182"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34027.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34027"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34027.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}