CVE-2026-46002: ext2: reject inodes with zero i_nlink and valid mode in ext2_iget()
ext2: reject inodes with zero inlink and valid mode in ext2iget()
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.141.1-1 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Fixed in 6.12.77+ - Configuration
Ensure ext2_iget() rejects inodes that have i_nlink == 0 while i_mode is non-zero (so such inodes are rejected at load time and never reach VFS/WARN_ON in drop_nlink()).
ext2 reject inodes with i_nlink == 0 and valid mode in ext2_iget() = enabled - Configuration
Extend the existing i_nlink == 0 check to also catch the crafted-inode case where i_nlink == 0 with a non-zero i_mode and zero i_dtime; this prevents triggering WARN_ON inside drop_nlink().
VFS/inode management i_nlink == 0 check in inode/rename/unlink paths = extended