------------[ cut here ]------------ kernel BUG at net/ipv4/ip_output.c:777! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 10572 Comm: syz-executor3 Not tainted 4.20.0-rc7+ #188 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip_do_fragment+0x240c/0x2a90 net/ipv4/ip_output.c:777 Code: ff 48 89 cf e8 f5 c9 21 fb e9 f5 ea ff ff 48 89 df e8 28 ca 21 fb e9 1b e7 ff ff e8 7e ca 21 fb e9 b0 e6 ff ff e8 24 dc dd fa <0f> 0b 4c 89 f7 e8 ca c9 21 fb e9 48 e6 ff ff 4c 89 e7 e8 bd c9 21 RSP: 0018:ffff8881949fe500 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8881ce8e2980 RCX: ffffc9000c02d000 RDX: 0000000000040000 RSI: ffffffff86a1a94c RDI: 0000000000000005 RBP: ffff8881949fe6d8 R08: ffff888195d3e280 R09: ffffed1031060832 R10: ffffed1031060834 R11: ffff8881883041a3 R12: ffff8881ce8e2a34 R13: 00000000fffffff2 R14: ffff8881ce8e2a40 R15: dffffc0000000000 FS: 00007fcedb781700(0000) GS:ffff8881dac00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004efcb8 CR3: 00000001bee49000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600 Call Trace: ip_fragment.constprop.53+0x179/0x240 net/ipv4/ip_output.c:550 ip_finish_output+0x6ae/0xfa0 net/ipv4/ip_output.c:315 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip_output+0x217/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+0x604/0x980 net/ipv4/ip_tunnel_core.c:91 ip_tunnel_xmit+0x15a4/0x3be4 net/ipv4/ip_tunnel.c:787 __gre_xmit+0x5e9/0x980 net/ipv4/ip_gre.c:453 ipgre_xmit+0x3e1/0xba0 net/ipv4/ip_gre.c:707 __netdev_start_xmit include/linux/netdevice.h:4382 [inline] netdev_start_xmit include/linux/netdevice.h:4391 [inline] xmit_one net/core/dev.c:3278 [inline] dev_hard_start_xmit+0x286/0xc70 net/core/dev.c:3294 __dev_queue_xmit+0x2f5f/0x3ac0 net/core/dev.c:3864 dev_queue_xmit+0x17/0x20 net/core/dev.c:3897 __bpf_tx_skb net/core/filter.c:2014 [inline] __bpf_redirect_common net/core/filter.c:2052 [inline] __bpf_redirect+0x5ca/0xb40 net/core/filter.c:2059 ____bpf_clone_redirect net/core/filter.c:2092 [inline] bpf_clone_redirect+0x2e4/0x480 net/core/filter.c:2064 bpf_prog_bebbfe2050753572+0x72e/0x1000 Modules linked in: ---[ end trace c07e7fa19d8b3f78 ]--- RIP: 0010:ip_do_fragment+0x240c/0x2a90 net/ipv4/ip_output.c:777 Code: ff 48 89 cf e8 f5 c9 21 fb e9 f5 ea ff ff 48 89 df e8 28 ca 21 fb e9 1b e7 ff ff e8 7e ca 21 fb e9 b0 e6 ff ff e8 24 dc dd fa <0f> 0b 4c 89 f7 e8 ca c9 21 fb e9 48 e6 ff ff 4c 89 e7 e8 bd c9 21 RSP: 0018:ffff8881949fe500 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8881ce8e2980 RCX: ffffc9000c02d000 kobject: 'loop2' (00000000cbaaba84): kobject_uevent_env RDX: 0000000000040000 RSI: ffffffff86a1a94c RDI: 0000000000000005 RBP: ffff8881949fe6d8 R08: ffff888195d3e280 R09: ffffed1031060832 R10: ffffed1031060834 R11: ffff8881883041a3 R12: ffff8881ce8e2a34 R13: 00000000fffffff2 R14: ffff8881ce8e2a40 R15: dffffc0000000000 kobject: 'loop2' (00000000cbaaba84): fill_kobj_path: path = '/devices/virtual/block/loop2' FS: 00007fcedb781700(0000) GS:ffff8881dac00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004efcb8 CR3: 00000001bee49000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600