linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Rohit Vaswani <rvaswani@codeaurora.org>
Cc: Andrew Morton <akpm@linux-foundation.org>,
	Marek Szyprowski <m.szyprowski@samsung.com>,
	linux-kernel@vger.kernel.org, linux-mm@kvack.org
Subject: Re: [PATCH] mm: cma: Fix incorrect type conversion for size during dma allocation
Date: Sat, 17 Oct 2015 22:10:56 -0700	[thread overview]
Message-ID: <20151018051056.GB20643@kroah.com> (raw)
In-Reply-To: <1444854232-4085-1-git-send-email-rvaswani@codeaurora.org>

On Wed, Oct 14, 2015 at 01:23:51PM -0700, Rohit Vaswani wrote:
> This was found during userspace fuzzing test when a large size
> dma cma allocation is made by driver(like ion) through userspace.
> 
>  show_stack+0x10/0x1c
>  dump_stack+0x74/0xc8
>  kasan_report_error+0x2b0/0x408
>  kasan_report+0x34/0x40
>  __asan_storeN+0x15c/0x168
>  memset+0x20/0x44
>  __dma_alloc_coherent+0x114/0x18c
> 
> Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

--
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:[~2015-10-18  5:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-14 20:23 Rohit Vaswani
2015-10-18  5:10 ` Greg Kroah-Hartman [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-10-13  0:00 Rohit Vaswani
2015-10-13  2:11 ` Greg Kroah-Hartman

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=20151018051056.GB20643@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=akpm@linux-foundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=m.szyprowski@samsung.com \
    --cc=rvaswani@codeaurora.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox