====================================== | [ 1022.007395][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 1022.007686][ C3] | [ 1022.007786][ C3] | [ 1022.007786][ C3] stack backtrace: [ 1022.008258][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1022.008752][ C3] Call Trace: [ 1022.008899][ C3] [ 1022.008981][ C3] dump_stack_lvl (lib/dump_stack.c:117) [ 1022.009171][ C3] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 1022.009472][ C3] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 1022.009676][ C3] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 1022.009834][ C3] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 1022.010095][ C3] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 1022.010254][ C3] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 1022.010421][ C3] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 1022.010583][ C3] ? stack_trace_save (kernel/stacktrace.c:123) [ 1022.010746][ C3] ? save_trace (kernel/locking/lockdep.c:586) [ 1022.011005][ C3] mark_lock (kernel/locking/lockdep.c:4678) [ 1022.011125][ C3] mark_usage (kernel/locking/lockdep.c:4567) [ 1022.011258][ C3] __lock_acquire (kernel/locking/lockdep.c:5091) [ 1022.011418][ C3] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 1022.011672][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1022.011828][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 1022.011993][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 1022.012156][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1022.012362][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 1022.012753][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1022.012922][ C3] _raw_read_lock_bh (./include/linux/rwlock_api_smp.h:177 kernel/locking/spinlock.c:252) [ 1022.013082][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1022.013273][ C3] ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1022.013557][ C3] ndisc_send_ns (net/ipv6/ndisc.c:658) [ 1022.013719][ C3] ? __pfx_ndisc_send_ns (net/ipv6/ndisc.c:653) [ 1022.013911][ C3] ? __ipv6_chk_addr_and_flags (net/ipv6/addrconf.c:2009) [ 1022.014110][ C3] ndisc_solicit (net/ipv6/ndisc.c:736) [ 1022.014397][ C3] ? __pfx_ndisc_solicit (net/ipv6/ndisc.c:736) [ 1022.014575][ C3] ? neigh_probe (net/core/neighbour.c:1074) [ 1022.014758][ C3] neigh_probe (net/core/neighbour.c:1075) [ 1022.014878][ C3] __neigh_event_send (net/core/neighbour.c:1242) [ 1022.015181][ C3] neigh_resolve_output (net/core/neighbour.c:1547) [ 1022.015376][ C3] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:387) [ 1022.015540][ C3] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 1022.015702][ C3] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 1022.015861][ C3] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 1022.016129][ C3] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 1022.016277][ C3] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 1022.016435][ C3] ? ip6_dst_mtu_maybe_forward.constprop.0 (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 ./include/net/ip6_route.h:336) [ 1022.016631][ C3] ip6_forward (./include/net/dst.h:450 net/ipv6/ip6_output.c:472 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv6/ip6_output.c:660) [ 1022.016786][ C3] ? ip6_route_input (./include/linux/skbuff.h:1163 net/ipv6/route.c:2594) [ 1022.016971][ C3] ? __pfx_ip6_forward (net/ipv6/ip6_output.c:494) [ 1022.017136][ C3] ? ip6_rcv_core (./include/linux/skbuff.h:3202 net/ipv6/ip6_input.c:291) [ 1022.017292][ C3] ? ipv6_rcv (./include/net/dst.h:460 ./include/net/dst.h:458 net/ipv6/ip6_input.c:79 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv6/ip6_input.c:310) [ 1022.017511][ C3] ipv6_rcv (./include/net/dst.h:460 ./include/net/dst.h:458 net/ipv6/ip6_input.c:79 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv6/ip6_input.c:310) [ 1022.017653][ C3] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304) [ 1022.017811][ C3] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 1022.017973][ C3] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 1022.018170][ C3] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304) [ 1022.018425][ C3] __netif_receive_skb_one_core (net/core/dev.c:5597) [ 1022.018655][ C3] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5597) [ 1022.018879][ C3] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 1022.019047][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 1022.019339][ C3] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 1022.019529][ C3] process_backlog (./include/linux/rcupdate.h:810 net/core/dev.c:6048) [ 1022.019686][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 1022.019844][ C3] __napi_poll.constprop.0 (net/core/dev.c:6701) [ 1022.020120][ C3] net_rx_action (net/core/dev.c:6770 net/core/dev.c:6886) [ 1022.020301][ C3] ? __pfx_net_rx_action (net/core/dev.c:6850) [ 1022.020465][ C3] ? usage_skip (kernel/locking/lockdep.c:2295 kernel/locking/lockdep.c:2263) [ 1022.020624][ C3] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 1022.020884][ C3] __do_softirq (kernel/softirq.c:554) [ 1022.021042][ C3] ? __neigh_event_send (./include/linux/bottom_half.h:33 net/core/neighbour.c:1245) [ 1022.021210][ C3] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 1022.021333][ C3] [ 1022.021414][ C3] [ 1022.021494][ C3] __local_bh_enable_ip (kernel/softirq.c:382) [ 1022.021749][ C3] __neigh_event_send (net/core/neighbour.c:1246) [ 1022.021911][ C3] neigh_resolve_output (net/core/neighbour.c:1547) [ 1022.022072][ C3] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:387) [ 1022.022227][ C3] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 1022.022486][ C3] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 1022.022645][ C3] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 1022.022800][ C3] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 1022.022917][ C3] ? __pfx___ip6_make_skb (net/ipv6/ip6_output.c:1873) [ 1022.023174][ C3] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 1022.023331][ C3] ? ip6_local_out (net/ipv6/output_core.c:154) [ 1022.023493][ C3] ip6_send_skb (net/ipv6/ip6_output.c:1956) [ 1022.023660][ C3] rawv6_push_pending_frames (net/ipv6/raw.c:512) [ 1022.023817][ C3] ? __pfx_raw6_getfrag (net/ipv6/raw.c:711) [ 1022.024078][ C3] ? ip6_append_data (net/ipv6/ip6_output.c:1835) [ 1022.024234][ C3] ? __pfx_rawv6_push_pending_frames (net/ipv6/raw.c:512) [ 1022.024440][ C3] rawv6_sendmsg (net/ipv6/raw.c:926) [ 1022.024596][ C3] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 1022.024755][ C3] ? __pfx_rawv6_sendmsg (net/ipv6/raw.c:741) [ 1022.024915][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 1022.025075][ C3] ? 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) [ 1022.025232][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 1022.025586][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 1022.025753][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 1022.025909][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 1022.026067][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 1022.026324][ C3] ? __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 1022.026481][ C3] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 1022.026643][ C3] ? __pfx___sys_sendto (net/socket.c:2161) [ 1022.026808][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 1022.027065][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 1022.027259][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 1022.027422][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 1022.027603][ C3] ? trace_rseq_update (./include/trace/events/rseq.h:11 (discriminator 52)) [ 1022.027765][ C3] ? __rseq_handle_notify_resume (kernel/rseq.c:316) [ 1022.028086][ C3] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:316) [ 1022.028308][ C3] __x64_sys_sendto (net/socket.c:2199) [ 1022.028469][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 1022.028674][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 1022.028860][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 1022.029076][ C3] RIP: 0033:0x7f352a71d85a [ 1022.029276][ C3] Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb b8 0f 1f 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 15 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 7e c3 0f 1f 44 00 00 41 54 48 83 ec 30 44 89 All code ======== 0: d8 64 89 02 fsubs 0x2(%rcx,%rcx,4) 4: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax b: eb b8 jmp 0xffffffffffffffc5 d: 0f 1f 00 nopl (%rax) 10: f3 0f 1e fa endbr64 14: 41 89 ca mov %ecx,%r10d 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 15 jne 0x38 23: b8 2c 00 00 00 mov $0x2c,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 7e ja 0xb0 32: c3 ret 33: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 38: 41 54 push %r12 3a: 48 83 ec 30 sub $0x30,%rsp 3e: 44 rex.R 3f: 89 .byte 0x89 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 7e ja 0x86 8: c3 ret 9: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) e: 41 54 push %r12 10: 48 83 ec 30 sub $0x30,%rsp 14: 44 rex.R 15: 89 .byte 0x89 [ 1022.029987][ C3] RSP: 002b:00007ffd46518eb8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 1022.030375][ C3] RAX: ffffffffffffffda RBX: 0000000000000038 RCX: 00007f352a71d85a [ 1022.030611][ C3] RDX: 0000000000000040 RSI: 0000000018e9e340 RDI: 0000000000000006 [ 1022.030852][ C3] RBP: 00007ffd46518f40 R08: 0000000000418574 R09: 000000000000001c [ 1022.031211][ C3] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000419ac0 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage