CVE Catalog

CVE-2024-43828

MediumCVSS 5.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

14th percentile - higher than 14% of all known CVEs

Summary

In the Linux kernel ext4 module, an infinite loop could occur during fast_commit replay due to an uninitialised extent_status struct. ext4_ext_determine_insert_hole() did not detect the replay and called ext4_es_find_extent_range(), which returned without initialising the 'es' variable.

Risk Assessment

May cause ext4 filesystem hang and denial of service, easily reproducible using fstest generic/039.

Recommendation

Update the Linux kernel to a version containing the fix that unconditionally initialises the structure in ext4_es_find_extent_range().

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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!

Vulnerability data from NVD (NIST) · CISA KEV · EPSS