Re: [PATCH] kasan, mempool: don't store free stacktrace in io_alloc_cache objects.

From: Andrey Ryabinin
Date: Mon Jan 27 2025 - 08:36:37 EST


On Sat, Jan 25, 2025 at 1:03 AM Andrey Konovalov <andreyknvl@xxxxxxxxx> wrote:
>
> On Wed, Jan 22, 2025 at 5:07 PM Andrey Ryabinin <ryabinin.a.a@xxxxxxxxx> wrote:

> > @@ -261,7 +262,7 @@ bool __kasan_slab_free(struct kmem_cache *cache, void *object, bool init,
> > if (!kasan_arch_is_ready() || is_kfence_address(object))
> > return false;
> >
> > - poison_slab_object(cache, object, init, still_accessible);
> > + poison_slab_object(cache, object, init, still_accessible, true);
>
> Should notrack be false here?
>

Yep.