------------[ cut here ]------------ WARNING: CPU: 1 PID: 15827 at include/linux/skbuff.h:2911 skb_transport_header include/linux/skbuff.h:2911 [inline] WARNING: CPU: 1 PID: 15827 at include/linux/skbuff.h:2911 skb_transport_offset include/linux/skbuff.h:3018 [inline] WARNING: CPU: 1 PID: 15827 at include/linux/skbuff.h:2911 ipgre_xmit+0x894/0x970 net/ipv4/ip_gre.c:639 Modules linked in: CPU: 1 PID: 15827 Comm: syz-executor.0 Not tainted 5.18.0-syzkaller-12169-g3e6fe5ce4d48 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:skb_transport_header include/linux/skbuff.h:2911 [inline] RIP: 0010:skb_transport_offset include/linux/skbuff.h:3018 [inline] RIP: 0010:ipgre_xmit+0x894/0x970 net/ipv4/ip_gre.c:639 Code: 89 14 24 e8 fe 2e d1 f9 48 8b 14 24 e9 be f9 ff ff e8 10 2f d1 f9 e9 02 fa ff ff e8 f6 2e d1 f9 e9 55 fa ff ff e8 5c 46 84 f9 <0f> 0b e9 66 fa ff ff 48 8b 7c 24 08 e8 fb 2e d1 f9 e9 03 f8 ff ff RSP: 0018:ffffc9000c94f4b8 EFLAGS: 00010212 RAX: 000000000000029f RBX: 000000000000ffff RCX: ffffc900032a1000 RDX: 0000000000040000 RSI: ffffffff87f63df4 RDI: 0000000000000003 RBP: ffff88807a4b8dc0 R08: 0000000000000003 R09: 000000000000ffff R10: 000000000000ffff R11: 0000000000000001 R12: ffff8880202be000 R13: ffff88807a4b8e74 R14: 0000000000000004 R15: ffff888020dd7c00 FS: 00007f4d024d8700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1759796220 CR3: 0000000047b21000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __netdev_start_xmit include/linux/netdevice.h:4805 [inline] netdev_start_xmit include/linux/netdevice.h:4819 [inline] xmit_one net/core/dev.c:3588 [inline] dev_hard_start_xmit+0x188/0x880 net/core/dev.c:3604 __dev_queue_xmit+0x2b1d/0x3900 net/core/dev.c:4253 dev_queue_xmit include/linux/netdevice.h:2994 [inline] __bpf_tx_skb net/core/filter.c:2114 [inline] __bpf_redirect_no_mac net/core/filter.c:2139 [inline] __bpf_redirect+0x5fe/0xe40 net/core/filter.c:2162 ____bpf_clone_redirect net/core/filter.c:2429 [inline] bpf_clone_redirect+0x2ae/0x420 net/core/filter.c:2401 bpf_prog_5512f9be7368af29+0x56/0x5b bpf_dispatcher_nop_func include/linux/bpf.h:869 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_test_run+0x386/0x9d0 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0xb5e/0x1e10 net/bpf/test_run.c:1155 bpf_prog_test_run kernel/bpf/syscall.c:3591 [inline] __sys_bpf+0x15c1/0x5700 kernel/bpf/syscall.c:4936 __do_sys_bpf kernel/bpf/syscall.c:5022 [inline] __se_sys_bpf kernel/bpf/syscall.c:5020 [inline] __x64_sys_bpf+0x75/0xb0 kernel/bpf/syscall.c:5020 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x46/0xb0 RIP: 0033:0x7f4d01289109 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4d024d8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f4d0139bf60 RCX: 00007f4d01289109 RDX: 0000000000000028 RSI: 00000000200000c0 RDI: 000000000000000a RBP: 00007f4d012e305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff4fa1e51f R14: 00007f4d024d8300 R15: 0000000000022000