------------[ cut here ]------------ kernel BUG at net/ipv4/ip_output.c:776! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5892 Comm: syz-executor609 Not tainted 4.19.0-rc4+ #221 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip_do_fragment+0x2454/0x2ad0 net/ipv4/ip_output.c:776 Code: 8b 8d 70 fe ff ff e9 69 e8 ff ff 4c 89 ef e8 a3 40 3d fb e9 4b e9 ff ff 4c 89 f7 e8 96 40 3d fb e9 c3 e5 ff ff e8 7c d5 f9 fa <0f> 0b 4c 89 e7 e8 82 40 3d fb e9 87 e8 ff ff 4c 89 f7 89 8d 70 fe RSP: 0018:ffff8801b9eae7d0 EFLAGS: 00010293 RAX: ffff8801d2fa8200 RBX: ffff8801d2a52800 RCX: ffffffff8684e854 RDX: 0000000000000000 RSI: ffffffff8684fed4 RDI: 0000000000000005 RBP: ffff8801b9eae9a8 R08: ffff8801d2fa8200 R09: ffffed0039e9d870 R10: ffffed0039e9d872 R11: ffff8801cf4ec393 R12: ffff8801d2a528c4 R13: 00000000fffffff2 R14: ffff8801d2a528d0 R15: dffffc0000000000 FS: 00000000012ef880(0000) GS:ffff8801dad00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006cc090 CR3: 00000001bc7c6000 CR4: 00000000001406e0 Call Trace: ip_fragment.constprop.50+0x179/0x240 net/ipv4/ip_output.c:549 ip_finish_output+0x6b4/0xf90 net/ipv4/ip_output.c:315 NF_HOOK_COND include/linux/netfilter.h:276 [inline] ip_output+0x21d/0x8d0 net/ipv4/ip_output.c:405 dst_output include/net/dst.h:444 [inline] ip_local_out+0xc5/0x1b0 net/ipv4/ip_output.c:124 iptunnel_xmit+0x56a/0x8d0 net/ipv4/ip_tunnel_core.c:91 ip_tunnel_xmit+0x1586/0x3ac3 net/ipv4/ip_tunnel.c:778 __gre_xmit+0x5e1/0x980 net/ipv4/ip_gre.c:451 ipgre_xmit+0x3e7/0xba0 net/ipv4/ip_gre.c:705 __netdev_start_xmit include/linux/netdevice.h:4320 [inline] netdev_start_xmit include/linux/netdevice.h:4329 [inline] xmit_one net/core/dev.c:3219 [inline] dev_hard_start_xmit+0x295/0xc90 net/core/dev.c:3235 __dev_queue_xmit+0x2f3b/0x3980 net/core/dev.c:3805 dev_queue_xmit+0x17/0x20 net/core/dev.c:3838 __bpf_tx_skb net/core/filter.c:2012 [inline] __bpf_redirect_common net/core/filter.c:2050 [inline] __bpf_redirect+0x5cf/0xb20 net/core/filter.c:2057 ____bpf_clone_redirect net/core/filter.c:2090 [inline] bpf_clone_redirect+0x2f6/0x490 net/core/filter.c:2062 bpf_prog_bebbfe2050753572+0x80d/0x1000 Modules linked in: ---[ end trace da5a61024b07ac95 ]--- RIP: 0010:ip_do_fragment+0x2454/0x2ad0 net/ipv4/ip_output.c:776 Code: 8b 8d 70 fe ff ff e9 69 e8 ff ff 4c 89 ef e8 a3 40 3d fb e9 4b e9 ff ff 4c 89 f7 e8 96 40 3d fb e9 c3 e5 ff ff e8 7c d5 f9 fa <0f> 0b 4c 89 e7 e8 82 40 3d fb e9 87 e8 ff ff 4c 89 f7 89 8d 70 fe RSP: 0018:ffff8801b9eae7d0 EFLAGS: 00010293 RAX: ffff8801d2fa8200 RBX: ffff8801d2a52800 RCX: ffffffff8684e854 RDX: 0000000000000000 RSI: ffffffff8684fed4 RDI: 0000000000000005 RBP: ffff8801b9eae9a8 R08: ffff8801d2fa8200 R09: ffffed0039e9d870 R10: ffffed0039e9d872 R11: ffff8801cf4ec393 R12: ffff8801d2a528c4 R13: 00000000fffffff2 R14: ffff8801d2a528d0 R15: dffffc0000000000 FS: 00000000012ef880(0000) GS:ffff8801dad00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000006cc090 CR3: 00000001bc7c6000 CR4: 00000000001406e0