====================================== | xx__-> | [ 33.054995][ T250] ip (250) used greatest stack depth: 23360 bytes left | [ 300.042294][ C0] hrtimer: interrupt took 3951613 ns | [ 548.485086][ T306] ip invoked oom-killer: gfp_mask=0xc2cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_COMP|__GFP_NOMEMALLOC), order=2, oom_score_adj=0 [ 548.485927][ T306] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 548.486273][ T306] Call Trace: [ 548.486395][ T306] [ 548.486480][ T306] dump_stack_lvl (lib/dump_stack.c:117) [ 548.486658][ T306] dump_header (mm/oom_kill.c:74 mm/oom_kill.c:463) [ 548.486820][ T306] oom_kill_process (mm/oom_kill.c:1036) [ 548.486980][ T306] out_of_memory (mm/oom_kill.c:1175 (discriminator 4)) [ 548.487156][ T306] ? __pfx_out_of_memory (mm/oom_kill.c:1108) [ 548.487350][ T306] ? __alloc_pages_may_oom (mm/page_alloc.c:3523) [ 548.487701][ T306] __alloc_pages_may_oom (mm/page_alloc.c:3575) [ 548.487864][ T306] ? __pfx___alloc_pages_may_oom (mm/page_alloc.c:3507) [ 548.488076][ T306] __alloc_pages_slowpath.constprop.0 (mm/page_alloc.c:4337) [ 548.488279][ T306] ? get_page_from_freelist (mm/page_alloc.c:3158 mm/page_alloc.c:3351) [ 548.488439][ T306] ? __pfx___alloc_pages_slowpath.constprop.0 (mm/page_alloc.c:4131) [ 548.488651][ T306] __alloc_pages_noprof (mm/page_alloc.c:4673) [ 548.488812][ T306] ? __pfx___alloc_pages_noprof (mm/page_alloc.c:4626) [ 548.488969][ T306] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228) [ 548.489125][ T306] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 548.489253][ T306] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 548.489416][ T306] alloc_slab_page (./include/linux/gfp.h:269 ./include/linux/gfp.h:296 mm/slub.c:2264) [ 548.489574][ T306] allocate_slab (mm/slub.c:2435) [ 548.489739][ T306] ___slab_alloc (mm/slub.c:3666 (discriminator 3)) [ 548.489899][ T306] ? __lock_release (kernel/locking/lockdep.c:5430) [ 548.490055][ T306] ? kmalloc_node_trace_noprof (./include/linux/mm.h:1664 ./include/linux/mm.h:1662 ./include/linux/mm.h:1670 mm/slab.h:194 mm/slub.c:3227 mm/slub.c:3224 mm/slub.c:3808 mm/slub.c:3988 mm/slub.c:4160) [ 548.490250][ T306] ? __alloc_skb (net/core/skbuff.c:667) [ 548.490411][ T306] ? lock_downgrade (./arch/x86/include/asm/irqflags.h:37 ./arch/x86/include/asm/irqflags.h:72 ./arch/x86/include/asm/irqflags.h:104 kernel/locking/lockdep.c:5653) [ 548.490580][ T306] ? kmalloc_node_track_caller_noprof (mm/slub.c:3756 mm/slub.c:3809 mm/slub.c:3988 mm/slub.c:4120 mm/slub.c:4141) [ 548.490774][ T306] kmalloc_node_track_caller_noprof (mm/slub.c:3756 mm/slub.c:3809 mm/slub.c:3988 mm/slub.c:4120 mm/slub.c:4141) [ 548.490968][ T306] ? __create_object (mm/kmemleak.c:749) [ 548.491126][ T306] ? __alloc_skb (net/core/skbuff.c:667) [ 548.491286][ T306] kmalloc_reserve (net/core/skbuff.c:601) [ 548.491441][ T306] ? netlink_dump (net/netlink/af_netlink.c:2277) [ 548.491601][ T306] __alloc_skb (net/core/skbuff.c:667) [ 548.491760][ T306] ? __pfx___alloc_skb (net/core/skbuff.c:640) [ 548.491919][ T306] ? __might_fault (./arch/x86/include/asm/current.h:49 mm/memory.c:6233 mm/memory.c:6226) [ 548.492087][ T306] netlink_dump (net/netlink/af_netlink.c:2305) [ 548.492245][ T306] ? __pfx__copy_to_iter (lib/iov_iter.c:180) [ 548.492410][ T306] ? __pfx_netlink_dump (net/netlink/af_netlink.c:2265) [ 548.492583][ T306] ? __pfx_simple_copy_to_iter (net/core/datagram.c:512) [ 548.492750][ T306] netlink_recvmsg (net/netlink/af_netlink.c:1988) [ 548.492939][ T306] ? __pfx_netlink_recvmsg (net/netlink/af_netlink.c:1914) [ 548.493098][ T306] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 548.493278][ T306] ? __lock_release (kernel/locking/lockdep.c:5430) [ 548.493433][ T306] ? __might_fault (mm/memory.c:6233 mm/memory.c:6226) [ 548.493609][ T306] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 548.493766][ T306] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 548.493946][ T306] ____sys_recvmsg (net/socket.c:1046 net/socket.c:1068 net/socket.c:2804) [ 548.494110][ T306] ? __pfx_____sys_recvmsg (net/socket.c:2782) [ 548.494286][ T306] ? copy_msghdr_from_user (net/socket.c:2525) [ 548.494447][ T306] ? __pfx_copy_msghdr_from_user (net/socket.c:2511) [ 548.494660][ T306] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228) [ 548.494833][ T306] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 548.495005][ T306] ___sys_recvmsg (net/socket.c:2847) [ 548.495182][ T306] ? __pfx____sys_recvmsg (net/socket.c:2836) [ 548.495346][ T306] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 548.495517][ T306] ? __lock_release (kernel/locking/lockdep.c:5430) [ 548.495682][ T306] ? __might_fault (mm/memory.c:6233 mm/memory.c:6226) [ 548.495859][ T306] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 548.496018][ T306] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 548.496187][ T306] ? __might_fault (mm/memory.c:6233 mm/memory.c:6226) [ 548.496350][ T306] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 548.496511][ T306] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145) [ 548.496669][ T306] ? __might_fault (mm/memory.c:6233 mm/memory.c:6226) [ 548.496836][ T306] __sys_recvmsg (./include/linux/file.h:34 net/socket.c:2878) [ 548.497001][ T306] ? __pfx___sys_recvmsg (net/socket.c:2864) [ 548.497165][ T306] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:316) [ 548.497380][ T306] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 548.497539][ T306] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 548.497736][ T306] RIP: 0033:0x7f5dd31ec64d [ 548.497906][ T306] Code: eb b7 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 41 54 48 83 ec 10 64 8b 04 25 18 00 00 00 85 c0 75 22 b8 2f 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 5b 4c 63 e0 48 83 c4 10 4c 89 e0 41 5c c3 66 All code ======== 0: eb b7 jmp 0xffffffffffffffb9 2: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 9: 00 00 00 c: 90 nop d: f3 0f 1e fa endbr64 11: 41 54 push %r12 13: 48 83 ec 10 sub $0x10,%rsp 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 22 jne 0x45 23: b8 2f 00 00 00 mov $0x2f,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 5b ja 0x8d 32: 4c 63 e0 movslq %eax,%r12 35: 48 83 c4 10 add $0x10,%rsp 39: 4c 89 e0 mov %r12,%rax 3c: 41 5c pop %r12 3e: c3 ret 3f: 66 data16 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 5b ja 0x63 8: 4c 63 e0 movslq %eax,%r12 b: 48 83 c4 10 add $0x10,%rsp f: 4c 89 e0 mov %r12,%rax 12: 41 5c pop %r12 14: c3 ret 15: 66 data16 [ 548.498463][ T306] RSP: 002b:00007ffdb103bd00 EFLAGS: 00000246 ORIG_RAX: 000000000000002f [ 548.498701][ T306] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007f5dd31ec64d [ 548.498940][ T306] RDX: 0000000000000022 RSI: 00007ffdb103be00 RDI: 0000000000000005 [ 548.499179][ T306] RBP: 0000000000000022 R08: 0000000000000003 R09: 0000000000000000 [ 548.499416][ T306] R10: 000000000d6c3970 R11: 0000000000000246 R12: 00007ffdb103be00 Finger prints: dump_header:oom_kill_process:out_of_memory:__alloc_pages_may_oom:__alloc_pages_noprof