CVE-2024-26774
ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt
Summary
ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt
Original description
The description as published by the source.
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 packages
Linux
Kernel
[{"type":"ECOSYSTEM","events":[{"introduced":"6.0.0"},{"fixed":"6.1.80"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.19"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.7.7"}]}]
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2024-26774 linux Fixed in: 6.1.82-1
- Ubuntu UBUNTU-CVE-2024-26774 linux
References
- advisory github.com
- advisory nvd.nist.gov
- package git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org
- web git.kernel.org