======================================
| [ 1292.048101][ C2] #6: ffffffffa5b447e0 (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))
| [ 1292.048944][ C2] #7: ffffffffa5b447e0 (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)
| [ 1292.049761][ C2]
| [ 1292.049761][ C2] stack backtrace:
[ 1292.050825][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 1292.051784][ C2] Call Trace:
[ 1292.052055][ C2]
[ 1292.052294][ C2] dump_stack_lvl (lib/dump_stack.c:107)
[ 1292.052670][ C2] validate_chain (kernel/locking/lockdep.c:3859)
[ 1292.053043][ C2] ? __pfx_validate_chain (kernel/locking/lockdep.c:3825)
[ 1292.053447][ 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)
[ 1292.053819][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3))
[ 1292.054169][ C2] __lock_acquire (kernel/locking/lockdep.c:5137)
[ 1292.054559][ C2] ? lock_downgrade (./arch/x86/include/asm/irqflags.h:26 ./arch/x86/include/asm/irqflags.h:67 ./arch/x86/include/asm/irqflags.h:103 kernel/locking/lockdep.c:5653)
[ 1292.054957][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3))
[ 1292.055303][ C2] lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 1292.055703][ C2] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326)
[ 1292.056083][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 1292.056534][ C2] ? __pfx_sk_filter_trim_cap (net/core/filter.c:130)
[ 1292.056987][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 1292.057354][ C2] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326)
[ 1292.057734][ C2] _raw_spin_lock_nested (kernel/locking/spinlock.c:379)
[ 1292.058144][ C2] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326)
[ 1292.058512][ C2] tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326)
[ 1292.058901][ C2] ? __pfx_tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2162)
[ 1292.059299][ C2] ? __pfx_raw_v4_input (net/ipv4/raw.c:165)
[ 1292.059695][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 1292.060142][ C2] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:207 (discriminator 8))
[ 1292.060592][ C2] ip_local_deliver_finish (./include/linux/rcupdate.h:779 net/ipv4/ip_input.c:234)
[ 1292.061021][ C2] ip_local_deliver (./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:254)
[ 1292.061399][ C2] ? __pfx_ip_local_deliver (net/ipv4/ip_input.c:243)
[ 1292.061831][ C2] ? ip_rcv_finish_core.constprop.0 (./include/linux/skbuff.h:1131 ./include/linux/skbuff.h:1183 net/ipv4/ip_input.c:390)
[ 1292.062322][ C2] ip_rcv (./include/net/dst.h:461 net/ipv4/ip_input.c:449 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:569)
[ 1292.062640][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 1292.063022][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 1292.063437][ 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))
[ 1292.063897][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 1292.064252][ C2] __netif_receive_skb_one_core (net/core/dev.c:5542 (discriminator 4))
[ 1292.064727][ C2] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5535)
[ 1292.065227][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4274)
[ 1292.065604][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 1292.065986][ 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))
[ 1292.066447][ C2] netif_receive_skb_internal (net/core/dev.c:5742)
[ 1292.066888][ C2] ? __pfx_netif_receive_skb_internal (net/core/dev.c:5721)
[ 1292.067400][ C2] ? __copy_skb_header (./include/net/dst.h:290 net/core/skbuff.c:1420)
[ 1292.067800][ 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))
[ 1292.068181][ C2] netif_receive_skb (net/core/dev.c:5801)
[ 1292.068563][ C2] tcf_mirred_to_dev (net/sched/act_mirred.c:249 net/sched/act_mirred.c:324) act_mirred
[ 1292.069060][ C2] ? __pfx_tcf_skbedit_act (net/sched/act_skbedit.c:43) act_skbedit
[ 1292.069570][ C2] tcf_mirred_act (net/sched/act_mirred.c:459 (discriminator 2)) act_mirred
[ 1292.070081][ C2] tcf_action_exec.part.0 (./include/net/tc_wrapper.h:130 net/sched/act_api.c:1100)
[ 1292.070506][ C2] fl_classify (net/sched/cls_flower.c:345) cls_flower
[ 1292.070971][ C2] ? __pfx_fl_classify (net/sched/cls_flower.c:316) cls_flower
[ 1292.071468][ C2] ? __pfx_usage_match (kernel/locking/lockdep.c:2256)
[ 1292.071858][ C2] ? check_irq_usage (kernel/locking/lockdep.c:2823)
[ 1292.072253][ C2] ? __pfx_check_irq_usage (kernel/locking/lockdep.c:2790)
[ 1292.072668][ C2] ? __bfs (kernel/locking/lockdep.c:1787)
[ 1292.073019][ C2] ? __pfx_hlock_conflict (kernel/locking/lockdep.c:2016)
[ 1292.073431][ 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)
[ 1292.073796][ C2] ? check_path.constprop.0 (kernel/locking/lockdep.c:2145)
[ 1292.074227][ C2] ? check_noncircular (kernel/locking/lockdep.c:2172)
[ 1292.074643][ C2] ? __pfx_check_noncircular (kernel/locking/lockdep.c:2163)
[ 1292.075099][ C2] __tcf_classify (./include/net/tc_wrapper.h:197 net/sched/cls_api.c:1734)
[ 1292.075494][ C2] tcf_classify (net/sched/cls_api.c:1830)
[ 1292.075855][ C2] ? __pfx_tcf_classify (net/sched/cls_api.c:1779)
[ 1292.076277][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 1292.076686][ C2] ? __dev_queue_xmit (./include/linux/bottom_half.h:20 ./include/linux/rcupdate.h:802 net/core/dev.c:4284)
[ 1292.077097][ C2] tc_run (net/core/dev.c:3945)
[ 1292.077413][ C2] ? __pfx_tc_run (net/core/dev.c:3929)
[ 1292.077789][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 1292.078165][ C2] ? __dev_queue_xmit (./include/linux/bottom_half.h:20 ./include/linux/rcupdate.h:802 net/core/dev.c:4284)
[ 1292.078575][ C2] __dev_queue_xmit (net/core/dev.c:4069 net/core/dev.c:4301)
[ 1292.078980][ 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)
[ 1292.079343][ C2] ? mark_lock (kernel/locking/lockdep.c:4656 (discriminator 3))
[ 1292.079687][ C2] ? __pfx___dev_queue_xmit (net/core/dev.c:4268)
[ 1292.080122][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4292 kernel/locking/lockdep.c:4359)
[ 1292.080634][ C2] ? neigh_hh_output (./include/linux/seqlock.h:74 ./include/linux/seqlock.h:772 ./include/net/neighbour.h:496)
[ 1292.081054][ C2] ip_finish_output2 (./include/net/neighbour.h:540 net/ipv4/ip_output.c:235)
[ 1292.081455][ C2] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:199)
[ 1292.081892][ C2] ? __ip_finish_output (./include/linux/skbuff.h:1619 ./include/linux/skbuff.h:4884 net/ipv4/ip_output.c:307 net/ipv4/ip_output.c:295)
[ 1292.082329][ C2] ip_output (./include/linux/netfilter.h:303 net/ipv4/ip_output.c:433)
[ 1292.082674][ C2] ? __pfx_ip_output (net/ipv4/ip_output.c:427)
[ 1292.083059][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 1292.083532][ C2] ? ip_local_out (./include/linux/skbuff.h:1131 ./include/net/dst.h:451 net/ipv4/ip_output.c:129)
[ 1292.083902][ C2] __ip_queue_xmit (net/ipv4/ip_output.c:535 (discriminator 4))
[ 1292.084290][ C2] ? __create_object (mm/kmemleak.c:756)
[ 1292.084695][ C2] __tcp_transmit_skb (net/ipv4/tcp_output.c:1462 (discriminator 4))
[ 1292.085125][ C2] ? __pfx___tcp_transmit_skb (net/ipv4/tcp_output.c:1283)
[ 1292.085596][ C2] ? __tcp_send_ack.part.0 (./include/linux/skbuff.h:1296 net/ipv4/tcp_output.c:4206)
[ 1292.086029][ C2] tcp_rcv_state_process (net/ipv4/tcp_input.c:6874)
[ 1292.086456][ C2] ? tcp_v4_rcv (./include/linux/skbuff.h:1619 ./include/net/tcp.h:2510 net/ipv4/tcp_ipv4.c:2326)
[ 1292.086856][ 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)
[ 1292.087224][ C2] ? __lock_acquired (kernel/locking/lockdep.c:339 kernel/locking/lockdep.c:5991)
[ 1292.087613][ C2] ? __pfx_tcp_rcv_state_process (net/ipv4/tcp_input.c:6620)
[ 1292.088091][ C2] ? __pfx___lock_acquired (kernel/locking/lockdep.c:5959)
[ 1292.088521][ C2] ? __pfx_do_raw_spin_trylock (kernel/locking/spinlock_debug.c:122)
[ 1292.088992][ C2] tcp_v4_do_rcv (net/ipv4/tcp_ipv4.c:1929)
[ 1292.089372][ C2] tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2329)
[ 1292.089748][ C2] ? __pfx_tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2162)
[ 1292.090131][ C2] ? __pfx_raw_v4_input (net/ipv4/raw.c:165)
[ 1292.090533][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5719)
[ 1292.091013][ C2] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:207 (discriminator 8))
[ 1292.091445][ C2] ip_local_deliver_finish (./include/linux/rcupdate.h:779 net/ipv4/ip_input.c:234)
[ 1292.091865][ C2] ip_local_deliver (./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:254)
[ 1292.092267][ C2] ? __pfx_ip_local_deliver (net/ipv4/ip_input.c:243)
[ 1292.092691][ C2] ? ip_rcv_finish_core.constprop.0 (./include/linux/skbuff.h:1131 ./include/linux/skbuff.h:1183 net/ipv4/ip_input.c:390)
[ 1292.093036][ C2] ip_rcv (./include/net/dst.h:461 net/ipv4/ip_input.c:449 ./include/linux/netfilter.h:314 ./include/linux/netfilter.h:308 net/ipv4/ip_input.c:569)
[ 1292.093265][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 1292.093514][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5756)
[ 1292.093796][ C2] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:5983)
[ 1292.094053][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562)
[ 1292.094317][ C2] __netif_receive_skb_one_core (net/core/dev.c:5542 (discriminator 4))
[ 1292.094695][ C2] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5535)
[ 1292.095191][ C2] ? __pfx_do_raw_spin_trylock (kernel/locking/spinlock_debug.c:122)
[ 1292.095597][ C2] ? lock_acquire (./include/trace/events/lock.h:24 kernel/locking/lockdep.c:5725)
[ 1292.095851][ C2] ? process_backlog (./include/linux/rcupdate.h:298 ./include/linux/rcupdate.h:750 net/core/dev.c:5983)
[ 1292.096111][ C2] process_backlog (./include/linux/rcupdate.h:779 net/core/dev.c:5985)
[ 1292.096355][ C2] __napi_poll.constprop.0 (net/core/dev.c:6585)
[ 1292.096667][ C2] net_rx_action (net/core/dev.c:6653 net/core/dev.c:6786)
[ 1292.096911][ C2] ? __pfx_net_rx_action (net/core/dev.c:6750)
[ 1292.097191][ C2] ? kvm_clock_get_cycles (./arch/x86/include/asm/preempt.h:94 arch/x86/kernel/kvmclock.c:80 arch/x86/kernel/kvmclock.c:86)
[ 1292.097463][ C2] ? ktime_get (kernel/time/timekeeping.c:292 (discriminator 4) kernel/time/timekeeping.c:388 (discriminator 4) kernel/time/timekeeping.c:848 (discriminator 4))
[ 1292.097705][ C2] ? hrtimer_interrupt (kernel/time/hrtimer.c:1827)
[ 1292.098005][ C2] ? hrtimer_interrupt (kernel/time/hrtimer.c:1827)
[ 1292.098280][ C2] __do_softirq (./arch/x86/include/asm/jump_label.h:27 ./include/linux/jump_label.h:207 ./include/trace/events/irq.h:142 kernel/softirq.c:554)
[ 1292.098518][ C2] ? tcp_recvmsg (net/ipv4/tcp.c:2580)
[ 1292.098852][ C2] do_softirq (kernel/softirq.c:454 kernel/softirq.c:441)
[ 1292.099209][ C2]
[ 1292.099448][ C2]
[ 1292.099679][ C2] __local_bh_enable_ip (kernel/softirq.c:381)
[ 1292.100089][ C2] tcp_recvmsg (net/ipv4/tcp.c:2580)
[ 1292.100432][ C2] ? __pfx_tcp_recvmsg (net/ipv4/tcp.c:2564)
[ 1292.100826][ 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)
[ 1292.101215][ C2] ? __pfx_core_sys_select (fs/select.c:627)
[ 1292.101624][ C2] inet_recvmsg (net/ipv4/af_inet.c:884 (discriminator 8))
[ 1292.101970][ C2] ? __pfx_inet_recvmsg (net/ipv4/af_inet.c:874)
[ 1292.102359][ C2] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1145)
[ 1292.102730][ C2] ? sockfd_lookup_light (net/socket.c:558)
[ 1292.103141][ C2] __sys_recvfrom (net/socket.c:1046 net/socket.c:1068 net/socket.c:2242)
[ 1292.103510][ C2] ? __pfx___sys_recvfrom (net/socket.c:2223)
[ 1292.103936][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5406)
[ 1292.104357][ C2] ? do_pselect.constprop.0 (fs/select.c:764)
[ 1292.104810][ C2] ? __pfx_do_pselect.constprop.0 (fs/select.c:732)
[ 1292.105276][ C2] ? restore_fpregs_from_fpstate (arch/x86/kernel/fpu/xstate.h:202 arch/x86/kernel/fpu/core.c:181)
[ 1292.105743][ C2] ? __pfx_restore_fpregs_from_fpstate (arch/x86/kernel/fpu/core.c:137)
[ 1292.106242][ C2] __x64_sys_recvfrom (net/socket.c:2256)
[ 1292.106640][ C2] ? lockdep_hardirqs_on_prepare.part.0 (kernel/locking/lockdep.c:4300 kernel/locking/lockdep.c:4359)
[ 1292.107143][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83)
[ 1292.107455][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:129)
[ 1292.107912][ C2] RIP: 0033:0x7f88b94734c0
[ 1292.108233][ 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
[ 1292.109699][ C2] RSP: 002b:00007ffd51b74de8 EFLAGS: 00000246 ORIG_RAX: 000000000000002d
[ 1292.110348][ C2] RAX: ffffffffffffffda RBX: 000055deb25aea20 RCX: 00007f88b94734c0
[ 1292.110965][ C2] RDX: 0000000000002000 RSI: 00007ffd51b74e70 RDI: 0000000000000008
[ 1292.111582][ C2] RBP: 00007ffd51b74e70 R08: 0000000000000000 R09: 0000000000000000
[ 1292.112205][ C2] R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000008
Finger prints:
dump_stack_lvl:validate_chain:__lock_acquire:_raw_spin_lock_nested