RE: UBSAN: shift-out-of-bounds in exfat_fill_super

2021-01-26 Thread Namjae Jeon
> On 1/25/21 10:39 AM, Matthew Wilcox wrote: > > On Mon, Jan 25, 2021 at 09:33:14AM -0800, syzbot wrote: > >> UBSAN: shift-out-of-bounds in fs/exfat/super.c:471:28 shift exponent > >> 4294967294 is too large for 32-bit type 'int' > > > > This is an integer underflow: > > > >

RE: UBSAN: shift-out-of-bounds in exfat_fill_super

2021-01-26 Thread Namjae Jeon
> > On Mon, Jan 25, 2021 at 09:33:14AM -0800, syzbot wrote: > > > UBSAN: shift-out-of-bounds in fs/exfat/super.c:471:28 shift exponent > > > 4294967294 is too large for 32-bit type 'int' > > > > This is an integer underflow: > > > > sbi->dentries_per_clu = 1 << > >

RE: UBSAN: shift-out-of-bounds in exfat_fill_super

2021-01-26 Thread Namjae Jeon
> On Mon, Jan 25, 2021 at 09:33:14AM -0800, syzbot wrote: > > UBSAN: shift-out-of-bounds in fs/exfat/super.c:471:28 shift exponent > > 4294967294 is too large for 32-bit type 'int' > > This is an integer underflow: > > sbi->dentries_per_clu = 1 << >

Re: UBSAN: shift-out-of-bounds in exfat_fill_super

2021-01-26 Thread Randy Dunlap
On 1/25/21 10:39 AM, Matthew Wilcox wrote: > On Mon, Jan 25, 2021 at 09:33:14AM -0800, syzbot wrote: >> UBSAN: shift-out-of-bounds in fs/exfat/super.c:471:28 >> shift exponent 4294967294 is too large for 32-bit type 'int' > > This is an integer underflow: > > sbi->dentries_per_clu = 1 <<

Re: UBSAN: shift-out-of-bounds in exfat_fill_super

2021-01-25 Thread Matthew Wilcox
On Mon, Jan 25, 2021 at 09:33:14AM -0800, syzbot wrote: > UBSAN: shift-out-of-bounds in fs/exfat/super.c:471:28 > shift exponent 4294967294 is too large for 32-bit type 'int' This is an integer underflow: sbi->dentries_per_clu = 1 << (sbi->cluster_size_bits -