# CVE-2024-27032: f2fs: fix to avoid potential panic during recovery

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.3
- **CVSS:** 6.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-835
- **Published:** 2024-05-01T12:53:32.812Z
- **Modified:** 2026-10-15T01:17:37.163Z

## Who should check

- Anyone running Linux \>= b1020a546779139eec5d930e15ce534c1101b89c, \< fe4de493572a4263554903bf9c3afc5c196e15f0; \>= 2a7b12d4705bc308cf18eae2b69ec8db34881cc3, \< 8844b2f8a3f0c428b74672f9726f9950b1a7764c; \>= b29cc6e29b5e6037e1bcd2b2ac67b7d89acd194c, \< d034810d02a5af8eb74debe29877dcaf5f00fdd1; \>= 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd, \< f26091a981318b5b7451d61f99bc073a6af8db67; \>= 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd, \< 21ec68234826b1b54ab980a8df6e33c74cfbee58; bc1fb291f36dd1d9d667241d9fe30b835dbb8ee8; 9fceaf8182d453639cddb7f4a6877a1e1564de39; 80c69f576ff39d6ae8a6e2107da3dc03b533759c; b4fb0807a1d60f8642a5fd62bd659cd6052eaf97; \>= 6.1.77, \< 6.1.83; …
- Anyone running Linux 6.8

## 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 and fixed versions

- Linux: \>= b1020a546779139eec5d930e15ce534c1101b89c, \< fe4de493572a4263554903bf9c3afc5c196e15f0; \>= 2a7b12d4705bc308cf18eae2b69ec8db34881cc3, \< 8844b2f8a3f0c428b74672f9726f9950b1a7764c; \>= b29cc6e29b5e6037e1bcd2b2ac67b7d89acd194c, \< d034810d02a5af8eb74debe29877dcaf5f00fdd1; \>= 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd, \< f26091a981318b5b7451d61f99bc073a6af8db67; \>= 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd, \< 21ec68234826b1b54ab980a8df6e33c74cfbee58; bc1fb291f36dd1d9d667241d9fe30b835dbb8ee8; 9fceaf8182d453639cddb7f4a6877a1e1564de39; 80c69f576ff39d6ae8a6e2107da3dc03b533759c; b4fb0807a1d60f8642a5fd62bd659cd6052eaf97; \>= 6.1.77, \< 6.1.83; … (cvelist)
- Linux: 6.8 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-27032. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-27032.md
Affected: Linux >= b1020a546779139eec5d930e15ce534c1101b89c, < fe4de493572a4263554903bf9c3afc5c196e15f0; >= 2a7b12d4705bc308cf18eae2b69ec8db34881cc3, < 8844b2f8a3f0c428b74672f9726f9950b1a7764c; >= b29cc6e29b5e6037e1bcd2b2ac67b7d89acd194c, < d034810d02a5af8eb74debe29877dcaf5f00fdd1; >= 956fa1ddc132e028f3b7d4c…
Fixed in: Linux 8844b2f8a3f0c428b74672f9726f9950b1a7764c, Linux 21ec68234826b1b54ab980a8df6e33c74cfbee58, Linux 6.1.83

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-27032 being exploited?

There is no confirmed exploitation: CVE-2024-27032 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-27032?

Medium: CVSS 6.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-27032?

Linux \>= b1020a546779139eec5d930e15ce534c1101b89c, \< fe4de493572a4263554903bf9c3afc5c196e15f0; \>= 2a7b12d4705bc308cf18eae2b69ec8db34881cc3, \< 8844b2f8a3f0c428b74672f9726f9950b1a7764c; \>= b29cc6e29b5e6037e1bcd2b2ac67b7d89acd194c, \< d034810d02a5af8eb74debe29877dcaf5f00fdd1; \>= 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd, \< f26091a981318b5b7451d61f99bc073a6af8db67; \>= 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd, \< 21ec68234826b1b54ab980a8df6e33c74cfbee58; bc1fb291f36dd1d9d667241d9fe30b835dbb8ee8; 9fceaf8182d453639cddb7f4a6877a1e1564de39; 80c69f576ff39d6ae8a6e2107da3dc03b533759c; b4fb0807a1d60f8642a5fd62bd659cd6052eaf97; \>= 6.1.77, \< 6.1.83; …; Linux 6.8.

### Is there a fix for CVE-2024-27032?

Yes. Fixed in Linux 8844b2f8a3f0c428b74672f9726f9950b1a7764c, Linux 21ec68234826b1b54ab980a8df6e33c74cfbee58, Linux 6.1.83. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-27032?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/fe4de493572a4263554903bf9c3afc5c196e15f0>
- patch: <https://git.kernel.org/stable/c/8844b2f8a3f0c428b74672f9726f9950b1a7764c>
- patch: <https://git.kernel.org/stable/c/d034810d02a5af8eb74debe29877dcaf5f00fdd1>
- patch: <https://git.kernel.org/stable/c/f26091a981318b5b7451d61f99bc073a6af8db67>
- patch: <https://git.kernel.org/stable/c/21ec68234826b1b54ab980a8df6e33c74cfbee58>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-27032>

HTML: <https://flawdb.com/CVE-2024-27032> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-27032>
