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

- Severity: Medium 6.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2024-05-01T12:53:32.812Z
- Modified: 2026-10-15T01:17:37.163Z
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from b1020a546779139eec5d930e15ce534c1101b89c before fe4de493572a4263554903bf9c3afc5c196e15f0; from 2a7b12d4705bc308cf18eae2b69ec8db34881cc3 before 8844b2f8a3f0c428b74672f9726f9950b1a7764c; from b29cc6e29b5e6037e1bcd2b2ac67b7d89acd194c before d034810d02a5af8eb74debe29877dcaf5f00fdd1; from 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd before f26091a981318b5b7451d61f99bc073a6af8db67; from 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd before 21ec68234826b1b54ab980a8df6e33c74cfbee58; bc1fb291f36dd1d9d667241d9fe30b835dbb8ee8; 9fceaf8182d453639cddb7f4a6877a1e1564de39; 80c69f576ff39d6ae8a6e2107da3dc03b533759c; b4fb0807a1d60f8642a5fd62bd659cd6052eaf97; from 6.1.77 before 6.1.83; from 6.6.16 before 6.6.23; from 6.7.4 before 6.7.11; and 5 more (not affected: before 6.8; from 6.1.83 up to 6.1.*; from 6.6.23 up to 6.6.*; from 6.7.11 up to 6.7.*; from 6.8.2 up to 6.8.*; from 6.9 up to *)
- linux linux_kernel: from 4.19.307 before 4.20; from 5.4.269 before 5.5; from 5.10.210 before 5.11; from 5.15.149 before 5.16; from 6.1.77 before 6.1.83; from 6.6.16 before 6.6.23; from 6.7.4 before 6.7.11; from 6.8 before 6.8.2

## References

- <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> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2024-27032](https://www.cve.org/CVERecord?id=CVE-2024-27032), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-27032](https://nvd.nist.gov/vuln/detail/CVE-2024-27032), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-27032 · Whole record: https://cve.day/CVE-2024-27032.json · Rebuilt by cve.day 2026-11-25T22:58:39.789Z
