Medium severity5.5NVD Advisory· Published Nov 29, 2026
CVE-2026-138371
CVE-2026-138371
Description
lwext4 through 1.0.0 contains a divide-by-zero vulnerability in ext4_fs_init_inode_table() in src/ext4_fs.c because ext4_sb_check() does not reject inode sizes larger than the block size. Attackers can supply a crafted ext4 image with an oversized inode_size and uninitialized inode table flags, raising SIGFPE and crashing the mounting application.
Affected products
2- Range: <=1.0.0
Patches
Vulnerability mechanics
References
6- github.com/Aladdin-R-D/lwext4/commit/b32c54983898bd8bb97abacf0e8f9473d6cd48c1nvd
- github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.cnvd
- github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908nvd
- github.com/gkostka/lwext4/issues/174nvd
- github.com/gkostka/lwext4/pull/111nvd
- www.vulncheck.com/advisories/lwext4-through-1.0.0-divide-by-zero-via-ext4-fs-init-inode-tablenvd
News mentions
0No linked articles in our index yet.