Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于存在未对齐截断损坏。

CVSS 7.1 · High EPSS 0.23% · P13

Possible ATT&CK Techniques 1 AI

T1074 · Data Staged

Affected Version Matrix 13

VendorProduct Version RangeStatus
Linux Linux 8e1651cd667cd6779db28314844d88b6de8312a3< b8962cf98595d1ec62f40f23667de830567ec8bc affected
c61404153eb683da9c35aad133131554861ed561< 8acae047215024d1ac499b3c8337ef1b952f160b affected
c61404153eb683da9c35aad133131554861ed561< 3ccf5210dc941a7aa0180596ac021568be4d35ec affected
c61404153eb683da9c35aad133131554861ed561< 9f9341064a9b5246a32a7fe56b9f80c6f7f3c62d affected
c61404153eb683da9c35aad133131554861ed561< 5268241b41b1c5d0acca75e9b97d4fd719251c8c affected
c61404153eb683da9c35aad133131554861ed561< 29ed2b5dd521ce7c5d8466cd70bf0cc9d07afeee affected
5.14 affected
< 5.14 unaffected
… +5 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-33847

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
f2fs: compress: don't allow unaligned truncation on released compress inode
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于存在未对齐截断损坏。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 8e1651cd667cd6779db28314844d88b6de8312a3 ~ b8962cf98595d1ec62f40f23667de830567ec8bc -
Linux Linux 5.14 -

II. Public POCs for CVE-2024-33847

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-33847

请登录查看更多情报信息。

Other References for CVE-2024-33847 (6)

Same Patch Batch · Linux · 2024-06-24 · 14 CVEs total

CVE-2024-38384 7.8 HIGH blk-cgroup: fix list corruption from reorder of WRITE ->lqueued
CVE-2024-38663 7.8 HIGH blk-cgroup: fix list corruption from resetting io stat
CVE-2024-39292 7.8 HIGH um: Add winch to winch_handlers before registering winch IRQ
CVE-2024-32936 7.8 HIGH media: ti: j721e-csi2rx: Fix races while restarting DMA
CVE-2024-34027 7.8 HIGH f2fs: compress: fix to cover {reserve,release}_compress_blocks() w/ cp_rwsem lock
CVE-2024-38664 drm: zynqmp_dpsub: Always register bridge
CVE-2024-38667 riscv: prevent pt_regs corruption for secondary idle threads
CVE-2024-39291 drm/amdgpu: Fix buffer size in gfx_v9_4_3_init_ cp_compute_microcode() and rlc_microcode()
CVE-2024-34030 PCI: of_property: Return error for int_map allocation failure
CVE-2024-35247 fpga: region: add owner module and take its refcount
CVE-2024-36479 fpga: bridge: add owner module and take its refcount
CVE-2024-37021 fpga: manager: add owner module and take its refcount
CVE-2024-37026 drm/xe: Only use reserved BCS instances for usm migrate exec queue

IV. Related Vulnerabilities

V. Comments for CVE-2024-33847

No comments yet


Leave a comment