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

published high CVSS 3.1 · 7.1

f2fs: compress: don't allow unaligned truncation on released compress inode

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

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux8e1651cd667cd6779db28314844d88b6de8312a3 to < b8962cf98595d1ec62f40f23667de830567ec8bc · c61404153eb683da9c35aad133131554861ed561 to < 8acae047215024d1ac499b3c8337ef1b952f160b · c61404153eb683da9c35aad133131554861ed561 to < 3ccf5210dc941a7aa0180596ac021568be4d35ec · c61404153eb683da9c35aad133131554861ed561 to < 9f9341064a9b5246a32a7fe56b9f80c6f7f3c62d · c61404153eb683da9c35aad133131554861ed561 to < 5268241b41b1c5d0acca75e9b97d4fd719251c8c · c61404153eb683da9c35aad133131554861ed561 to < 29ed2b5dd521ce7c5d8466cd70bf0cc9d07afeee · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.14 (affected) · 0 to < 5.14 (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
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
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
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
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: don't allow unaligned truncation on released compress inode f2fs image may be corrupted after below testcase: - mkfs.f2fs -O extra_attr,compression -f /dev/vdb - mount /dev/vdb /mnt/f2fs - touch /mnt/f2fs/file - f2fs_io setflags compression /mnt/f2fs/file - dd if=/dev/zero of=/mnt/f2fs/file bs=4k count=4 - f2fs_io release_cblocks /mnt/f2fs/file - truncate -s 8192 /mnt/f2fs/file - umount /mnt/f2fs - fsck.f2fs /dev/vdb [ASSERT] (fsck_chk_inode_blk:1256) --> ino: 0x5 has i_blocks: 0x00000002, but has 0x3 blocks [FSCK] valid_block_count matching with CP [Fail] [0x4, 0x5] [FSCK] other corrupted bugs [Fail] The reason is: partial truncation assume compressed inode has reserved blocks, after partial truncation, valid block count may change w/o .i_blocks and .total_valid_block_count update, result in corruption. This patch only allow cluster size aligned truncation on released compress inode for fixing.

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.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Scenarios
en: AV:L - The entire attack sequence is local syscalls/ioctls on a mounted f2fs volume — `FS_IOC_SETFLAGS`, `write()`, `F2FS_IOC_RELEASE_COMPRESS_BLOCKS`, then `truncate()`. There is no network or remote-peer component. AC:L - The commit message contains a straight-line shell reproducer with no race, timing window, or memory-layout dependency; the attacker deterministically drives every step. f2fs compression is a standard, widely deployed configuration (Android /data, embedded flash devices). PR:L - `f2fs_release_compress_blocks()` carries no capability check at all — only `mnt_want_write_file()` and an exclusive `i_writecount` test — and setting the compression flag and truncating require only ownership/write permission on the attacker's own file. An ordinary unprivileged user (or an Android app on its own data files) can perform the full sequence. UI:N - The attacker creates, flags, writes, releases, and truncates their own file on an already-mounted filesystem; no victim needs to mount anything, open anything, or act in any way. S:U - The corruption is confined to the kernel/filesystem security authority that already manages the affected volume; no VM, IOMMU, or sandbox boundary is crossed. C:N - The defect is block-accounting metadata desync (`i_blocks` / `total_valid_block_count` vs. the dnode); the newly allocated block is freshly written with the file's own decompressed data and no stale, out-of-bounds, or cross-file content is ever exposed to the attacker. I:H - It causes persistent, on-disk corruption of shared filesystem metadata — the inode's `i_blocks`, `i_compr_blocks` and the checkpoint's global `valid_block_count` — which survives reboot, is confirmed by fsck failure, and is not confined to the attacker's own file since the superblock/checkpoint accounting governs the whole volume. A:H - The skewed accounting reaches `f2fs_bug_on()` in `dec_valid_block_count()` and, once the over-reported free space is exhausted, `get_new_segment()`'s `f2fs_stop_checkpoint(STOP_CP_REASON_NO_SEGMENT)` + `f2fs_bug_on(sbi, 1)` — a kernel BUG/panic under `CONFIG_F2FS_CHECK_FS`, otherwise a shut-down checkpoint that makes the filesystem return `-EIO` for everything and require offline fsck.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 8e1651cd667cd6779db28314844d88b6de8312a3 to < b8962cf98595d1ec62f40f23667de830567ec8bc (affected · git)c61404153eb683da9c35aad133131554861ed561 to < 8acae047215024d1ac499b3c8337ef1b952f160b (affected · git)c61404153eb683da9c35aad133131554861ed561 to < 3ccf5210dc941a7aa0180596ac021568be4d35ec (affected · git)c61404153eb683da9c35aad133131554861ed561 to < 9f9341064a9b5246a32a7fe56b9f80c6f7f3c62d (affected · git)c61404153eb683da9c35aad133131554861ed561 to < 5268241b41b1c5d0acca75e9b97d4fd719251c8c (affected · git)c61404153eb683da9c35aad133131554861ed561 to < 29ed2b5dd521ce7c5d8466cd70bf0cc9d07afeee (affected · git)Default: unaffected Linux · cna
Linux Linux 5.14 (affected)0 to < 5.14 (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

Weaknesses

0

No weakness assertions.

References

7

Provider assertions

4

Linux · cna

f2fs: compress: don't allow unaligned truncation on released compress inode

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
f444477571dd86ef3e1765be2b282936d7c541a132b40e309a52889cc8af2ba2
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