ext4: avoid dividing by 0 in mb_update_avg_fragment_size() when block bitmap corrupt (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.24 % · percentile 15 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- 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.
Weaknesses (CWE)
- CWE-369 — Divide By Zero
References
- https://git.kernel.org/stable/c/8b40eb2e716b503f7a4e1090815a17b1341b2150
- https://git.kernel.org/stable/c/f32d2a745b02123258026e105a008f474f896d6a
- https://git.kernel.org/stable/c/8cf9cc602cfb40085967c0d140e32691c8b71cf3
- https://git.kernel.org/stable/c/993bf0f4c393b3667830918f9247438a8f6fdb5b
- https://git.kernel.org/stable/c/687061cfaa2ac3095170e136dd9c29a4974f41d4
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2024-24036
- GCVE · GCVE-0-2024-26774
CERT-FR advisories
- CERTFR-2024-AVI-0717 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0645 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0580 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0546 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0526 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0334 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*< 5.15.150cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.80cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.2 < 6.6.19cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.7 < 6.7.7cpe:2.3:o:linux:linux_kernel:6.8:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.8:rc2:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 83e80a6e3543f37f74c8e48a5f305b054b65ce2a < 8b40eb2e716b503f7a4e1090815a17b1341b2150 ; affected 83e80a6e3543f37f74c8e48a5f305b054b65ce2a < f32d2a745b02123258026e105a008f474f896d6a ; affected 83e80a6e3543f37f74c8e48a5f305b054b65ce2a < 8cf9cc602cfb40085967c0d140e32691c8b71cf3 ; affected 83e80a6e3543f37f74c8e48a5f305b054b65ce2a < 993bf0f4c393b3667830918f9247438a8f6fdb5b ; affected 398a0fdb38d9ab5e68023667cc5e6e3d109e2d6b ; affected 5.19.12 < 5.20 |
| Linux · Linux | affected 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
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |