====================================== | [ 100.870686][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 100.870895][ C3] | [ 100.870978][ C3] | [ 100.870978][ C3] stack backtrace: [ 100.871506][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 100.871855][ C3] Call Trace: [ 100.872176][ C3] [ 100.872260][ C3] dump_stack_lvl (lib/dump_stack.c:117) [ 100.872427][ C3] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 100.872623][ C3] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 100.872821][ C3] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 100.873087][ C3] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 100.873242][ C3] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 100.873403][ C3] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 100.873561][ C3] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 100.873719][ C3] ? stack_trace_save (kernel/stacktrace.c:123) [ 100.873883][ C3] ? save_trace (kernel/locking/lockdep.c:586) [ 100.874041][ C3] mark_lock (kernel/locking/lockdep.c:4678) [ 100.874160][ C3] mark_usage (kernel/locking/lockdep.c:4567) [ 100.874279][ C3] __lock_acquire (kernel/locking/lockdep.c:5091) [ 100.874538][ C3] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 100.874695][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 100.874852][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 100.875015][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 100.875283][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 100.875439][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 100.875596][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 100.875754][ C3] _raw_read_lock_bh (./include/linux/rwlock_api_smp.h:177 kernel/locking/spinlock.c:252) [ 100.876014][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 100.876170][ C3] ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 100.876326][ C3] ndisc_send_ns (net/ipv6/ndisc.c:658) [ 100.876483][ C3] ? __pfx_ndisc_send_ns (net/ipv6/ndisc.c:653) [ 100.876740][ C3] ? __ipv6_chk_addr_and_flags (net/ipv6/addrconf.c:2009) [ 100.876940][ C3] ndisc_solicit (net/ipv6/ndisc.c:736) [ 100.877104][ C3] ? __pfx_ndisc_solicit (net/ipv6/ndisc.c:736) [ 100.877262][ C3] ? neigh_probe (net/core/neighbour.c:1074) [ 100.877519][ C3] neigh_probe (net/core/neighbour.c:1075) [ 100.877637][ C3] __neigh_event_send (net/core/neighbour.c:1242) [ 100.877796][ C3] neigh_resolve_output (net/core/neighbour.c:1547) [ 100.877953][ C3] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:387) [ 100.878109][ C3] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 100.878372][ C3] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 100.878528][ C3] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 100.878686][ C3] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 100.878804][ C3] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 100.879062][ C3] ? ip6_dst_mtu_maybe_forward.constprop.0 (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 ./include/net/ip6_route.h:336) [ 100.879260][ 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) [ 100.879418][ C3] ? ip6_route_input (./include/linux/skbuff.h:1163 net/ipv6/route.c:2594) [ 100.879576][ C3] ? __pfx_ip6_forward (net/ipv6/ip6_output.c:494) [ 100.879832][ C3] ? ip6_rcv_core (./include/linux/skbuff.h:3202 net/ipv6/ip6_input.c:291) [ 100.879992][ 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) [ 100.880109][ 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) [ 100.880228][ C3] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304) [ 100.880389][ C3] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 100.880646][ C3] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 100.880803][ C3] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304) [ 100.880964][ C3] __netif_receive_skb_one_core (net/core/dev.c:5597) [ 100.881158][ C3] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5597) [ 100.881454][ C3] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 100.881610][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 100.881764][ C3] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 100.881926][ C3] process_backlog (./include/linux/rcupdate.h:810 net/core/dev.c:6048) [ 100.882180][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 100.882336][ C3] __napi_poll.constprop.0 (net/core/dev.c:6701) [ 100.882493][ C3] net_rx_action (net/core/dev.c:6770 net/core/dev.c:6886) [ 100.882651][ C3] ? __pfx_net_rx_action (net/core/dev.c:6850) [ 100.882907][ C3] ? usage_skip (kernel/locking/lockdep.c:2295 kernel/locking/lockdep.c:2263) [ 100.883069][ C3] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 100.883228][ C3] __do_softirq (kernel/softirq.c:554) [ 100.883384][ C3] ? __neigh_event_send (./include/linux/bottom_half.h:33 net/core/neighbour.c:1245) [ 100.883540][ C3] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 100.883658][ C3] [ 100.883739][ C3] [ 100.883819][ C3] __local_bh_enable_ip (kernel/softirq.c:382) [ 100.883976][ C3] __neigh_event_send (net/core/neighbour.c:1246) [ 100.884133][ C3] neigh_resolve_output (net/core/neighbour.c:1547) [ 100.884492][ C3] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:387) [ 100.884661][ C3] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 100.884820][ C3] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 100.884978][ C3] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 100.885235][ C3] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 100.885355][ C3] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 100.885513][ C3] ? vrf_l3_out (drivers/net/vrf.c:1035) vrf [ 100.885686][ C3] ? ip6_local_out (net/ipv6/output_core.c:154) [ 100.885846][ C3] ip6_send_skb (net/ipv6/ip6_output.c:1956) [ 100.886109][ C3] rawv6_push_pending_frames (net/ipv6/raw.c:512) [ 100.886266][ C3] ? __pfx_raw6_getfrag (net/ipv6/raw.c:711) [ 100.886422][ C3] ? ip6_append_data (net/ipv6/ip6_output.c:1835) [ 100.886579][ C3] ? __pfx_rawv6_push_pending_frames (net/ipv6/raw.c:512) [ 100.886875][ C3] rawv6_sendmsg (net/ipv6/raw.c:926) [ 100.887032][ C3] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 100.887202][ C3] ? __pfx_rawv6_sendmsg (net/ipv6/raw.c:741) [ 100.887358][ C3] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 100.887623][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 100.887783][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 100.887949][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 100.888107][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 100.888362][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 100.888520][ C3] ? __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 100.888679][ C3] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 100.888837][ C3] ? __pfx___sys_sendto (net/socket.c:2161) [ 100.888997][ 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) [ 100.889259][ C3] ? reacquire_held_locks (kernel/locking/lockdep.c:5279) [ 100.889418][ C3] ? __lock_release (kernel/locking/lockdep.c:5430) [ 100.889579][ 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) [ 100.889733][ 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) [ 100.889996][ C3] ? __pfx___up_read (kernel/locking/rwsem.c:1339) [ 100.890151][ 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) [ 100.890307][ C3] __x64_sys_sendto (net/socket.c:2199) [ 100.890463][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 100.890666][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 100.890824][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 100.891019][ C3] RIP: 0033:0x7fa5fbe7285a [ 100.891186][ 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 [ 100.891844][ C3] RSP: 002b:00007ffef5c45c28 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 100.892186][ C3] RAX: ffffffffffffffda RBX: 0000000000000038 RCX: 00007fa5fbe7285a [ 100.892422][ C3] RDX: 0000000000000040 RSI: 0000000027374340 RDI: 0000000000000005 [ 100.892655][ C3] RBP: 00007ffef5c45cb0 R08: 0000000000418574 R09: 000000000000001c [ 100.892994][ C3] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000419ac0 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage