Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1250080

Re: [PATCH] mm: cma: Fix incorrect type conversion for size during dma allocation

From Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH] mm: cma: Fix incorrect type conversion for size during dma allocation
Date 2015-10-18 07:20 +0200
Message-ID <qkOxY-3L2-13@gated-at.bofh.it> (permalink)
References <qjAQq-10K-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] mm: cma: Fix incorrect type conversion for size during dma allocation Rohit Vaswani <rvaswani@codeaurora.org> - 2015-10-14 22:30 +0200
  Re: [PATCH] mm: cma: Fix incorrect type conversion for size during  dma allocation Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-10-18 07:20 +0200

csiph-web