====================================== | [ 270.587038][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 270.587254][ C1] | [ 270.587339][ C1] | [ 270.587339][ C1] stack backtrace: [ 270.587910][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 270.588291][ C1] Call Trace: [ 270.588423][ C1] [ 270.588609][ C1] dump_stack_lvl (lib/dump_stack.c:117) [ 270.588787][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 270.589007][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 270.589222][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 270.589496][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 270.589664][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 270.589835][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 270.590006][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 270.590271][ C1] ? stack_trace_save (kernel/stacktrace.c:123) [ 270.590444][ C1] ? save_trace (kernel/locking/lockdep.c:586) [ 270.590611][ C1] mark_lock (kernel/locking/lockdep.c:4678) [ 270.590750][ C1] mark_usage (kernel/locking/lockdep.c:4567) [ 270.590883][ C1] __lock_acquire (kernel/locking/lockdep.c:5091) [ 270.591154][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 270.591322][ C1] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 270.591488][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 270.591658][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 270.591929][ C1] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 270.592097][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 270.592268][ C1] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 270.592434][ C1] _raw_read_lock_bh (./include/linux/rwlock_api_smp.h:177 kernel/locking/spinlock.c:252) [ 270.592605][ C1] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 270.592769][ C1] ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 270.592935][ C1] ndisc_send_ns (net/ipv6/ndisc.c:658) [ 270.593103][ C1] ? __pfx_ndisc_send_ns (net/ipv6/ndisc.c:653) [ 270.593273][ C1] ? __ipv6_chk_addr_and_flags (net/ipv6/addrconf.c:2009) [ 270.593587][ C1] ndisc_solicit (net/ipv6/ndisc.c:736) [ 270.593763][ C1] ? __pfx_ndisc_solicit (net/ipv6/ndisc.c:736) [ 270.593930][ C1] ? neigh_probe (net/core/neighbour.c:1074) [ 270.594099][ C1] neigh_probe (net/core/neighbour.c:1075) [ 270.594326][ C1] __neigh_event_send (net/core/neighbour.c:1242) [ 270.594499][ C1] neigh_resolve_output (net/core/neighbour.c:1547) [ 270.594665][ C1] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:387) [ 270.594831][ C1] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 270.595104][ C1] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 270.595271][ C1] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 270.595439][ C1] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 270.595567][ C1] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 270.595739][ C1] ? ip6_dst_mtu_maybe_forward.constprop.0 (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 ./include/net/ip6_route.h:336) [ 270.596059][ C1] 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) [ 270.596226][ C1] ? ip6_route_input (./include/linux/skbuff.h:1163 net/ipv6/route.c:2594) [ 270.596395][ C1] ? __pfx_ip6_forward (net/ipv6/ip6_output.c:494) [ 270.596564][ C1] ? ip6_rcv_core (./include/linux/skbuff.h:3202 net/ipv6/ip6_input.c:291) [ 270.596738][ C1] ? 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) [ 270.596868][ C1] 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) [ 270.596995][ C1] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304) [ 270.597167][ C1] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 270.597336][ C1] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 270.597605][ C1] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304) [ 270.597771][ C1] __netif_receive_skb_one_core (net/core/dev.c:5597) [ 270.597988][ C1] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5597) [ 270.598300][ C1] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 270.598467][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 270.598635][ C1] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 270.598803][ C1] process_backlog (./include/linux/rcupdate.h:810 net/core/dev.c:6048) [ 270.598971][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 270.599241][ C1] __napi_poll.constprop.0 (net/core/dev.c:6701) [ 270.599413][ C1] net_rx_action (net/core/dev.c:6770 net/core/dev.c:6886) [ 270.599583][ C1] ? __pfx_net_rx_action (net/core/dev.c:6850) [ 270.599752][ C1] ? usage_skip (kernel/locking/lockdep.c:2295 kernel/locking/lockdep.c:2263) [ 270.600025][ C1] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 270.600191][ C1] __do_softirq (kernel/softirq.c:554) [ 270.600365][ C1] ? __neigh_event_send (./include/linux/bottom_half.h:33 net/core/neighbour.c:1245) [ 270.600535][ C1] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 270.600761][ C1] [ 270.600847][ C1] [ 270.600931][ C1] __local_bh_enable_ip (kernel/softirq.c:382) [ 270.601097][ C1] __neigh_event_send (net/core/neighbour.c:1246) [ 270.601263][ C1] neigh_resolve_output (net/core/neighbour.c:1547) [ 270.601431][ C1] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:387) [ 270.601701][ C1] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 270.601871][ C1] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 270.602038][ C1] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 270.602204][ C1] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 270.602428][ C1] ? __pfx___ip6_make_skb (net/ipv6/ip6_output.c:1873) [ 270.602599][ C1] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 270.602767][ C1] ? ip6_local_out (net/ipv6/output_core.c:154) [ 270.602939][ C1] ip6_send_skb (net/ipv6/ip6_output.c:1956) [ 270.603220][ C1] rawv6_push_pending_frames (net/ipv6/raw.c:512) [ 270.603387][ C1] ? __pfx_raw6_getfrag (net/ipv6/raw.c:711) [ 270.603555][ C1] ? ip6_append_data (net/ipv6/ip6_output.c:1835) [ 270.603734][ C1] ? __pfx_rawv6_push_pending_frames (net/ipv6/raw.c:512) [ 270.604047][ C1] rawv6_sendmsg (net/ipv6/raw.c:926) [ 270.604220][ C1] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 270.604389][ C1] ? __pfx_rawv6_sendmsg (net/ipv6/raw.c:741) [ 270.604563][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 270.604735][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 270.604903][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 270.605073][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 270.605245][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 270.605411][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 270.605684][ C1] ? __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 270.605851][ C1] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 270.606018][ C1] ? __pfx___sys_sendto (net/socket.c:2161) [ 270.606184][ C1] ? 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) [ 270.606458][ C1] ? reacquire_held_locks (kernel/locking/lockdep.c:5279) [ 270.606628][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 270.606794][ C1] ? 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) [ 270.606960][ C1] ? __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) [ 270.607228][ C1] ? __pfx___up_read (kernel/locking/rwsem.c:1339) [ 270.607400][ C1] ? 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) [ 270.607570][ C1] __x64_sys_sendto (net/socket.c:2199) [ 270.607736][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 270.608049][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 270.608216][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 270.608423][ C1] RIP: 0033:0x7f5df094385a [ 270.608599][ C1] 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 [ 270.609194][ C1] RSP: 002b:00007fff0bbbcb38 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 270.609455][ C1] RAX: ffffffffffffffda RBX: 0000000000000038 RCX: 00007f5df094385a [ 270.609802][ C1] RDX: 0000000000000040 RSI: 000000001fb2e340 RDI: 0000000000000005 [ 270.610063][ C1] RBP: 00007fff0bbbcbc0 R08: 0000000000418574 R09: 000000000000001c [ 270.610413][ C1] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000419ac0 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage