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

Andrew Morton akpm at linux-foundation.org
Thu Dec 3 15:28:54 EST 2020


On Thu, 3 Dec 2020 13:46:59 +0100 Andrey Konovalov <andreyknvl at google.com> 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.



More information about the linux-arm-kernel mailing list