====================================== | [ 46.345763][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 46.346112][ C1] | [ 46.346202][ C1] | [ 46.346202][ C1] stack backtrace: [ 46.346691][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 46.347086][ C1] Call Trace: [ 46.347223][ C1] [ 46.347315][ C1] dump_stack_lvl (lib/dump_stack.c:117) [ 46.347614][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 46.347838][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 46.348061][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 46.348238][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 46.348638][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 46.348822][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 46.349003][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 46.349203][ C1] ? stack_trace_save (kernel/stacktrace.c:123) [ 46.349505][ C1] ? save_trace (kernel/locking/lockdep.c:586) [ 46.349688][ C1] mark_lock (kernel/locking/lockdep.c:4678) [ 46.349830][ C1] mark_usage (kernel/locking/lockdep.c:4567) [ 46.349967][ C1] __lock_acquire (kernel/locking/lockdep.c:5091) [ 46.350148][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 46.350439][ C1] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 46.350620][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 46.350799][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 46.350982][ C1] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 46.351268][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 46.351447][ C1] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 46.351627][ C1] _raw_read_lock_bh (./include/linux/rwlock_api_smp.h:177 kernel/locking/spinlock.c:252) [ 46.351804][ C1] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 46.351984][ C1] ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 46.352274][ C1] ndisc_send_ns (net/ipv6/ndisc.c:658) [ 46.352454][ C1] ? __pfx_ndisc_send_ns (net/ipv6/ndisc.c:653) [ 46.352634][ C1] ? __ipv6_chk_addr_and_flags (net/ipv6/addrconf.c:2009) [ 46.352860][ C1] ndisc_solicit (net/ipv6/ndisc.c:736) [ 46.353161][ C1] ? __pfx_ndisc_solicit (net/ipv6/ndisc.c:736) [ 46.353336][ C1] ? neigh_probe (net/core/neighbour.c:1074) [ 46.353513][ C1] neigh_probe (net/core/neighbour.c:1075) [ 46.353646][ C1] __neigh_event_send (net/core/neighbour.c:1242) [ 46.353821][ C1] ? do_raw_write_lock (kernel/locking/spinlock_debug.c:188 kernel/locking/spinlock_debug.c:210) [ 46.353999][ C1] ? __pfx_do_raw_write_lock (kernel/locking/spinlock_debug.c:209) [ 46.354178][ C1] neigh_resolve_output (net/core/neighbour.c:1547) [ 46.354355][ C1] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:387) [ 46.354642][ C1] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 46.354819][ C1] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 46.354997][ C1] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 46.355173][ C1] ? __pfx_flow_hash_from_keys (net/core/flow_dissector.c:1789) [ 46.355357][ C1] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 46.355604][ C1] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 46.355780][ C1] ? vrf_l3_out (drivers/net/vrf.c:1035) vrf [ 46.355971][ C1] ? ip6_local_out (net/ipv6/output_core.c:154) [ 46.356154][ C1] ip6tunnel_xmit.constprop.0 (./include/net/ip6_tunnel.h:163) ip6_tunnel [ 46.356509][ C1] ip6_tnl_xmit (net/ipv6/ip6_tunnel.c:1279) ip6_tunnel [ 46.356742][ C1] ? __kasan_kmalloc (mm/kasan/common.c:391) [ 46.356924][ C1] ? trace_kmalloc (./include/trace/events/kmem.h:54 (discriminator 52)) [ 46.357103][ C1] ? sk_getsockopt (net/core/sock.c:1940 (discriminator 2)) [ 46.357407][ C1] ? __pfx_ip6_tnl_xmit (net/ipv6/ip6_tunnel.c:1085) ip6_tunnel [ 46.357640][ C1] ? 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) [ 46.357819][ C1] ? __pfx_pskb_expand_head (net/core/skbuff.c:2202) [ 46.358015][ C1] ? __ipv6_chk_addr_and_flags (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/ipv6/addrconf.c:2007) [ 46.358349][ C1] ? __gre6_xmit (net/ipv6/ip6_gre.c:812) ip6_gre [ 46.358545][ C1] __gre6_xmit (net/ipv6/ip6_gre.c:812) ip6_gre [ 46.358739][ C1] ? __pfx___gre6_xmit (net/ipv6/ip6_gre.c:747) ip6_gre [ 46.358969][ C1] ip6gre_tunnel_xmit (net/ipv6/ip6_gre.c:838 net/ipv6/ip6_gre.c:919) ip6_gre [ 46.359320][ C1] ? __pfx_ip6gre_tunnel_xmit (net/ipv6/ip6_gre.c:905) ip6_gre [ 46.359549][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 46.359741][ C1] ? __lock_release (kernel/locking/lockdep.c:5430) [ 46.360029][ C1] ? dev_queue_xmit_nit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:2332) [ 46.360209][ C1] ? dev_queue_xmit_nit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:2332) [ 46.360398][ C1] ? __pfx_qdisc_pkt_len_init (net/core/dev.c:3712) [ 46.360584][ C1] ? dev_queue_xmit_nit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:2332) [ 46.360765][ C1] dev_hard_start_xmit (./include/linux/netdevice.h:4875 ./include/linux/netdevice.h:4889 net/core/dev.c:3563 net/core/dev.c:3579) [ 46.360945][ C1] ? validate_xmit_skb.constprop.0 (net/core/dev.c:3634) [ 46.361176][ C1] __dev_queue_xmit (net/core/dev.h:167 net/core/dev.c:4373) [ 46.361373][ C1] ? 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) [ 46.361557][ C1] ? __pfx_do_raw_write_lock (kernel/locking/spinlock_debug.c:209) [ 46.361849][ C1] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 46.362033][ C1] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 46.362210][ C1] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 46.362392][ C1] ip_finish_output2 (./include/net/neighbour.h:542 net/ipv4/ip_output.c:235) [ 46.362804][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359) [ 46.363034][ C1] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199) [ 46.363237][ C1] ? __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) [ 46.363419][ C1] ip_output (./include/linux/netfilter.h:303 net/ipv4/ip_output.c:433) [ 46.363669][ C1] ? __pfx_ip_output (net/ipv4/ip_output.c:427) [ 46.363835][ C1] ? 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) [ 46.364023][ C1] ? ip_route_input_noref (net/ipv4/route.c:2489) [ 46.364190][ C1] NF_HOOK.constprop.0 (./include/linux/netfilter.h:314) [ 46.364470][ C1] ? __pfx_NF_HOOK.constprop.0 (./include/linux/netfilter.h:308) [ 46.364650][ C1] ? ip_forward (net/ipv4/ip_forward.c:144) [ 46.364816][ C1] ? vrf_l3_rcv (drivers/net/vrf.c:1222 drivers/net/vrf.c:1456 drivers/net/vrf.c:1468) vrf [ 46.364991][ C1] 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) [ 46.365117][ C1] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 46.365393][ C1] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 46.365558][ C1] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 46.365725][ C1] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 46.365891][ C1] __netif_receive_skb_one_core (net/core/dev.c:5604 (discriminator 4)) [ 46.366233][ C1] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5597) [ 46.366449][ C1] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 46.366615][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 46.366780][ C1] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 46.367076][ C1] process_backlog (./include/linux/rcupdate.h:810 net/core/dev.c:6048) [ 46.367250][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 46.367422][ C1] __napi_poll.constprop.0 (net/core/dev.c:6701) [ 46.367602][ C1] net_rx_action (net/core/dev.c:6770 net/core/dev.c:6886) [ 46.367775][ C1] ? __pfx_net_rx_action (net/core/dev.c:6850) [ 46.367954][ C1] __do_softirq (kernel/softirq.c:554) [ 46.368125][ C1] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 46.368291][ C1] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 46.368429][ C1] [ 46.368516][ C1] [ 46.368601][ C1] __local_bh_enable_ip (kernel/softirq.c:382) [ 46.368765][ C1] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 46.368930][ C1] __dev_queue_xmit (net/core/dev.c:4400) [ 46.369109][ C1] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 46.369390][ C1] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 46.369561][ C1] ? __pfx_sock_alloc_send_pskb (net/core/sock.c:2767) [ 46.369727][ C1] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 46.369893][ C1] ? dev_get_by_index (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:888) [ 46.370179][ C1] packet_snd (net/packet/af_packet.c:3081) [ 46.370350][ C1] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 46.370517][ C1] ? __pfx_packet_snd (net/packet/af_packet.c:2944) [ 46.370689][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 46.370991][ C1] ? trace_raw_output_mmap_lock_acquire_returned (./include/trace/events/mmap_lock.h:52 (discriminator 2)) [ 46.371243][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 46.371409][ C1] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 46.371576][ C1] ? __pfx___sys_sendto (net/socket.c:2161) [ 46.371747][ C1] ? sock_ioctl (net/socket.c:1344) [ 46.371916][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 46.372094][ C1] ? trace_rseq_update (./include/trace/events/rseq.h:11 (discriminator 52)) [ 46.372278][ C1] ? __rseq_handle_notify_resume (kernel/rseq.c:316) [ 46.372502][ C1] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:316) [ 46.372707][ C1] __x64_sys_sendto (net/socket.c:2199) [ 46.372873][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 46.373090][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 46.373367][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 46.373574][ C1] RIP: 0033:0x7fce19dfc85a [ 46.373747][ 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 [ 46.374453][ C1] RSP: 002b:00007ffcff5fccf8 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 46.374703][ C1] RAX: ffffffffffffffda RBX: 0000000025b159d0 RCX: 00007fce19dfc85a [ 46.375072][ C1] RDX: 0000000000000062 RSI: 0000000025b155c2 RDI: 0000000000000005 [ 46.375325][ C1] RBP: 0000000025b155c2 R08: 00007ffcff5fcd00 R09: 0000000000000014 [ 46.375574][ C1] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage