Skip to content
CVE PROGRAM SOURCE RECORD6.3 Medium

CVE-2024-27032

f2fs: fix to avoid potential panic during recovery

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • b1020a546779139eec5d930e15ce534c1101b89c to < fe4de493572a4263554903bf9c3afc5c196e15f0affected
  • 2a7b12d4705bc308cf18eae2b69ec8db34881cc3 to < 8844b2f8a3f0c428b74672f9726f9950b1a7764caffected
  • b29cc6e29b5e6037e1bcd2b2ac67b7d89acd194c to < d034810d02a5af8eb74debe29877dcaf5f00fdd1affected
  • 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd to < f26091a981318b5b7451d61f99bc073a6af8db67affected
  • 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd to < 21ec68234826b1b54ab980a8df6e33c74cfbee58affected
  • bc1fb291f36dd1d9d667241d9fe30b835dbb8ee8affected
  • 9fceaf8182d453639cddb7f4a6877a1e1564de39affected
  • 80c69f576ff39d6ae8a6e2107da3dc03b533759caffected
  • b4fb0807a1d60f8642a5fd62bd659cd6052eaf97affected
  • 6.1.77 to < 6.1.83affected
  • 6.6.16 to < 6.6.23affected
  • 6.7.4 to < 6.7.11affected
  • 4.19.307 to < 4.20affected
  • 5.4.269 to < 5.5affected
  • 5.10.210 to < 5.11affected
  • 5.15.149 to < 5.16affected

Linux Linux

Default version status: affected

  • 6.8affected
  • 0 to < 6.8unaffected
  • 6.1.83 to ≤ 6.1.*unaffected
  • 6.6.23 to ≤ 6.6.*unaffected
  • 6.7.11 to ≤ 6.7.*unaffected
  • 6.8.2 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References