====================================== | [ 45.903015][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 45.903223][ C0] | [ 45.903307][ C0] | [ 45.903307][ C0] stack backtrace: [ 45.903879][ C0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 45.904254][ C0] Call Trace: [ 45.904492][ C0] [ 45.904580][ C0] dump_stack_lvl (lib/dump_stack.c:117) [ 45.904753][ C0] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 45.904969][ C0] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 45.905300][ C0] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 45.905467][ C0] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 45.905632][ C0] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 45.905805][ C0] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 45.905977][ C0] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 45.906256][ C0] ? stack_trace_save (kernel/stacktrace.c:123) [ 45.906427][ C0] ? save_trace (kernel/locking/lockdep.c:586) [ 45.906601][ C0] mark_lock (kernel/locking/lockdep.c:4678) [ 45.906736][ C0] mark_usage (kernel/locking/lockdep.c:4567) [ 45.906872][ C0] __lock_acquire (kernel/locking/lockdep.c:5091) [ 45.907047][ C0] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 45.907220][ C0] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 45.907387][ C0] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 45.907561][ C0] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 45.907867][ C0] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 45.908043][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 45.908209][ C0] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 45.908380][ C0] _raw_read_lock_bh (./include/linux/rwlock_api_smp.h:177 kernel/locking/spinlock.c:252) [ 45.908659][ C0] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 45.908823][ C0] ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 45.908994][ C0] ndisc_send_ns (net/ipv6/ndisc.c:658) [ 45.909165][ C0] ? __pfx_ndisc_send_ns (net/ipv6/ndisc.c:653) [ 45.909555][ C0] ? __ipv6_chk_addr_and_flags (net/ipv6/addrconf.c:2009) [ 45.909762][ C0] ndisc_solicit (net/ipv6/ndisc.c:736) [ 45.909936][ C0] ? __pfx_ndisc_solicit (net/ipv6/ndisc.c:736) [ 45.910110][ C0] ? neigh_probe (net/core/neighbour.c:1074) [ 45.910397][ C0] neigh_probe (net/core/neighbour.c:1075) [ 45.910523][ C0] __neigh_event_send (net/core/neighbour.c:1242) [ 45.910699][ C0] ? do_raw_write_lock (kernel/locking/spinlock_debug.c:188 kernel/locking/spinlock_debug.c:210) [ 45.910872][ C0] ? __pfx_do_raw_write_lock (kernel/locking/spinlock_debug.c:209) [ 45.911054][ C0] neigh_resolve_output (net/core/neighbour.c:1547) [ 45.911341][ C0] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:387) [ 45.911514][ C0] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 45.911697][ C0] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 45.911873][ C0] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 45.912160][ C0] ? __pfx_flow_hash_from_keys (net/core/flow_dissector.c:1789) [ 45.912328][ C0] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 45.912455][ C0] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 45.912633][ C0] ? vrf_l3_out (drivers/net/vrf.c:1035) vrf [ 45.912820][ C0] ? ip6_local_out (net/ipv6/output_core.c:154) [ 45.912999][ C0] ip6tunnel_xmit.constprop.0 (./include/net/ip6_tunnel.h:163) ip6_tunnel [ 45.913221][ C0] ip6_tnl_xmit (net/ipv6/ip6_tunnel.c:1279) ip6_tunnel [ 45.913439][ C0] ? __kasan_kmalloc (mm/kasan/common.c:391) [ 45.913728][ C0] ? trace_kmalloc (./include/trace/events/kmem.h:54 (discriminator 52)) [ 45.913902][ C0] ? sk_getsockopt (net/core/sock.c:1940 (discriminator 2)) [ 45.914078][ C0] ? __pfx_ip6_tnl_xmit (net/ipv6/ip6_tunnel.c:1085) ip6_tunnel [ 45.914300][ C0] ? pskb_expand_head (./arch/x86/include/asm/atomic.h:28 ./include/linux/atomic/atomic-arch-fallback.h:503 ./include/linux/atomic/atomic-instrumented.h:68 net/core/skbuff.c:2267) [ 45.914590][ C0] ? __pfx_pskb_expand_head (net/core/skbuff.c:2202) [ 45.914779][ C0] ? __ipv6_chk_addr_and_flags (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/ipv6/addrconf.c:2007) [ 45.914993][ C0] ? __gre6_xmit (net/ipv6/ip6_gre.c:812) ip6_gre [ 45.915180][ C0] __gre6_xmit (net/ipv6/ip6_gre.c:812) ip6_gre [ 45.915475][ C0] ? __pfx___gre6_xmit (net/ipv6/ip6_gre.c:747) ip6_gre [ 45.915695][ C0] ip6gre_tunnel_xmit (net/ipv6/ip6_gre.c:838 net/ipv6/ip6_gre.c:919) ip6_gre [ 45.915917][ C0] ? __pfx_ip6gre_tunnel_xmit (net/ipv6/ip6_gre.c:905) ip6_gre [ 45.916133][ C0] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 45.916419][ C0] ? __lock_release (kernel/locking/lockdep.c:5430) [ 45.916595][ C0] ? dev_queue_xmit_nit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:2332) [ 45.916769][ C0] ? dev_queue_xmit_nit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:2332) [ 45.916936][ C0] ? __pfx_qdisc_pkt_len_init (net/core/dev.c:3712) [ 45.917232][ C0] ? dev_queue_xmit_nit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:2332) [ 45.917417][ C0] dev_hard_start_xmit (./include/linux/netdevice.h:4875 ./include/linux/netdevice.h:4889 net/core/dev.c:3563 net/core/dev.c:3579) [ 45.917586][ C0] ? validate_xmit_skb.constprop.0 (net/core/dev.c:3634) [ 45.917799][ C0] __dev_queue_xmit (net/core/dev.h:167 net/core/dev.c:4373) [ 45.917986][ C0] ? do_raw_write_lock (./arch/x86/include/asm/atomic.h:115 ./include/linux/atomic/atomic-arch-fallback.h:2170 ./include/linux/atomic/atomic-instrumented.h:1302 ./include/asm-generic/qrwlock.h:98 kernel/locking/spinlock_debug.c:211) [ 45.918159][ C0] ? __pfx_do_raw_write_lock (kernel/locking/spinlock_debug.c:209) [ 45.918325][ C0] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 45.918491][ C0] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 45.918771][ C0] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 45.918939][ C0] ip_finish_output2 (./include/net/neighbour.h:542 net/ipv4/ip_output.c:235) [ 45.919106][ C0] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359) [ 45.919313][ C0] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199) [ 45.919589][ C0] ? __ip_finish_output (./include/linux/skbuff.h:1645 ./include/linux/skbuff.h:4961 net/ipv4/ip_output.c:307 net/ipv4/ip_output.c:295) [ 45.919759][ C0] ip_output (./include/linux/netfilter.h:303 net/ipv4/ip_output.c:433) [ 45.919885][ C0] ? __pfx_ip_output (net/ipv4/ip_output.c:427) [ 45.920056][ C0] ? pskb_expand_head (./arch/x86/include/asm/atomic.h:28 ./include/linux/atomic/atomic-arch-fallback.h:503 ./include/linux/atomic/atomic-instrumented.h:68 net/core/skbuff.c:2267) [ 45.920224][ C0] ? ip_route_input_noref (net/ipv4/route.c:2489) [ 45.920502][ C0] NF_HOOK.constprop.0 (./include/linux/netfilter.h:314) [ 45.920668][ C0] ? __pfx_NF_HOOK.constprop.0 (./include/linux/netfilter.h:308) [ 45.920833][ C0] ? ip_forward (net/ipv4/ip_forward.c:144) [ 45.921007][ C0] ? vrf_l3_rcv (drivers/net/vrf.c:1222 drivers/net/vrf.c:1456 drivers/net/vrf.c:1468) vrf [ 45.921297][ C0] ip_rcv (./include/net/dst.h:460 ./include/net/dst.h:458 net/ipv4/ip_input.c:449 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:569) [ 45.921422][ C0] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 45.921592][ C0] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 45.921758][ C0] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 45.922039][ C0] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 45.922205][ C0] __netif_receive_skb_one_core (net/core/dev.c:5604 (discriminator 4)) [ 45.922409][ C0] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5597) [ 45.922617][ C0] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 45.922899][ C0] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 45.923066][ C0] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 45.923233][ C0] process_backlog (./include/linux/rcupdate.h:810 net/core/dev.c:6048) [ 45.923398][ C0] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 45.923676][ C0] __napi_poll.constprop.0 (net/core/dev.c:6701) [ 45.923844][ C0] net_rx_action (net/core/dev.c:6770 net/core/dev.c:6886) [ 45.924021][ C0] ? __pfx_net_rx_action (net/core/dev.c:6850) [ 45.924194][ C0] __do_softirq (kernel/softirq.c:554) [ 45.924365][ C0] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 45.924646][ C0] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 45.924773][ C0] [ 45.924862][ C0] [ 45.924946][ C0] __local_bh_enable_ip (kernel/softirq.c:382) [ 45.925113][ C0] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 45.925397][ C0] __dev_queue_xmit (net/core/dev.c:4400) [ 45.925567][ C0] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 45.925735][ C0] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 45.925909][ C0] ? __pfx_sock_alloc_send_pskb (net/core/sock.c:2767) [ 45.926217][ C0] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 45.926412][ C0] ? dev_get_by_index (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:888) [ 45.926579][ C0] packet_snd (net/packet/af_packet.c:3081) [ 45.926762][ C0] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 45.926932][ C0] ? __pfx_packet_snd (net/packet/af_packet.c:2944) [ 45.927224][ C0] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 45.927398][ C0] ? trace_raw_output_mmap_lock_acquire_returned (./include/trace/events/mmap_lock.h:52 (discriminator 2)) [ 45.927653][ C0] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 45.927836][ C0] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 45.928024][ C0] ? __pfx___sys_sendto (net/socket.c:2161) [ 45.928193][ C0] ? sock_ioctl (net/socket.c:1344) [ 45.928362][ C0] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 45.928535][ C0] ? trace_rseq_update (./include/trace/events/rseq.h:11 (discriminator 52)) [ 45.928827][ C0] ? __rseq_handle_notify_resume (kernel/rseq.c:316) [ 45.929047][ C0] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:316) [ 45.929262][ C0] __x64_sys_sendto (net/socket.c:2199) [ 45.929563][ C0] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 45.929773][ C0] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 45.929940][ C0] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 45.930147][ C0] RIP: 0033:0x7f959c89a85a [ 45.930446][ C0] 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 [ 45.931053][ C0] RSP: 002b:00007ffdcb377548 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 45.931426][ C0] RAX: ffffffffffffffda RBX: 000000002a4899d0 RCX: 00007f959c89a85a [ 45.931689][ C0] RDX: 0000000000000062 RSI: 000000002a4895c2 RDI: 0000000000000005 [ 45.931964][ C0] RBP: 000000002a4895c2 R08: 00007ffdcb377550 R09: 0000000000000014 [ 45.932332][ C0] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage