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

Skip to content
Unverified Commit bef01bc1 authored by Jerry Lee's avatar Jerry Lee Committed by Harsh Shandilya
Browse files

ext4: fix overflow caused by missing cast in ext4_resize_fs()



commit aec51758ce10a9c847a62a48a168f8c804c6e053 upstream.

On a 32-bit platform, the value of n_blcoks_count may be wrong during
the file system is resized to size larger than 2^32 blocks.  This may
caused the superblock being corrupted with zero blocks count.

Fixes: 1c6bd717
Signed-off-by: default avatarJerry Lee <jerrylee@qnap.com>
Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org # 3.7+
Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
parent b848e033
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