======================================
| [ 1497.723428][ C2] #6: ffffffff92d467e0 (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:5738 (discriminator 16))
| [ 1497.723970][ C2] #7: ffffffff92d467e0 (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)
| [ 1497.724501][ C2]
| [ 1497.724501][ C2] stack backtrace:
[ 1497.725223][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 1497.725845][ C2] Call Trace:
[ 1497.726042][ C2]
[ 1497.726210][ C2] dump_stack_lvl (lib/dump_stack.c:107)
[ 1497.726550][ C2] validate_chain (kernel/locking/lockdep.c:3859)
[ 1497.726926][ C2] ? _
DETECTED CRASH, lowering timeout
_pfx_validate_chain+0x10/0x10
[ 1497.727253][ 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)
[ 1497.727585][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3))
[ 1497.727910][ C2] __lock_acquire (kernel/locking/lockdep.c:5137)
[ 1497.728307][ C2] ? lock_downgrade (kernel/locking/lockdep.c:5656)
[ 1497.728685][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3))
[ 1497.729017][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 1497.729416][ C2] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326)
[ 1497.729790][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 1497.730228][ C2] ? __pfx_sk_filter_trim_cap (net/core/filter.c:130)
[ 1497.730662][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 1497.731026][ C2] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326)
[ 1497.731396][ C2] _raw_spin_lock_nested (kernel/locking/spinlock.c:379)
[ 1497.731801][ C2] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326)
[ 1497.732159][ C2] tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326)
[ 1497.732514][ C2] ? __pfx_tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2162)
[ 1497.732890][ C2] ? __pfx_raw_v4_input (net/ipv4/raw.c:165)
[ 1497.733275][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 1497.733709][ C2] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:207 (discriminator 8))
[ 1497.734140][ C2] ip_local_deliver_finish (./include/linux/rcupdate.h:779 net/ipv4/ip_input.c:234)
[ 1497.734559][ C2] ip_local_deliver (./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:254)
[ 1497.734941][ C2] ? __pfx_ip_local_deliver (net/ipv4/ip_input.c:243)
[ 1497.735351][ C2] ? tcp_v4_early_demux (./include/linux/skbuff.h:1163 net/ipv4/tcp_ipv4.c:1988)
[ 1497.735778][ C2] ? ip_rcv_finish_core.constprop.0 (./include/linux/skbuff.h:1131 ./include/linux/skbuff.h:1183 net/ipv4/ip_input.c:390)
[ 1497.736270][ 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)
[ 1497.736492][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 1497.736732][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 1497.737031][ C2] ? netif_receive_skb_internal (./include/linux/rcupdate.h:298 (discriminator 16) ./include/linux/rcupdate.h:750 (discriminator 16) net/core/dev.c:5738 (discriminator 16))
[ 1497.737426][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 1497.737764][ C2] __netif_receive_skb_one_core (net/core/dev.c:5551 (discriminator 4))
[ 1497.738223][ C2] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5544)
[ 1497.738574][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274)
[ 1497.738934][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 1497.739274][ C2] ? netif_receive_skb_internal (./include/linux/rcupdate.h:298 (discriminator 16) ./include/linux/rcupdate.h:750 (discriminator 16) net/core/dev.c:5738 (discriminator 16))
[ 1497.739581][ C2] netif_receive_skb_internal (net/core/dev.c:5751)
[ 1497.739962][ C2] ? __pfx_netif_receive_skb_internal (net/core/dev.c:5730)
[ 1497.740458][ C2] ? __copy_skb_header (./include/net/dst.h:290 net/core/skbuff.c:1513)
[ 1497.740857][ 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:1584 (discriminator 4))
[ 1497.741223][ C2] netif_receive_skb (net/core/dev.c:5810)
[ 1497.741602][ C2] tcf_mirred_to_dev (net/sched/act_mirred.c:249 net/sched/act_mirred.c:324) act_mirred
[ 1497.742119][ C2] ? __pfx_tcf_skbedit_act (net/sched/act_skbedit.c:43) act_skbedit
[ 1497.742645][ C2] tcf_mirred_act (net/sched/act_mirred.c:459 (discriminator 2)) act_mirred
[ 1497.743108][ C2] tcf_action_exec.part.0 (./include/net/tc_wrapper.h:130 net/sched/act_api.c:1100)
[ 1497.743529][ C2] fl_classify (net/sched/cls_flower.c:345) cls_flower
[ 1497.743997][ C2] ? __pfx_fl_classify (net/sched/cls_flower.c:316) cls_flower
[ 1497.744500][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3))
[ 1497.744846][ C2] ? __pfx_check_irq_usage (kernel/locking/lockdep.c:2790)
[ 1497.745256][ C2] ? __bfs (kernel/locking/lockdep.c:1787)
[ 1497.745575][ C2] ? __pfx_hlock_conflict (kernel/locking/lockdep.c:2016)
[ 1497.745974][ 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)
[ 1497.746344][ C2] ? check_path.constprop.0 (kernel/locking/lockdep.c:2145)
[ 1497.746756][ C2] ? check_noncircular (kernel/locking/lockdep.c:2172)
[ 1497.747164][ C2] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2163)
[ 1497.747614][ 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)
[ 1497.747955][ C2] ? check_prev_add (kernel/locking/lockdep.c:3172)
[ 1497.748341][ C2] __tcf_classify (./include/net/tc_wrapper.h:197 net/sched/cls_api.c:1734)
[ 1497.748711][ C2] tcf_classify (net/sched/cls_api.c:1830)
[ 1497.749069][ C2] ? __pfx_tcf_classify (net/sched/cls_api.c:1779)
[ 1497.749466][ C2] ? __dev_queue_xmit (./include/linux/bottom_half.h:20 ./include/linux/rcupdate.h:802 net/core/dev.c:4259)
[ 1497.749859][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 1497.750214][ C2] ? __dev_queue_xmit (./include/linux/bottom_half.h:20 ./include/linux/rcupdate.h:802 net/core/dev.c:4259)
[ 1497.750497][ C2] tc_run (net/core/dev.c:3920)
[ 1497.750710][ C2] ? __pfx_tc_run (net/core/dev.c:3904)
[ 1497.750991][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 1497.751240][ C2] ? __dev_queue_xmit (./include/linux/bottom_half.h:20 ./include/linux/rcupdate.h:802 net/core/dev.c:4259)
[ 1497.751511][ C2] __dev_queue_xmit (net/core/dev.c:4044 net/core/dev.c:4276)
[ 1497.751784][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274)
[ 1497.752047][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359)
[ 1497.752386][ C2] ? __pfx___dev_queue_xmit (net/core/dev.c:4243)
[ 1497.752688][ C2] ? neigh_hh_output (./include/linux/seqlock.h:74 ./include/linux/seqlock.h:772 ./include/net/neighbour.h:496)
[ 1497.752952][ C2] ip_finish_output2 (./include/net/neighbour.h:540 net/ipv4/ip_output.c:235)
[ 1497.753219][ C2] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199)
[ 1497.753505][ C2] ? __ip_finish_output (./include/linux/skbuff.h:1619 ./include/linux/skbuff.h:4888 net/ipv4/ip_output.c:307 net/ipv4/ip_output.c:295)
[ 1497.753795][ C2] ip_output (./include/linux/netfilter.h:303 net/ipv4/ip_output.c:433)
[ 1497.754029][ C2] ? __pfx_ip_output (net/ipv4/ip_output.c:427)
[ 1497.754281][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 1497.754594][ C2] ? ip_local_out (./include/linux/skbuff.h:1131 ./include/net/dst.h:450 net/ipv4/ip_output.c:129)
[ 1497.754849][ C2] __ip_queue_xmit (net/ipv4/ip_output.c:535 (discriminator 4))
[ 1497.755135][ C2] ? __create_object (mm/kmemleak.c:756)
[ 1497.755385][ C2] __tcp_transmit_skb (net/ipv4/tcp_output.c:1462 (discriminator 4))
[ 1497.755664][ C2] ? __pfx___tcp_transmit_skb (net/ipv4/tcp_output.c:1283)
[ 1497.755989][ C2] ? __tcp_send_ack.part.0 (./include/linux/skbuff.h:1296 net/ipv4/tcp_output.c:4206)
[ 1497.756273][ C2] tcp_rcv_state_process (net/ipv4/tcp_input.c:6874)
[ 1497.756555][ C2] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326)
[ 1497.756823][ 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)
[ 1497.757072][ C2] ? __lock_acquired (kernel/locking/lockdep.c:339 kernel/locking/lockdep.c:5991)
[ 1497.757340][ C2] ? __pfx_tcp_rcv_state_process (net/ipv4/tcp_input.c:6620)
[ 1497.757659][ C2] ? __pfx___lock_acquired (kernel/locking/lockdep.c:5959)
[ 1497.757951][ C2] ? __pfx_do_raw_spin_trylock (kernel/locking/spinlock_debug.c:122)
[ 1497.758256][ C2] tcp_v4_do_rcv (net/ipv4/tcp_ipv4.c:1929)
[ 1497.758537][ C2] tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2329)
[ 1497.758802][ C2] ? __pfx_tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2162)
[ 1497.759070][ C2] ? __pfx_raw_v4_input (net/ipv4/raw.c:165)
[ 1497.759345][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 1497.759645][ C2] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:207 (discriminator 8))
[ 1497.759949][ C2] ip_local_deliver_finish (./include/linux/rcupdate.h:779 net/ipv4/ip_input.c:234)
[ 1497.760236][ C2] ip_local_deliver (./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:254)
[ 1497.760503][ C2] ? __pfx_ip_local_deliver (net/ipv4/ip_input.c:243)
[ 1497.760799][ C2] ? tcp_v4_early_demux (./include/linux/skbuff.h:1163 net/ipv4/tcp_ipv4.c:1988)
[ 1497.761075][ C2] ? ip_rcv_finish_core.constprop.0 (./include/linux/skbuff.h:1131 ./include/linux/skbuff.h:1183 net/ipv4/ip_input.c:390)
[ 1497.761408][ 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)
[ 1497.761647][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 1497.761904][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 1497.762185][ C2] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:5992)
[ 1497.762468][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 1497.762708][ C2] __netif_receive_skb_one_core (net/core/dev.c:5551 (discriminator 4))
[ 1497.763022][ C2] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5544)
[ 1497.763400][ C2] ? __pfx_do_raw_spin_trylock (kernel/locking/spinlock_debug.c:122)
[ 1497.763839][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 1497.764132][ C2] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:5992)
[ 1497.764491][ C2] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:5994)
[ 1497.764837][ C2] __napi_poll.constprop.0 (net/core/dev.c:6622)
[ 1497.765253][ C2] net_rx_action (net/core/dev.c:6691 net/core/dev.c:6824)
[ 1497.765622][ C2] ? __pfx_net_rx_action (net/core/dev.c:6788)
[ 1497.766013][ C2] ? kvm_clock_get_cycles (./arch/x86/include/asm/preempt.h:94 arch/x86/kernel/kvmclock.c:80 arch/x86/kernel/kvmclock.c:86)
[ 1497.766422][ C2] ? ktime_get (kernel/time/timekeeping.c:195 (discriminator 4) kernel/time/timekeeping.c:289 (discriminator 4) kernel/time/timekeeping.c:388 (discriminator 4) kernel/time/timekeeping.c:848 (discriminator 4))
[ 1497.766764][ C2] ? hrtimer_interrupt (kernel/time/hrtimer.c:1827)
[ 1497.767168][ C2] ? hrtimer_interrupt (kernel/time/hrtimer.c:1827)
[ 1497.767589][ C2] __do_softirq (kernel/softirq.c:553)
[ 1497.767945][ C2] ? tcp_recvmsg (net/ipv4/tcp.c:2580)
[ 1497.768308][ C2] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441)
[ 1497.768634][ C2]
[ 1497.768864][ C2]
[ 1497.769109][ C2] __local_bh_enable_ip (kernel/softirq.c:381)
[ 1497.769507][ C2] tcp_recvmsg (net/ipv4/tcp.c:2580)
[ 1497.769848][ C2] ? __pfx_tcp_recvmsg (net/ipv4/tcp.c:2564)
[ 1497.770235][ C2] ? core_sys_select (./arch/x86/include/asm/smap.h:33 ./arch/x86/include/asm/uaccess_64.h:120 ./arch/x86/include/asm/uaccess_64.h:133 ./include/linux/uaccess.h:138 fs/select.c:404 fs/select.c:401 fs/select.c:693)
[ 1497.770629][ C2] ? __pfx_core_sys_select (fs/select.c:627)
[ 1497.771042][ C2] inet_recvmsg (net/ipv4/af_inet.c:884 (discriminator 8))
[ 1497.771409][ C2] ? __pfx_inet_recvmsg (net/ipv4/af_inet.c:874)
[ 1497.771795][ C2] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145)
[ 1497.772154][ C2] ? sockfd_lookup_light (net/socket.c:558)
[ 1497.772583][ C2] __sys_recvfrom (net/socket.c:1046 net/socket.c:1068 net/socket.c:2242)
[ 1497.772953][ C2] ? __pfx___sys_recvfrom (net/socket.c:2223)
[ 1497.773363][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 1497.773743][ C2] ? do_pselect.constprop.0 (fs/select.c:764)
[ 1497.774047][ C2] ? __pfx_do_pselect.constprop.0 (fs/select.c:732)
[ 1497.774379][ C2] ? restore_fpregs_from_fpstate (arch/x86/kernel/fpu/xstate.h:202 arch/x86/kernel/fpu/core.c:181)
[ 1497.774785][ C2] ? __pfx_restore_fpregs_from_fpstate (arch/x86/kernel/fpu/core.c:137)
[ 1497.775279][ C2] __x64_sys_recvfrom (net/socket.c:2256)
[ 1497.775641][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 1497.776134][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 1497.776496][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 1497.776830][ C2] RIP: 0033:0x7fd57c7bd4c0
[ 1497.777176][ C2] Code: 84 00 00 00 00 00 0f 1f 40 00 f3 0f 1e fa 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 1d 45 31 c9 45 31 c0 b8 2d 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 68 c3 0f 1f 80 00 00 00 00 41 54 48 83 ec 20
All code
========
0: 84 00 test %al,(%rax)
2: 00 00 add %al,(%rax)
4: 00 00 add %al,(%rax)
6: 0f 1f 40 00 nopl 0x0(%rax)
a: f3 0f 1e fa endbr64
e: 41 89 ca mov %ecx,%r10d
11: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax
18: 00
19: 85 c0 test %eax,%eax
1b: 75 1d jne 0x3a
1d: 45 31 c9 xor %r9d,%r9d
20: 45 31 c0 xor %r8d,%r8d
23: b8 2d 00 00 00 mov $0x2d,%eax
28: 0f 05 syscall
2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction
30: 77 68 ja 0x9a
32: c3 ret
33: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
3a: 41 54 push %r12
3c: 48 83 ec 20 sub $0x20,%rsp
Code starting with the faulting instruction
===========================================
0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax
6: 77 68 ja 0x70
8: c3 ret
9: 0f 1f 80 00 00 00 00 nopl 0x0(%rax)
10: 41 54 push %r12
12: 48 83 ec 20 sub $0x20,%rsp
[ 1497.778616][ C2] RSP: 002b:00007ffe00f8a2d8 EFLAGS: 00000246 ORIG_RAX: 000000000000002d
[ 1497.779249][ C2] RAX: ffffffffffffffda RBX: 000055b9d5712a20 RCX: 00007fd57c7bd4c0
[ 1497.779849][ C2] RDX: 0000000000002000 RSI: 00007ffe00f8a360 RDI: 0000000000000008
[ 1497.780460][ C2] RBP: 00007ffe00f8a360 R08: 0000000000000000 R09: 0000000000000000
[ 1497.781054][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008
Finger prints:
dump_stack_lvl:validate_chain:__lock_acquire:_raw_spin_lock_nested