7.1

CVE-2024-33847: f2fs: compress: don't allow unaligned truncation on released compress inode

Modified
AliasesUBUNTU-CVE-2024-33847DEBIAN-CVE-2024-33847
Published 24-06-2024Last modified 15-10-2026

Vulnerability summary

CVE-2024-33847 is a high (CVSS 7.1) vulnerability in linux. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 14.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.1, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.23%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 16 · Related 13

Timeline

  1. 24-06-2024
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

14%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.23% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu117 products
  • linux< 5.15.0-121.131 | < 6.8.0-44.44
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.15.0-1069.75 | < 6.8.0-1015.16
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 8e1651cd667cd6779db28314844d88b6de8312a3, < b8962cf98595d1ec62f40f23667de830567ec8bc | ≥ c61404153eb683da9c35aad133131554861ed561, < 8acae047215024d1ac499b3c8337ef1b952f160b | ≥ c61404153eb683da9c35aad133131554861ed561, < 3ccf5210dc941a7aa0180596ac021568be4d35ec | ≥ c61404153eb683da9c35aad133131554861ed561, < 9f9341064a9b5246a32a7fe56b9f80c6f7f3c62d | ≥ c61404153eb683da9c35aad133131554861ed561, < 5268241b41b1c5d0acca75e9b97d4fd719251c8c | ≥ c61404153eb683da9c35aad133131554861ed561, < 29ed2b5dd521ce7c5d8466cd70bf0cc9d07afeee | 5.14
  • linux_kernel≥ 5.14, < 5.15.161 | ≥ 5.16, < 6.1.93 | ≥ 6.2, < 6.6.33 | ≥ 6.7, < 6.9.4
Debian1 product
  • linux< 6.1.94-1 | < 6.9.7-1

3 vendors · 120 products

References

24 links
Show all 24 references