CVE-2024-26774
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-libbpf | Amazon Linux | 6.1.82-99.168.amzn2023 |
| perf | Amazon Linux | 6.1.82-99.168.amzn2023 |
| bpftool | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-livepatch-6.1.82-99.168 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-modules-extra | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-tools | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-tools-devel | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel | Amazon Linux | 6.1.82-99.168.amzn2023 |
| linux_kernel | linux | 6.7.7, 6.6.19, 6.1.80, 5.15.150 |
| Linux | Linux | f32d2a745b02123258026e105a008f474f896d6a, 993bf0f4c393b3667830918f9247438a8f6fdb5b, 8cf9cc602cfb40085967c0d140e32691c8b71cf3, 6.0 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 83e80a6e3543f37f74c8e48a5f305b054b65ce2a, 83e80a6e3543f37f74c8e48a5f305b054b65ce2a, 83e80a6e3543f37f74c8e48a5f305b054b65ce2a |
| Linux | Linux | 6.0, 0, 6.1.80 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | perf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-livepatch-6.1.82-99.168 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel | 0 |
| Linux | Linux | 5.19.12, 83e80a6e3543f37f74c8e48a5f305b054b65ce2a, 398a0fdb38d9ab5e68023667cc5e6e3d109e2d6b |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| linux | linux_kernel | 6.0, 6.0, 5.19.12 |
| amazon:2023 | python3-perf | 0 |
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