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

From: Andrew Morton
Date: Thu Dec 03 2020 - 15:29:53 EST


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.