Re: kasan inline + CONFIG_DEBUG_TEST_DRIVER_REMOVE kernel panic

From: CAI Qian
Date: Mon Oct 10 2016 - 14:22:33 EST




----- Original Message -----
> From: "Rob Herring" <robh@xxxxxxxxxx>
> To: "Greg Kroah-Hartman" <gregkh@xxxxxxxxxxxxxxxxxxx>
> Cc: "CAI Qian" <caiqian@xxxxxxxxxx>, "linux-kernel" <linux-kernel@xxxxxxxxxxxxxxx>
> Sent: Monday, October 10, 2016 2:15:29 PM
> Subject: Re: kasan inline + CONFIG_DEBUG_TEST_DRIVER_REMOVE kernel panic
>
> On Mon, Oct 10, 2016 at 12:20 PM, Greg Kroah-Hartman
> <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
> > On Mon, Oct 10, 2016 at 11:37:27AM -0400, CAI Qian wrote:
> >> Not sure if anyone reported this before. With this kernel config, it is
> >> 100% kernel panic so far with today's
> >> mainline master HEAD.
> >>
> >> http://people.redhat.com/qcai/tmp/config-kasan-remove
> >
> > Oh it breaks things with kasan disabled as well :)
> >
> > See Laszlo's bug report already a few hours ago, Rob is on it...
>
> I think this one is different though. It has a remove() hook.
FYI, this can also be reproduced without kasan.
CAI Qian