What’s Vulnerable › Vulnerabilities

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

How to fix

Upgrade to a fixed version: Linux kernel 4.20, 5.11, 5.16, 5.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-27032 or the next vulnerability affects your stack