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-34027

published high CVSS 3.1 · 7.8

f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock

Published
24 Jun 2024, 13:56:49 UTC
Updated
15 Oct 2026, 00:40:44 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxef8d563f184e1112651f2cbde383d43e599334e8 to < a6e1f7744e9b84f86a629a76024bba8468aa153b · ef8d563f184e1112651f2cbde383d43e599334e8 to < b5bac43875aa27ec032dbbb86173baae6dce6182 · ef8d563f184e1112651f2cbde383d43e599334e8 to < 5d47d63883735718825ca2efc4fca6915469774f · ef8d563f184e1112651f2cbde383d43e599334e8 to < 329edb7c9e3b6ca27e6ca67ab1cdda1740fb3a2b · ef8d563f184e1112651f2cbde383d43e599334e8 to < 69136304fd144144a4828c7b7b149d0f80321ba4 · ef8d563f184e1112651f2cbde383d43e599334e8 to < 0a4ed2d97cb6d044196cc3e726b6699222b41019 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.8 (affected) · 0 to < 5.8 (unaffected · semver) · 5.10.219 through 5.10.* (unaffected · semver) · 5.15.161 through 5.15.* (unaffected · semver) · 6.1.93 through 6.1.* (unaffected · semver) · 6.6.33 through 6.6.* (unaffected · semver) · 6.9.4 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1.1 · Other versions: unknown Affected Not stated siemens-SADP
linux — linux_kernelc75488fb4d82 to < a6e1f7744e9b · c75488fb4d82 to < b5bac43875aa · c75488fb4d82 to < 5d47d6388373 · c75488fb4d82 to < 329edb7c9e3b · c75488fb4d82 to < 69136304fd14 · c75488fb4d82 to < 0a4ed2d97cb6 · 5.8 · 0 to < 5.8 · 5.10.219 through 5.10* · 6.1.93 through 6.1* · 6.6.33 through 6.6* · 6.94 through 6.9* · 6.10 and later · 5.15.161 through 5.15* · Other versions: unknown Affected Not stated CISA-ADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bullseye linux Advisory build 5.10.221-1 DSA-5730-1
Ubuntu focal linux-aws-5.15 Advisory build 5.15.0-1069.75~20.04.1 USN-7007-1
Show 98 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Ubuntu focal linux-aws-5.15-cloud-tools-5.15.0-1069 Advisory build 5.15.0-1069.75~20.04.1 USN-7007-1
Ubuntu focal linux-aws-5.15-headers-5.15.0-1069 Advisory build 5.15.0-1069.75~20.04.1 USN-7007-1
Ubuntu focal linux-aws-5.15-tools-5.15.0-1069 Advisory build 5.15.0-1069.75~20.04.1 USN-7007-1
Ubuntu focal linux-azure-5.15 Advisory build 5.15.0-1072.81~20.04.1 USN-7009-1
Ubuntu focal linux-azure-5.15-cloud-tools-5.15.0-1072 Advisory build 5.15.0-1072.81~20.04.1 USN-7009-1
Ubuntu focal linux-azure-5.15-headers-5.15.0-1072 Advisory build 5.15.0-1072.81~20.04.1 USN-7009-1
Ubuntu focal linux-azure-5.15-tools-5.15.0-1072 Advisory build 5.15.0-1072.81~20.04.1 USN-7009-1
Ubuntu focal linux-buildinfo-5.15.0-1052-gkeop Advisory build 5.15.0-1052.59~20.04.1 USN-7007-1
Ubuntu focal linux-buildinfo-5.15.0-1062-ibm Advisory build 5.15.0-1062.65~20.04.1 USN-7007-2
Ubuntu focal linux-buildinfo-5.15.0-1064-intel-iotg Advisory build 5.15.0-1064.70~20.04.1 USN-7007-1
Ubuntu focal linux-buildinfo-5.15.0-1067-oracle Advisory build 5.15.0-1067.73~20.04.1 USN-7007-2
Ubuntu focal linux-buildinfo-5.15.0-1068-gcp Advisory build 5.15.0-1068.76~20.04.1 USN-7007-1
Ubuntu focal linux-buildinfo-5.15.0-1069-aws Advisory build 5.15.0-1069.75~20.04.1 USN-7007-1
Ubuntu focal linux-buildinfo-5.15.0-1072-azure Advisory build 5.15.0-1072.81~20.04.1 USN-7009-1
Ubuntu focal linux-buildinfo-5.15.0-121-generic Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-buildinfo-5.15.0-121-generic-64k Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-buildinfo-5.15.0-121-generic-lpae Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-buildinfo-5.15.0-121-lowlatency Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-buildinfo-5.15.0-121-lowlatency-64k Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-cloud-tools-5.15.0-1052-gkeop Advisory build 5.15.0-1052.59~20.04.1 USN-7007-1
Ubuntu focal linux-cloud-tools-5.15.0-1064-intel-iotg Advisory build 5.15.0-1064.70~20.04.1 USN-7007-1
Ubuntu focal linux-cloud-tools-5.15.0-1069-aws Advisory build 5.15.0-1069.75~20.04.1 USN-7007-1
Ubuntu focal linux-cloud-tools-5.15.0-1072-azure Advisory build 5.15.0-1072.81~20.04.1 USN-7009-1
Ubuntu focal linux-cloud-tools-5.15.0-121-generic Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-cloud-tools-5.15.0-121-lowlatency Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-gcp-5.15 Advisory build 5.15.0-1068.76~20.04.1 USN-7007-1
Ubuntu focal linux-gcp-5.15-headers-5.15.0-1068 Advisory build 5.15.0-1068.76~20.04.1 USN-7007-1
Ubuntu focal linux-gcp-5.15-tools-5.15.0-1068 Advisory build 5.15.0-1068.76~20.04.1 USN-7007-1
Ubuntu focal linux-gkeop-5.15 Advisory build 5.15.0-1052.59~20.04.1 USN-7007-1
Ubuntu focal linux-gkeop-5.15-cloud-tools-5.15.0-1052 Advisory build 5.15.0-1052.59~20.04.1 USN-7007-1
Ubuntu focal linux-gkeop-5.15-headers-5.15.0-1052 Advisory build 5.15.0-1052.59~20.04.1 USN-7007-1
Ubuntu focal linux-gkeop-5.15-tools-5.15.0-1052 Advisory build 5.15.0-1052.59~20.04.1 USN-7007-1
Ubuntu focal linux-headers-5.15.0-1052-gkeop Advisory build 5.15.0-1052.59~20.04.1 USN-7007-1
Ubuntu focal linux-headers-5.15.0-1062-ibm Advisory build 5.15.0-1062.65~20.04.1 USN-7007-2
Ubuntu focal linux-headers-5.15.0-1064-intel-iotg Advisory build 5.15.0-1064.70~20.04.1 USN-7007-1
Ubuntu focal linux-headers-5.15.0-1067-oracle Advisory build 5.15.0-1067.73~20.04.1 USN-7007-2
Ubuntu focal linux-headers-5.15.0-1068-gcp Advisory build 5.15.0-1068.76~20.04.1 USN-7007-1
Ubuntu focal linux-headers-5.15.0-1069-aws Advisory build 5.15.0-1069.75~20.04.1 USN-7007-1
Ubuntu focal linux-headers-5.15.0-1072-azure Advisory build 5.15.0-1072.81~20.04.1 USN-7009-1
Ubuntu focal linux-headers-5.15.0-121-generic Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-headers-5.15.0-121-generic-64k Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-headers-5.15.0-121-generic-lpae Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-headers-5.15.0-121-lowlatency Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-headers-5.15.0-121-lowlatency-64k Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-hwe-5.15 Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-hwe-5.15-cloud-tools-5.15.0-121 Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-hwe-5.15-cloud-tools-common Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-hwe-5.15-headers-5.15.0-121 Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-hwe-5.15-source-5.15.0 Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-hwe-5.15-tools-5.15.0-121 Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-hwe-5.15-tools-common Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-hwe-5.15-tools-host Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-ibm-5.15 Advisory build 5.15.0-1062.65~20.04.1 USN-7007-2
Ubuntu focal linux-ibm-5.15-headers-5.15.0-1062 Advisory build 5.15.0-1062.65~20.04.1 USN-7007-2
Ubuntu focal linux-ibm-5.15-source-5.15.0 Advisory build 5.15.0-1062.65~20.04.1 USN-7007-2
Ubuntu focal linux-ibm-5.15-tools-5.15.0-1062 Advisory build 5.15.0-1062.65~20.04.1 USN-7007-2
Ubuntu focal linux-image-5.15.0-121-generic Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-image-5.15.0-121-generic-lpae Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-image-unsigned-5.15.0-1052-gkeop Advisory build 5.15.0-1052.59~20.04.1 USN-7007-1
Ubuntu focal linux-image-unsigned-5.15.0-1062-ibm Advisory build 5.15.0-1062.65~20.04.1 USN-7007-2
Ubuntu focal linux-image-unsigned-5.15.0-1064-intel-iotg Advisory build 5.15.0-1064.70~20.04.1 USN-7007-1
Ubuntu focal linux-image-unsigned-5.15.0-1067-oracle Advisory build 5.15.0-1067.73~20.04.1 USN-7007-2
Ubuntu focal linux-image-unsigned-5.15.0-1068-gcp Advisory build 5.15.0-1068.76~20.04.1 USN-7007-1
Ubuntu focal linux-image-unsigned-5.15.0-1069-aws Advisory build 5.15.0-1069.75~20.04.1 USN-7007-1
Ubuntu focal linux-image-unsigned-5.15.0-1072-azure Advisory build 5.15.0-1072.81~20.04.1 USN-7009-1
Ubuntu focal linux-image-unsigned-5.15.0-121-generic Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-image-unsigned-5.15.0-121-generic-64k Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-image-unsigned-5.15.0-121-lowlatency Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-image-unsigned-5.15.0-121-lowlatency-64k Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-intel-iotg-5.15 Advisory build 5.15.0-1064.70~20.04.1 USN-7007-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-5.15.0-1064 Advisory build 5.15.0-1064.70~20.04.1 USN-7007-1
Ubuntu focal linux-intel-iotg-5.15-cloud-tools-common Advisory build 5.15.0-1064.70~20.04.1 USN-7007-1
Ubuntu focal linux-intel-iotg-5.15-headers-5.15.0-1064 Advisory build 5.15.0-1064.70~20.04.1 USN-7007-1
Ubuntu focal linux-intel-iotg-5.15-tools-5.15.0-1064 Advisory build 5.15.0-1064.70~20.04.1 USN-7007-1
Ubuntu focal linux-intel-iotg-5.15-tools-common Advisory build 5.15.0-1064.70~20.04.1 USN-7007-1
Ubuntu focal linux-intel-iotg-5.15-tools-host Advisory build 5.15.0-1064.70~20.04.1 USN-7007-1
Ubuntu focal linux-lowlatency-hwe-5.15 Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-121 Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-lowlatency-hwe-5.15-cloud-tools-common Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-lowlatency-hwe-5.15-headers-5.15.0-121 Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-lowlatency-hwe-5.15-tools-5.15.0-121 Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-lowlatency-hwe-5.15-tools-common Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-lowlatency-hwe-5.15-tools-host Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-modules-5.15.0-1052-gkeop Advisory build 5.15.0-1052.59~20.04.1 USN-7007-1
Ubuntu focal linux-modules-5.15.0-1062-ibm Advisory build 5.15.0-1062.65~20.04.1 USN-7007-2
Ubuntu focal linux-modules-5.15.0-1064-intel-iotg Advisory build 5.15.0-1064.70~20.04.1 USN-7007-1
Ubuntu focal linux-modules-5.15.0-1067-oracle Advisory build 5.15.0-1067.73~20.04.1 USN-7007-2
Ubuntu focal linux-modules-5.15.0-1068-gcp Advisory build 5.15.0-1068.76~20.04.1 USN-7007-1
Ubuntu focal linux-modules-5.15.0-1069-aws Advisory build 5.15.0-1069.75~20.04.1 USN-7007-1
Ubuntu focal linux-modules-5.15.0-1072-azure Advisory build 5.15.0-1072.81~20.04.1 USN-7009-1
Ubuntu focal linux-modules-5.15.0-121-generic Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-modules-5.15.0-121-generic-64k Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-modules-5.15.0-121-generic-lpae Advisory build 5.15.0-121.131~20.04.1 USN-7007-1
Ubuntu focal linux-modules-5.15.0-121-lowlatency Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-modules-5.15.0-121-lowlatency-64k Advisory build 5.15.0-121.131~20.04.1 USN-7007-3
Ubuntu focal linux-modules-extra-5.15.0-1052-gkeop Advisory build 5.15.0-1052.59~20.04.1 USN-7007-1
Ubuntu focal linux-modules-extra-5.15.0-1062-ibm Advisory build 5.15.0-1062.65~20.04.1 USN-7007-2
Ubuntu focal linux-modules-extra-5.15.0-1064-intel-iotg Advisory build 5.15.0-1064.70~20.04.1 USN-7007-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 {reserve,release}_compress_blocks() w/ cp_rwsem lock It needs to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock to avoid racing with checkpoint, otherwise, filesystem metadata including blkaddr in dnode, inode fields and .total_valid_block_count may be corrupted after SPO case.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

16

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 only through the `F2FS_IOC_RELEASE_COMPRESS_BLOCKS` / `F2FS_IOC_RESERVE_COMPRESS_BLOCKS` ioctls issued on a local file descriptor of a mounted f2fs volume. There is no remote or network-facing path into `f2fs_{release,reserve}_compress_blocks()`. AC:L - The attacker drives both sides of the race — one thread loops the compress-block ioctls while another loops unprivileged `syncfs()`, which calls `f2fs_sync_fs(sb, 1)` → `f2fs_issue_checkpoint()`, so the racing checkpoint is attacker-scheduled rather than incidental. Once won, the inconsistent metadata is written to persistent storage and stays there, and f2fs compression is broadly deployed (Android GKI enables `CONFIG_F2FS_FS_COMPRESSION`), so no condition outside the attacker's influence is needed to reach the corrupt state. PR:L - Both ioctls carry no `capable()` or `CAP_SYS_ADMIN` check — unlike the adjacent `F2FS_IOC_RESIZE_FS`/`GARBAGE_COLLECT` handlers — and setting `FS_COMPR_FL` requires only `inode_owner_or_capable`. Any unprivileged local user with a file on a rw-mounted compression-enabled f2fs volume can create a compressed file and invoke them. UI:N - The attacker operates entirely on a file it creates and owns on an already-mounted filesystem, in a self-contained two-thread loop. No action by any other user or administrator is required. S:U - The corruption is confined to the f2fs filesystem metadata managed by the same kernel security authority that hosts the vulnerable code. No VM, IOMMU, or sandbox boundary is crossed. C:H - The persisted mismatch between inode compress accounting (`i_blocks`, `i_compr_blocks`, `FI_COMPRESS_RELEASED`) and the dnode blkaddr layout means a compressed cluster can be decompressed using a block count that no longer matches its real extent, surfacing content of blocks outside the file — a cross-file disclosure on a shared volume, which is why the fs is flagged `SBI_NEED_FSCK` rather than merely losing space. I:H - An unprivileged user achieves persistent, unauthorized corruption of shared on-disk filesystem metadata — dnode block addresses, inode `i_blocks`/`i_compr_blocks`, and the volume-global `total_valid_block_count` — affecting the entire filesystem and not just the attacker's own file, repairable only by fsck. A:H - After the unclean mount, `f2fs_sanity_check_ckpt()` rejects the volume with "Wrong valid_user_blocks" (`-EFSCORRUPTED`), rendering an f2fs root or `/data` unmountable and the device unbootable; `dec_valid_block_count()`'s `f2fs_bug_on(sbi, sbi->total_valid_block_count < count)` also yields a `BUG_ON` kernel panic under `CONFIG_F2FS_CHECK_FS`, with `SBI_NEED_FSCK`/forced read-only otherwise.

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.0 high CISA-ADP · adp CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H —

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux ef8d563f184e1112651f2cbde383d43e599334e8 to < a6e1f7744e9b84f86a629a76024bba8468aa153b (affected · git)ef8d563f184e1112651f2cbde383d43e599334e8 to < b5bac43875aa27ec032dbbb86173baae6dce6182 (affected · git)ef8d563f184e1112651f2cbde383d43e599334e8 to < 5d47d63883735718825ca2efc4fca6915469774f (affected · git)ef8d563f184e1112651f2cbde383d43e599334e8 to < 329edb7c9e3b6ca27e6ca67ab1cdda1740fb3a2b (affected · git)ef8d563f184e1112651f2cbde383d43e599334e8 to < 69136304fd144144a4828c7b7b149d0f80321ba4 (affected · git)ef8d563f184e1112651f2cbde383d43e599334e8 to < 0a4ed2d97cb6d044196cc3e726b6699222b41019 (affected · git)Default: unaffected Linux · cna
Linux Linux 5.8 (affected)0 to < 5.8 (unaffected · semver)5.10.219 through 5.10.* (unaffected · semver)5.15.161 through 5.15.* (unaffected · semver)6.1.93 through 6.1.* (unaffected · semver)6.6.33 through 6.6.* (unaffected · semver)6.9.4 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0 to < V1.1.1 (affected · custom)Default: unknown siemens-SADP · adp
linux linux_kernel c75488fb4d82 to < a6e1f7744e9b (affected · git)c75488fb4d82 to < b5bac43875aa (affected · git)c75488fb4d82 to < 5d47d6388373 (affected · git)c75488fb4d82 to < 329edb7c9e3b (affected · git)c75488fb4d82 to < 69136304fd14 (affected · git)c75488fb4d82 to < 0a4ed2d97cb6 (affected · git)5.8 (affected)0 to < 5.8 (affected · semver)5.10.219 through 5.10* (affected · semver)6.1.93 through 6.1* (affected · semver)6.6.33 through 6.6* (affected · semver)6.94 through 6.9* (affected · semver)6.10 and later (affected · semver)5.15.161 through 5.15* (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-770 CWE-770 Allocation of Resources Without Limits or Throttling (CISA-ADP · adp)

References

7

Provider assertions

4

Linux · cna

f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
a1fc4779bc0ac07db6a04d124fa8f196f8ca4e314aebd49969926453541fd806
Ingested
15 Oct 2026, 13:09:23 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