https://bugzilla.kernel.org/show_bug.cgi?id=199179 Theodore Tso (tytso@xxxxxxx) changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tytso@xxxxxxx --- Comment #2 from Theodore Tso (tytso@xxxxxxx) --- Created attachment 274933 --> https://bugzilla.kernel.org/attachment.cgi?id=274933&action=edit Proposed patch to fix the reported bug. Thanks for reporting this bug. The attached should address the problem. If the root directory has an i_links_count of zero, then when the file system is mounted, then when ext4_fill_super() notices the problem and tries to call iput() the root directory in the error return path, ext4_evict_inode() will try to free the inode on disk, before all of the file system structures are set up, and this will result in an OOPS caused by a NULL pointer dereference. -- You are receiving this mail because: You are watching the assignee of the bug.