Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b703a401 authored by Theodore Ts'o's avatar Theodore Ts'o Committed by Sasha Levin
Browse files

ext4: sanity check the block and cluster size at mount time

[ Upstream commit 9e47a4c9fc58032ee135bf76516809c7624b1551 ]

If the block size or cluster size is insane, reject the mount.  This
is important for security reasons (although we shouldn't be just
depending on this check).

Ref: http://www.securityfocus.com/archive/1/539661
Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1332506


Reported-by: default avatarBorislav Petkov <bp@alien8.de>
Reported-by: default avatarNikolay Borisov <kernel@kyup.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
parent fdc4d918
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment