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 < fe4de493572a4263554903bf9c3afc5c196e15f0affected2a7b12d4705bc308cf18eae2b69ec8db34881cc3 to < 8844b2f8a3f0c428b74672f9726f9950b1a7764caffectedb29cc6e29b5e6037e1bcd2b2ac67b7d89acd194c to < d034810d02a5af8eb74debe29877dcaf5f00fdd1affected956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd to < f26091a981318b5b7451d61f99bc073a6af8db67affected956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd to < 21ec68234826b1b54ab980a8df6e33c74cfbee58affectedbc1fb291f36dd1d9d667241d9fe30b835dbb8ee8affected9fceaf8182d453639cddb7f4a6877a1e1564de39affected80c69f576ff39d6ae8a6e2107da3dc03b533759caffectedb4fb0807a1d60f8642a5fd62bd659cd6052eaf97affected6.1.77 to < 6.1.83affected6.6.16 to < 6.6.23affected6.7.4 to < 6.7.11affected4.19.307 to < 4.20affected5.4.269 to < 5.5affected5.10.210 to < 5.11affected5.15.149 to < 5.16affected
Linux Linux
Default version status: affected
6.8affected0 to < 6.8unaffected6.1.83 to ≤ 6.1.*unaffected6.6.23 to ≤ 6.6.*unaffected6.7.11 to ≤ 6.7.*unaffected6.8.2 to ≤ 6.8.*unaffected6.9 to ≤ *unaffected
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 ↗
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html ↗