VDB

CVE-2024-26774

CVE-2024-26774 PUBLISHED

ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt

Reported by linux · Published April 3, 2024

In the Linux kernel, the following vulnerability has been resolved: ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt Determine if bb_fragments is 0 instead of determining bb_free to eliminate the risk of dividing by zero when the block bitmap is corrupted.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-libbpfAmazon Linux6.1.82-99.168.amzn2023
perfAmazon Linux6.1.82-99.168.amzn2023
bpftoolAmazon Linux6.1.82-99.168.amzn2023
kernel-livepatch-6.1.82-99.168Amazon Linux1.0-0.amzn2023
kernel-libbpf-develAmazon Linux6.1.82-99.168.amzn2023
kernel-modules-extraAmazon Linux6.1.82-99.168.amzn2023
kernel-toolsAmazon Linux6.1.82-99.168.amzn2023
kernel-tools-develAmazon Linux6.1.82-99.168.amzn2023
kernel-libbpf-staticAmazon Linux6.1.82-99.168.amzn2023
kernelAmazon Linux6.1.82-99.168.amzn2023
linux_kernellinux6.7.7, 6.6.19, 6.1.80, 5.15.150
LinuxLinuxf32d2a745b02123258026e105a008f474f896d6a, 993bf0f4c393b3667830918f9247438a8f6fdb5b, 8cf9cc602cfb40085967c0d140e32691c8b71cf3, 6.0

Affected products

VendorProductVersions
LinuxLinux83e80a6e3543f37f74c8e48a5f305b054b65ce2a, 83e80a6e3543f37f74c8e48a5f305b054b65ce2a, 83e80a6e3543f37f74c8e48a5f305b054b65ce2a
LinuxLinux6.0, 0, 6.1.80
amazon:2023kernel-libbpf0
amazon:2023perf0
amazon:2023bpftool0
amazon:2023kernel-livepatch-6.1.82-99.1680
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-modules-extra0
amazon:2023kernel-tools0
amazon:2023kernel-tools-devel0
amazon:2023kernel-libbpf-static0
amazon:2023kernel0
LinuxLinux5.19.12, 83e80a6e3543f37f74c8e48a5f305b054b65ce2a, 398a0fdb38d9ab5e68023667cc5e6e3d109e2d6b
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-devel0
amazon:2023kernel-headers0
linuxlinux_kernel6.0, 6.0, 5.19.12
amazon:2023python3-perf0

Timeline

  • Apr 1, 2024 CVE Published
  • Apr 4, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
  • Jan 15, 2026 Security Advisory (269 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (232 in total, the first dated here)
  • Oct 25, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-26774
vulnetix vdb fixes CVE-2024-26774

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-26774/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 ›