====================================== | [ 1256.779674][ T8909] ip (8909) used greatest stack depth: 22816 bytes left | [ 2193.379738][T16963] ------------[ cut here ]------------ | [2193.380247][T16963] WARNING: CPU: 3 PID: 16963 at ./include/linux/skbuff.h:1164 ip_route_me_harder (./include/linux/skbuff.h:1164 ./include/linux/skbuff.h:1178 net/ipv4/netfilter.c:68) | [ 2193.380903][T16963] Modules linked in: act_csum act_pedit cls_fw sch_ingress xt_mark xt_statistic xt_length xt_bpf sch_netem ipt_REJECT nft_compat nf_tables [ 2193.382615][T16963] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [2193.383010][T16963] RIP: 0010:ip_route_me_harder (./include/linux/skbuff.h:1164 ./include/linux/skbuff.h:1178 net/ipv4/netfilter.c:68) [ 2193.383447][T16963] Code: 31 c9 e9 64 f8 ff ff 80 3c 02 00 0f 85 c0 06 00 00 48 8b 45 58 48 89 c6 48 83 e6 fe a8 01 0f 85 7c 03 00 00 48 85 f6 74 04 90 <0f> 0b 90 48 b8 00 00 00 00 00 fc ff df 4c 89 ea 48 c1 ea 03 80 3c All code ======== 0: 31 c9 xor %ecx,%ecx 2: e9 64 f8 ff ff jmp 0xfffffffffffff86b 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 0f 85 c0 06 00 00 jne 0x6d1 11: 48 8b 45 58 mov 0x58(%rbp),%rax 15: 48 89 c6 mov %rax,%rsi 18: 48 83 e6 fe and $0xfffffffffffffffe,%rsi 1c: a8 01 test $0x1,%al 1e: 0f 85 7c 03 00 00 jne 0x3a0 24: 48 85 f6 test %rsi,%rsi 27: 74 04 je 0x2d 29: 90 nop 2a:* 0f 0b ud2 <-- trapping instruction 2c: 90 nop 2d: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 34: fc ff df 37: 4c 89 ea mov %r13,%rdx 3a: 48 c1 ea 03 shr $0x3,%rdx 3e: 80 .byte 0x80 3f: 3c .byte 0x3c Code starting with the faulting instruction =========================================== 0: 0f 0b ud2 2: 90 nop 3: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax a: fc ff df d: 4c 89 ea mov %r13,%rdx 10: 48 c1 ea 03 shr $0x3,%rdx 14: 80 .byte 0x80 15: 3c .byte 0x3c [ 2193.384585][T16963] RSP: 0018:ffffc900003cf288 EFLAGS: 00010286 [ 2193.384988][T16963] RAX: ffff8880100a39c0 RBX: 1ffff92000079e57 RCX: 1ffff11002014738 [ 2193.385465][T16963] RDX: 1ffff11002b23c4f RSI: ffff8880100a39c0 RDI: ffff88800f9040e0 [ 2193.385934][T16963] RBP: ffff88801591e220 R08: 1ffff92000079e62 R09: ffff88801591e2a1 [ 2193.386415][T16963] R10: ffff8880100a3a03 R11: dffffc0000000000 R12: ffff88800ffbccc0 [ 2193.386894][T16963] R13: ffff88801591e278 R14: ffffc900003cf2e8 R15: ffff888015afdb40 [ 2193.387377][T16963] FS: 00007f1dbbf79740(0000) GS:ffff8880933bb000(0000) knlGS:0000000000000000 [ 2193.387930][T16963] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2193.388339][T16963] CR2: 00007f1dbc055530 CR3: 000000000aa4a001 CR4: 0000000000772ef0 [ 2193.388808][T16963] PKRU: 55555554 [ 2193.389047][T16963] Call Trace: [ 2193.389577][T16963] [2193.389746][T16963] ? __pfx_ip_route_me_harder (net/ipv4/netfilter.c:22) [2193.390084][T16963] ? is_bpf_text_address (./include/linux/rcupdate.h:341 ./include/linux/rcupdate.h:871 kernel/bpf/core.c:774) [2193.390415][T16963] ? is_bpf_text_address (kernel/bpf/core.c:777) [2193.390734][T16963] ? kernel_text_address (kernel/extable.c:97 kernel/extable.c:94) [2193.391058][T16963] ? __kernel_text_address (kernel/extable.c:79) [2193.391377][T16963] ? unwind_get_return_address (arch/x86/kernel/unwind_orc.c:369 arch/x86/kernel/unwind_orc.c:364) [2193.391688][T16963] ? __pfx_stack_trace_consume_entry (kernel/stacktrace.c:83) [2193.392078][T16963] nf_route_table_hook4 (net/netfilter/nft_chain_route.c:47) nf_tables [2193.392518][T16963] ? __lock_acquire (kernel/locking/lockdep.c:5240) [2193.392832][T16963] ? __pfx_nf_route_table_hook4 (net/netfilter/nft_chain_route.c:19) nf_tables [2193.393255][T16963] ? __pfx_nf_route_table_hook4 (net/netfilter/nft_chain_route.c:19) nf_tables [2193.393678][T16963] nf_hook_slow (./include/linux/netfilter.h:157 net/netfilter/core.c:623) [2193.393995][T16963] __ip_local_out (./include/linux/netfilter.h:272 net/ipv4/ip_output.c:118) [2193.394315][T16963] ? __pfx___ip_local_out (net/ipv4/ip_output.c:101) [2193.394628][T16963] ? __pfx_dst_output (./include/net/dst.h:460) [2193.394946][T16963] __ip_queue_xmit (net/ipv4/ip_output.c:127 (discriminator 4) net/ipv4/ip_output.c:527 (discriminator 4)) [2193.395256][T16963] ? __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:1566 (discriminator 4)) [2193.395583][T16963] __tcp_transmit_skb (net/ipv4/tcp_output.c:1625 (discriminator 4)) [2193.395918][T16963] ? __pfx___tcp_transmit_skb (net/ipv4/tcp_output.c:1446) [2193.396236][T16963] ? tso_fragment (./arch/x86/include/asm/atomic.h:28 ./include/linux/atomic/atomic-arch-fallback.h:503 ./include/linux/atomic/atomic-instrumented.h:68 ./include/linux/skbuff.h:2060 net/ipv4/tcp_output.c:2351) [2193.396558][T16963] tcp_write_xmit (net/ipv4/tcp_output.c:2984) [2193.396893][T16963] ? __pfx_tcp_write_xmit (net/ipv4/tcp_output.c:2888) [2193.397198][T16963] ? __pfx_mptcp_subflow_active (net/mptcp/protocol.c:1317) [2193.397521][T16963] ? __subflow_push_pending (net/mptcp/protocol.h:415 net/mptcp/protocol.c:1462) [2193.397840][T16963] __tcp_push_pending_frames (net/ipv4/tcp_output.c:3167) [2193.398151][T16963] mptcp_push_release.isra.0 (net/mptcp/protocol.c:1416) [2193.398468][T16963] __mptcp_push_pending (./include/linux/list.h:963 ./include/linux/timer.h:147 net/mptcp/protocol.c:845 net/mptcp/protocol.c:1558) [2193.398784][T16963] ? __pfx___mptcp_push_pending (net/mptcp/protocol.c:1500) [2193.399103][T16963] mptcp_sendmsg (net/mptcp/protocol.c:1846) [2193.399435][T16963] ? __pfx_mptcp_sendmsg (net/mptcp/protocol.c:1728) [2193.399743][T16963] ? __pfx_pollwake (fs/select.c:209) [2193.400061][T16963] ? find_held_lock (kernel/locking/lockdep.c:5353) [2193.400383][T16963] sock_write_iter (net/socket.c:714 net/socket.c:729 net/socket.c:1179) [2193.400698][T16963] ? __pfx_sock_write_iter (net/socket.c:1163) [2193.401014][T16963] ? validate_chain (kernel/locking/lockdep.c:3804 kernel/locking/lockdep.c:3824 kernel/locking/lockdep.c:3879) [2193.401338][T16963] vfs_write (fs/read_write.c:594 fs/read_write.c:686) [2193.401577][T16963] ? __pfx_vfs_write (fs/read_write.c:667) [2193.401887][T16963] ? __pfx_timespec64_add_safe (kernel/time/time.c:848) [2193.402199][T16963] ? rcu_is_watching (./include/linux/context_tracking.h:128 kernel/rcu/tree.c:745) [2193.402522][T16963] ? kvm_clock_get_cycles (./arch/x86/include/asm/preempt.h:95 arch/x86/kernel/kvmclock.c:80 arch/x86/kernel/kvmclock.c:86) [2193.402829][T16963] ? ktime_get_ts64 (kernel/time/timekeeping.c:251 (discriminator 4) kernel/time/timekeeping.c:360 (discriminator 4) kernel/time/timekeeping.c:919 (discriminator 4)) [2193.403148][T16963] ksys_write (fs/read_write.c:738) [2193.403387][T16963] ? __x64_sys_poll (fs/select.c:1076 fs/select.c:1062 fs/select.c:1062) [2193.403695][T16963] ? __pfx_ksys_write (fs/read_write.c:728) [2193.404004][T16963] ? do_user_addr_fault (./arch/x86/include/asm/atomic.h:93 ./include/linux/atomic/atomic-arch-fallback.h:949 ./include/linux/atomic/atomic-instrumented.h:401 ./include/linux/refcount.h:389 ./include/linux/refcount.h:432 ./include/linux/mmap_lock.h:142 ./include/linux/mmap_lock.h:237 arch/x86/mm/fault.c:1338) [2193.404327][T16963] do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94) [2193.404644][T16963] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 2193.405027][T16963] RIP: 0033:0x7f1dbc07a337 [ 2193.405357][T16963] Code: 0f 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: 0f 00 (bad) 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 [ 2193.406474][T16963] RSP: 002b:00007ffccb066ed8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 2193.406956][T16963] RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 00007f1dbc07a337 [ 2193.407424][T16963] RDX: 0000000000001f9c RSI: 00007ffccb069104 RDI: 0000000000000005 [ 2193.407890][T16963] RBP: 0000000000001f9c R08: 00007f1dbc17521c R09: 00007f1dbc175280 [ 2193.408363][T16963] R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffccb0690a0 Finger prints: ip_route_me_harder:nf_route_table_hook4:nf_hook_slow:__ip_local_out:__ip_queue_xmit