VDB

CVE-2024-43828

CVE-2024-43828 PUBLISHED

ext4: fix infinite loop when replaying fast_commit

Reported by linux · Published August 17, 2024

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!

Affected products

VendorProductVersions
LinuxLinux8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2, 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2, 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2
LinuxLinux5.10, 0, 5.10.224
LinuxLinux8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2, 8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2, 6.1.103
amazon:2023kernel-modules-extra0
amazon:2023kernel0
amazon:2023kernel-libbpf0
amazon:2023kernel-devel0
amazon:2023kernel-headers0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-tools-devel0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
linuxlinux_kernel5.10, 5.10, 5.10
amazon:2023python3-perf0
amazon:2023kernel-livepatch-6.1.106-116.1880
amazon:2023kernel-tools0
amazon:2023perf0
amazon:2023bpftool0

Timeline

  • Aug 17, 2024 CVE Published
  • Aug 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (7 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Jan 5, 2026 Security Advisory (142 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (128 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-43828
vulnetix vdb fixes CVE-2024-43828

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-43828/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›