CVE-2024-43828

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-43828
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43828.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-43828
Downstream
Related
Published
2024-08-17T10:15:08Z
Modified
2025-08-09T19:01:28Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

ext4: fix infinite loop when replaying fast_commit

When doing fastcommit replay an infinite loop may occur due to an uninitialized extentstatus struct. ext4extdetermineinserthole() does not detect the replay and calls ext4esfindextentrange(), 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 ext4esfindextentrange().

Thanks to Zhang Yi, for figuring out the real problem!

References

Affected packages