CVE-2024-27032

f2fs: fix to avoid potential panic during recovery

6.3 medium EPSS 0.29%

Published 1 May 2024 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2024-27032

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-27032 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

6.3 medium CVSS 3.1 from CISA (ADP)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
low: the attacker needs an ordinary user account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.29%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 23.4% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 6 Jun 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from b1020a546779139eec5d930e15ce534c1101b89c, before fe4de493572a4263554903bf9c3afc5c196e15f0
affected from 2a7b12d4705bc308cf18eae2b69ec8db34881cc3, before 8844b2f8a3f0c428b74672f9726f9950b1a7764c
affected from b29cc6e29b5e6037e1bcd2b2ac67b7d89acd194c, before d034810d02a5af8eb74debe29877dcaf5f00fdd1
affected from 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd, before f26091a981318b5b7451d61f99bc073a6af8db67
affected from 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd, before 21ec68234826b1b54ab980a8df6e33c74cfbee58
affected bc1fb291f36dd1d9d667241d9fe30b835dbb8ee8
affected 9fceaf8182d453639cddb7f4a6877a1e1564de39
affected 80c69f576ff39d6ae8a6e2107da3dc03b533759c
affected b4fb0807a1d60f8642a5fd62bd659cd6052eaf97
affected from 6.1.77, before 6.1.83
affected from 6.6.16, before 6.6.23
affected from 6.7.4, before 6.7.11
affected from 4.19.307, before 4.20
affected from 5.4.269, before 5.5
affected from 5.10.210, before 5.11
affected from 5.15.149, before 5.16
Other versions: unaffected
Linux
affected 6.8
unaffected before 6.8
unaffected from 6.1.83 up to and including 6.1.*
unaffected from 6.6.23 up to and including 6.6.*
unaffected from 6.7.11 up to and including 6.7.*
unaffected from 6.8.2 up to and including 6.8.*
unaffected 6.9 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-27032 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-27032

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-27032
trivy image --scanners vuln IMAGE | grep CVE-2024-27032

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-27032 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.