A divide-by-zero vulnerability in the ext4_block_set_lb_size function in src/ext4_blockdev.c of the lwext4 1.0.0 library allows attackers to cause a denial of service by providing a malformed ext4 filesystem image that results in a zero logical block size. The vulnerability is triggered during mount or image processing and leads to a Floating-Point Exception (FPE) under sanitizers or a runtime crash in standard builds due to missing validation of lb_size.
Metrics
Affected Vendors & Products
References
History
Wed, 03 Jun 2026 16:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gkostka
Gkostka lwext4 |
|
| Vendors & Products |
Gkostka
Gkostka lwext4 |
Wed, 03 Jun 2026 15:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Divide‑by‑Zero in lwext4 Ext4 Block Size Validation Leading to DoS | |
| Weaknesses | CWE-369 |
Wed, 03 Jun 2026 14:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A divide-by-zero vulnerability in the ext4_block_set_lb_size function in src/ext4_blockdev.c of the lwext4 1.0.0 library allows attackers to cause a denial of service by providing a malformed ext4 filesystem image that results in a zero logical block size. The vulnerability is triggered during mount or image processing and leads to a Floating-Point Exception (FPE) under sanitizers or a runtime crash in standard builds due to missing validation of lb_size. | |
| References |
|
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2026-06-03T13:51:17.592Z
Reserved: 2026-01-09T00:00:00.000Z
Link: CVE-2025-70100
No data.
Status : Received
Published: 2026-06-03T14:16:31.217
Modified: 2026-06-03T14:16:31.217
Link: CVE-2025-70100
No data.
OpenCVE Enrichment
Updated: 2026-06-03T16:30:35Z