CVE-2024-27032

f2fs: fix to avoid potential panic during recovery

MEDIUM
6.3
CVSS Score
Published: May 1, 2024 at 12:53 PM UTC
Updated: October 15, 2026 at 01:17 AM UTC
1 product affected across 1 vendorLinux Kernel

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
MEDIUM6.3
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to avoid potential panic during recovery During recovery, if FAULT_BLOCK is on, it is possible that f2fs_reserve_new_block() will return -ENOSPC during recovery, then it may trigger panic. Also, if fault injection rate is 1 and only FAULT_BLOCK fault type is on, it may encounter deadloop in loop of block reservation. Let's change as below to fix these issues: - remove bug_on() to avoid panic. - limit the loop count of block reservation to avoid potential deadloop.

Affected

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

4.19.307 ≤ v < 4.205.10.210 ≤ v < 5.115.15.149 ≤ v < 5.165.4.269 ≤ v < 5.56.1.77 ≤ v < 6.1.836.6.16 ≤ v < 6.6.236.7.4 ≤ v < 6.7.116.8 ≤ v < 6.8.22a7b12d4705bc308cf18eae2b69ec8db34881cc34.19.3075.10.2105.15.1495.4.2696.1.776.6.166.7.46.880c69f576ff39d6ae8a6e2107da3dc03b533759c956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd9fceaf8182d453639cddb7f4a6877a1e1564de39b1020a546779139eec5d930e15ce534c1101b89cb29cc6e29b5e6037e1bcd2b2ac67b7d89acd194cb4fb0807a1d60f8642a5fd62bd659cd6052eaf97bc1fb291f36dd1d9d667241d9fe30b835dbb8ee8
Vendor states this is fixed in 21ec68234826b1b54ab980a8df6e33c74cfbee58 (fixed)
Vendor states this is fixed in 8844b2f8a3f0c428b74672f9726f9950b1a7764c (fixed)
Vendor states this is fixed in d034810d02a5af8eb74debe29877dcaf5f00fdd1 (fixed)
Vendor states this is fixed in f26091a981318b5b7451d61f99bc073a6af8db67 (fixed)
Vendor states this is fixed in fe4de493572a4263554903bf9c3afc5c196e15f0 (fixed)
Affected range stops below 4.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.11, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.5, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.1.83 (unaffected)
Vendor states this is fixed in 6.6.23 (unaffected)
Vendor states this is fixed in 6.7.11 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)
Vendor states this is fixed in 6.8.2 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/21ec68234826b1b54ab980a8df6e33c74cfbee58
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8844b2f8a3f0c428b74672f9726f9950b1a7764c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d034810d02a5af8eb74debe29877dcaf5f00fdd1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f26091a981318b5b7451d61f99bc073a6af8db67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fe4de493572a4263554903bf9c3afc5c196e15f0
Source: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
https://cert-portal.siemens.com/productcert/html/ssa-398330.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

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

CVSS

6.3MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-835

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