Jerry Lee
31cd127ca6
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: 1c6bd7173d66
Signed-off-by: Jerry Lee <jerrylee@qnap.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-11 09:08:48 -07:00
..
2017-05-14 13:32:54 +02:00
2016-06-07 18:14:32 -07:00
2017-06-29 12:48:50 +02:00
2015-07-04 19:36:06 -07:00
2017-08-06 19:19:46 -07:00
2015-11-16 20:38:43 -05:00
2017-07-27 15:06:09 -07:00
2017-06-29 12:48:51 +02:00
2015-09-10 13:29:01 -07:00
2017-06-26 07:13:08 +02:00
2017-08-06 19:19:42 -07:00
2016-08-16 09:30:49 +02:00
2016-10-22 12:26:56 +02:00
2016-09-15 08:27:47 +02:00
2016-03-03 15:07:09 -08:00
2015-12-12 10:15:34 -08:00
2016-10-31 04:13:58 -06:00
2017-08-11 09:08:48 -07:00
2017-07-27 15:06:07 -07:00
2017-03-15 09:57:15 +08:00
2015-08-07 13:59:24 +02:00
2017-06-17 06:39:37 +02:00
2017-03-12 06:37:28 +01:00
2017-07-15 11:57:46 +02:00
2015-09-10 13:29:01 -07:00
2016-10-31 04:13:58 -06:00
2016-09-30 10:18:39 +02:00
2016-06-01 12:15:54 -07:00
2017-06-26 07:13:11 +02:00
2016-10-28 03:01:34 -04:00
2017-03-12 06:37:26 +01:00
2016-10-31 04:13:58 -06:00
2017-06-14 13:16:24 +02:00
2016-09-24 10:07:36 +02:00
2015-11-11 20:11:28 -08:00
2015-11-06 17:50:42 -08:00
2015-07-04 19:36:06 -07:00
2016-03-16 08:42:59 -07:00
2017-07-27 15:06:08 -07:00
2015-08-13 10:22:06 -04:00
2017-06-14 13:16:24 +02:00
2017-06-14 13:16:24 +02:00
2017-08-06 19:19:42 -07:00
2015-11-06 17:50:42 -08:00
2017-07-05 14:37:22 +02:00
2016-11-10 16:36:34 +01:00
2017-06-26 07:13:11 +02:00
2017-08-06 19:19:43 -07:00
2016-04-12 09:08:56 -07:00
2015-10-16 11:42:28 -07:00
2017-06-14 13:16:24 +02:00
2017-06-17 06:39:38 +02:00
2015-11-13 20:34:33 -05:00
2017-04-12 12:38:33 +02:00
2015-11-23 21:11:08 -05:00
2015-11-04 22:13:45 -05:00
2017-01-26 08:23:48 +01:00
2017-07-27 15:06:09 -07:00
2017-06-14 13:16:24 +02:00
2017-08-06 19:19:40 -07:00
2016-10-07 15:23:47 +02:00
2016-10-22 12:26:56 +02:00
2015-11-10 12:07:22 -08:00
2017-07-21 07:44:57 +02:00
2017-05-20 14:27:01 +02:00
2017-06-14 13:16:24 +02:00
2015-08-05 13:49:35 -07:00
2015-10-23 23:26:43 +02:00
2017-07-05 14:37:20 +02:00
2015-11-16 23:54:45 -08:00
2017-08-06 19:19:42 -07:00
2017-06-14 13:16:24 +02:00
2015-08-17 18:39:46 -04:00
2017-07-21 07:44:57 +02:00
2017-07-15 11:57:44 +02:00
2016-04-12 09:08:58 -07:00
2015-08-07 04:39:40 +03:00
2015-11-05 23:05:32 -08:00
2016-04-12 09:09:04 -07:00
2016-08-10 11:49:30 +02:00
2015-08-17 23:38:10 -04:00
2015-11-16 23:54:45 -08:00
2015-08-12 15:28:45 -05:00
2016-08-10 11:49:27 +02:00
2015-10-15 10:33:21 -04:00
2017-07-21 07:44:57 +02:00
2017-06-14 13:16:24 +02:00
2017-08-06 19:19:42 -07:00
2017-07-21 07:44:57 +02:00
2015-09-11 15:21:34 -07:00
2017-07-15 11:57:44 +02:00
2016-06-07 18:14:35 -07:00
2017-07-21 07:44:58 +02:00
2017-04-30 05:49:28 +02:00
2017-01-26 08:23:47 +01:00
2016-04-12 09:08:55 -07:00
2017-08-06 19:19:42 -07:00
2015-08-07 04:39:40 +03:00
2017-02-23 17:43:09 +01:00
2017-06-14 13:16:24 +02:00
2016-10-28 03:01:32 -04:00
2015-11-06 17:50:42 -08:00
2017-05-08 07:46:01 +02:00
2016-03-16 08:43:01 -07:00
2016-10-22 12:26:56 +02:00
2017-05-20 14:27:01 +02:00