====================================== | [ 2247.580281][ C2] #6: ffffffff88f447e0 (rcu_read_lock){....}-{1:2}, at: netif_receive_skb_internal (./include/linux/rcupdate.h:298 (discriminator 16) ./include/linux/rcupdate.h:750 (discriminator 16) net/core/dev.c:5729 (discriminator 16)) | [ 2247.580824][ C2] #7: ffffffff88f447e0 (rcu_read_lock){....}-{1:2}, at: ip_local_deliver_finish (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/ipv4/ip_input.c:232) | [ 2247.581360][ C2] | [ 2247.581360][ C2] stack backtrace: [ 2247.582055][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 2247.582685][ C2] Call Trace: [ 2247.582877][ C2] [ 2247.583026][ C2] dump_stack_lvl (lib/dump_stack.c:107) [ 2247.583277][ C2] validate_chain (kernel/locking/lockdep.c:3859) [ 2247.583545][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 2247.583827][ C2] ? 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) [ 2247.584063][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 2247.584301][ C2] __lock_acquire (kernel/locking/lockdep.c:5137) [ 2247.584587][ C2] ? lock_downgrade (kernel/locking/lockdep.c:5656) [ 2247.584970][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3)) [ 2247.585328][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 2247.585690][ C2] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326) [ 2247.585956][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 2247.586244][ C2] ? __pfx_sk_filter_trim_cap (net/core/filter.c:130) [ 2247.586543][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 2247.586808][ C2] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326) [ 2247.587050][ C2] _raw_spin_lock_nested (kernel/locking/spinlock.c:379) [ 2247.587325][ C2] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326) [ 2247.587580][ C2] tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326) [ 2247.587840][ C2] ? __pfx_tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2162) [ 2247.588095][ C2] ? __pfx_raw_v4_input (net/ipv4/raw.c:165) [ 2247.588366][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 2247.588670][ C2] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:207 (discriminator 8)) [ 2247.588965][ C2] ip_local_deliver_finish (./include/linux/rcupdate.h:779 net/ipv4/ip_input.c:234) [ 2247.589248][ C2] ip_local_deliver (./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:254) [ 2247.589511][ C2] ? __pfx_ip_local_deliver (net/ipv4/ip_input.c:243) [ 2247.589802][ C2] ? tcp_v4_early_demux (./include/linux/skbuff.h:1163 net/ipv4/tcp_ipv4.c:1988) [ 2247.590086][ C2] ? ip_rcv_finish_core.constprop.0 (./include/linux/skbuff.h:1131 ./include/linux/skbuff.h:1183 net/ipv4/ip_input.c:390) [ 2247.590427][ C2] ip_rcv (./include/net/dst.h:460 net/ipv4/ip_input.c:449 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:569) [ 2247.590648][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 2247.590899][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 2247.591165][ C2] ? netif_receive_skb_internal (./include/linux/rcupdate.h:298 (discriminator 16) ./include/linux/rcupdate.h:750 (discriminator 16) net/core/dev.c:5729 (discriminator 16)) [ 2247.591476][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 2247.591726][ C2] __netif_receive_skb_one_core (net/core/dev.c:5542 (discriminator 4)) [ 2247.592044][ C2] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5535) [ 2247.592382][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 2247.592643][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 2247.592899][ C2] ? netif_receive_skb_internal (./include/linux/rcupdate.h:298 (discriminator 16) ./include/linux/rcupdate.h:750 (discriminator 16) net/core/dev.c:5729 (discriminator 16)) [ 2247.593196][ C2] netif_receive_skb_internal (net/core/dev.c:5742) [ 2247.593495][ C2] ? __pfx_netif_receive_skb_internal (net/core/dev.c:5721) [ 2247.593832][ C2] ? __copy_skb_header (./include/net/dst.h:290 net/core/skbuff.c:1420) [ 2247.594111][ C2] ? __skb_clone (./arch/x86/include/asm/atomic.h:53 (discriminator 4) ./include/linux/atomic/atomic-arch-fallback.h:992 (discriminator 4) ./include/linux/atomic/atomic-instrumented.h:436 (discriminator 4) net/core/skbuff.c:1491 (discriminator 4)) [ 2247.594369][ C2] netif_receive_skb (net/core/dev.c:5801) [ 2247.594637][ C2] tcf_mirred_to_dev (net/sched/act_mirred.c:251 net/sched/act_mirred.c:326) act_mirred [ 2247.594963][ C2] ? __pfx_tcf_skbedit_act (net/sched/act_skbedit.c:43) act_skbedit [ 2247.595310][ C2] tcf_mirred_act (net/sched/act_mirred.c:461 (discriminator 2)) act_mirred [ 2247.595624][ C2] tcf_action_exec.part.0 (./include/net/tc_wrapper.h:130 net/sched/act_api.c:1100) [ 2247.595920][ C2] fl_classify (net/sched/cls_flower.c:345) cls_flower [ 2247.596226][ C2] ? __pfx_fl_classify (net/sched/cls_flower.c:316) cls_flower [ 2247.596551][ C2] ? __pfx_check_irq_usage (kernel/locking/lockdep.c:2790) [ 2247.596844][ C2] ? __bfs (kernel/locking/lockdep.c:1787) [ 2247.597055][ C2] ? __pfx_hlock_conflict (kernel/locking/lockdep.c:2016) [ 2247.597339][ C2] ? check_path.constprop.0 (kernel/locking/lockdep.c:2145) [ 2247.597634][ C2] ? check_noncircular (kernel/locking/lockdep.c:2172) [ 2247.597911][ C2] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2163) [ 2247.598191][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825) [ 2247.598470][ C2] ? 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) [ 2247.598722][ C2] ? 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) [ 2247.598968][ C2] ? check_prev_add (kernel/locking/lockdep.c:3172) [ 2247.599220][ C2] __tcf_classify (./include/net/tc_wrapper.h:197 net/sched/cls_api.c:1734) [ 2247.599478][ C2] tcf_classify (net/sched/cls_api.c:1830) [ 2247.599724][ C2] ? __pfx_tcf_classify (net/sched/cls_api.c:1779) [ 2247.599996][ C2] ? __dev_queue_xmit (./include/linux/bottom_half.h:20 ./include/linux/rcupdate.h:802 net/core/dev.c:4284) [ 2247.600258][ C2] ? __dev_queue_xmit (./include/linux/bottom_half.h:20 ./include/linux/rcupdate.h:802 net/core/dev.c:4284) [ 2247.600542][ C2] tc_run (net/core/dev.c:3945) [ 2247.600764][ C2] ? __pfx_tc_run (net/core/dev.c:3929) [ 2247.601010][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 2247.601253][ C2] ? __dev_queue_xmit (./include/linux/bottom_half.h:20 ./include/linux/rcupdate.h:802 net/core/dev.c:4284) [ 2247.601539][ C2] __dev_queue_xmit (net/core/dev.c:4069 net/core/dev.c:4301) [ 2247.601807][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 2247.602055][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359) [ 2247.602414][ C2] ? __pfx___dev_queue_xmit (net/core/dev.c:4268) [ 2247.602703][ C2] ? neigh_hh_output (./include/linux/seqlock.h:74 ./include/linux/seqlock.h:772 ./include/net/neighbour.h:496) [ 2247.602974][ C2] ip_finish_output2 (./include/net/neighbour.h:540 net/ipv4/ip_output.c:235) [ 2247.603233][ C2] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199) [ 2247.603528][ C2] ? __ip_finish_output (net/ipv4/ip_output.c:256 net/ipv4/ip_output.c:308 net/ipv4/ip_output.c:295) [ 2247.603809][ C2] ip_output (./include/linux/netfilter.h:303 net/ipv4/ip_output.c:433) [ 2247.604027][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274) [ 2247.604285][ C2] ? __pfx_ip_output (net/ipv4/ip_output.c:427) [ 2247.604548][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 2247.604849][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359) [ 2247.605192][ C2] ? ip_local_out (./include/linux/skbuff.h:1131 ./include/net/dst.h:450 net/ipv4/ip_output.c:129) [ 2247.605443][ C2] __ip_queue_xmit (net/ipv4/ip_output.c:535 (discriminator 4)) [ 2247.605709][ C2] ? __skb_clone (./arch/x86/include/asm/atomic.h:53 (discriminator 4) ./include/linux/atomic/atomic-arch-fallback.h:992 (discriminator 4) ./include/linux/atomic/atomic-instrumented.h:436 (discriminator 4) net/core/skbuff.c:1491 (discriminator 4)) [ 2247.605960][ C2] __tcp_transmit_skb (net/ipv4/tcp_output.c:1462 (discriminator 4)) [ 2247.606257][ C2] ? __pfx___tcp_transmit_skb (net/ipv4/tcp_output.c:1283) [ 2247.606553][ C2] ? tcp_small_queue_check.isra.0 (./arch/x86/include/asm/atomic.h:23 ./include/linux/atomic/atomic-arch-fallback.h:457 ./include/linux/atomic/atomic-instrumented.h:33 ./include/linux/refcount.h:136 net/ipv4/tcp_output.c:2623) [ 2247.606880][ C2] tcp_write_xmit (net/ipv4/tcp_output.c:2792) [ 2247.607128][ C2] ? ipv4_mtu (./include/net/net_namespace.h:383 ./include/linux/netdevice.h:2651 ./include/net/ip.h:465 net/ipv4/route.c:1326) [ 2247.607358][ C2] ? __pfx_tcp_write_xmit (net/ipv4/tcp_output.c:2702) [ 2247.607636][ C2] ? __pfx_tcp_current_mss (net/ipv4/tcp_output.c:1853) [ 2247.607923][ C2] __tcp_push_pending_frames (net/ipv4/tcp_output.c:2977) [ 2247.608210][ C2] tcp_rcv_state_process (net/ipv4/tcp_input.c:5654 net/ipv4/tcp_input.c:6870) [ 2247.608498][ C2] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326) [ 2247.608753][ C2] ? 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) [ 2247.609000][ C2] ? __lock_acquired (kernel/locking/lockdep.c:339 kernel/locking/lockdep.c:5991) [ 2247.609253][ C2] ? __pfx_tcp_rcv_state_process (net/ipv4/tcp_input.c:6620) [ 2247.609564][ C2] ? __pfx___lock_acquired (kernel/locking/lockdep.c:5959) [ 2247.609849][ C2] ? __pfx_do_raw_spin_trylock (kernel/locking/spinlock_debug.c:122) [ 2247.610139][ C2] tcp_v4_do_rcv (net/ipv4/tcp_ipv4.c:1929) [ 2247.610385][ C2] tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2329) [ 2247.610636][ C2] ? __pfx_tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2162) [ 2247.610897][ C2] ? __pfx_raw_v4_input (net/ipv4/raw.c:165) [ 2247.611154][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719) [ 2247.611453][ C2] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:207 (discriminator 8)) [ 2247.611744][ C2] ip_local_deliver_finish (./include/linux/rcupdate.h:779 net/ipv4/ip_input.c:234) [ 2247.612038][ C2] ip_local_deliver (./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:254) [ 2247.612289][ C2] ? __pfx_ip_local_deliver (net/ipv4/ip_input.c:243) [ 2247.612588][ C2] ? tcp_v4_early_demux (./include/linux/skbuff.h:1163 net/ipv4/tcp_ipv4.c:1988) [ 2247.612871][ C2] ? ip_rcv_finish_core.constprop.0 (./include/linux/skbuff.h:1131 ./include/linux/skbuff.h:1183 net/ipv4/ip_input.c:390) [ 2247.613194][ C2] ip_rcv (./include/net/dst.h:460 net/ipv4/ip_input.c:449 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:569) [ 2247.613409][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 2247.613664][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756) [ 2247.613946][ C2] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:5983) [ 2247.614201][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 2247.614448][ C2] __netif_receive_skb_one_core (net/core/dev.c:5542 (discriminator 4)) [ 2247.614773][ C2] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5535) [ 2247.615114][ C2] ? __pfx_do_raw_spin_trylock (kernel/locking/spinlock_debug.c:122) [ 2247.615403][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 2247.615676][ C2] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:5983) [ 2247.616081][ C2] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:5985) [ 2247.616473][ C2] __napi_poll.constprop.0 (net/core/dev.c:6584) [ 2247.616909][ C2] net_rx_action (net/core/dev.c:6653 net/core/dev.c:6786) [ 2247.617292][ C2] ? __pfx_net_rx_action (net/core/dev.c:6750) [ 2247.617607][ C2] ? kvm_clock_get_cycles (./arch/x86/include/asm/preempt.h:94 arch/x86/kernel/kvmclock.c:80 arch/x86/kernel/kvmclock.c:86) [ 2247.617892][ C2] ? ktime_get (./include/linux/seqlock.h:71 kernel/time/timekeeping.c:846) [ 2247.618136][ C2] ? hrtimer_interrupt (kernel/time/hrtimer.c:1827) [ 2247.618416][ C2] ? clockevents_program_event (kernel/time/clockevents.c:334 (discriminator 3)) [ 2247.618733][ C2] __do_softirq (kernel/softirq.c:553) [ 2247.618983][ C2] irq_exit_rcu (kernel/softirq.c:427 kernel/softirq.c:632 kernel/softirq.c:644) [ 2247.619227][ C2] sysvec_apic_timer_interrupt (arch/x86/kernel/apic/apic.c:1076 (discriminator 14)) [ 2247.619533][ C2] [ 2247.619702][ C2] [ 2247.619853][ C2] asm_sysvec_apic_timer_interrupt (./arch/x86/include/asm/idtentry.h:649) [ 2247.620178][ C2] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 2247.620524][ C2] Code: 10 e8 91 59 a6 fd 48 89 ef e8 a9 e1 a6 fd 81 e3 00 02 00 00 75 1d 9c 58 f6 c4 02 75 29 48 85 db 74 01 fb 65 ff 0d 25 d6 57 78 <74> 0e 5b 5d c3 cc cc cc cc e8 2f a2 c8 fd eb dc 0f 1f 44 00 00 5b All code ======== 0: 10 e8 adc %ch,%al 2: 91 xchg %eax,%ecx 3: 59 pop %rcx 4: a6 cmpsb %es:(%rdi),%ds:(%rsi) 5: fd std 6: 48 89 ef mov %rbp,%rdi 9: e8 a9 e1 a6 fd call 0xfffffffffda6e1b7 e: 81 e3 00 02 00 00 and $0x200,%ebx 14: 75 1d jne 0x33 16: 9c pushf 17: 58 pop %rax 18: f6 c4 02 test $0x2,%ah 1b: 75 29 jne 0x46 1d: 48 85 db test %rbx,%rbx 20: 74 01 je 0x23 22: fb sti 23: 65 ff 0d 25 d6 57 78 decl %gs:0x7857d625(%rip) # 0x7857d64f 2a:* 74 0e je 0x3a <-- trapping instruction 2c: 5b pop %rbx 2d: 5d pop %rbp 2e: c3 ret 2f: cc int3 30: cc int3 31: cc int3 32: cc int3 33: e8 2f a2 c8 fd call 0xfffffffffdc8a267 38: eb dc jmp 0x16 3a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 3f: 5b pop %rbx Code starting with the faulting instruction =========================================== 0: 74 0e je 0x10 2: 5b pop %rbx 3: 5d pop %rbp 4: c3 ret 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: e8 2f a2 c8 fd call 0xfffffffffdc8a23d e: eb dc jmp 0xffffffffffffffec 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: 5b pop %rbx [ 2247.621520][ C2] RSP: 0018:ffffc90000207b80 EFLAGS: 00000286 [ 2247.621857][ C2] RAX: 0000000000000002 RBX: 0000000000000200 RCX: 1ffffffff131ba51 [ 2247.622259][ C2] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff87c7e0b1 [ 2247.622684][ C2] RBP: ffff8880063b8ef8 R08: 0000000000000001 R09: fffffbfff131c0da [ 2247.623083][ C2] R10: ffffffff898e06d7 R11: ffff888035bfc348 R12: 0000000000000000 [ 2247.623484][ C2] R13: ffff8880063b8ef8 R14: 0000000000000292 R15: ffffc90000207cb0 [ 2247.623899][ C2] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 2247.624199][ C2] prepare_to_wait_event (kernel/sched/wait.c:303 (discriminator 14)) [ 2247.624478][ C2] pipe_write (fs/pipe.c:589 (discriminator 9)) [ 2247.624723][ C2] ? 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) [ 2247.624970][ C2] ? __pfx_pipe_write (fs/pipe.c:439) [ 2247.625219][ C2] ? __mark_inode_dirty (./include/trace/events/writeback.h:141 fs/fs-writeback.c:2454) [ 2247.625508][ C2] ? __pfx_autoremove_wake_function (kernel/sched/wait.c:383) [ 2247.625831][ C2] ? __up_write (./arch/x86/include/asm/atomic64_64.h:91 ./include/linux/atomic/atomic-arch-fallback.h:2838 ./include/linux/atomic/atomic-long.h:268 ./include/linux/atomic/atomic-instrumented.h:3363 kernel/locking/rwsem.c:1374) [ 2247.626063][ C2] vfs_write (./include/linux/fs.h:2085 fs/read_write.c:497 fs/read_write.c:590) [ 2247.626303][ C2] ? __pfx_vfs_write (fs/read_write.c:571) [ 2247.626562][ C2] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145) [ 2247.626809][ C2] ksys_write (fs/read_write.c:643) [ 2247.627031][ C2] ? __pfx_ksys_write (fs/read_write.c:633) [ 2247.627298][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 2247.627541][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 2247.627854][ C2] RIP: 0033:0x7f883fa5f957 [ 2247.628086][ C2] Code: 0b 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24 All code ======== 0: 0b 00 or (%rax),%eax 2: f7 d8 neg %eax 4: 64 89 02 mov %eax,%fs:(%rdx) 7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax e: eb b7 jmp 0xffffffffffffffc7 10: 0f 1f 00 nopl (%rax) 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 23: b8 01 00 00 00 mov $0x1,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 51 ja 0x83 32: c3 ret 33: 48 83 ec 28 sub $0x28,%rsp 37: 48 89 54 24 18 mov %rdx,0x18(%rsp) 3c: 48 rex.W 3d: 89 .byte 0x89 3e: 74 24 je 0x64 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 28 sub $0x28,%rsp d: 48 89 54 24 18 mov %rdx,0x18(%rsp) 12: 48 rex.W 13: 89 .byte 0x89 14: 74 24 je 0x3a [ 2247.629080][ C2] RSP: 002b:00007ffee9b688d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 2247.629505][ C2] RAX: ffffffffffffffda RBX: 0000556387dc6a20 RCX: 00007f883fa5f957 [ 2247.629925][ C2] RDX: 0000000000002000 RSI: 00007ffee9b688f0 RDI: 0000000000000001 [ 2247.630329][ C2] RBP: 0000000000000008 R08: 0000000000000000 R09: 0000000000000000 [ 2247.630750][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000002000 [ 2247.631153][ C2] R13: 00007ffee9b688f0 R14: 0000000000000000 R15: 00007ffee9b688ec | [ 2247.630750][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000002000 | [ 2247.631153][ C2] R13: 00007ffee9b688f0 R14: 0000000000000000 R15: 00007ffee9b688ec | [ 2247.631562][ C2] | [ 2250.940564][ C1] irq 4: nobody cared (try booting with the "irqpoll" option) [ 2250.941341][ C1] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 2250.941960][ C1] Call Trace: [ 2250.942134][ C1] [ 2250.942289][ C1] dump_stack_lvl (lib/dump_stack.c:107) [ 2250.942532][ C1] __report_bad_irq (kernel/irq/spurious.c:214) [ 2250.942794][ C1] note_interrupt (kernel/irq/spurious.c:423) [ 2250.943040][ C1] handle_irq_event (kernel/irq/handle.c:198 kernel/irq/handle.c:210) [ 2250.943294][ C1] handle_edge_irq (kernel/irq/chip.c:833) [ 2250.943541][ C1] __common_interrupt (./include/linux/irqdesc.h:161 arch/x86/kernel/irq.c:238 arch/x86/kernel/irq.c:257) [ 2250.943803][ C1] common_interrupt (arch/x86/kernel/irq.c:247 (discriminator 14)) [ 2250.944046][ C1] [ 2250.944199][ C1] [ 2250.944349][ C1] asm_common_interrupt (./arch/x86/include/asm/idtentry.h:640) [ 2250.944612][ C1] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 2250.944941][ C1] Code: 10 e8 91 59 a6 fd 48 89 ef e8 a9 e1 a6 fd 81 e3 00 02 00 00 75 1d 9c 58 f6 c4 02 75 29 48 85 db 74 01 fb 65 ff 0d 25 d6 57 78 <74> 0e 5b 5d c3 cc cc cc cc e8 2f a2 c8 fd eb dc 0f 1f 44 00 00 5b All code ======== 0: 10 e8 adc %ch,%al 2: 91 xchg %eax,%ecx 3: 59 pop %rcx 4: a6 cmpsb %es:(%rdi),%ds:(%rsi) 5: fd std 6: 48 89 ef mov %rbp,%rdi 9: e8 a9 e1 a6 fd call 0xfffffffffda6e1b7 e: 81 e3 00 02 00 00 and $0x200,%ebx 14: 75 1d jne 0x33 16: 9c pushf 17: 58 pop %rax 18: f6 c4 02 test $0x2,%ah 1b: 75 29 jne 0x46 1d: 48 85 db test %rbx,%rbx 20: 74 01 je 0x23 22: fb sti 23: 65 ff 0d 25 d6 57 78 decl %gs:0x7857d625(%rip) # 0x7857d64f 2a:* 74 0e je 0x3a <-- trapping instruction 2c: 5b pop %rbx 2d: 5d pop %rbp 2e: c3 ret 2f: cc int3 30: cc int3 31: cc int3 32: cc int3 33: e8 2f a2 c8 fd call 0xfffffffffdc8a267 38: eb dc jmp 0x16 3a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 3f: 5b pop %rbx Code starting with the faulting instruction =========================================== 0: 74 0e je 0x10 2: 5b pop %rbx 3: 5d pop %rbp 4: c3 ret 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: e8 2f a2 c8 fd call 0xfffffffffdc8a23d e: eb dc jmp 0xffffffffffffffec 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: 5b pop %rbx [ 2250.945924][ C1] RSP: 0018:ffffc900015cfa88 EFLAGS: 00000286 [ 2250.946237][ C1] RAX: 0000000000000046 RBX: 0000000000000200 RCX: 1ffffffff131c323 [ 2250.946641][ C1] RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff87c7e0b1 [ 2250.947046][ C1] RBP: ffffffff8ba24860 R08: 0000000000000000 R09: fffffbfff131c0da [ 2250.947450][ C1] R10: ffffffff898e06d7 R11: 0000000000000000 R12: 0000000000000a93 [ 2250.947852][ C1] R13: ffffffff8ba24970 R14: ffffffff8ba24860 R15: ffff888004900000 [ 2250.948258][ C1] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 2250.948559][ C1] uart_write (drivers/tty/serial/serial_core.c:74 drivers/tty/serial/serial_core.c:616) [ 2250.948797][ C1] process_output_block (drivers/tty/n_tty.c:574) [ 2250.949067][ C1] ? trace_irq_enable.constprop.0 (./include/trace/events/preemptirq.h:40) [ 2250.949386][ C1] n_tty_write (drivers/tty/n_tty.c:2380) [ 2250.949619][ C1] ? __pfx_n_tty_write (drivers/tty/n_tty.c:2350) [ 2250.949875][ C1] ? __pfx_woken_wake_function (kernel/sched/wait.c:439) [ 2250.950165][ C1] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 2250.950409][ C1] ? iterate_tty_write (drivers/tty/tty_io.c:954 drivers/tty/tty_io.c:973) [ 2250.950669][ C1] iterate_tty_write (drivers/tty/tty_io.c:1021) [ 2250.950929][ C1] file_tty_write.constprop.0 (drivers/tty/tty_io.c:1096) [ 2250.951221][ C1] vfs_write (./include/linux/fs.h:2085 fs/read_write.c:497 fs/read_write.c:590) [ 2250.951449][ C1] ? __run_hrtimer (kernel/time/hrtimer.c:1705) [ 2250.951696][ C1] ? __pfx_vfs_write (fs/read_write.c:571) [ 2250.951942][ C1] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725) [ 2250.952183][ C1] ? clockevents_program_event (kernel/time/clockevents.c:326) [ 2250.952487][ C1] ? kvm_clock_get_cycles (./arch/x86/include/asm/preempt.h:94 arch/x86/kernel/kvmclock.c:80 arch/x86/kernel/kvmclock.c:86) [ 2250.952756][ C1] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145) [ 2250.952997][ C1] ksys_write (fs/read_write.c:643) [ 2250.953220][ C1] ? __pfx_ksys_write (fs/read_write.c:633) [ 2250.953472][ C1] ? trace_irq_enable.constprop.0 (./include/trace/events/preemptirq.h:40) [ 2250.953782][ C1] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 2250.954016][ C1] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129) [ 2250.954324][ C1] RIP: 0033:0x7f1752956957 [ 2250.954555][ C1] Code: 0b 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24 All code ======== 0: 0b 00 or (%rax),%eax 2: f7 d8 neg %eax 4: 64 89 02 mov %eax,%fs:(%rdx) 7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax e: eb b7 jmp 0xffffffffffffffc7 10: 0f 1f 00 nopl (%rax) 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 23: b8 01 00 00 00 mov $0x1,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 51 ja 0x83 32: c3 ret 33: 48 83 ec 28 sub $0x28,%rsp 37: 48 89 54 24 18 mov %rdx,0x18(%rsp) 3c: 48 rex.W 3d: 89 .byte 0x89 3e: 74 24 je 0x64 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 28 sub $0x28,%rsp d: 48 89 54 24 18 mov %rdx,0x18(%rsp) 12: 48 rex.W 13: 89 .byte 0x89 14: 74 24 je 0x3a [ 2250.955538][ C1] RSP: 002b:00007fff26426438 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 2250.955963][ C1] RAX: ffffffffffffffda RBX: 00005638b767ce70 RCX: 00007f1752956957 [ 2250.956367][ C1] RDX: 0000000000000001 RSI: 00005638b767ce70 RDI: 0000000000000001 [ 2250.956773][ C1] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000002000 [ 2250.957176][ C1] R10: 0000000000000001 R11: 0000000000000246 R12: 00005638b7669530 Finger prints: dump_stack_lvl:validate_chain:__lock_acquire:_raw_spin_lock_nested dump_stack_lvl:__report_bad_irq:note_interrupt:handle_irq_event