What’s Vulnerable › Vulnerabilities
CVE-2024-26774: ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-04-03 · updated 2026-06-17
- Weakness: CWE-369
Description
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.
Affected products
- Linux kernel: before 5.15.150; from 5.16 before 6.1.80; from 6.2 before 6.6.19; from 6.7 before 6.7.7; 6.8-rc1, 6.8-rc2 — fixed in 5.15.150, 6.1.80, 6.6.19, 6.7.7
How to fix
Upgrade to a fixed version: Linux kernel 5.15.150, 6.1.80, 6.6.19, 6.7.7. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/8b40eb2e716b503f7a4e1090815a17b1341b2150
- https://git.kernel.org/stable/c/8cf9cc602cfb40085967c0d140e32691c8b71cf3
- https://git.kernel.org/stable/c/993bf0f4c393b3667830918f9247438a8f6fdb5b
- https://git.kernel.org/stable/c/f32d2a745b02123258026e105a008f474f896d6a
- https://git.kernel.org/stable/c/687061cfaa2ac3095170e136dd9c29a4974f41d4
- https://git.kernel.org/stable/c/8b40eb2e716b503f7a4e1090815a17b1341b2150
- https://git.kernel.org/stable/c/8cf9cc602cfb40085967c0d140e32691c8b71cf3
- https://git.kernel.org/stable/c/993bf0f4c393b3667830918f9247438a8f6fdb5b
- https://git.kernel.org/stable/c/f32d2a745b02123258026e105a008f474f896d6a
Get alerted when CVE-2024-26774 or the next vulnerability affects your stack