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

CVE-2024-26774
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.24 % · centile 15 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-369 — Division par zéro

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 83e80a6e3543f37f74c8e48a5f305b054b65ce2a < 8b40eb2e716b503f7a4e1090815a17b1341b2150 ; affected 83e80a6e3543f37f74c8e48a5f305b054b65ce2a < f32d2a745b02123258026e105a008f474f896d6a ; affected 83e80a6e3543f37f74c8e48a5f305b054b65ce2a < 8cf9cc602cfb40085967c0d140e32691c8b71cf3 ; affected 83e80a6e3543f37f74c8e48a5f305b054b65ce2a < 993bf0f4c393b3667830918f9247438a8f6fdb5b ; affected 398a0fdb38d9ab5e68023667cc5e6e3d109e2d6b ; affected 5.19.12 < 5.20
Linux · Linuxaffected 6.0 ; unaffected 0 < 6.0 ; unaffected 6.1.80 ≤ 6.1.* ; unaffected 6.6.19 ≤ 6.6.* ; unaffected 6.7.7 ≤ 6.7.* ; unaffected 6.8 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD