From: Theodore Ts'o Date: Tue, 17 Feb 2009 15:58:40 +0000 (-0500) Subject: ext4: Add sanity checks for the superblock before mounting the filesystem X-Git-Tag: v2.6.27.19~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=235cda408948bb340b37340056e55ca13bd3137f;p=pandora-kernel.git ext4: Add sanity checks for the superblock before mounting the filesystem (cherry picked from commit 4ec110281379826c5cf6ed14735e47027c3c5765) This avoids insane superblock configurations that could lead to kernel oops due to null pointer derefences. http://bugzilla.kernel.org/show_bug.cgi?id=12371 Thanks to David Maciejak at Fortinet's FortiGuard Global Security Research Team who discovered this bug independently (but at approximately the same time) as Thiemo Nagel, who submitted the patch. Signed-off-by: Thiemo Nagel Signed-off-by: "Theodore Ts'o" Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed