------------[ cut here ]------------ kernel BUG at net/ipv4/ip_output.c:776! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 14110 Comm: syz-executor4 Not tainted 4.20.0-rc6+ #108 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:ip_do_fragment+0x2447/0x2ad0 net/ipv4/ip_output.c:776 Code: ff 48 89 cf e8 1a 4c 33 fb e9 dc ea ff ff 48 89 df e8 4d 4c 33 fb e9 02 e7 ff ff e8 a3 4c 33 fb e9 97 e6 ff ff e8 59 e6 ef fa <0f> 0b 4c 89 f7 e8 ef 4b 33 fb e9 2f e6 ff ff 4c 89 e7 e8 e2 4b 33 RSP: 0018:ffff88806c2fe778 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8880a4d20d40 RCX: ffffc9000e24f000 RDX: 0000000000040000 RSI: ffffffff868f3037 RDI: 0000000000000005 RBP: ffff88806c2fe950 R08: ffff88806c806340 R09: ffffed100c59940a R10: ffffed100c59940c R11: ffff888062cca063 R12: ffff8880a4d20e04 R13: 00000000fffffff2 R14: ffff8880a4d20e10 R15: dffffc0000000000 FS: 00007f9791599700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f925504fca0 CR3: 0000000086f2d000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ip_fragment.constprop.50+0x179/0x240 net/ipv4/ip_output.c:549 ip_finish_output+0x6b4/0xfa0 net/ipv4/ip_output.c:315 NF_HOOK_COND include/linux/netfilter.h:278 [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+0x63b/0x9c0 net/ipv4/ip_tunnel_core.c:91 ip_tunnel_xmit+0x15b8/0x3c04 net/ipv4/ip_tunnel.c:787 __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:4356 [inline] netdev_start_xmit include/linux/netdevice.h:4365 [inline] xmit_one net/core/dev.c:3257 [inline] dev_hard_start_xmit+0x295/0xc80 net/core/dev.c:3273 __dev_queue_xmit+0x2f71/0x3ad0 net/core/dev.c:3843 dev_queue_xmit+0x17/0x20 net/core/dev.c:3876 __bpf_tx_skb net/core/filter.c:2017 [inline] __bpf_redirect_common net/core/filter.c:2055 [inline] __bpf_redirect+0x5cf/0xb20 net/core/filter.c:2062 ____bpf_clone_redirect net/core/filter.c:2095 [inline] bpf_clone_redirect+0x2f6/0x490 net/core/filter.c:2067 bpf_prog_bebbfe2050753572+0xdca/0x1000 Modules linked in: ---[ end trace 03ab1ddaa8732692 ]--- RIP: 0010:ip_do_fragment+0x2447/0x2ad0 net/ipv4/ip_output.c:776 Code: ff 48 89 cf e8 1a 4c 33 fb e9 dc ea ff ff 48 89 df e8 4d 4c 33 fb e9 02 e7 ff ff e8 a3 4c 33 fb e9 97 e6 ff ff e8 59 e6 ef fa <0f> 0b 4c 89 f7 e8 ef 4b 33 fb e9 2f e6 ff ff 4c 89 e7 e8 e2 4b 33 RSP: 0018:ffff88806c2fe778 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff8880a4d20d40 RCX: ffffc9000e24f000 RDX: 0000000000040000 RSI: ffffffff868f3037 RDI: 0000000000000005 RBP: ffff88806c2fe950 R08: ffff88806c806340 R09: ffffed100c59940a R10: ffffed100c59940c R11: ffff888062cca063 R12: ffff8880a4d20e04 R13: 00000000fffffff2 R14: ffff8880a4d20e10 R15: dffffc0000000000 FS: 00007f9791599700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 kobject: 'loop2' (000000003d855ba0): kobject_uevent_env CR2: 00007f925504fca0 CR3: 0000000086f2d000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400