CVE-2024-27034

Source
https://cve.org/CVERecord?id=CVE-2024-27034
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27034.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-27034
Downstream
Published
2024-05-01T12:53:39.767Z
Modified
2026-05-13T03:52:09.658969959Z
Summary
f2fs: compress: fix to cover normal cluster write with cp_rwsem
Details

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 cprwsem during f2fswriterawpages(), otherwise data will be corrupted if partial blocks were persisted before CP & SPOR, due to cluster metadata wasn't updated atomically.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27034.json"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2024-27034.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.6.0
Fixed
5.15.153
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.83
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.23
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.7.11
Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.8.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27034.json"