Description
In the Linux kernel, the following vulnerability has been resolved: ext4: fix infinite loop when replaying fast_commit When doing fast_commit replay an infinite loop may occur due to an uninitialized extent_status struct. ext4_ext_determine_insert_hole() does not detect the replay and calls ext4_es_find_extent_range(), which will return immediately without initializing the 'es' variable. Because 'es' contains garbage, an integer overflow may happen causing an infinite loop in this function, easily reproducible using fstest generic/039. This commit fixes this issue by unconditionally initializing the structure in function ext4_es_find_extent_range(). Thanks to Zhang Yi, for figuring out the real problem!
References (8)
Scores
CVSS v3
5.5
EPSS
0.0001
EPSS Percentile
0.5%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-835
Status
published
Products (6)
linux/Kernel
5.10.0 - 5.10.224linux
linux/Kernel
5.11.0 - 5.15.165linux
linux/Kernel
5.16.0 - 6.1.103linux
linux/Kernel
6.2.0 - 6.6.44linux
linux/Kernel
6.7.0 - 6.10.3linux
linux/linux_kernel
5.10 - 5.10.224
Published
Aug 17, 2024
Tracked Since
Feb 18, 2026