lkml.org 
[lkml]   [2015]   [Oct]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm: cma: Fix incorrect type conversion for size during dma allocation
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>


\
 
 \ /
  Last update: 2015-10-18 07:41    [W:0.044 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site