{"id":"CVE-2024-26774","summary":"ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt","details":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt\n\nDetermine if bb_fragments is 0 instead of determining bb_free to eliminate\nthe risk of dividing by zero when the block bitmap is corrupted.","modified":"2026-03-20T12:35:12.012451Z","published":"2024-04-03T17:01:00.618Z","related":["SUSE-SU-2024:2135-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26774.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/687061cfaa2ac3095170e136dd9c29a4974f41d4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8b40eb2e716b503f7a4e1090815a17b1341b2150"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8cf9cc602cfb40085967c0d140e32691c8b71cf3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/993bf0f4c393b3667830918f9247438a8f6fdb5b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f32d2a745b02123258026e105a008f474f896d6a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26774.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26774"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"83e80a6e3543f37f74c8e48a5f305b054b65ce2a"},{"fixed":"8b40eb2e716b503f7a4e1090815a17b1341b2150"},{"fixed":"f32d2a745b02123258026e105a008f474f896d6a"},{"fixed":"8cf9cc602cfb40085967c0d140e32691c8b71cf3"},{"fixed":"993bf0f4c393b3667830918f9247438a8f6fdb5b"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"398a0fdb38d9ab5e68023667cc5e6e3d109e2d6b"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26774.json"}}],"schema_version":"1.7.5"}