CVE-2024-34027

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

HIGH
7.8
CVSS Score
Published: June 24, 2024 at 01:56 PM UTC
Updated: October 15, 2026 at 01:17 AM UTC
2 products affected across 2 vendorsLinux KernelSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1615.16 ≤ v < 6.1.935.8 ≤ v < 5.10.2196.2 ≤ v < 6.6.336.7 ≤ v < 6.9.45.10.2195.15.1615.86.1.936.106.6.336.94c75488fb4d82ef8d563f184e1112651f2cbde383d43e599334e8
Vendor states this is fixed in 0a4ed2d97cb6 (fixed)
Vendor states this is fixed in 0a4ed2d97cb6d044196cc3e726b6699222b41019 (fixed)
Vendor states this is fixed in 329edb7c9e3b (fixed)
Vendor states this is fixed in 329edb7c9e3b6ca27e6ca67ab1cdda1740fb3a2b (fixed)
Vendor states this is fixed in 5d47d6388373 (fixed)
Vendor states this is fixed in 5d47d63883735718825ca2efc4fca6915469774f (fixed)
Vendor states this is fixed in 69136304fd14 (fixed)
Vendor states this is fixed in 69136304fd144144a4828c7b7b149d0f80321ba4 (fixed)
Vendor states this is fixed in a6e1f7744e9b (fixed)
Vendor states this is fixed in a6e1f7744e9b84f86a629a76024bba8468aa153b (fixed)
Vendor states this is fixed in b5bac43875aa (fixed)
Vendor states this is fixed in b5bac43875aa27ec032dbbb86173baae6dce6182 (fixed)
Vendor states this is fixed in 5.10.219 (unaffected)
Vendor states this is fixed in 5.15.161 (unaffected)
Vendor states this is fixed in 5.8 (unaffected)
Vendor states this is fixed in 6.1.93 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.33 (unaffected)
Vendor states this is fixed in 6.9.4 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0a4ed2d97cb6d044196cc3e726b6699222b41019
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/329edb7c9e3b6ca27e6ca67ab1cdda1740fb3a2b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5d47d63883735718825ca2efc4fca6915469774f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/69136304fd144144a4828c7b7b149d0f80321ba4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a6e1f7744e9b84f86a629a76024bba8468aa153b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b5bac43875aa27ec032dbbb86173baae6dce6182
Source: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-265688.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-770

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card