CVE-2024-27034

Source
https://cve.org/CVERecord?id=CVE-2024-27034
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27034.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-27034
Downstream
Published
2024-05-01T12:53:39.767Z
Modified
2026-03-14T12:30:06.799640Z
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/cve-osv-conversion/osv-output/CVE-2024-27034.json"