CVE-2026-138371 PUBLISHED

lwext4 through 1.0.0 Divide-by-Zero via ext4_fs_init_inode_table

Assigner: VulnCheck
Reserved: 29.11.2026 Published: 29.11.2026 Updated: 29.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6.8

Product Status

Vendor gkostka
Product lwext4
Versions Default: unaffected
  • affected from 0 to 1.0.0 (incl.)

Credits

  • Daniil Dulov finder
  • Alexander A. Shvedov finder

References

Problem Types

  • Divide By Zero CWE