CVE-2024-27032
JSON

6.3medium

f2fs: fix to avoid potential panic during recovery

Severity
6.3medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.29% (higher than 23% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom b1020a546779139eec5d930e15ce534c1101b89c before fe4de493572a4263554903bf9c3afc5c196e15f0, from 2a7b12d4705bc308cf18eae2b69ec8db34881cc3 before 8844b2f8a3f0c428b74672f9726f9950b1a7764c, from b29cc6e29b5e6037e1bcd2b2ac67b7d89acd194c before d034810d02a5af8eb74debe29877dcaf5f00fdd1, from 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd before f26091a981318b5b7451d61f99bc073a6af8db67, from 956fa1ddc132e028f3b7d4cf17e6bfc8cb36c7fd before 21ec68234826b1b54ab980a8df6e33c74cfbee58, bc1fb291f36dd1d9d667241d9fe30b835dbb8ee8, 9fceaf8182d453639cddb7f4a6877a1e1564de39, 80c69f576ff39d6ae8a6e2107da3dc03b533759c and 9 more
Not affected: before 6.8, from 6.1.83 up to 6.1.*, from 6.6.23 up to 6.6.*, from 6.7.11 up to 6.7.*, from 6.8.2 up to 6.8.*, from 6.9 up to *
CVE List
linux linux_kernelfrom 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, from 6.7.4 before 6.7.11, from 6.8 before 6.8.2NVD

Classification

CWE-835

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: f2fs: corrección para evitar un posible pánico durante la recuperación. Durante la recuperación, si FAULT_BLOCK está activado, es posible que f2fs_reserve_new_block() devuelva -ENOSPC durante la recuperación, lo que puede provocar pánico. Además, si la tasa de inyección de fallas es 1 y solo el tipo de falla FAULT_BLOCK está activado, es posible que se produzca un bucle muerto en el bucle de reserva de bloque. Cambiemos como se muestra a continuación para solucionar estos problemas: - elimine bug_on() para evitar el pánico. - limitar el número de bucles de reserva de bloques para evitar posibles bucles muertos.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-27032 changed 2026-10-15CVE Terms of Use
NVDCVE-2024-27032 changed 2026-10-15Public domain