Re: [linux-next] Kernel panic while tetsing criu

From: Andrey Vagin
Date: Thu Aug 16 2018 - 13:22:11 EST


On Thu, Aug 16, 2018 at 06:18:35PM +0300, Cyrill Gorcunov wrote:
> On Thu, Aug 16, 2018 at 09:51:36AM -0500, Eric W. Biederman wrote:
> ...
> >
> > That patch is incorrect as it misses the rcu_read_unlock.
> > >
> > > p.s. Andrew noticed the problem and asked me to notify,
> > > also he has been testing this oneliner patch. I'm out
> > > of sources at the moment but I think Andrew will help
> > > to test if needed.
> >
> > I noticed a similar report from syzbot yesterday and I applied the patch
> > below. Can you verify it fixes your issue?
>
> I'm quite sure it will help, since the patch is almost doing the same
> as Andrew's fast fix, which checks for @p being nil. But to be sure
> lets wait Andrew to verify.

It fixes the issue.

Thanks,
Andrei