{"id":"CVE-2024-34027","aliases":["CVE-2024-34027"],"related":[],"kind":"vulnerability","state":"published","title":"f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: f2fs: compress: corrección para cubrir {reserve,release}_compress_blocks() con bloqueo cp_rwsem Necesita cubrir {reserve,release}_compress_blocks() con bloqueo cp_rwsem para evitar ejecuciones con el punto de control; de lo contrario, los metadatos del sistema de archivos, incluido blkaddr en dnode, los campos de inodo y .total_valid_block_count, pueden dañarse después del caso SPO.","source":"nvd"}],"published":"2024-06-24T13:56:49.389Z","modified":"2026-10-15T01:17:45.480Z","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":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"type":"git","introduced":"ef8d563f184e1112651f2cbde383d43e599334e8","fixed":"a6e1f7744e9b84f86a629a76024bba8468aa153b","status":"affected"},{"type":"git","introduced":"ef8d563f184e1112651f2cbde383d43e599334e8","fixed":"b5bac43875aa27ec032dbbb86173baae6dce6182","status":"affected"},{"type":"git","introduced":"ef8d563f184e1112651f2cbde383d43e599334e8","fixed":"5d47d63883735718825ca2efc4fca6915469774f","status":"affected"},{"type":"git","introduced":"ef8d563f184e1112651f2cbde383d43e599334e8","fixed":"329edb7c9e3b6ca27e6ca67ab1cdda1740fb3a2b","status":"affected"},{"type":"git","introduced":"ef8d563f184e1112651f2cbde383d43e599334e8","fixed":"69136304fd144144a4828c7b7b149d0f80321ba4","status":"affected"},{"type":"git","introduced":"ef8d563f184e1112651f2cbde383d43e599334e8","fixed":"0a4ed2d97cb6d044196cc3e726b6699222b41019","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.219","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.161","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.93","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.33","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.9.4","lastAffected":"6.9.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.10","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"type":"git","introduced":"c75488fb4d82","fixed":"a6e1f7744e9b","status":"affected"},{"type":"git","introduced":"c75488fb4d82","fixed":"b5bac43875aa","status":"affected"},{"type":"git","introduced":"c75488fb4d82","fixed":"5d47d6388373","status":"affected"},{"type":"git","introduced":"c75488fb4d82","fixed":"329edb7c9e3b","status":"affected"},{"type":"git","introduced":"c75488fb4d82","fixed":"69136304fd14","status":"affected"},{"type":"git","introduced":"c75488fb4d82","fixed":"0a4ed2d97cb6","status":"affected"},{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"affected"},{"type":"semver","introduced":"5.10.219","lastAffected":"5.10*","status":"affected"},{"type":"semver","introduced":"6.1.93","lastAffected":"6.1*","status":"affected"},{"type":"semver","introduced":"6.6.33","lastAffected":"6.6*","status":"affected"},{"type":"semver","introduced":"6.94","lastAffected":"6.9*","status":"affected"},{"type":"semver","introduced":"6.10","lastAffected":"*","status":"affected"},{"type":"custom","introduced":"5.15.161","lastAffected":"5.15*","status":"affected"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.8","fixed":"5.10.219"},{"status":"affected","introduced":"5.11","fixed":"5.15.161"},{"status":"affected","introduced":"5.16","fixed":"6.1.93"},{"status":"affected","introduced":"6.2","fixed":"6.6.33"},{"status":"affected","introduced":"6.7","fixed":"6.9.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/a6e1f7744e9b84f86a629a76024bba8468aa153b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b5bac43875aa27ec032dbbb86173baae6dce6182","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d47d63883735718825ca2efc4fca6915469774f","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/329edb7c9e3b6ca27e6ca67ab1cdda1740fb3a2b","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69136304fd144144a4828c7b7b149d0f80321ba4","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0a4ed2d97cb6d044196cc3e726b6699222b41019","tags":["patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-11-05T14:50:20.784Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-34027","url":"https://www.cve.org/CVERecord?id=CVE-2024-34027","licence":"CVE Terms of Use","modified":"2026-10-15T00:40:44.472Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-34027","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34027","licence":"Public domain","modified":"2026-10-15T01:17:45.480Z"}],"updatedAt":"2026-11-25T22:58:42.162Z","epss":{"score":0.00235,"percentile":0.15446,"date":"2026-12-01T12:00:22.000Z"}}