CVE-2024-26774

ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt

MEDIUM
5.5
CVSS Score
Published: April 3, 2024 at 05:01 PM UTC
Updated: June 17, 2026 at 07:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 5.19.12v < 5.15.1505.16 ≤ v < 6.1.805.19.12 ≤ v < 5.206.0 ≤ v < 6.1.806.0 ≤ v < 6.6.196.0 ≤ v < 6.7.76.0 ≤ v < 6.86.2 ≤ v < 6.6.196.7 ≤ v < 6.7.7398a0fdb38d9ab5e68023667cc5e6e3d109e2d6b5.19.126.8 rc16.8 rc283e80a6e3543f37f74c8e48a5f305b054b65ce2a
Vendor states this is fixed in 8b40eb2e716b503f7a4e1090815a17b1341b2150 (fixed)
Vendor states this is fixed in 8cf9cc602cfb40085967c0d140e32691c8b71cf3 (fixed)
Vendor states this is fixed in 993bf0f4c393b3667830918f9247438a8f6fdb5b (fixed)
Vendor states this is fixed in f32d2a745b02123258026e105a008f474f896d6a (fixed)
Affected range stops below 5.15.150, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.20, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 6.0 (unaffected)
Vendor states this is fixed in 6.1.80 (unaffected)
Vendor states this is fixed in 6.6.19 (unaffected)
Vendor states this is fixed in 6.7.7 (unaffected)
Vendor states this is fixed in 6.8 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8b40eb2e716b503f7a4e1090815a17b1341b2150
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8cf9cc602cfb40085967c0d140e32691c8b71cf3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/993bf0f4c393b3667830918f9247438a8f6fdb5b
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f32d2a745b02123258026e105a008f474f896d6a
Patch
Source: af854a3a-2127-422b-91ae-364da2661108
https://git.kernel.org/stable/c/687061cfaa2ac3095170e136dd9c29a4974f41d4

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-369

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card