CVE-2024-26773
ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found()
Reported by linux · Published April 3, 2024
In the Linux kernel, the following vulnerability has been resolved: ext4: avoid allocating blocks from corrupted group in ext4_mb_try_best_found() Determine if the group block bitmap is corrupted before using ac_b_ex in ext4_mb_try_best_found() to avoid allocating blocks from a group with a corrupted block bitmap in the following concurrency and making the situation worse. ext4_mb_regular_allocator ext4_lock_group(sb, group) ext4_mb_good_group // check if the group bbitmap is corrupted ext4_mb_complex_scan_group // Scan group gets ac_b_ex but doesn't use it ext4_unlock_group(sb, group) ext4_mark_group_bitmap_corrupted(group) // The block bitmap was corrupted during // the group unlock gap. ext4_mb_try_best_found ext4_lock_group(ac->ac_sb, group) ext4_mb_use_best_found mb_mark_used // Allocating blocks in block bitmap corrupted group
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-devel | Amazon Linux | 4.14.343-259.562.amzn2 |
| perf | Amazon Linux | 4.14.343-259.562.amzn2 |
| kernel-livepatch-6.1.82-99.168 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-libbpf-devel | Amazon Linux | 6.1.82-99.168.amzn2023 |
| python-perf | Amazon Linux | 4.14.343-259.562.amzn2 |
| kernel-modules-extra-common | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-libbpf | Amazon Linux | 6.1.82-99.168.amzn2023 |
| kernel-libbpf-static | Amazon Linux | 6.1.82-99.168.amzn2023 |
| SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | Siemens | 3.1.5 |
| SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | Siemens | 3.1.5 |
| linux_kernel | linux | 6.7.7, 6.6.19, 6.1.80, 5.15.150, 5.10.211, 5.4.270, 4.19.308 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 163a203ddb36c36d4a1c942aececda0cc8d06aa7, 163a203ddb36c36d4a1c942aececda0cc8d06aa7, 163a203ddb36c36d4a1c942aececda0cc8d06aa7 |
| Linux | Linux | 3.12, 0, 4.19.308 |
| amazon:2 | kernel-devel | 0 |
| amazon:2 | perf | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | kernel-livepatch-6.1.82-99.168 | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2 | python-perf | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| linux | linux_kernel | 3.12, 3.12, 3.12 |
| amazon:2 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| Siemens | SCALANCE XCM-/XRM-/XCH-/XRH-300 family | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| amazon:2023 | kernel-devel | 0 |
| Linux | Linux | 163a203ddb36c36d4a1c942aececda0cc8d06aa7, 5.10.211, 5.15.150 |
| amazon:2023 | kernel-tools-devel | 0 |
…and 12 more
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)
- Dec 16, 2025 PoC Published
- Jan 15, 2026 Security Advisory (330 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (290 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-26773
vulnetix vdb fixes CVE-2024-26773
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-26773/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart