====================================== | [ 1121.744877][ C2] ================================================================== | [ 1121.745205][ C2] BUG: KASAN: slab-out-of-bounds in xfrm_lookup_with_ifid (net/xfrm/xfrm_policy.c:3145) | [ 1121.745482][ C2] Read of size 8 at addr ffff888007fda1c0 by task socat/12286 | [ 1121.745756][ C2] [ 1121.746121][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1121.746526][ C2] Call Trace: [ 1121.746697][ C2] [ 1121.746791][ C2] dump_stack_lvl (lib/dump_stack.c:123) [ 1121.746973][ C2] print_address_description.constprop.0 (mm/kasan/report.c:378) [ 1121.747194][ C2] ? xfrm_lookup_with_ifid (net/xfrm/xfrm_policy.c:3145) [ 1121.747370][ C2] print_report (mm/kasan/report.c:489) [ 1121.747542][ C2] ? kasan_addr_to_slab (./include/linux/mm.h:1282 mm/kasan/../slab.h:206 mm/kasan/common.c:38) [ 1121.747721][ C2] kasan_report (mm/kasan/report.c:603) [ 1121.747854][ C2] ? xfrm_lookup_with_ifid (net/xfrm/xfrm_policy.c:3145) [ 1121.748035][ C2] xfrm_lookup_with_ifid (net/xfrm/xfrm_policy.c:3145) [ 1121.748212][ C2] ? __pfx_xfrm_lookup_with_ifid (net/xfrm/xfrm_policy.c:3132) [ 1121.748432][ C2] ? l4proto_manip_pkt (./include/net/checksum.h:167 net/netfilter/nf_nat_proto.c:216 net/netfilter/nf_nat_proto.c:342) nf_nat [ 1121.748657][ C2] nf_xfrm_me_harder (net/netfilter/nf_nat_proto.c:684) nf_nat [ 1121.748841][ C2] ? __pfx_nf_xfrm_me_harder (net/netfilter/nf_nat_proto.c:664) nf_nat [ 1121.749064][ C2] ? nft_do_chain_ipv4 (net/netfilter/nft_chain_filter.c:17) nf_tables [ 1121.749329][ C2] ? __pfx_nft_do_chain_ipv4 (net/netfilter/nft_chain_filter.c:17) nf_tables [ 1121.749583][ C2] nf_nat_ipv4_out (net/netfilter/nf_nat_proto.c:783 net/netfilter/nf_nat_proto.c:755) nf_nat [ 1121.749757][ C2] ? __pfx_nf_nat_ipv4_out (net/netfilter/nf_nat_proto.c:757) nf_nat [ 1121.749979][ C2] nf_hook_slow (./include/linux/netfilter.h:154 net/netfilter/core.c:626) [ 1121.750158][ C2] nf_hook (./include/linux/netfilter.h:269) [ 1121.750299][ C2] ? __pfx_ip_finish_output (net/ipv4/ip_output.c:318) [ 1121.750471][ C2] ? __pfx_nf_hook (./include/linux/netfilter.h:227) [ 1121.750644][ C2] ? __ip_append_data (./include/linux/skbuff.h:3205 ./include/linux/skbuff.h:3213 ./include/linux/skbuff.h:3227 net/ipv4/ip_output.c:1165) [ 1121.750818][ C2] ? __pfx_ip_finish_output (net/ipv4/ip_output.c:318) [ 1121.750995][ C2] ip_output (./include/linux/netfilter.h:301 net/ipv4/ip_output.c:434) [ 1121.751127][ C2] ? __pfx_ip_finish_output (net/ipv4/ip_output.c:318) [ 1121.751304][ C2] ip_push_pending_frames (./include/net/dst.h:450 net/ipv4/ip_output.c:130 net/ipv4/ip_output.c:1505 net/ipv4/ip_output.c:1525) [ 1121.751491][ C2] ip_send_unicast_reply (./include/net/route.h:266 net/ipv4/ip_output.c:1675) [ 1121.751667][ C2] ? mark_lock (kernel/locking/lockdep.c:186 kernel/locking/lockdep.c:4731) [ 1121.751850][ C2] ? __pfx_ip_send_unicast_reply (net/ipv4/ip_output.c:1605) [ 1121.752069][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 1121.752268][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5827) [ 1121.752444][ C2] ? tcp_v4_send_ack.constprop.0 (./include/linux/local_lock_internal.h:29 net/ipv4/tcp_ipv4.c:1016) [ 1121.752670][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 1121.752846][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 1121.753028][ C2] tcp_v4_send_ack.constprop.0 (./include/net/net_namespace.h:380 ./include/net/sock.h:661 net/ipv4/tcp_ipv4.c:1030) [ 1121.753251][ C2] ? __pfx_tcp_v4_send_ack.constprop.0 (net/ipv4/tcp_ipv4.c:933) [ 1121.753476][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 1121.753655][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4321) [ 1121.753828][ C2] ? tcp_v4_rcv (net/ipv4/tcp_ipv4.c:1086 net/ipv4/tcp_ipv4.c:2427) [ 1121.754001][ C2] tcp_v4_rcv (net/ipv4/tcp_ipv4.c:1086 net/ipv4/tcp_ipv4.c:2427) [ 1121.754186][ C2] ? __pfx_tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2177) [ 1121.754362][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 1121.754540][ C2] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:207 (discriminator 8)) [ 1121.754722][ C2] ? process_backlog (./include/linux/local_lock_internal.h:38 net/core/dev.c:6113) [ 1121.754905][ C2] ip_local_deliver_finish (./include/linux/rcupdate.h:878 net/ipv4/ip_input.c:234) [ 1121.755075][ C2] ? process_backlog (./include/linux/local_lock_internal.h:38 net/core/dev.c:6113) [ 1121.755262][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 1121.755439][ C2] __netif_receive_skb_one_core (net/core/dev.c:5670 (discriminator 4)) [ 1121.755656][ C2] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5663) [ 1121.755874][ C2] ? process_backlog (./include/linux/local_lock_internal.h:38 net/core/dev.c:6113) [ 1121.756079][ C2] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 1121.756265][ C2] ? process_backlog (./include/linux/local_lock_internal.h:38 net/core/dev.c:6113) [ 1121.756443][ C2] process_backlog (./include/linux/rcupdate.h:878 net/core/dev.c:6116) [ 1121.756621][ C2] __napi_poll.constprop.0 (net/core/dev.c:6779) [ 1121.756811][ C2] net_rx_action (net/core/dev.c:6848 net/core/dev.c:6970) [ 1121.756995][ C2] ? __pfx_net_rx_action (net/core/dev.c:6932) [ 1121.757171][ C2] ? __lock_release (kernel/locking/lockdep.c:5483) [ 1121.757350][ C2] ? rcu_core (kernel/rcu/rcu.h:135 kernel/rcu/tree.c:234 kernel/rcu/tree.c:2810) [ 1121.757483][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 1121.757658][ 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) [ 1121.757836][ C2] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 1121.757974][ 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) [ 1121.758148][ C2] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 1121.758292][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4321) [ 1121.758468][ C2] handle_softirqs (kernel/softirq.c:554) [ 1121.758645][ C2] ? __dev_queue_xmit (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:917 net/core/dev.c:4459) [ 1121.758822][ C2] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 1121.758954][ C2] [ 1121.759047][ C2] [ 1121.759137][ C2] __local_bh_enable_ip (kernel/softirq.c:382) [ 1121.759316][ C2] ? __dev_queue_xmit (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:917 net/core/dev.c:4459) [ 1121.759491][ C2] __dev_queue_xmit (net/core/dev.c:4460) [ 1121.759673][ C2] ? __lock_release (kernel/locking/lockdep.c:5501) [ 1121.759847][ C2] ? ip_finish_output2 (./include/net/neighbour.h:540 net/ipv4/ip_output.c:236) [ 1121.760025][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 1121.760206][ 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) [ 1121.760384][ C2] ? __pfx___dev_queue_xmit (net/core/dev.c:4341) [ 1121.760562][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4321) [ 1121.760735][ C2] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 1121.760955][ C2] ? neigh_hh_output (./include/linux/seqlock.h:74 ./include/linux/seqlock.h:757 ./include/net/neighbour.h:496) [ 1121.761146][ C2] ip_finish_output2 (./include/net/neighbour.h:540 net/ipv4/ip_output.c:236) [ 1121.761328][ C2] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:200) [ 1121.761501][ C2] ? __ip_finish_output (./include/linux/skbuff.h:1669 ./include/linux/skbuff.h:5010 net/ipv4/ip_output.c:308 net/ipv4/ip_output.c:296) [ 1121.761677][ C2] __ip_queue_xmit (net/ipv4/ip_output.c:536 (discriminator 4)) [ 1121.761858][ 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:1605 (discriminator 4)) [ 1121.762033][ C2] __tcp_transmit_skb (net/ipv4/tcp_output.c:1466 (discriminator 4)) [ 1121.762220][ C2] ? __pfx___tcp_transmit_skb (net/ipv4/tcp_output.c:1287) [ 1121.762391][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4321) [ 1121.762579][ C2] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 1121.762793][ 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:2631) [ 1121.763011][ C2] tcp_write_xmit (net/ipv4/tcp_output.c:2830) [ 1121.763189][ C2] ? tcp_current_mss (./include/net/dst.h:216 net/ipv4/tcp_output.c:1872) [ 1121.763365][ C2] ? __pfx_tcp_current_mss (net/ipv4/tcp_output.c:1861) [ 1121.763537][ C2] ? __alloc_skb (./arch/x86/include/asm/atomic.h:28 ./include/linux/atomic/atomic-arch-fallback.h:503 ./include/linux/atomic/atomic-instrumented.h:68 ./include/linux/refcount.h:125 net/core/skbuff.c:702) [ 1121.763710][ C2] ? __pfx_tcp_write_xmit (net/ipv4/tcp_output.c:2739) [ 1121.763888][ C2] ? tcp_set_state (net/ipv4/tcp.c:2870 (discriminator 53)) [ 1121.764068][ C2] ? __pfx_tcp_set_state (net/ipv4/tcp.c:2870) [ 1121.764248][ C2] __tcp_push_pending_frames (net/ipv4/tcp_output.c:3015) [ 1121.764428][ C2] inet_shutdown (net/ipv4/af_inet.c:925) [ 1121.764604][ C2] ? sockfd_lookup_light (net/socket.c:557) [ 1121.764791][ C2] __sys_shutdown (net/socket.c:2448 net/socket.c:2460) [ 1121.764965][ C2] ? __pfx___sys_shutdown (net/socket.c:2454) [ 1121.765139][ C2] ? ksys_read (fs/read_write.c:712) [ 1121.765322][ C2] ? __pfx_ksys_read (fs/read_write.c:702) [ 1121.765512][ C2] __x64_sys_shutdown (net/socket.c:2466) [ 1121.765685][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 1121.765869][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 1121.766091][ C2] RIP: 0033:0x7f082e32abeb [ 1121.766287][ C2] Code: 73 01 c3 48 8b 0d 15 92 1b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 30 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e5 91 1b 00 f7 d8 64 89 01 48 All code ======== 0: 73 01 jae 0x3 2: c3 ret 3: 48 8b 0d 15 92 1b 00 mov 0x1b9215(%rip),%rcx # 0x1b921f a: f7 d8 neg %eax c: 64 89 01 mov %eax,%fs:(%rcx) f: 48 83 c8 ff or $0xffffffffffffffff,%rax 13: c3 ret 14: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 1b: 00 00 00 1e: 90 nop 1f: f3 0f 1e fa endbr64 23: b8 30 00 00 00 mov $0x30,%eax 28: 0f 05 syscall 2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 ret 33: 48 8b 0d e5 91 1b 00 mov 0x1b91e5(%rip),%rcx # 0x1b921f 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W Code starting with the faulting instruction =========================================== 0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax 6: 73 01 jae 0x9 8: c3 ret 9: 48 8b 0d e5 91 1b 00 mov 0x1b91e5(%rip),%rcx # 0x1b91f5 10: f7 d8 neg %eax 12: 64 89 01 mov %eax,%fs:(%rcx) 15: 48 rex.W [ 1121.766928][ C2] RSP: 002b:00007fffdd9d7948 EFLAGS: 00000202 ORIG_RAX: 0000000000000030 [ 1121.767197][ C2] RAX: ffffffffffffffda RBX: 0000559bf964d610 RCX: 00007f082e32abeb [ 1121.767461][ C2] RDX: 0000000000000008 RSI: 0000000000000002 RDI: 0000000000000008 [ 1121.767729][ C2] RBP: 0000000000000008 R08: 0000000000000001 R09: 0000000000000000 [ 1121.767995][ C2] R10: 0000000000000000 R11: 0000000000000202 R12: ffffffffffffffff [ 1121.768265][ C2] R13: 0000000000000000 R14: 0000559bd4b1610e R15: 0000000000000001 | [ 1121.775810][ C2] Disabling lock debugging due to kernel taint | [ 1121.776297][ C2] Oops: general protection fault, probably for non-canonical address 0xeb4b474b4b4b4b93: 0000 [#1] PREEMPT SMP KASAN NOPTI | [ 1121.776880][ C2] KASAN: maybe wild-memory-access in range [0x5a5a5a5a5a5a5c98-0x5a5a5a5a5a5a5c9f] | [ 1121.777595][ C2] Tainted: [B]=BAD_PAGE [ 1121.777727][ C2] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1121.778222][ C2] RIP: 0010:xfrm_sk_policy_lookup (net/xfrm/xfrm_policy.c:2218) [ 1121.778452][ C2] Code: 48 89 44 24 18 0f b7 44 24 06 89 44 24 28 e9 a9 01 00 00 4d 85 ed 0f 84 2f 02 00 00 49 8d bd 3e 02 00 00 48 89 f8 48 c1 e8 03 <0f> b6 14 18 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 8c All code ======== 0: 48 89 44 24 18 mov %rax,0x18(%rsp) 5: 0f b7 44 24 06 movzwl 0x6(%rsp),%eax a: 89 44 24 28 mov %eax,0x28(%rsp) e: e9 a9 01 00 00 jmp 0x1bc 13: 4d 85 ed test %r13,%r13 16: 0f 84 2f 02 00 00 je 0x24b 1c: 49 8d bd 3e 02 00 00 lea 0x23e(%r13),%rdi 23: 48 89 f8 mov %rdi,%rax 26: 48 c1 e8 03 shr $0x3,%rax 2a:* 0f b6 14 18 movzbl (%rax,%rbx,1),%edx <-- trapping instruction 2e: 48 89 f8 mov %rdi,%rax 31: 83 e0 07 and $0x7,%eax 34: 83 c0 01 add $0x1,%eax 37: 38 d0 cmp %dl,%al 39: 7c 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 .byte 0x85 3f: 8c .byte 0x8c Code starting with the faulting instruction =========================================== 0: 0f b6 14 18 movzbl (%rax,%rbx,1),%edx 4: 48 89 f8 mov %rdi,%rax 7: 83 e0 07 and $0x7,%eax a: 83 c0 01 add $0x1,%eax d: 38 d0 cmp %dl,%al f: 7c 08 jl 0x19 11: 84 d2 test %dl,%dl 13: 0f .byte 0xf 14: 85 .byte 0x85 15: 8c .byte 0x8c [ 1121.779176][ C2] RSP: 0018:ffffc90000240150 EFLAGS: 00010206 [ 1121.779397][ C2] RAX: 0b4b4b4b4b4b4b93 RBX: dffffc0000000000 RCX: ffffffff9e9174c8 [ 1121.779656][ C2] RDX: 0000000000000000 RSI: 0000000000000008 RDI: 5a5a5a5a5a5a5c98 [ 1121.779914][ C2] RBP: ffff888007fda008 R08: 0000000000000000 R09: 0000000000000000 [ 1121.780176][ C2] R10: ffffffffa097388f R11: 205d324320202020 R12: 0000000000000000 [ 1121.780444][ C2] R13: 5a5a5a5a5a5a5a5a R14: ffff888007fda008 R15: ffffc90000240340 [ 1121.780694][ C2] FS: 00007f082e29c740(0000) GS:ffff88802f700000(0000) knlGS:0000000000000000 [ 1121.780991][ C2] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1121.781321][ C2] CR2: 0000559bf9653b88 CR3: 0000000006286002 CR4: 0000000000772ef0 [ 1121.781589][ C2] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 1121.781848][ C2] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1121.782215][ C2] PKRU: 55555554 [ 1121.782344][ C2] Call Trace: [ 1121.782472][ C2] [ 1121.782560][ C2] ? die_addr (arch/x86/kernel/dumpstack.c:421 arch/x86/kernel/dumpstack.c:460) [ 1121.782691][ C2] ? exc_general_protection (arch/x86/kernel/traps.c:751 arch/x86/kernel/traps.c:693) [ 1121.782868][ C2] ? asm_exc_general_protection (./arch/x86/include/asm/idtentry.h:617) [ 1121.783154][ C2] ? xfrm_sk_policy_lookup (net/xfrm/xfrm_policy.c:2213) [ 1121.783330][ C2] ? xfrm_sk_policy_lookup (net/xfrm/xfrm_policy.c:2218) [ 1121.783498][ C2] ? __pfx_xfrm_sk_policy_lookup (net/xfrm/xfrm_policy.c:2208) [ 1121.783710][ C2] ? xfrm_lookup_with_ifid (net/xfrm/xfrm_policy.c:3145) [ 1121.783882][ C2] xfrm_lookup_with_ifid (net/xfrm/xfrm_policy.c:3147) [ 1121.784054][ C2] ? __pfx_xfrm_lookup_with_ifid (net/xfrm/xfrm_policy.c:3132) [ 1121.784265][ C2] ? l4proto_manip_pkt (./include/net/checksum.h:167 net/netfilter/nf_nat_proto.c:216 net/netfilter/nf_nat_proto.c:342) nf_nat [ 1121.784488][ C2] nf_xfrm_me_harder (net/netfilter/nf_nat_proto.c:684) nf_nat [ 1121.784660][ C2] ? __pfx_nf_xfrm_me_harder (net/netfilter/nf_nat_proto.c:664) nf_nat [ 1121.784879][ C2] ? nft_do_chain_ipv4 (net/netfilter/nft_chain_filter.c:17) nf_tables [ 1121.785116][ C2] ? __pfx_nft_do_chain_ipv4 (net/netfilter/nft_chain_filter.c:17) nf_tables [ 1121.785461][ C2] nf_nat_ipv4_out (net/netfilter/nf_nat_proto.c:783 net/netfilter/nf_nat_proto.c:755) nf_nat [ 1121.785635][ C2] ? __pfx_nf_nat_ipv4_out (net/netfilter/nf_nat_proto.c:757) nf_nat [ 1121.785854][ C2] nf_hook_slow (./include/linux/netfilter.h:154 net/netfilter/core.c:626) [ 1121.786028][ C2] nf_hook (./include/linux/netfilter.h:269) [ 1121.786259][ C2] ? __pfx_ip_finish_output (net/ipv4/ip_output.c:318) [ 1121.786427][ C2] ? __pfx_nf_hook (./include/linux/netfilter.h:227) [ 1121.786600][ C2] ? __ip_append_data (./include/linux/skbuff.h:3205 ./include/linux/skbuff.h:3213 ./include/linux/skbuff.h:3227 net/ipv4/ip_output.c:1165) [ 1121.786795][ C2] ? __pfx_ip_finish_output (net/ipv4/ip_output.c:318) [ 1121.787091][ C2] ip_output (./include/linux/netfilter.h:301 net/ipv4/ip_output.c:434) [ 1121.787227][ C2] ? __pfx_ip_finish_output (net/ipv4/ip_output.c:318) [ 1121.787407][ C2] ip_push_pending_frames (./include/net/dst.h:450 net/ipv4/ip_output.c:130 net/ipv4/ip_output.c:1505 net/ipv4/ip_output.c:1525) [ 1121.787595][ C2] ip_send_unicast_reply (./include/net/route.h:266 net/ipv4/ip_output.c:1675) [ 1121.787766][ C2] ? mark_lock (kernel/locking/lockdep.c:186 kernel/locking/lockdep.c:4731) [ 1121.788042][ C2] ? __pfx_ip_send_unicast_reply (net/ipv4/ip_output.c:1605) [ 1121.788266][ C2] ? __lock_acquire (kernel/locking/lockdep.c:5202) [ 1121.788442][ C2] ? lock_acquire.part.0 (kernel/locking/lockdep.c:467 kernel/locking/lockdep.c:5827) [ 1121.788616][ C2] ? tcp_v4_send_ack.constprop.0 (./include/linux/local_lock_internal.h:29 net/ipv4/tcp_ipv4.c:1016) [ 1121.788830][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 1121.789007][ C2] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 1121.789179][ C2] tcp_v4_send_ack.constprop.0 (./include/net/net_namespace.h:380 ./include/net/sock.h:661 net/ipv4/tcp_ipv4.c:1030) [ 1121.789400][ C2] ? __pfx_tcp_v4_send_ack.constprop.0 (net/ipv4/tcp_ipv4.c:933) [ 1121.789724][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 1121.789899][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4321) [ 1121.790068][ C2] ? tcp_v4_rcv (net/ipv4/tcp_ipv4.c:1086 net/ipv4/tcp_ipv4.c:2427) [ 1121.790244][ C2] tcp_v4_rcv (net/ipv4/tcp_ipv4.c:1086 net/ipv4/tcp_ipv4.c:2427) [ 1121.790523][ C2] ? __pfx_tcp_v4_rcv (net/ipv4/tcp_ipv4.c:2177) [ 1121.790695][ C2] ? __pfx_lock_acquire.part.0 (kernel/locking/lockdep.c:5790) [ 1121.790876][ C2] ip_protocol_deliver_rcu (net/ipv4/ip_input.c:207 (discriminator 8)) [ 1121.791052][ C2] ? process_backlog (./include/linux/local_lock_internal.h:38 net/core/dev.c:6113) [ 1121.791325][ C2] ip_local_deliver_finish (./include/linux/rcupdate.h:878 net/ipv4/ip_input.c:234) [ 1121.791498][ C2] ? process_backlog (./include/linux/local_lock_internal.h:38 net/core/dev.c:6113) [ 1121.791682][ C2] ? __pfx_ip_rcv (net/ipv4/ip_input.c:562) [ 1121.791850][ C2] __netif_receive_skb_one_core (net/core/dev.c:5670 (discriminator 4)) [ 1121.792160][ C2] ? __pfx___netif_receive_skb_one_core (net/core/dev.c:5663) [ 1121.792382][ C2] ? process_backlog (./include/linux/local_lock_internal.h:38 net/core/dev.c:6113) [ 1121.792556][ C2] ? lock_acquire (kernel/locking/lockdep.c:5798) [ 1121.792729][ C2] ? process_backlog (./include/linux/local_lock_internal.h:38 net/core/dev.c:6113) [ 1121.793007][ C2] process_backlog (./include/linux/rcupdate.h:878 net/core/dev.c:6116) [ 1121.793179][ C2] __napi_poll.constprop.0 (net/core/dev.c:6779) [ 1121.793349][ C2] net_rx_action (net/core/dev.c:6848 net/core/dev.c:6970) [ 1121.793521][ C2] ? __pfx_net_rx_action (net/core/dev.c:6932) [ 1121.793688][ C2] ? __lock_release (kernel/locking/lockdep.c:5483) [ 1121.793863][ C2] ? rcu_core (kernel/rcu/rcu.h:135 kernel/rcu/tree.c:234 kernel/rcu/tree.c:2810) [ 1121.793996][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 1121.794166][ 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) [ 1121.794343][ C2] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 1121.794477][ 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) [ 1121.794647][ C2] ? mark_lock (kernel/locking/lockdep.c:4703 (discriminator 3)) [ 1121.794781][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4321) [ 1121.794949][ C2] handle_softirqs (kernel/softirq.c:554) [ 1121.795223][ C2] ? __dev_queue_xmit (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:917 net/core/dev.c:4459) [ 1121.795406][ C2] do_softirq (kernel/softirq.c:455 kernel/softirq.c:442) [ 1121.795536][ C2] [ 1121.795625][ C2] [ 1121.795715][ C2] __local_bh_enable_ip (kernel/softirq.c:382) [ 1121.795880][ C2] ? __dev_queue_xmit (./include/linux/rcupdate.h:347 ./include/linux/rcupdate.h:917 net/core/dev.c:4459) [ 1121.796154][ C2] __dev_queue_xmit (net/core/dev.c:4460) [ 1121.796341][ C2] ? __lock_release (kernel/locking/lockdep.c:5501) [ 1121.796522][ C2] ? ip_finish_output2 (./include/net/neighbour.h:540 net/ipv4/ip_output.c:236) [ 1121.796716][ C2] ? __pfx___lock_release (kernel/locking/lockdep.c:5477) [ 1121.797013][ 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) [ 1121.797187][ C2] ? __pfx___dev_queue_xmit (net/core/dev.c:4341) [ 1121.797367][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4321) [ 1121.797541][ C2] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 1121.797750][ C2] ? neigh_hh_output (./include/linux/seqlock.h:74 ./include/linux/seqlock.h:757 ./include/net/neighbour.h:496) [ 1121.797925][ C2] ip_finish_output2 (./include/net/neighbour.h:540 net/ipv4/ip_output.c:236) [ 1121.798100][ C2] ? __pfx_ip_finish_output2 (net/ipv4/ip_output.c:200) [ 1121.798275][ C2] ? __ip_finish_output (./include/linux/skbuff.h:1669 ./include/linux/skbuff.h:5010 net/ipv4/ip_output.c:308 net/ipv4/ip_output.c:296) [ 1121.798451][ C2] __ip_queue_xmit (net/ipv4/ip_output.c:536 (discriminator 4)) [ 1121.798625][ 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:1605 (discriminator 4)) [ 1121.798799][ C2] __tcp_transmit_skb (net/ipv4/tcp_output.c:1466 (discriminator 4)) [ 1121.798973][ C2] ? __pfx___tcp_transmit_skb (net/ipv4/tcp_output.c:1287) [ 1121.799145][ C2] ? mark_held_locks (kernel/locking/lockdep.c:4321) [ 1121.799420][ C2] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4347 kernel/locking/lockdep.c:4406) [ 1121.799632][ 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:2631) [ 1121.799849][ C2] tcp_write_xmit (net/ipv4/tcp_output.c:2830) [ 1121.800121][ C2] ? tcp_current_mss (./include/net/dst.h:216 net/ipv4/tcp_output.c:1872) [ 1121.800303][ C2] ? __pfx_tcp_current_mss (net/ipv4/tcp_output.c:1861) [ 1121.800498][ C2] ? __alloc_skb (./arch/x86/include/asm/atomic.h:28 ./include/linux/atomic/atomic-arch-fallback.h:503 ./include/linux/atomic/atomic-instrumented.h:68 ./include/linux/refcount.h:125 net/core/skbuff.c:702) [ 1121.800692][ C2] ? __pfx_tcp_write_xmit (net/ipv4/tcp_output.c:2739) [ 1121.800876][ C2] ? tcp_set_state (net/ipv4/tcp.c:2870 (discriminator 53)) [ 1121.801167][ C2] ? __pfx_tcp_set_state (net/ipv4/tcp.c:2870) [ 1121.801357][ C2] __tcp_push_pending_frames (net/ipv4/tcp_output.c:3015) [ 1121.801548][ C2] inet_shutdown (net/ipv4/af_inet.c:925) [ 1121.801733][ C2] ? sockfd_lookup_light (net/socket.c:557) [ 1121.801926][ C2] __sys_shutdown (net/socket.c:2448 net/socket.c:2460) [ 1121.802114][ C2] ? __pfx___sys_shutdown (net/socket.c:2454) [ 1121.802303][ C2] ? ksys_read (fs/read_write.c:712) [ 1121.802491][ C2] ? __pfx_ksys_read (fs/read_write.c:702) [ 1121.802778][ C2] __x64_sys_shutdown (net/socket.c:2466) [ 1121.802961][ C2] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 1121.803145][ C2] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 1121.803378][ C2] RIP: 0033:0x7f082e32abeb [ 1121.803683][ C2] Code: 73 01 c3 48 8b 0d 15 92 1b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 30 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e5 91 1b 00 f7 d8 64 89 01 48 All code ======== 0: 73 01 jae 0x3 2: c3 ret 3: 48 8b 0d 15 92 1b 00 mov 0x1b9215(%rip),%rcx # 0x1b921f a: f7 d8 neg %eax c: 64 89 01 mov %eax,%fs:(%rcx) f: 48 83 c8 ff or $0xffffffffffffffff,%rax 13: c3 ret 14: 66 2e 0f 1f 84 00 00 cs nopw 0x0(%rax,%rax,1) 1b: 00 00 00 1e: 90 nop 1f: f3 0f 1e fa endbr64 23: b8 30 00 00 00 mov $0x30,%eax 28: 0f 05 syscall 2a:* 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax <-- trapping instruction 30: 73 01 jae 0x33 32: c3 ret 33: 48 8b 0d e5 91 1b 00 mov 0x1b91e5(%rip),%rcx # 0x1b921f 3a: f7 d8 neg %eax 3c: 64 89 01 mov %eax,%fs:(%rcx) 3f: 48 rex.W Code starting with the faulting instruction =========================================== 0: 48 3d 01 f0 ff ff cmp $0xfffffffffffff001,%rax 6: 73 01 jae 0x9 8: c3 ret 9: 48 8b 0d e5 91 1b 00 mov 0x1b91e5(%rip),%rcx # 0x1b91f5 10: f7 d8 neg %eax 12: 64 89 01 mov %eax,%fs:(%rcx) 15: 48 rex.W [ 1121.804316][ C2] RSP: 002b:00007fffdd9d7948 EFLAGS: 00000202 ORIG_RAX: 0000000000000030 [ 1121.804703][ C2] RAX: ffffffffffffffda RBX: 0000559bf964d610 RCX: 00007f082e32abeb [ 1121.804983][ C2] RDX: 0000000000000008 RSI: 0000000000000002 RDI: 0000000000000008 [ 1121.805252][ C2] RBP: 0000000000000008 R08: 0000000000000001 R09: 0000000000000000 [ 1121.805630][ C2] R10: 0000000000000000 R11: 0000000000000202 R12: ffffffffffffffff Finger prints: xfrm_sk_policy_lookup:xfrm_lookup_with_ifid:nf_xfrm_me_harder:nf_nat_ipv4_out:nf_hook_slow print_report:kasan_report:xfrm_lookup_with_ifid:nf_xfrm_me_harder:nf_nat_ipv4_out