Files
msm-5.15/fs/exfat
Yuezhang Mo 1a1ee4bb87 BACKPORT: exfat: fix overflow for large capacity partition
Using int type for sector index, there will be overflow in a large
capacity partition.

For example, if storage with sector size of 512 bytes and partition
capacity is larger than 2TB, there will be overflow.

Bug: 254441685
Fixes: 1b6138385499 ("exfat: reduce block requests when zeroing a cluster")
Cc: stable@vger.kernel.org # v5.19+
Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Andy Wu <Andy.Wu@sony.com>
Reviewed-by: Aoyama Wataru <wataru.aoyama@sony.com>
Acked-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
(cherry picked from commit 2e9ceb6728f1dc2fa4b5d08f37d88cbc49a20a62)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: Ibf8c50c02ea33c6d78bb326781799d215ee62f84
2022-12-08 11:18:51 +00:00
..
2022-06-06 08:43:37 +02:00
2020-03-05 21:00:40 -05:00
2020-08-12 08:31:11 +09:00