{"id":"CVE-2024-27032","summary":"f2fs: fix to avoid potential panic during recovery","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nf2fs: fix to avoid potential panic during recovery\n\nDuring recovery, if FAULT_BLOCK is on, it is possible that\nf2fs_reserve_new_block() will return -ENOSPC during recovery,\nthen it may trigger panic.\n\nAlso, if fault injection rate is 1 and only FAULT_BLOCK fault\ntype is on, it may encounter deadloop in loop of block reservation.\n\nLet's change as below to fix these issues:\n- remove bug_on() to avoid panic.\n- limit the loop count of block reservation to avoid potential\ndeadloop.","modified":"2026-04-02T10:06:53.298944Z","published":"2024-05-01T12:53:32.812Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27032.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/21ec68234826b1b54ab980a8df6e33c74cfbee58"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8844b2f8a3f0c428b74672f9726f9950b1a7764c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d034810d02a5af8eb74debe29877dcaf5f00fdd1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f26091a981318b5b7451d61f99bc073a6af8db67"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fe4de493572a4263554903bf9c3afc5c196e15f0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27032.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27032"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b1020a546779139eec5d930e15ce534c1101b89c"},{"fixed":"fe4de493572a4263554903bf9c3afc5c196e15f0"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2a7b12d4705bc308cf18eae2b69ec8db34881cc3"},{"fixed":"8844b2f8a3f0c428b74672f9726f9950b1a7764c"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b29cc6e29b5e6037e1bcd2b2ac67b7d89acd194c"},{"fixed":"d034810d02a5af8eb74debe29877dcaf5f00fdd1"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd"},{"fixed":"f26091a981318b5b7451d61f99bc073a6af8db67"},{"fixed":"21ec68234826b1b54ab980a8df6e33c74cfbee58"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"bc1fb291f36dd1d9d667241d9fe30b835dbb8ee8"},{"last_affected":"9fceaf8182d453639cddb7f4a6877a1e1564de39"},{"last_affected":"80c69f576ff39d6ae8a6e2107da3dc03b533759c"},{"last_affected":"b4fb0807a1d60f8642a5fd62bd659cd6052eaf97"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-27032.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H"}]}