[PATCH v3 1/1] kasan: fix object remain in offline per-cpu quarantine
Kuan-Ying Lee
Kuan-Ying.Lee at mediatek.com
Thu Dec 3 21:26:18 EST 2020
On Thu, 2020-12-03 at 12:28 -0800, Andrew Morton wrote:
> 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.
Hi Andrew,
Sorry about that.
I will fix that conflict.
Thanks.
More information about the linux-arm-kernel
mailing list