linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Andrey Ryabinin <aryabinin@virtuozzo.com>
To: Matthew Dawson <matthew@mjdsystems.ca>, linux-mm@kvack.org
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] mm/mempool: Avoid KASAN marking mempool posion checks as use-after-free
Date: Thu, 10 Mar 2016 16:55:48 +0300	[thread overview]
Message-ID: <56E17CE4.7090400@virtuozzo.com> (raw)
In-Reply-To: <1457504179-18942-1-git-send-email-matthew@mjdsystems.ca>

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>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

      reply	other threads:[~2016-03-10 13:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-09  6:16 [PATCH] mm/mempool: Avoid KASAN marking mempool posion checks as use-after-free Matthew Dawson
2016-03-10 13:55 ` Andrey Ryabinin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56E17CE4.7090400@virtuozzo.com \
    --to=aryabinin@virtuozzo.com \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=matthew@mjdsystems.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).