linux/fs/exfat
Namjae Jeon 43946b7049 exfat: fix overflow issue in exfat_cluster_to_sector()
An overflow issue can occur while calculating sector in
exfat_cluster_to_sector(). It needs to cast clus's type to sector_t
before left shifting.

Fixes: 1acf1a564b ("exfat: add in-memory and on-disk structures and headers")
Cc: stable@vger.kernel.org # v5.7
Reviewed-by: Sungjong Seo <sj1557.seo@samsung.com>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
2020-07-21 10:44:06 +09:00
..
balloc.c exfat: Use a more common logging style 2020-06-09 16:48:34 +09:00
cache.c exfat: add exfat cache 2020-03-05 21:00:40 -05:00
dir.c exfat: flush dirty metadata in fsync 2020-06-29 17:11:18 +09:00
exfat_fs.h exfat: fix overflow issue in exfat_cluster_to_sector() 2020-07-21 10:44:06 +09:00
exfat_raw.h exfat: separate the boot sector analysis 2020-06-09 16:49:14 +09:00
fatent.c exfat: fix range validation error in alloc and free cluster 2020-06-09 16:50:12 +09:00
file.c exfat: flush dirty metadata in fsync 2020-06-29 17:11:18 +09:00
inode.c Description for this pull request: 2020-06-09 11:24:59 -07:00
Kconfig exfat: Improve wording of EXFAT_DEFAULT_IOCHARSET config option 2020-06-09 16:48:39 +09:00
Makefile exfat: add Kconfig and Makefile 2020-03-05 21:00:40 -05:00
misc.c exfat: standardize checksum calculation 2020-06-09 16:49:25 +09:00
namei.c exfat: move setting VOL_DIRTY over exfat_remove_entries() 2020-06-29 17:11:13 +09:00
nls.c exfat: Fix potential use after free in exfat_load_upcase_table() 2020-06-09 16:50:18 +09:00
super.c exfat: call sync_filesystem for read-only remount 2020-06-29 17:11:08 +09:00