[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bug-199179-13602-K8fGRoWFRl@https.bugzilla.kernel.org/>
Date: Fri, 30 Mar 2018 00:28:35 +0000
From: bugzilla-daemon@...zilla.kernel.org
To: linux-ext4@...nel.org
Subject: [Bug 199179] Invalid pointer dereference when mounting crafted ext4
image in ext4_process_freed_data
https://bugzilla.kernel.org/show_bug.cgi?id=199179
--- Comment #5 from Theodore Tso (tytso@....edu) ---
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.
Powered by blists - more mailing lists