====================================== | [ 1008.066784][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 1008.066977][ C3] | [ 1008.067054][ C3] | [ 1008.067054][ C3] stack backtrace: [ 1008.067489][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1008.067838][ C3] Call Trace: [ 1008.067959][ C3] [ 1008.068040][ C3] dump_stack_lvl (lib/dump_stack.c:117) [ 1008.068300][ C3] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 1008.068494][ C3] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 1008.068687][ C3] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 1008.068843][ C3] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 1008.069102][ C3] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 1008.069261][ C3] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 1008.069417][ C3] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 1008.069581][ C3] ? stack_trace_save (kernel/stacktrace.c:123) [ 1008.069843][ C3] ? save_trace (kernel/locking/lockdep.c:586) [ 1008.069999][ C3] mark_lock (kernel/locking/lockdep.c:4678) [ 1008.070117][ C3] mark_usage (kernel/locking/lockdep.c:4567) [ 1008.070234][ C3] __lock_acquire (kernel/locking/lockdep.c:5091) [ 1008.070391][ C3] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 1008.070550][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1008.070709][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 1008.070865][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 1008.071020][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1008.071274][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 1008.071430][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1008.071619][ C3] _raw_read_lock_bh (./include/linux/rwlock_api_smp.h:177 kernel/locking/spinlock.c:252) [ 1008.071779][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1008.072034][ C3] ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1008.072189][ C3] ndisc_send_ns (net/ipv6/ndisc.c:658) [ 1008.072343][ C3] ? __pfx_ndisc_send_ns (net/ipv6/ndisc.c:653) [ 1008.072498][ C3] ? __ipv6_chk_addr_and_flags (net/ipv6/addrconf.c:2009) [ 1008.072799][ C3] ndisc_solicit (net/ipv6/ndisc.c:736) [ 1008.072954][ C3] ? __pfx_ndisc_solicit (net/ipv6/ndisc.c:736) [ 1008.073108][ C3] ? neigh_probe (net/core/neighbour.c:1074) [ 1008.073267][ C3] neigh_probe (net/core/neighbour.c:1075) [ 1008.073386][ C3] __neigh_event_send (net/core/neighbour.c:1242) [ 1008.073546][ C3] neigh_resolve_output (net/core/neighbour.c:1547) [ 1008.073705][ C3] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:387) [ 1008.073861][ C3] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 1008.074022][ C3] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 1008.074277][ C3] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 1008.074432][ C3] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 1008.074549][ C3] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 1008.074707][ C3] ? ip6_dst_mtu_maybe_forward.constprop.0 (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 ./include/net/ip6_route.h:336) [ 1008.075003][ 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) [ 1008.075159][ C3] ? ip6_route_input (./include/linux/skbuff.h:1163 net/ipv6/route.c:2594) [ 1008.075319][ C3] ? __pfx_ip6_forward (net/ipv6/ip6_output.c:494) [ 1008.075478][ C3] ? ip6_rcv_core (./include/linux/skbuff.h:3202 net/ipv6/ip6_input.c:291) [ 1008.075830][ 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) [ 1008.075948][ 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) [ 1008.076064][ C3] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304) [ 1008.076234][ C3] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 1008.076389][ C3] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 1008.076552][ C3] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304) [ 1008.076711][ C3] __netif_receive_skb_one_core (net/core/dev.c:5597) [ 1008.076905][ C3] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5597) [ 1008.077128][ C3] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 1008.077404][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 1008.077562][ C3] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 1008.077719][ C3] process_backlog (./include/linux/rcupdate.h:810 net/core/dev.c:6048) [ 1008.077875][ C3] __napi_poll.constprop.0 (net/core/dev.c:6701) [ 1008.078134][ C3] net_rx_action (net/core/dev.c:6770 net/core/dev.c:6886) [ 1008.078304][ C3] ? __pfx_net_rx_action (net/core/dev.c:6850) [ 1008.078474][ C3] ? usage_skip (kernel/locking/lockdep.c:2295 kernel/locking/lockdep.c:2263) [ 1008.078629][ C3] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 1008.078887][ C3] __do_softirq (kernel/softirq.c:554) [ 1008.079045][ C3] ? __neigh_event_send (./include/linux/bottom_half.h:33 net/core/neighbour.c:1245) [ 1008.079201][ C3] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 1008.079320][ C3] [ 1008.079402][ C3] [ 1008.079486][ C3] __local_bh_enable_ip (kernel/softirq.c:382) [ 1008.079739][ C3] __neigh_event_send (net/core/neighbour.c:1246) [ 1008.079906][ C3] neigh_resolve_output (net/core/neighbour.c:1547) [ 1008.080060][ C3] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:387) [ 1008.080213][ C3] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 1008.080467][ C3] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 1008.080623][ C3] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 1008.080779][ C3] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 1008.080895][ C3] ? __pfx___ip6_make_skb (net/ipv6/ip6_output.c:1873) [ 1008.081053][ C3] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 1008.081310][ C3] ? ip6_local_out (net/ipv6/output_core.c:154) [ 1008.081468][ C3] ip6_send_skb (net/ipv6/ip6_output.c:1956) [ 1008.081653][ C3] rawv6_push_pending_frames (net/ipv6/raw.c:512) [ 1008.081808][ C3] ? __pfx_raw6_getfrag (net/ipv6/raw.c:711) [ 1008.082067][ C3] ? ip6_append_data (net/ipv6/ip6_output.c:1835) [ 1008.082223][ C3] ? __pfx_rawv6_push_pending_frames (net/ipv6/raw.c:512) [ 1008.082432][ C3] rawv6_sendmsg (net/ipv6/raw.c:926) [ 1008.082590][ C3] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 1008.082848][ C3] ? __pfx_rawv6_sendmsg (net/ipv6/raw.c:741) [ 1008.083002][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 1008.083158][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 1008.083336][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 1008.083494][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 1008.083652][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 1008.083820][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 1008.083978][ C3] ? __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 1008.084248][ C3] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 1008.084425][ C3] ? __pfx___sys_sendto (net/socket.c:2161) [ 1008.084585][ C3] ? do_user_addr_fault (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 ./include/linux/mm.h:700 arch/x86/mm/fault.c:1364) [ 1008.084762][ C3] ? reacquire_held_locks (kernel/locking/lockdep.c:5279) [ 1008.084921][ C3] ? __lock_release (kernel/locking/lockdep.c:5430) [ 1008.085179][ C3] ? do_user_addr_fault (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 ./include/linux/mm.h:702 arch/x86/mm/fault.c:1364) [ 1008.085341][ C3] ? __up_read (./arch/x86/include/asm/atomic64_64.h:79 ./include/linux/atomic/atomic-arch-fallback.h:2749 ./include/linux/atomic/atomic-long.h:184 ./include/linux/atomic/atomic-instrumented.h:3317 kernel/locking/rwsem.c:1347) [ 1008.085507][ C3] ? __pfx___up_read (kernel/locking/rwsem.c:1339) [ 1008.085671][ C3] ? do_user_addr_fault (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 ./include/linux/mm.h:702 arch/x86/mm/fault.c:1364) [ 1008.085924][ C3] __x64_sys_sendto (net/socket.c:2199) [ 1008.086098][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 1008.086301][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 1008.086461][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 1008.086754][ C3] RIP: 0033:0x7f198c4e485a [ 1008.086936][ 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 [ 1008.087602][ C3] RSP: 002b:00007fff04958428 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 1008.087850][ C3] RAX: ffffffffffffffda RBX: 0000000000000038 RCX: 00007f198c4e485a [ 1008.088083][ C3] RDX: 0000000000000040 RSI: 0000000030355340 RDI: 0000000000000006 [ 1008.088522][ C3] RBP: 00007fff049584b0 R08: 0000000000418574 R09: 000000000000001c [ 1008.088764][ C3] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000419ac0 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage