====================================== | [ 48.565533][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 48.565865][ C2] | [ 48.565998][ C2] | [ 48.565998][ C2] stack backtrace: [ 48.566917][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 48.567514][ C2] Call Trace: [ 48.567915][ C2] [ 48.568057][ C2] dump_stack_lvl (lib/dump_stack.c:117) [ 48.568347][ C2] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 48.568683][ C2] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 48.569041][ C2] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 48.569494][ C2] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 48.569779][ C2] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 48.570050][ C2] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 48.570320][ C2] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 48.570764][ C2] ? stack_trace_save (kernel/stacktrace.c:123) [ 48.571036][ C2] ? save_trace (kernel/locking/lockdep.c:586) [ 48.571324][ C2] mark_lock (kernel/locking/lockdep.c:4678) [ 48.571528][ C2] mark_usage (kernel/locking/lockdep.c:4567) [ 48.571731][ C2] __lock_acquire (kernel/locking/lockdep.c:5091) [ 48.572179][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 48.572449][ C2] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 48.572733][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 48.573012][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 48.573476][ C2] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 48.573749][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 48.574013][ C2] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 48.574314][ C2] _raw_read_lock_bh (./include/linux/rwlock_api_smp.h:177 kernel/locking/spinlock.c:252) [ 48.574770][ C2] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 48.575037][ C2] ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 48.575313][ C2] ndisc_send_ns (net/ipv6/ndisc.c:658) [ 48.575586][ C2] ? __pfx_ndisc_send_ns (net/ipv6/ndisc.c:653) [ 48.576034][ C2] ? __ipv6_chk_addr_and_flags (net/ipv6/addrconf.c:2009) [ 48.576374][ C2] ndisc_solicit (net/ipv6/ndisc.c:736) [ 48.576644][ C2] ? __pfx_ndisc_solicit (net/ipv6/ndisc.c:736) [ 48.576911][ C2] ? neigh_probe (net/core/neighbour.c:1074) [ 48.577367][ C2] neigh_probe (net/core/neighbour.c:1075) [ 48.577570][ C2] __neigh_event_send (net/core/neighbour.c:1242) [ 48.577844][ C2] ? do_raw_write_lock (kernel/locking/spinlock_debug.c:188 kernel/locking/spinlock_debug.c:210) [ 48.578113][ C2] ? __pfx_do_raw_write_lock (kernel/locking/spinlock_debug.c:209) [ 48.578382][ C2] neigh_resolve_output (net/core/neighbour.c:1547) [ 48.579011][ C2] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:387) [ 48.579280][ C2] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 48.579552][ C2] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 48.579828][ C2] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 48.580276][ C2] ? __pfx_flow_hash_from_keys (net/core/flow_dissector.c:1789) [ 48.580551][ C2] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 48.580756][ C2] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 48.581020][ C2] ? vrf_l3_out (drivers/net/vrf.c:1035) vrf [ 48.581313][ C2] ? ip6_local_out (net/ipv6/output_core.c:154) [ 48.581762][ C2] ip6tunnel_xmit.constprop.0 (./include/net/ip6_tunnel.h:163) ip6_tunnel [ 48.582112][ C2] ip6_tnl_xmit (net/ipv6/ip6_tunnel.c:1279) ip6_tunnel [ 48.582457][ C2] ? __kasan_kmalloc (mm/kasan/common.c:391) [ 48.582910][ C2] ? trace_kmalloc (./include/trace/events/kmem.h:54 (discriminator 52)) [ 48.583199][ C2] ? sk_getsockopt (net/core/sock.c:1940 (discriminator 2)) [ 48.583469][ C2] ? __pfx_ip6_tnl_xmit (net/ipv6/ip6_tunnel.c:1085) ip6_tunnel [ 48.583811][ C2] ? 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) [ 48.584274][ C2] ? __pfx_pskb_expand_head (net/core/skbuff.c:2202) [ 48.584543][ C2] ? __ipv6_chk_addr_and_flags (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/ipv6/addrconf.c:2007) [ 48.584883][ C2] ? __gre6_xmit (net/ipv6/ip6_gre.c:812) ip6_gre [ 48.585161][ C2] __gre6_xmit (net/ipv6/ip6_gre.c:812) ip6_gre [ 48.585624][ C2] ? __pfx___gre6_xmit (net/ipv6/ip6_gre.c:747) ip6_gre [ 48.585981][ C2] ip6gre_tunnel_xmit (net/ipv6/ip6_gre.c:838 net/ipv6/ip6_gre.c:919) ip6_gre [ 48.586329][ C2] ? __pfx_ip6gre_tunnel_xmit (net/ipv6/ip6_gre.c:905) ip6_gre [ 48.586666][ C2] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 48.587113][ C2] ? __lock_release (kernel/locking/lockdep.c:5430) [ 48.587379][ C2] ? dev_queue_xmit_nit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:2332) [ 48.587649][ C2] ? dev_queue_xmit_nit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:2332) [ 48.587917][ C2] ? __pfx_qdisc_pkt_len_init (net/core/dev.c:3712) [ 48.588380][ C2] ? dev_queue_xmit_nit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:2332) [ 48.588652][ C2] dev_hard_start_xmit (./include/linux/netdevice.h:4875 ./include/linux/netdevice.h:4889 net/core/dev.c:3563 net/core/dev.c:3579) [ 48.588921][ C2] ? validate_xmit_skb.constprop.0 (net/core/dev.c:3634) [ 48.589254][ C2] __dev_queue_xmit (net/core/dev.h:167 net/core/dev.c:4373) [ 48.589701][ C2] ? 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) [ 48.589969][ C2] ? __pfx_do_raw_write_lock (kernel/locking/spinlock_debug.c:209) [ 48.590243][ C2] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 48.590514][ C2] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 48.590960][ C2] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 48.591229][ C2] ip_finish_output2 (./include/net/neighbour.h:542 net/ipv4/ip_output.c:235) [ 48.591496][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359) [ 48.591834][ C2] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199) [ 48.592285][ C2] ? __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) [ 48.592556][ C2] ip_output (./include/linux/netfilter.h:303 net/ipv4/ip_output.c:433) [ 48.592760][ C2] ? __pfx_ip_output (net/ipv4/ip_output.c:427) [ 48.593037][ C2] ? 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) [ 48.593312][ C2] ? ip_route_input_noref (net/ipv4/route.c:2489) [ 48.593790][ C2] NF_HOOK.constprop.0 (./include/linux/netfilter.h:314) [ 48.594061][ C2] ? __pfx_NF_HOOK.constprop.0 (./include/linux/netfilter.h:308) [ 48.594274][ C2] ? ip_forward (net/ipv4/ip_forward.c:144) [ 48.594462][ C2] ? vrf_l3_rcv (drivers/net/vrf.c:1222 drivers/net/vrf.c:1456 drivers/net/vrf.c:1468) vrf [ 48.594763][ C2] 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) [ 48.594901][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 48.595081][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 48.595269][ C2] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 48.595454][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 48.595748][ C2] __netif_receive_skb_one_core (net/core/dev.c:5604 (discriminator 4)) [ 48.595981][ C2] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5597) [ 48.596209][ C2] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 48.596499][ C2] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 48.596676][ C2] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 48.596854][ C2] process_backlog (./include/linux/rcupdate.h:810 net/core/dev.c:6048) [ 48.597040][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 48.597221][ C2] __napi_poll.constprop.0 (net/core/dev.c:6701) [ 48.597510][ C2] net_rx_action (net/core/dev.c:6770 net/core/dev.c:6886) [ 48.597692][ C2] ? __pfx_net_rx_action (net/core/dev.c:6850) [ 48.597874][ C2] ? __pfx_tmigr_handle_remote (kernel/time/timer_migration.c:1026) [ 48.598060][ C2] __do_softirq (kernel/softirq.c:554) [ 48.598470][ C2] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 48.598652][ C2] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 48.598793][ C2] [ 48.598887][ C2] [ 48.598981][ C2] __local_bh_enable_ip (kernel/softirq.c:382) [ 48.599272][ C2] ? __dev_queue_xmit (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:849 net/core/dev.c:4399) [ 48.599459][ C2] __dev_queue_xmit (net/core/dev.c:4400) [ 48.599642][ C2] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 48.599824][ C2] ? packet_parse_headers (./include/linux/skbuff.h:3028 net/packet/af_packet.c:1944) [ 48.600008][ C2] ? __pfx_sock_alloc_send_pskb (net/core/sock.c:2767) [ 48.600310][ C2] ? __pfx___dev_queue_xmit (net/core/dev.c:4281) [ 48.600495][ C2] ? dev_get_by_index (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 net/core/dev.c:888) [ 48.600680][ C2] packet_snd (net/packet/af_packet.c:3081) [ 48.600864][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406) [ 48.601160][ C2] ? __pfx_packet_snd (net/packet/af_packet.c:2944) [ 48.601345][ C2] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 48.601531][ C2] ? trace_raw_output_mmap_lock_acquire_returned (./include/trace/events/mmap_lock.h:52 (discriminator 2)) [ 48.601804][ C2] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 48.602101][ C2] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 48.602288][ C2] ? __pfx___sys_sendto (net/socket.c:2161) [ 48.602476][ C2] ? sock_ioctl (net/socket.c:1344) [ 48.602656][ C2] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 48.602950][ C2] ? trace_rseq_update (./include/trace/events/rseq.h:11 (discriminator 52)) [ 48.603132][ C2] ? __rseq_handle_notify_resume (kernel/rseq.c:316) [ 48.603356][ C2] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:316) [ 48.603580][ C2] __x64_sys_sendto (net/socket.c:2199) [ 48.603871][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 48.604127][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 48.604311][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 48.604644][ C2] RIP: 0033:0x7fa02c46285a [ 48.604840][ C2] 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 [ 48.605595][ C2] RSP: 002b:00007ffe19a75a58 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 48.605870][ C2] RAX: ffffffffffffffda RBX: 000000000e77d9d0 RCX: 00007fa02c46285a [ 48.606140][ C2] RDX: 0000000000000062 RSI: 000000000e77d5c2 RDI: 0000000000000005 [ 48.606524][ C2] RBP: 000000000e77d5c2 R08: 00007ffe19a75a60 R09: 0000000000000014 [ 48.606799][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage