------------[ cut here ]------------ WARNING: CPU: 1 PID: 8717 at include/linux/skbuff.h:2911 skb_transport_header include/linux/skbuff.h:2911 [inline] WARNING: CPU: 1 PID: 8717 at include/linux/skbuff.h:2911 skb_transport_offset include/linux/skbuff.h:3018 [inline] WARNING: CPU: 1 PID: 8717 at include/linux/skbuff.h:2911 ipgre_xmit+0x894/0x970 net/ipv4/ip_gre.c:639 Modules linked in: CPU: 1 PID: 8717 Comm: syz-executor.5 Not tainted 5.18.0-syzkaller-12185-gf5be22c64bd6 #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 ae 2a d1 f9 48 8b 14 24 e9 be f9 ff ff e8 c0 2a d1 f9 e9 02 fa ff ff e8 a6 2a d1 f9 e9 55 fa ff ff e8 9c 33 84 f9 <0f> 0b e9 66 fa ff ff 48 8b 7c 24 08 e8 ab 2a d1 f9 e9 03 f8 ff ff RSP: 0018:ffffc90004caf4b8 EFLAGS: 00010212 RAX: 0000000000000284 RBX: 000000000000ffff RCX: ffffc900035f3000 RDX: 0000000000040000 RSI: ffffffff87f650b4 RDI: 0000000000000003 RBP: ffff8880185b6640 R08: 0000000000000003 R09: 000000000000ffff R10: 000000000000ffff R11: 0000000000000001 R12: ffff8880202f0000 R13: ffff8880185b66f4 R14: 0000000000000004 R15: ffff8880223d6800 FS: 00007fe93e1b8700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fe93d19d090 CR3: 0000000046df7000 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_a923ad5a4e26a162+0x56/0x5e bpf_prog_a923ad5a4e26a162+0x56/0x5e bpf_dispatcher_nop_func include/linux/bpf.h:885 [inline] __bpf_prog_run include/linux/filter.h:594 [inline] bpf_prog_run include/linux/filter.h:601 [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:0x7fe93d089109 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:00007fe93e1b8168 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fe93d19bf60 RCX: 00007fe93d089109 RDX: 0000000000000048 RSI: 0000000020000080 RDI: 000000000000000a RBP: 00007fe93d0e305d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff1f453b5f R14: 00007fe93e1b8300 R15: 0000000000022000