Re: mm: BUG in resv_map_release

2017-03-28 Thread Mike Kravetz
On 03/28/2017 04:38 PM, Andrew Morton wrote: > On Thu, 23 Mar 2017 11:19:38 +0100 Dmitry Vyukov wrote: > >> Hello, >> >> I've got the following BUG while running syzkaller fuzzer. >> Note the injected kmalloc failure, most likely it's the root cause. >> > > Yes, probably the logic(?) in region_c

Re: mm: BUG in resv_map_release

2017-03-28 Thread Andrew Morton
On Thu, 23 Mar 2017 11:19:38 +0100 Dmitry Vyukov wrote: > Hello, > > I've got the following BUG while running syzkaller fuzzer. > Note the injected kmalloc failure, most likely it's the root cause. > Yes, probably the logic(?) in region_chg() leaked a resv->adds_in_progress++, although I'm not

Re: mm: BUG in resv_map_release

2017-03-24 Thread Dmitry Vyukov
On Thu, Mar 23, 2017 at 7:02 PM, Mike Kravetz wrote: > On 03/23/2017 10:25 AM, Mike Kravetz wrote: >> On 03/23/2017 03:19 AM, Dmitry Vyukov wrote: >>> Hello, >>> >>> I've got the following BUG while running syzkaller fuzzer. >>> Note the injected kmalloc failure, most likely it's the root cause. >

Re: mm: BUG in resv_map_release

2017-03-23 Thread Mike Kravetz
On 03/23/2017 10:25 AM, Mike Kravetz wrote: > On 03/23/2017 03:19 AM, Dmitry Vyukov wrote: >> Hello, >> >> I've got the following BUG while running syzkaller fuzzer. >> Note the injected kmalloc failure, most likely it's the root cause. > > Thanks Dmitry, > > The BUG indicates someone called reg

Re: mm: BUG in resv_map_release

2017-03-23 Thread Mike Kravetz
On 03/23/2017 03:19 AM, Dmitry Vyukov wrote: > Hello, > > I've got the following BUG while running syzkaller fuzzer. > Note the injected kmalloc failure, most likely it's the root cause. Thanks Dmitry, The BUG indicates someone called region_chg() in the process of adding a hugetlbfs page reser

Re: mm: BUG in resv_map_release

2017-03-23 Thread Dmitry Vyukov
On Thu, Mar 23, 2017 at 11:19 AM, Dmitry Vyukov wrote: > Hello, > > I've got the following BUG while running syzkaller fuzzer. > Note the injected kmalloc failure, most likely it's the root cause. > > > FAULT_INJECTION: forcing a failure. > name failslab, interval 1, probability 0, space 0, times

mm: BUG in resv_map_release

2017-03-23 Thread Dmitry Vyukov
Hello, I've got the following BUG while running syzkaller fuzzer. Note the injected kmalloc failure, most likely it's the root cause. FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 CPU: 2 PID: 12823 Comm: syz-executor1 Not tainted 4.11.0-rc3+ #364