Re: [PATCH v3 1/1] kasan: fix object remain in offline per-cpu quarantine

From: Kuan-Ying Lee
Date: Thu Dec 03 2020 - 21:27:07 EST


On Thu, 2020-12-03 at 12:28 -0800, Andrew Morton wrote:
> On Thu, 3 Dec 2020 13:46:59 +0100 Andrey Konovalov <andreyknvl@xxxxxxxxxx> wrote:
>
> > > #define QLIST_INIT { NULL, NULL, 0 }
> > > @@ -188,6 +190,11 @@ void quarantine_put(struct kasan_free_meta *info, struct kmem_cache *cache)
> > > local_irq_save(flags);
> > >
> > > q = this_cpu_ptr(&cpu_quarantine);
> > > + if (q->offline) {
> > > + qlink_free(&info->quarantine_link, cache);
> >
> > Hi Kuan-Ying,
> >
> > This needs to be rebased onto the mm tree: it has some KASAN patches
> > that touch this code and rename the info variable to meta.
>
> Yup. I'm taking care of that.

Hi Andrew,

Sorry about that.
I will fix that conflict.

Thanks.