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


Groups > linux.kernel > #1425556

Re: kernel, mm: NULL deref in copy_process while OOMing

From Sasha Levin <sasha.levin@oracle.com>
Newsgroups linux.kernel
Subject Re: kernel, mm: NULL deref in copy_process while OOMing
Date 2016-06-18 02:00 +0200
Message-ID <rLbQ5-4LZ-3@gated-at.bofh.it> (permalink)
References <rKmkx-52w-11@gated-at.bofh.it> <rKC5Y-6GJ-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 06/16/2016 05:39 AM, Michal Hocko wrote:
> On Wed 15-06-16 12:50:43, Sasha Levin wrote:
>> Hi all,
>>
>> I'm seeing the following NULL ptr deref in copy_process right after a bunch
>> of OOM killing activity on -next kernels:
>>
>> Out of memory (oom_kill_allocating_task): Kill process 3477 (trinity-c159) score 0 or sacrifice child
>> Killed process 3477 (trinity-c159) total-vm:3226820kB, anon-rss:36832kB, file-rss:1640kB, shmem-rss:444kB
>> oom_reaper: reaped process 3477 (trinity-c159), now anon-rss:0kB, file-rss:0kB, shmem-rss:444kB
>> Out of memory (oom_kill_allocating_task): Kill process 3450 (trinity-c156) score 0 or sacrifice child
>> Killed process 3450 (trinity-c156) total-vm:3769768kB, anon-rss:36832kB, file-rss:1652kB, shmem-rss:508kB
>> oom_reaper: reaped process 3450 (trinity-c156), now anon-rss:0kB, file-rss:0kB, shmem-rss:572kB
>> BUG: unable to handle kernel NULL pointer dereference at 0000000000000150
>> IP: copy_process (./arch/x86/include/asm/atomic.h:103 kernel/fork.c:484 kernel/fork.c:964 kernel/fork.c:1018 kernel/fork.c:1484)
>> PGD 1ff944067 PUD 1ff929067 PMD 0
>> Oops: 0002 [#1] PREEMPT SMP KASAN
>> Modules linked in:
>> CPU: 18 PID: 8761 Comm: trinity-main Not tainted 4.7.0-rc3-sasha-02101-g1e1b9fa #3108
> 
> Is this a common parent of the oom killed children?

Yup, it's trying to spawn new ones while existing children are getting killed.


Thanks,
Sasha

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


Thread

kernel, mm: NULL deref in copy_process while OOMing Sasha Levin <sasha.levin@oracle.com> - 2016-06-15 19:00 +0200
  Re: kernel, mm: NULL deref in copy_process while OOMing Michal Hocko <mhocko@kernel.org> - 2016-06-16 11:50 +0200
    Re: kernel, mm: NULL deref in copy_process while OOMing Sasha Levin <sasha.levin@oracle.com> - 2016-06-18 02:00 +0200
    Re: kernel, mm: NULL deref in copy_process while OOMing Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp> - 2016-06-19 05:10 +0200
      Re: kernel, mm: NULL deref in copy_process while OOMing Michal Hocko <mhocko@kernel.org> - 2016-06-20 09:30 +0200
      Re: kernel, mm: NULL deref in copy_process while OOMing Michal Hocko <mhocko@kernel.org> - 2016-06-20 13:20 +0200

csiph-web