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.
References
Configurations
Configuration 1 (hide)
|
History
08 Apr 2025, 18:41
Type | Values Removed | Values Added |
---|---|---|
CWE | CWE-835 | |
First Time |
Linux linux Kernel
Linux |
|
References | () https://git.kernel.org/stable/c/21ec68234826b1b54ab980a8df6e33c74cfbee58 - Patch | |
References | () https://git.kernel.org/stable/c/8844b2f8a3f0c428b74672f9726f9950b1a7764c - Patch | |
References | () https://git.kernel.org/stable/c/d034810d02a5af8eb74debe29877dcaf5f00fdd1 - Patch | |
References | () https://git.kernel.org/stable/c/f26091a981318b5b7451d61f99bc073a6af8db67 - Patch | |
References | () https://git.kernel.org/stable/c/fe4de493572a4263554903bf9c3afc5c196e15f0 - Patch | |
CPE | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
Information
Published : 2024-05-01 13:15
Updated : 2025-04-08 18:41
NVD link : CVE-2024-27032
Mitre link : CVE-2024-27032
CVE.ORG link : CVE-2024-27032
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-835
Loop with Unreachable Exit Condition ('Infinite Loop')