All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrey Ryabinin <aryabinin@virtuozzo.com>
To: Alexander Potapenko <glider@google.com>,
	dvyukov@google.com, kcc@google.com, adech.fo@gmail.com,
	cl@linux.com, akpm@linux-foundation.org, rostedt@goodmis.org,
	js1304@gmail.com, iamjoonsoo.kim@lge.com,
	kuthonuzo.luruo@hpe.com
Cc: kasan-dev@googlegroups.com, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org
Subject: Re: [PATCH v2] kasan: avoid overflowing quarantine size on low memory systems
Date: Tue, 2 Aug 2016 19:09:44 +0300	[thread overview]
Message-ID: <57A0C5C8.4030304@virtuozzo.com> (raw)
In-Reply-To: <1470133620-28683-1-git-send-email-glider@google.com>

On 08/02/2016 01:27 PM, Alexander Potapenko wrote:
> If the total amount of memory assigned to quarantine is less than the
> amount of memory assigned to per-cpu quarantines, |new_quarantine_size|
> may overflow. Instead, set it to zero.
> 
> Reported-by: Dmitry Vyukov <dvyukov@google.com>
> Fixes: 55834c59098d ("mm: kasan: initial memory quarantine
> implementation")
> Signed-off-by: Alexander Potapenko <glider@google.com>

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>

WARNING: multiple messages have this Message-ID (diff)
From: Andrey Ryabinin <aryabinin@virtuozzo.com>
To: Alexander Potapenko <glider@google.com>, <dvyukov@google.com>,
	<kcc@google.com>, <adech.fo@gmail.com>, <cl@linux.com>,
	<akpm@linux-foundation.org>, <rostedt@goodmis.org>,
	<js1304@gmail.com>, <iamjoonsoo.kim@lge.com>,
	<kuthonuzo.luruo@hpe.com>
Cc: <kasan-dev@googlegroups.com>, <linux-kernel@vger.kernel.org>,
	<linux-mm@kvack.org>
Subject: Re: [PATCH v2] kasan: avoid overflowing quarantine size on low memory systems
Date: Tue, 2 Aug 2016 19:09:44 +0300	[thread overview]
Message-ID: <57A0C5C8.4030304@virtuozzo.com> (raw)
In-Reply-To: <1470133620-28683-1-git-send-email-glider@google.com>

On 08/02/2016 01:27 PM, Alexander Potapenko wrote:
> If the total amount of memory assigned to quarantine is less than the
> amount of memory assigned to per-cpu quarantines, |new_quarantine_size|
> may overflow. Instead, set it to zero.
> 
> Reported-by: Dmitry Vyukov <dvyukov@google.com>
> Fixes: 55834c59098d ("mm: kasan: initial memory quarantine
> implementation")
> Signed-off-by: Alexander Potapenko <glider@google.com>

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

  reply	other threads:[~2016-08-02 16:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-02 10:27 [PATCH v2] kasan: avoid overflowing quarantine size on low memory systems Alexander Potapenko
2016-08-02 10:27 ` Alexander Potapenko
2016-08-02 16:09 ` Andrey Ryabinin [this message]
2016-08-02 16:09   ` Andrey Ryabinin
2016-08-10 22:50 ` Andrew Morton
2016-08-10 22:50   ` Andrew Morton
2016-08-11 13:42   ` Alexander Potapenko
2016-08-11 13:42     ` Alexander Potapenko
2016-08-11 15:06     ` Andrey Ryabinin
2016-08-11 15:06       ` Andrey Ryabinin

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=57A0C5C8.4030304@virtuozzo.com \
    --to=aryabinin@virtuozzo.com \
    --cc=adech.fo@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=cl@linux.com \
    --cc=dvyukov@google.com \
    --cc=glider@google.com \
    --cc=iamjoonsoo.kim@lge.com \
    --cc=js1304@gmail.com \
    --cc=kasan-dev@googlegroups.com \
    --cc=kcc@google.com \
    --cc=kuthonuzo.luruo@hpe.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=rostedt@goodmis.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.