lkml.org 
[lkml]   [2016]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] mm/mempool: Avoid KASAN marking mempool posion checks as use-after-free
From
Date
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@mjdsystems.ca>

Acked-by: Andrey Ryabinin <aryabinin@virtuozzo.com>

\
 
 \ /
  Last update: 2016-03-10 15:41    [W:0.102 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site