Re: [syzbot] KASAN: use-after-free Read in mas_next_nentry

From: Dan Carpenter
Date: Thu Apr 28 2022 - 02:24:26 EST


On Wed, Apr 27, 2022 at 05:22:31PM +0200, 'Dmitry Vyukov' via syzkaller-bugs wrote:
> On Wed, 27 Apr 2022 at 17:17, Liam Howlett <liam.howlett@xxxxxxxxxx> wrote:
> >
> > * Matthew Wilcox <willy@xxxxxxxxxxxxx> [220427 10:58]:
> > > On Wed, Apr 27, 2022 at 02:55:58PM +0200, Christian Brauner wrote:
> > > > [+Cc Willy]
> > >
> > > I read fsdevel. Not sure Liam does though.
> >
> > I do not. Thank you for sending it along.
> >
> > Here is a patch that should fix the issue. I will ask AKPM to include
> > it for tomorrow.
>
> Please add the reported tag:
>
> IMPORTANT: if you fix the issue, please add the following tag to the commit:
> Reported-by: syzbot+7170d66493145b71afd4@xxxxxxxxxxxxxxxxxxxxxxxxx
>

And a Fixes tag as well.

regards,
dan carpenter