lwext4 through 1.0.0 contains a heap buffer overflow in ext4 fs init inode bitmap() in src/ext4 fs.c because it does not validate s inodes per group against the inode bitmap size. Attackers can supply a crafted ext4 image with an oversized s inodes per group so memset writes past the heap buffer, corrupting memory and crashing the mounting application.