Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-27034

published high CVSS 3.1 · 7.8

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

Published
01 May 2024, 12:53:39 UTC
Updated
05 Aug 2026, 11:29:08 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416 · 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 542c8b3c774a480bfd0804291a12f6f2391b0cd1 · 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 75abfd61392b1db391bde6d738a30d685b843286 · 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 2b1b14d9fc94b8feae20808684c8af28ec80f45b · 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 52982edfcefd475cc34af663d5c47c0cddaa5739 · 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < fd244524c2cf07b5f4c3fe8abd6a99225c76544b · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.6 (affected) · 0 to < 5.6 (unaffected · semver) · 5.15.153 through 5.15.* (unaffected · semver) · 6.1.83 through 6.1.* (unaffected · semver) · 6.6.23 through 6.6.* (unaffected · semver) · 6.7.11 through 6.7.* (unaffected · semver) · 6.8.2 through 6.8.* (unaffected · semver) · 6.9 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1063.69~20.04.1 USN-6821-3
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1063 Advisory build 5.15.0-1063.69~20.04.1 USN-6821-3
Ubuntu focal linux-aws-5.15-headers-5.15.0-1063 Advisory build 5.15.0-1063.69~20.04.1 USN-6821-3
Ubuntu focal linux-aws-5.15-tools-5.15.0-1063 Advisory build 5.15.0-1063.69~20.04.1 USN-6821-3
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu focal linux-buildinfo-5.15.0-1046-gkeop Advisory build 5.15.0-1046.53~20.04.1 USN-6821-2
Ubuntu focal linux-buildinfo-5.15.0-1057-ibm Advisory build 5.15.0-1057.60~20.04.1 USN-6892-1
Ubuntu focal linux-buildinfo-5.15.0-1058-intel-iotg Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-buildinfo-5.15.0-1062-gcp Advisory build 5.15.0-1062.70~20.04.1 USN-6820-1
Ubuntu focal linux-buildinfo-5.15.0-1063-aws Advisory build 5.15.0-1063.69~20.04.1 USN-6821-3
Ubuntu focal linux-buildinfo-5.15.0-110-lowlatency Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-buildinfo-5.15.0-110-lowlatency-64k Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-buildinfo-5.15.0-113-generic Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-buildinfo-5.15.0-113-generic-64k Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-buildinfo-5.15.0-113-generic-lpae Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-cloud-tools-5.15.0-1046-gkeop Advisory build 5.15.0-1046.53~20.04.1 USN-6821-2
Ubuntu focal linux-cloud-tools-5.15.0-1058-intel-iotg Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-cloud-tools-5.15.0-1063-aws Advisory build 5.15.0-1063.69~20.04.1 USN-6821-3
Ubuntu focal linux-cloud-tools-5.15.0-110-lowlatency Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-cloud-tools-5.15.0-113-generic Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1062.70~20.04.1 USN-6820-1
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1062 Advisory build 5.15.0-1062.70~20.04.1 USN-6820-1
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1062 Advisory build 5.15.0-1062.70~20.04.1 USN-6820-1
Ubuntu focal linux-gkeop-5.15 Advisory build 5.15.0-1046.53~20.04.1 USN-6821-2
Ubuntu focal linux-gkeop-5.15-cloud-tools-5.15.0-1046 Advisory build 5.15.0-1046.53~20.04.1 USN-6821-2
Ubuntu focal linux-gkeop-5.15-headers-5.15.0-1046 Advisory build 5.15.0-1046.53~20.04.1 USN-6821-2
Ubuntu focal linux-gkeop-5.15-tools-5.15.0-1046 Advisory build 5.15.0-1046.53~20.04.1 USN-6821-2
Ubuntu focal linux-headers-5.15.0-1046-gkeop Advisory build 5.15.0-1046.53~20.04.1 USN-6821-2
Ubuntu focal linux-headers-5.15.0-1057-ibm Advisory build 5.15.0-1057.60~20.04.1 USN-6892-1
Ubuntu focal linux-headers-5.15.0-1058-intel-iotg Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-headers-5.15.0-1062-gcp Advisory build 5.15.0-1062.70~20.04.1 USN-6820-1
Ubuntu focal linux-headers-5.15.0-1063-aws Advisory build 5.15.0-1063.69~20.04.1 USN-6821-3
Ubuntu focal linux-headers-5.15.0-110-lowlatency Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-headers-5.15.0-110-lowlatency-64k Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-headers-5.15.0-113-generic Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-headers-5.15.0-113-generic-64k Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-headers-5.15.0-113-generic-lpae Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-113 Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-hwe-5.15-cloud-tools-common Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-hwe-5.15-headers-5.15.0-113 Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-hwe-5.15-source-5.15.0 Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-hwe-5.15-tools-5.15.0-113 Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-hwe-5.15-tools-common Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-hwe-5.15-tools-host Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1057.60~20.04.1 USN-6892-1
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1057 Advisory build 5.15.0-1057.60~20.04.1 USN-6892-1
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1057.60~20.04.1 USN-6892-1
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1057 Advisory build 5.15.0-1057.60~20.04.1 USN-6892-1
Ubuntu focal linux-image-5.15.0-113-generic Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-image-5.15.0-113-generic-lpae Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-image-unsigned-5.15.0-1046-gkeop Advisory build 5.15.0-1046.53~20.04.1 USN-6821-2
Ubuntu focal linux-image-unsigned-5.15.0-1057-ibm Advisory build 5.15.0-1057.60~20.04.1 USN-6892-1
Ubuntu focal linux-image-unsigned-5.15.0-1058-intel-iotg Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-image-unsigned-5.15.0-1062-gcp Advisory build 5.15.0-1062.70~20.04.1 USN-6820-1
Ubuntu focal linux-image-unsigned-5.15.0-1063-aws Advisory build 5.15.0-1063.69~20.04.1 USN-6821-3
Ubuntu focal linux-image-unsigned-5.15.0-110-lowlatency Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-image-unsigned-5.15.0-110-lowlatency-64k Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-image-unsigned-5.15.0-113-generic Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-image-unsigned-5.15.0-113-generic-64k Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1058 Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1058 Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1058 Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-110 Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-common Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-lowlatency-hwe-5.15-headers-5.15.0-110 Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-5.15.0-110 Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-common Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-lowlatency-hwe-5.15-tools-host Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-modules-5.15.0-1046-gkeop Advisory build 5.15.0-1046.53~20.04.1 USN-6821-2
Ubuntu focal linux-modules-5.15.0-1057-ibm Advisory build 5.15.0-1057.60~20.04.1 USN-6892-1
Ubuntu focal linux-modules-5.15.0-1058-intel-iotg Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-modules-5.15.0-1062-gcp Advisory build 5.15.0-1062.70~20.04.1 USN-6820-1
Ubuntu focal linux-modules-5.15.0-1063-aws Advisory build 5.15.0-1063.69~20.04.1 USN-6821-3
Ubuntu focal linux-modules-5.15.0-110-lowlatency Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-modules-5.15.0-110-lowlatency-64k Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-modules-5.15.0-113-generic Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-modules-5.15.0-113-generic-64k Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-modules-5.15.0-113-generic-lpae Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-modules-extra-5.15.0-1046-gkeop Advisory build 5.15.0-1046.53~20.04.1 USN-6821-2
Ubuntu focal linux-modules-extra-5.15.0-1057-ibm Advisory build 5.15.0-1057.60~20.04.1 USN-6892-1
Ubuntu focal linux-modules-extra-5.15.0-1058-intel-iotg Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-modules-extra-5.15.0-1062-gcp Advisory build 5.15.0-1062.70~20.04.1 USN-6820-1
Ubuntu focal linux-modules-extra-5.15.0-1063-aws Advisory build 5.15.0-1063.69~20.04.1 USN-6821-3
Ubuntu focal linux-modules-extra-5.15.0-113-generic Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-modules-iwlwifi-5.15.0-1058-intel-iotg Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-modules-iwlwifi-5.15.0-1062-gcp Advisory build 5.15.0-1062.70~20.04.1 USN-6820-1
Ubuntu focal linux-modules-iwlwifi-5.15.0-110-lowlatency Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-modules-iwlwifi-5.15.0-113-generic Advisory build 5.15.0-113.123~20.04.1 USN-6871-1
Ubuntu focal linux-tools-5.15.0-1046-gkeop Advisory build 5.15.0-1046.53~20.04.1 USN-6821-2
Ubuntu focal linux-tools-5.15.0-1057-ibm Advisory build 5.15.0-1057.60~20.04.1 USN-6892-1
Ubuntu focal linux-tools-5.15.0-1058-intel-iotg Advisory build 5.15.0-1058.64~20.04.1 USN-6828-1
Ubuntu focal linux-tools-5.15.0-1062-gcp Advisory build 5.15.0-1062.70~20.04.1 USN-6820-1
Ubuntu focal linux-tools-5.15.0-1063-aws Advisory build 5.15.0-1063.69~20.04.1 USN-6821-3
Ubuntu focal linux-tools-5.15.0-110-lowlatency Advisory build 5.15.0-110.120~20.04.1 USN-6820-1
Ubuntu focal linux-tools-5.15.0-110-lowlatency-64k Advisory build 5.15.0-110.120~20.04.1 USN-6820-1

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

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.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

18

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerability is reached through ordinary local file I/O on an f2fs filesystem — write(2)/mmap dirty pages on a compression-enabled file plus writeback, with syncfs(2) driving the concurrent checkpoint. No network protocol handler is involved. AC:L - The attacker controls both sides of the race: one thread overwrites a compressed cluster with incompressible data to enter f2fs_write_raw_pages(), while another thread repeatedly calls the unprivileged syncfs(2), which takes cp_rwsem for write in the window the writer drops it between pages. No condition outside attacker influence is needed to create the inconsistent on-disk cluster state. PR:L - Only an unprivileged local account with write access to a file on the f2fs mount is required; f2fs_setflags_common() permits any file owner to set F2FS_COMPR_FL via FS_IOC_SETFLAGS, and compress_extension= mount options enable it automatically. No capability check exists on the write, writeback, or syncfs paths. UI:N - The attacker performs every step itself — creating the compressed file, overwriting the cluster, and forcing checkpoints. On Android and embedded devices the f2fs volume is already mounted at boot, so no victim action is needed. S:U - The corruption is confined to the f2fs filesystem and kernel managing it; no security authority boundary such as a VM, hypervisor, or IOMMU domain is crossed. C:H - Non-atomic cluster conversion corrupts dnode block addresses together with i_compr_blocks and total_valid_block_count, so blocks can become cross-linked — an attacker-controlled file ends up referencing blocks the allocator has reassigned to another user's file, exposing their contents on read. Half-converted clusters also cause stale compressed blocks to be decompressed into the attacker's page cache. I:H - This is fundamentally an integrity bug: the commit states data will be corrupted because cluster metadata is not updated atomically, and the resulting inconsistent dnode blkaddrs, i_blocks, and total_valid_block_count are persistent on-disk filesystem corruption that requires fsck. Cross-linked blocks additionally let the attacker overwrite data belonging to other files. A:H - The corrupted cluster makes f2fs_sanity_check_cluster()/__f2fs_cluster_blocks() return -EFSCORRUPTED and set SBI_NEED_FSCK, and f2fs_handle_error() can force the filesystem read-only or panic the kernel under errors=panic. On an embedded, automotive, or Android device whose rootfs/userdata is f2fs, the corrupted volume renders the system unbootable until repaired.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 7d420eaaa18ec8e2bb4eeab8c65c00492ef6f416 (affected · git)4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 542c8b3c774a480bfd0804291a12f6f2391b0cd1 (affected · git)4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 75abfd61392b1db391bde6d738a30d685b843286 (affected · git)4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 2b1b14d9fc94b8feae20808684c8af28ec80f45b (affected · git)4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < 52982edfcefd475cc34af663d5c47c0cddaa5739 (affected · git)4c8ff7095bef64fc47e996a938f7d57f9e077da3 to < fd244524c2cf07b5f4c3fe8abd6a99225c76544b (affected · git)Default: unaffected Linux · cna
Linux Linux 5.6 (affected)0 to < 5.6 (unaffected · semver)5.15.153 through 5.15.* (unaffected · semver)6.1.83 through 6.1.* (unaffected · semver)6.6.23 through 6.6.* (unaffected · semver)6.7.11 through 6.7.* (unaffected · semver)6.8.2 through 6.8.* (unaffected · semver)6.9 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

3

Linux · cna

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

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
d935b569daef0da3b969eb739bb90f1b373dc0efaa0a1a4d80abbbd3c2c6907a
Ingested
23 Sep 2026, 08:20:34 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected