CVE-2024-27034
Assigner: Linux
Published: 2024-05-01T12:53:39.767Z
State: PUBLISHED
descriptions: value: In the Linux kernel, the following vulnerability has been resolved:

f2fs: compress: fix to cover normal cluster write with cp_rwsem

When we overwrite compressed cluster w/ normal cluster, we should
not unlock cp_rwsem during f2fs_write_raw_pages(), otherwise data
will be corrupted if partial blocks were persisted before CP & SPOR,
due to cluster metadata wasn't updated atomically.
affected: product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 4c8ff7095bef
lessThan: 7d420eaaa18e
status: affected
versionType: git
version: 4c8ff7095bef
lessThan: 542c8b3c774a
status: affected
versionType: git
version: 4c8ff7095bef
lessThan: 75abfd61392b
status: affected
versionType: git
version: 4c8ff7095bef
lessThan: 2b1b14d9fc94
status: affected
versionType: git
version: 4c8ff7095bef
lessThan: 52982edfcefd
status: affected
versionType: git
version: 4c8ff7095bef
lessThan: fd244524c2cf
status: affected
versionType: git
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions: version: 5.6
status: affected
version: 0
lessThan: 5.6
status: unaffected
versionType: custom
version: 5.15.153
lessThanOrEqual: 5.15.*
status: unaffected
versionType: custom
version: 6.1.83
lessThanOrEqual: 6.1.*
status: unaffected
versionType: custom
version: 6.6.23
lessThanOrEqual: 6.6.*
status: unaffected
versionType: custom
version: 6.7.11
lessThanOrEqual: 6.7.*
status: unaffected
versionType: custom
version: 6.8.2
lessThanOrEqual: 6.8.*
status: unaffected
versionType: custom
version: 6.9
lessThanOrEqual: *
status: unaffected
versionType: original_commit_for_fix
title: f2fs: compress: fix to cover normal cluster write with cp_rwsem
x_generator: engine: bippy-d175d3acf727