MEDIUM · CVSS 5.5 Published: 2026-11-29
CVE-2026-138371 — Technical Security Advisory & CVSS Profile
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.
Technical Metadata
| Identifier | CVE-2026-138371 |
|---|---|
| Base Severity / Score | MEDIUM (5.5 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| Weakness Classification | CWE-369 |
| Archive Categories | MEDIUM Advisories · 2026 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/Aladdin-R-D/lwext4/commit/b32c54983898bd8bb97abacf0e8f9473d6cd48c1
- https://github.com/gkostka/lwext4/blob/v1.0.0/src/ext4_fs.c#L429-L441
- https://github.com/gkostka/lwext4/commit/b9c842f168e6044bd03fe34e1237eda33c299908
- https://github.com/gkostka/lwext4/issues/174
- https://github.com/gkostka/lwext4/pull/111
- https://www.vulncheck.com/advisories/lwext4-through-1.0.0-divide-by-zero-via-ext4-fs-init-inode-table
Related Security Advisories
CVE-2026-138370 MEDIUM 6.1
CVE-2026-138372 MEDIUM 5.4
CVE-2026-138368 MEDIUM 5.5
CVE-2026-138369 MEDIUM 6.1
CVE-2026-138373 MEDIUM 6.1
CVE-2026-138376 MEDIUM 5.9