====================================== | [ 47.037453][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 47.037681][ C3] | [ 47.037769][ C3] | [ 47.037769][ C3] stack backtrace: [ 47.038466][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 47.038873][ C3] Call Trace: [ 47.039129][ C3] [ 47.039218][ C3] dump_stack_lvl (lib/dump_stack.c:117) [ 47.039403][ C3] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 47.039629][ C3] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 47.039957][ C3] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 47.040145][ C3] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 47.040319][ C3] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 47.040507][ C3] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 47.040684][ C3] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 47.040970][ C3] ? stack_trace_save (kernel/stacktrace.c:123) [ 47.041155][ C3] ? save_trace (kernel/locking/lockdep.c:586) [ 47.041330][ C3] mark_lock (kernel/locking/lockdep.c:4678) [ 47.041469][ C3] mark_usage (kernel/locking/lockdep.c:4567) [ 47.041714][ C3] __lock_acquire (kernel/locking/lockdep.c:5091) [ 47.041891][ C3] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 47.042064][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 47.042778][ C3] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 47.042970][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 47.043271][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 47.043454][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 47.043656][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 47.043842][ C3] _raw_read_lock_bh (./include/linux/rwlock_api_smp.h:177 kernel/locking/spinlock.c:252) [ 47.044148][ C3] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 47.044329][ C3] ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 47.044522][ C3] ndisc_send_ns (net/ipv6/ndisc.c:658) [ 47.044708][ C3] ? __pfx_ndisc_send_ns (net/ipv6/ndisc.c:653) [ 47.045002][ C3] ? __ipv6_chk_addr_and_flags (net/ipv6/addrconf.c:2009) [ 47.045272][ C3] ndisc_solicit (net/ipv6/ndisc.c:736) [ 47.045461][ C3] ? __pfx_ndisc_solicit (net/ipv6/ndisc.c:736) [ 47.045652][ C3] ? neigh_probe (net/core/neighbour.c:1074) [ 47.045948][ C3] neigh_probe (net/core/neighbour.c:1075) [ 47.046088][ C3] __neigh_event_send (net/core/neighbour.c:1242) [ 47.046273][ C3] ? do_raw_write_lock (kernel/locking/spinlock_debug.c:188 kernel/locking/spinlock_debug.c:210) [ 47.046462][ C3] ? __pfx_do_raw_write_lock (kernel/locking/spinlock_debug.c:209) [ 47.046650][ C3] neigh_resolve_output (net/core/neighbour.c:1547) [ 47.046946][ C3] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:387) [ 47.047139][ C3] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 47.047325][ C3] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 47.047518][ C3] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 47.047812][ C3] ? __pfx_flow_hash_from_keys (net/core/flow_dissector.c:1789) [ 47.047999][ C3] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 47.048138][ C3] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 47.048322][ C3] ? vrf_l3_out (drivers/net/vrf.c:1035) vrf [ 47.048677][ C3] ? ip6_local_out (net/ipv6/output_core.c:154) [ 47.048870][ C3] ip6tunnel_xmit.constprop.0 (./include/net/ip6_tunnel.h:163) ip6_tunnel [ 47.049108][ C3] ip6_tnl_xmit (net/ipv6/ip6_tunnel.c:1279) ip6_tunnel [ 47.049345][ C3] ? __kasan_kmalloc (mm/kasan/common.c:391) [ 47.049534][ C3] ? trace_kmalloc (./include/trace/events/kmem.h:54 (discriminator 52)) [ 47.049722][ C3] ? sk_getsockopt (net/core/sock.c:1940 (discriminator 2)) [ 47.049912][ C3] ? __pfx_ip6_tnl_xmit (net/ipv6/ip6_tunnel.c:1085) ip6_tunnel [ 47.050144][ C3] ? 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) [ 47.050439][ C3] ? __pfx_pskb_expand_head (net/core/skbuff.c:2202) [ 47.050632][ C3] ? __ipv6_chk_addr_and_flags (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/ipv6/addrconf.c:2007) [ 47.050862][ C3] ? __gre6_xmit (net/ipv6/ip6_gre.c:812) ip6_gre [ 47.051050][ C3] __gre6_xmit (net/ipv6/ip6_gre.c:812) ip6_gre [ 47.051350][ C3] ? __pfx___gre6_xmit (net/ipv6/ip6_gre.c:747) ip6_gre [ 47.051595][ C3] ip6gre_tunnel_xmit (net/ipv6/ip6_gre.c:838 net/ipv6/ip6_gre.c:919) ip6_gre [ 47.051829][ C3] ? __pfx_ip6gre_tunnel_xmit (net/ipv6/ip6_gre.c:905) ip6_gre [ 47.052060][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 47.052359][ C3] ? __lock_release (kernel/locking/lockdep.c:5430) [ 47.052551][ C3] ? dev_queue_xmit_nit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:2332) [ 47.052734][ C3] ? dev_queue_xmit_nit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:2332) [ 47.052916][ C3] ? __pfx_qdisc_pkt_len_init (net/core/dev.c:3712) [ 47.053319][ C3] ? dev_queue_xmit_nit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:2332) [ 47.053516][ C3] dev_hard_start_xmit (./include/linux/netdevice.h:4875 ./include/linux/netdevice.h:4889 net/core/dev.c:3563 net/core/dev.c:3579) [ 47.053702][ C3] ? validate_xmit_skb.constprop.0 (net/core/dev.c:3634) [ 47.053937][ C3] __dev_queue_xmit (net/core/dev.h:167 net/core/dev.c:4373) [ 47.054235][ C3] ? 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) [ 47.054418][ C3] ? __pfx_do_raw_write_lock (kernel/locking/spinlock_debug.c:209) [ 47.054610][ C3] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 47.054792][ C3] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 47.055085][ C3] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 47.055269][ C3] ip_finish_output2 (./include/net/neighbour.h:542 net/ipv4/ip_output.c:235) [ 47.055451][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359) [ 47.055692][ C3] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199) [ 47.055987][ C3] ? __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) [ 47.056171][ C3] ip_output (./include/linux/netfilter.h:303 net/ipv4/ip_output.c:433) [ 47.056309][ C3] ? __pfx_ip_output (net/ipv4/ip_output.c:427) [ 47.056500][ C3] ? 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) [ 47.056684][ C3] ? ip_route_input_noref (net/ipv4/route.c:2489) [ 47.056978][ C3] NF_HOOK.constprop.0 (./include/linux/netfilter.h:314) [ 47.057172][ C3] ? __pfx_NF_HOOK.constprop.0 (./include/linux/netfilter.h:308) [ 47.057364][ C3] ? ip_forward (net/ipv4/ip_forward.c:144) [ 47.057556][ C3] ? vrf_l3_rcv (drivers/net/vrf.c:1222 drivers/net/vrf.c:1456 drivers/net/vrf.c:1468) vrf [ 47.057855][ C3] 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) [ 47.057995][ C3] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 47.058181][ C3] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 47.058363][ C3] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 47.058671][ C3] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 47.058853][ C3] __netif_receive_skb_one_core (net/core/dev.c:5604 (discriminator 4)) [ 47.059086][ C3] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5597) [ 47.059317][ C3] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 47.059662][ C3] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 47.059845][ C3] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 47.060031][ C3] process_backlog (./include/linux/rcupdate.h:810 net/core/dev.c:6048) [ 47.060215][ C3] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 47.060399][ C3] __napi_poll.constprop.0 (net/core/dev.c:6701) [ 47.060591][ C3] net_rx_action (net/core/dev.c:6770 net/core/dev.c:6886) [ 47.060778][ C3] ? __pfx_net_rx_action (net/core/dev.c:6850) [ 47.060970][ C3] __do_softirq (kernel/softirq.c:554) [ 47.061159][ C3] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 47.061452][ C3] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 47.061599][ C3] [ 47.061693][ C3] [ 47.061785][ C3] __local_bh_enable_ip (kernel/softirq.c:382) [ 47.061969][ C3] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 47.062261][ C3] __dev_queue_xmit (net/core/dev.c:4400) [ 47.062450][ C3] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 47.062641][ C3] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 47.062824][ C3] ? __pfx_sock_alloc_send_pskb (net/core/sock.c:2767) [ 47.063121][ C3] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 47.063307][ C3] ? dev_get_by_index (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:888) [ 47.063504][ C3] packet_snd (net/packet/af_packet.c:3081) [ 47.063692][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 47.063876][ C3] ? __pfx_packet_snd (net/packet/af_packet.c:2944) [ 47.064177][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 47.064362][ C3] ? trace_raw_output_mmap_lock_acquire_returned (./include/trace/events/mmap_lock.h:52 (discriminator 2)) [ 47.064642][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 47.064938][ C3] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 47.065122][ C3] ? __pfx___sys_sendto (net/socket.c:2161) [ 47.065311][ C3] ? sock_ioctl (net/socket.c:1344) [ 47.065501][ C3] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 47.065686][ C3] ? trace_rseq_update (./include/trace/events/rseq.h:11 (discriminator 52)) [ 47.065981][ C3] ? __rseq_handle_notify_resume (kernel/rseq.c:316) [ 47.066217][ C3] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:316) [ 47.066445][ C3] __x64_sys_sendto (net/socket.c:2199) [ 47.066746][ C3] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 47.066975][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 47.067170][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 47.067399][ C3] RIP: 0033:0x7f988502985a [ 47.067827][ 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 [ 47.068500][ C3] RSP: 002b:00007ffc3d71ee08 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 47.068890][ C3] RAX: ffffffffffffffda RBX: 000000002427d9d0 RCX: 00007f988502985a [ 47.069161][ C3] RDX: 0000000000000062 RSI: 000000002427d5c2 RDI: 0000000000000005 [ 47.069439][ C3] RBP: 000000002427d5c2 R08: 00007ffc3d71ee10 R09: 0000000000000014 [ 47.069867][ C3] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage