ext4: Add sanity checks for the superblock before mounting the filesystem
authorTheodore Ts'o <tytso@mit.edu>
Tue, 6 Jan 2009 19:53:26 +0000 (14:53 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 6 Jan 2009 19:53:26 +0000 (14:53 -0500)
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 <thiemo.nagel@ph.tum.de>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Cc: stable@kernel.org

No differences found