[Bug 199179] Invalid pointer dereference when mounting crafted ext4 image in ext4_process_freed_data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=199179

--- Comment #5 from Theodore Tso (tytso@xxxxxxx) ---
Well, the root directory i_mode is not 0, and EXT4_ORPHAN_FS is not set.

We could add an "ino == EXT4_ROOT_INO ||" to the conditional; that would work
too.   But if the root inode has i_links_count set to zero, we know for sure
it's not a stale NFS handle referncing a deleted inode --- we know the file
system must be corrupted, so calling ext4_error() is appropriate.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux