====================================== | [ 1009.231218][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) | [ 1009.231409][ C1] | [ 1009.231491][ C1] | [ 1009.231491][ C1] stack backtrace: [ 1009.232023][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1009.232422][ C1] Call Trace: [ 1009.232552][ C1] [ 1009.232644][ C1] dump_stack_lvl (lib/dump_stack.c:117) [ 1009.232920][ C1] print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 1009.233129][ C1] ? __pfx_print_irq_inversion_bug.part.0 (kernel/locking/lockdep.c:4024) [ 1009.233339][ C1] ? __pfx_usage_skip (kernel/locking/lockdep.c:2264) [ 1009.233510][ C1] ? __pfx_usage_match (kernel/locking/lockdep.c:2256) [ 1009.233777][ C1] ? arch_stack_walk (arch/x86/kernel/stacktrace.c:26) [ 1009.233944][ C1] mark_lock_irq (kernel/locking/lockdep.c:4244) [ 1009.234113][ C1] ? __pfx_mark_lock_irq (kernel/locking/lockdep.c:4207) [ 1009.234278][ C1] ? stack_trace_save (kernel/stacktrace.c:123) [ 1009.234553][ C1] ? save_trace (kernel/locking/lockdep.c:586) [ 1009.234718][ C1] mark_lock (kernel/locking/lockdep.c:4678) [ 1009.234846][ C1] mark_usage (kernel/locking/lockdep.c:4567) [ 1009.234971][ C1] __lock_acquire (kernel/locking/lockdep.c:5091) [ 1009.235141][ C1] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 1009.235309][ C1] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1009.235477][ C1] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 1009.235644][ C1] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 1009.235811][ C1] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1009.236073][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 1009.236237][ C1] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1009.236404][ C1] _raw_read_lock_bh (./include/linux/rwlock_api_smp.h:177 kernel/locking/spinlock.c:252) [ 1009.236569][ C1] ? ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1009.236843][ C1] ipv6_get_lladdr (net/ipv6/addrconf.c:1911 net/ipv6/addrconf.c:1934) [ 1009.237013][ C1] ndisc_send_ns (net/ipv6/ndisc.c:658) [ 1009.237179][ C1] ? __pfx_ndisc_send_ns (net/ipv6/ndisc.c:653) [ 1009.237346][ C1] ? __ipv6_chk_addr_and_flags (net/ipv6/addrconf.c:2009) [ 1009.237651][ C1] ndisc_solicit (net/ipv6/ndisc.c:736) [ 1009.237820][ C1] ? __pfx_ndisc_solicit (net/ipv6/ndisc.c:736) [ 1009.237987][ C1] ? neigh_probe (net/core/neighbour.c:1074) [ 1009.238153][ C1] neigh_probe (net/core/neighbour.c:1075) [ 1009.238279][ C1] __neigh_event_send (net/core/neighbour.c:1242) [ 1009.238551][ C1] neigh_resolve_output (net/core/neighbour.c:1547) [ 1009.238716][ C1] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:387) [ 1009.238883][ C1] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 1009.239051][ C1] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 1009.239219][ C1] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 1009.239388][ C1] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 1009.239514][ C1] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 1009.239681][ C1] ? ip6_dst_mtu_maybe_forward.constprop.0 (./include/linux/rcupdate.h:339 ./include/linux/rcupdate.h:814 ./include/net/ip6_route.h:336) [ 1009.239991][ C1] 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) [ 1009.240156][ C1] ? ip6_route_input (./include/linux/skbuff.h:1163 net/ipv6/route.c:2594) [ 1009.240326][ C1] ? __pfx_ip6_forward (net/ipv6/ip6_output.c:494) [ 1009.240494][ C1] ? ip6_rcv_core (./include/linux/skbuff.h:3202 net/ipv6/ip6_input.c:291) [ 1009.240661][ C1] ? 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) [ 1009.240886][ C1] 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) [ 1009.241011][ C1] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304) [ 1009.241181][ C1] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 1009.241347][ C1] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 1009.241713][ C1] ? __pfx_ipv6_rcv (net/ipv6/ip6_input.c:304) [ 1009.241882][ C1] __netif_receive_skb_one_core (net/core/dev.c:5597) [ 1009.242090][ C1] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5597) [ 1009.242294][ C1] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 1009.242564][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 1009.242732][ C1] ? process_backlog (./include/linux/rcupdate.h:329 ./include/linux/rcupdate.h:781 net/core/dev.c:6046) [ 1009.242899][ C1] process_backlog (./include/linux/rcupdate.h:810 net/core/dev.c:6048) [ 1009.243065][ C1] __napi_poll.constprop.0 (net/core/dev.c:6701) [ 1009.243234][ C1] net_rx_action (net/core/dev.c:6770 net/core/dev.c:6886) [ 1009.243400][ C1] ? __pfx_net_rx_action (net/core/dev.c:6850) [ 1009.243563][ C1] ? usage_skip (kernel/locking/lockdep.c:2295 kernel/locking/lockdep.c:2263) [ 1009.243730][ C1] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 1009.243896][ C1] __do_softirq (kernel/softirq.c:554) [ 1009.244159][ C1] ? __neigh_event_send (./include/linux/bottom_half.h:33 net/core/neighbour.c:1245) [ 1009.244321][ C1] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 1009.244443][ C1] [ 1009.244529][ C1] [ 1009.244613][ C1] __local_bh_enable_ip (kernel/softirq.c:382) [ 1009.244878][ C1] __neigh_event_send (net/core/neighbour.c:1246) [ 1009.245042][ C1] neigh_resolve_output (net/core/neighbour.c:1547) [ 1009.245205][ C1] ? __local_bh_enable_ip (./arch/x86/include/asm/irqflags.h:42 ./arch/x86/include/asm/irqflags.h:77 kernel/softirq.c:387) [ 1009.245366][ C1] ? ___neigh_create (net/core/neighbour.c:722 (discriminator 9)) [ 1009.245631][ C1] ip6_finish_output2 (./include/net/neighbour.h:542 net/ipv6/ip6_output.c:137) [ 1009.245794][ C1] ip6_finish_output (net/ipv6/ip6_output.c:211 net/ipv6/ip6_output.c:222) [ 1009.245958][ C1] ip6_output (./include/linux/netfilter.h:303 net/ipv6/ip6_output.c:243) [ 1009.246080][ C1] ? __pfx___ip6_make_skb (net/ipv6/ip6_output.c:1873) [ 1009.246247][ C1] ? __pfx_ip6_output (net/ipv6/ip6_output.c:230) [ 1009.246511][ C1] ? ip6_local_out (net/ipv6/output_core.c:154) [ 1009.246683][ C1] ip6_send_skb (net/ipv6/ip6_output.c:1956) [ 1009.246850][ C1] rawv6_push_pending_frames (net/ipv6/raw.c:512) [ 1009.247015][ C1] ? __pfx_raw6_getfrag (net/ipv6/raw.c:711) [ 1009.247280][ C1] ? ip6_append_data (net/ipv6/ip6_output.c:1835) [ 1009.247446][ C1] ? __pfx_rawv6_push_pending_frames (net/ipv6/raw.c:512) [ 1009.247651][ C1] rawv6_sendmsg (net/ipv6/raw.c:926) [ 1009.247820][ C1] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 1009.248083][ C1] ? __pfx_rawv6_sendmsg (net/ipv6/raw.c:741) [ 1009.248246][ C1] ? __lock_acquire (kernel/locking/lockdep.c:5137) [ 1009.248410][ C1] ? hlock_class (./arch/x86/include/asm/bitops.h:227 ./arch/x86/include/asm/bitops.h:239 ./include/asm-generic/bitops/instrumented-non-atomic.h:142 kernel/locking/lockdep.c:228) [ 1009.248573][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 1009.248836][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 1009.249005][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 1009.249176][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 1009.249341][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 1009.249517][ C1] ? __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 1009.249784][ C1] __sys_sendto (net/socket.c:730 net/socket.c:745 net/socket.c:2191) [ 1009.249951][ C1] ? __pfx___sys_sendto (net/socket.c:2161) [ 1009.250118][ C1] ? find_held_lock (kernel/locking/lockdep.c:5244) [ 1009.250282][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 1009.250553][ C1] ? lock_acquire (kernel/locking/lockdep.c:5727) [ 1009.250721][ C1] ? __might_fault (mm/memory.c:6216 mm/memory.c:6209) [ 1009.250888][ C1] ? trace_rseq_update (./include/trace/events/rseq.h:11 (discriminator 52)) [ 1009.251058][ C1] ? __rseq_handle_notify_resume (kernel/rseq.c:316) [ 1009.251271][ C1] ? __pfx___rseq_handle_notify_resume (kernel/rseq.c:316) [ 1009.251479][ C1] __x64_sys_sendto (net/socket.c:2199) [ 1009.251649][ C1] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359) [ 1009.251858][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 1009.252123][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 1009.252353][ C1] RIP: 0033:0x7f58b5a4285a [ 1009.252525][ 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 [ 1009.253177][ C1] RSP: 002b:00007ffeba2c5098 EFLAGS: 00000246 ORIG_RAX: 000000000000002c [ 1009.253411][ C1] RAX: ffffffffffffffda RBX: 0000000000000038 RCX: 00007f58b5a4285a [ 1009.253748][ C1] RDX: 0000000000000040 RSI: 000000003f33d340 RDI: 0000000000000006 [ 1009.253983][ C1] RBP: 00007ffeba2c5120 R08: 0000000000418574 R09: 000000000000001c [ 1009.254219][ C1] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000419ac0 Finger prints: dump_stack_lvl:mark_lock_irq:mark_lock:mark_usage