Re: KASAN: use-after-scope in ext4_group_desc_csum

2018-10-09 Thread Jan Glauber
On Fri, Oct 05, 2018 at 05:32:07PM +0200, Dmitry Vyukov wrote: [...] > This all makes me think that somebody else has left these 0xf8 in > shadow before ext4_map_blocks started executing. > Unfortunately debugging garbage in stack shadow is not completely > trivial and there is no common recipe. I

Re: KASAN: use-after-scope in ext4_group_desc_csum

2018-10-05 Thread Dmitry Vyukov
On Fri, Oct 5, 2018 at 3:05 PM, Jan Glauber wrote: > On Fri, Oct 05, 2018 at 01:13:52PM +0200, Dmitry Vyukov wrote: >> On Fri, Oct 5, 2018 at 12:16 PM, Jan Glauber wrote: >> > Hi, >> > >> > I'm getting below warning when I enable CONFIG_KASAN_EXTRA=y on a arm64 >> > ThunderX2 system. >> > As far

Re: KASAN: use-after-scope in ext4_group_desc_csum

2018-10-05 Thread Jan Glauber
On Fri, Oct 05, 2018 at 01:13:52PM +0200, Dmitry Vyukov wrote: > On Fri, Oct 5, 2018 at 12:16 PM, Jan Glauber wrote: > > Hi, > > > > I'm getting below warning when I enable CONFIG_KASAN_EXTRA=y on a arm64 > > ThunderX2 system. > > As far as I can tell this is present since KASAN_EXTRA was introdu

Re: KASAN: use-after-scope in ext4_group_desc_csum

2018-10-05 Thread Dmitry Vyukov
On Fri, Oct 5, 2018 at 12:16 PM, Jan Glauber wrote: > Hi, > > I'm getting below warning when I enable CONFIG_KASAN_EXTRA=y on a arm64 > ThunderX2 system. > As far as I can tell this is present since KASAN_EXTRA was introduced (4.16). > > [ 64.547333] > =

KASAN: use-after-scope in ext4_group_desc_csum

2018-10-05 Thread Jan Glauber
Hi, I'm getting below warning when I enable CONFIG_KASAN_EXTRA=y on a arm64 ThunderX2 system. As far as I can tell this is present since KASAN_EXTRA was introduced (4.16). [ 64.547333] == [ 64.561933] BUG: KASAN: use-after-scop