Re: KASAN: null-ptr-deref Write in binder_update_page_range

2018-09-06 Thread Minchan Kim
Thanks, Martijn, Greg, could you have a look to pick up? On Mon, Aug 27, 2018 at 03:35:24PM +0200, Martijn Coenen wrote: > Thanks Minchan! > > On Thu, Aug 23, 2018 at 7:29 AM, Minchan Kim wrote: > > Signed-off-by: Todd Kjos > > Signed-off-by: Minchan Kim > Rev

Re: KASAN: null-ptr-deref Write in binder_update_page_range

2018-08-23 Thread Minchan Kim
On Thu, Aug 23, 2018 at 07:03:34PM +0900, Dae R. Jeong wrote: > > Could you test this patch? I found that bug a month ago but didn't submit > > yet. > > I don't have a reproducer now. I manually analzed a root cause of the > crash using a fuzzer's log. The log reported a race on 'alloc->vma'. >

Re: KASAN: null-ptr-deref Write in binder_update_page_range

2018-08-22 Thread Minchan Kim
because, while RaceFuzzer precisely interleaves the scheduling at the > kernel's instruction level when finding this bug, C repro cannot fully > utilize such a feature. Please disregard all code related to > "should_hypercall" in the C repro, as this is only for our debugging > purpos

Re: [PATCH v4 1/2] Staging: zram: Fix variable dereferenced before check

2013-10-28 Thread Minchan Kim
Hello Rashika, On Fri, Oct 25, 2013 at 7:10 PM, Minchan Kim minc...@kernel.org wrote: Hello Rashika, First of all, thanks for looking this! On Tue, Oct 22, 2013 at 07:00:57PM +0530, Rashika Kheria wrote: This patch fixes the following Smatch warning in zram_drv.c- drivers/staging/zram

Re: [PATCH v4 2/2] Staging: zram: Fix decrement of variable by calling bdput()

2013-10-25 Thread Minchan Kim
, too. And please put this bug fix patch ahead of [1/2] because this patch is more real bug fix than [1/2] which is just warning of smatch. Thanks. -- Kind regards, Minchan Kim ___ devel mailing list de...@linuxdriverproject.org http

Re: [PATCH v4 1/2] Staging: zram: Fix variable dereferenced before check

2013-10-25 Thread Minchan Kim
); } static int __init zram_init(void) -- 1.7.9.5 -- Kind regards, Minchan Kim ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH v4 2/2] Staging: zram: Fix decrement of variable by calling bdput()

2013-10-25 Thread Minchan Kim
Hey Rashika, And please Cc LKML in next. Thanks! On Fri, Oct 25, 2013 at 7:13 PM, Minchan Kim minc...@kernel.org wrote: On Tue, Oct 22, 2013 at 07:04:37PM +0530, Rashika Kheria wrote: As suggested by Jerome Marchand The code in reset_store get the block device (bdget_disk()) but it does

Re: [PATCH v2] Staging: zram: Fix variable dereferenced before check

2013-10-21 Thread Minchan Kim
to the Google Groups opw-kernel group. To unsubscribe from this group and stop receiving emails from it, send an email to opw-kernel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out. -- Kind regards, Minchan Kim

Re: [PATCH 1/2] staging: zram: fix handle_pending_slot_free() and zram_reset_device() race

2013-09-15 Thread Minchan Kim
) replace init_lock with RCU lock 2) introduce new meta atmoic lock instead of zram-mutex, which is very coarse-grained. 3) use atmoic lock in notify handler. -- Kind regards, Minchan Kim ___ devel mailing list de...@linuxdriverproject.org http

Re: BUG: scheduling while atomic 3.10.7 in ZRAM Swap

2013-08-18 Thread Minchan Kim
! Regards, Michael Wang -- Kind regards, Minchan Kim ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Re: [PATCH 1/2] staging: zram: add Crypto API support

2013-07-31 Thread Minchan Kim
regards, Minchan Kim ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel