CVE-2024-26774Published Apr 3, 2024 · Apr 3Updated 3d ago
ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
A corrupted ext4 block bitmap can cause a division by zero in mb_update_avg_fragment_size(). The input does not specify whether an attacker can cause the corruption or what access or user interaction would be required.
Engineers running Linux kernels with ext4 should check their kernel versions against the vendor advisory; affected versions are not specified.