------------[ cut here ]------------ WARNING: CPU: 1 PID: 4098 at include/linux/skbuff.h:2908 ipgre_xmit+0x75a/0x890 net/ipv4/ip_gre.c:632 Modules linked in: CPU: 1 PID: 4098 Comm: syz-executor.0 Not tainted 5.18.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:skb_transport_header include/linux/skbuff.h:2908 [inline] RIP: 0010:skb_transport_offset include/linux/skbuff.h:3015 [inline] RIP: 0010:ipgre_xmit+0x75a/0x890 net/ipv4/ip_gre.c:639 Code: e8 1b 18 6e fa 4c 8b 04 24 e9 39 fb ff ff 4c 89 44 24 08 48 89 0c 24 e8 14 18 6e fa 4c 8b 44 24 08 48 8b 0c 24 e9 dc fa ff ff <0f> 0b e9 27 fb ff ff 4c 89 c7 4c 89 04 24 e8 03 18 6e fa 4c 8b 04 RSP: 0018:ffffc90002e1f4d8 EFLAGS: 00010246 RAX: 0000000000000007 RBX: 000000000000ffff RCX: ffffffff87408e21 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88802313e836 RBP: ffff88802313e780 R08: ffff88802313e850 R09: ffff88801c9640e3 R10: ffffed100392c81c R11: 0000000000000001 R12: ffff88807ea52000 R13: 0000000000000004 R14: ffff88802313e834 R15: ffff88802313e848 FS: 00007f6646620700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f664559d090 CR3: 00000000228e4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __netdev_start_xmit include/linux/netdevice.h:4791 [inline] netdev_start_xmit include/linux/netdevice.h:4805 [inline] xmit_one net/core/dev.c:3582 [inline] dev_hard_start_xmit+0x1a5/0x700 net/core/dev.c:3598 __dev_queue_xmit+0x236a/0x3010 net/core/dev.c:4248 dev_queue_xmit include/linux/netdevice.h:2981 [inline] __bpf_tx_skb net/core/filter.c:2113 [inline] __bpf_redirect_no_mac net/core/filter.c:2138 [inline] __bpf_redirect+0x6e2/0xd30 net/core/filter.c:2161 ____bpf_clone_redirect net/core/filter.c:2428 [inline] bpf_clone_redirect+0x26b/0x3f0 net/core/filter.c:2400 bpf_prog_207b739f41707f89+0x56/0x5b bpf_dispatcher_nop_func include/linux/bpf.h:853 [inline] __bpf_prog_run include/linux/filter.h:628 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_test_run+0x3fa/0x8a0 net/bpf/test_run.c:402 bpf_prog_test_run_skb+0xa01/0x1cc0 net/bpf/test_run.c:1144 bpf_prog_test_run kernel/bpf/syscall.c:3596 [inline] __sys_bpf+0x10c4/0x42c0 kernel/bpf/syscall.c:4907 __do_sys_bpf kernel/bpf/syscall.c:4993 [inline] __se_sys_bpf kernel/bpf/syscall.c:4991 [inline] __x64_sys_bpf+0x70/0xb0 kernel/bpf/syscall.c:4991 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+0x44/0xae RIP: 0033:0x7f6645489109 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:00007f6646620168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f664559bf60 RCX: 00007f6645489109 RDX: 0000000000000048 RSI: 0000000020000080 RDI: 000000000000000a RBP: 00007f66454e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd15f906af R14: 00007f6646620300 R15: 0000000000022000