[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56E17CE4.7090400@virtuozzo.com>
Date: Thu, 10 Mar 2016 16:55:48 +0300
From: Andrey Ryabinin <aryabinin@...tuozzo.com>
To: Matthew Dawson <matthew@...systems.ca>, <linux-mm@...ck.org>
CC: <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] mm/mempool: Avoid KASAN marking mempool posion checks as
use-after-free
On 03/09/2016 09:16 AM, Matthew Dawson wrote:
> When removing an element from the mempool, mark it as unpoisoned in KASAN
> before verifying its contents for SLUB/SLAB debugging. Otherwise KASAN
> will flag the reads checking the element use-after-free writes as
> use-after-free reads.
>
> Signed-off-by: Matthew Dawson <matthew@...systems.ca>
Acked-by: Andrey Ryabinin <aryabinin@...tuozzo.com>
Powered by blists - more mailing lists