NetSight
medium6.3

CVE-2024-27032

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, i…

Impact

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

VendorProductAffected versions
LinuxLinux 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

Weakness classification

References