Assigner | Linux |
Reserved | 2024-02-19 |
Published | 2024-05-01 |
Updated | 2024-06-06 |
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.
Product status
b1020a546779 before fe4de493572a
2a7b12d4705b before 8844b2f8a3f0
b29cc6e29b5e before d034810d02a5
956fa1ddc132 before f26091a98131
956fa1ddc132 before 21ec68234826
6.8
Any version before 6.8
6.1.83
6.6.23
6.7.11
6.8.2
6.9
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