lkml.org 
[lkml]   [2020]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kasan: fix slab double free when cpu-hotplug
On Fri, 4 Dec 2020 20:01:35 +0800 Kuan-Ying Lee <Kuan-Ying.Lee@mediatek.com> wrote:

> > diff --git a/mm/kasan/quarantine.c b/mm/kasan/quarantine.c
> > index d98b516f372f..55783125a767 100644
> > --- a/mm/kasan/quarantine.c
> > +++ b/mm/kasan/quarantine.c
> > @@ -194,7 +194,6 @@ bool quarantine_put(struct kmem_cache *cache, void *object)
> >
> > q = this_cpu_ptr(&cpu_quarantine);
> > if (q->offline) {
> > - qlink_free(&meta->quarantine_link, cache);
> > local_irq_restore(flags);
> > return false;
> > }
>
> Hi Qiang,
>
> Thanks for fixing this.
> Due to that issue, my commit has been removed by Stephen from
> linux-next.
>
>
> Hi Stephen, Andrew,
>
> Should I directly upload the v4 or Stephen can pick the commit which
> has been removed back to the linux-next.

I took care of it. Restored the original patch and added this one as a
-fix.

\
 
 \ /
  Last update: 2020-12-05 02:26    [W:0.051 / U:22.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site