ext4: check stripe size compatibility on remount as well (Linux Linux)

CVE-2024-47700
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: ext4: check stripe size compatibility on remount as well We disable stripe size in __ext4_fill_super if it is not a multiple of the cluster ratio however this check is missed when trying to remount. This can leave us with cases where stripe < cluster_ratio after remount:set making EXT4_B2C(sbi->s_stripe) become 0 that can cause some unforeseen bugs like divide by 0. Fix that by adding the check in remount path as well.

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 c3defd99d58cbdd132bd197714e5523dac976b66 < faeff8b1ee2eaa5969c8e994d66c3337298cefed ; affected c3defd99d58cbdd132bd197714e5523dac976b66 < 297615e992bbb30a55c158141086be6505d5d722 ; affected c3defd99d58cbdd132bd197714e5523dac976b66 < a31b712f75445d52fc0451dc54fd7b16a552cb7c ; affected c3defd99d58cbdd132bd197714e5523dac976b66 < ee85e0938aa8f9846d21e4d302c3cf6a2a75110d
Linux · Linuxaffected 6.5 ; unaffected 0 < 6.5 ; unaffected 6.6.54 ≤ 6.6.* ; unaffected 6.10.13 ≤ 6.10.* ; unaffected 6.11.2 ≤ 6.11.* ; unaffected 6.12 ≤ *

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