------------[ cut here ]------------ WARNING: CPU: 0 PID: 4981 at include/linux/skbuff.h:2904 skb_transport_header include/linux/skbuff.h:2904 [inline] WARNING: CPU: 0 PID: 4981 at include/linux/skbuff.h:2904 skb_transport_offset include/linux/skbuff.h:3011 [inline] WARNING: CPU: 0 PID: 4981 at include/linux/skbuff.h:2904 ipgre_xmit+0x894/0x970 net/ipv4/ip_gre.c:639 Modules linked in: CPU: 0 PID: 4981 Comm: syz-executor.1 Not tainted 5.18.0-syzkaller-12007-g17d8e3d90b69 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:skb_transport_header include/linux/skbuff.h:2904 [inline] RIP: 0010:skb_transport_offset include/linux/skbuff.h:3011 [inline] RIP: 0010:ipgre_xmit+0x894/0x970 net/ipv4/ip_gre.c:639 Code: 89 14 24 e8 6e 39 d1 f9 48 8b 14 24 e9 be f9 ff ff e8 80 39 d1 f9 e9 02 fa ff ff e8 66 39 d1 f9 e9 55 fa ff ff e8 4c 79 84 f9 <0f> 0b e9 66 fa ff ff 48 8b 7c 24 08 e8 6b 39 d1 f9 e9 03 f8 ff ff RSP: 0018:ffffc9000d7ff4a0 EFLAGS: 00010216 RAX: 00000000000010df RBX: 000000000000ffff RCX: ffffc90002ef9000 RDX: 0000000000040000 RSI: ffffffff87f60b04 RDI: 0000000000000003 RBP: ffff888021c87900 R08: 0000000000000003 R09: 000000000000ffff R10: 000000000000ffff R11: 0000000000000000 R12: ffff888053cde000 R13: ffff888021c879b4 R14: 0000000000000004 R15: ffff888020d30000 FS: 0000000000000000(0000) GS:ffff88802ca00000(0063) knlGS:00000000f7f85b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 000000002fd28000 CR3: 000000002a79b000 CR4: 0000000000150ef0 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+0x2be8/0x3a00 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+0x838/0xe50 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_37bec1c0bb1a45ac+0x59/0x5e 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:4935 __do_sys_bpf kernel/bpf/syscall.c:5021 [inline] __se_sys_bpf kernel/bpf/syscall.c:5019 [inline] __ia32_sys_bpf+0x74/0xc0 kernel/bpf/syscall.c:5019 do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline] __do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178 do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203 entry_SYSENTER_compat_after_hwframe+0x53/0x62 RIP: 0023:0xf7f8a549 Code: 03 74 c0 01 10 05 03 74 b8 01 10 06 03 74 b4 01 10 07 03 74 b0 01 10 08 03 74 d8 01 00 00 00 00 00 51 52 55 89 e5 0f 34 cd 80 <5d> 5a 59 c3 90 90 90 90 8d b4 26 00 00 00 00 8d b4 26 00 00 00 00 RSP: 002b:00000000f7f855cc EFLAGS: 00000296 ORIG_RAX: 0000000000000165 RAX: ffffffffffffffda RBX: 000000000000000a RCX: 0000000020000080 RDX: 0000000000000028 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 ---------------- Code disassembly (best guess): 0: 03 74 c0 01 add 0x1(%rax,%rax,8),%esi 4: 10 05 03 74 b8 01 adc %al,0x1b87403(%rip) # 0x1b8740d a: 10 06 adc %al,(%rsi) c: 03 74 b4 01 add 0x1(%rsp,%rsi,4),%esi 10: 10 07 adc %al,(%rdi) 12: 03 74 b0 01 add 0x1(%rax,%rsi,4),%esi 16: 10 08 adc %cl,(%rax) 18: 03 74 d8 01 add 0x1(%rax,%rbx,8),%esi 1c: 00 00 add %al,(%rax) 1e: 00 00 add %al,(%rax) 20: 00 51 52 add %dl,0x52(%rcx) 23: 55 push %rbp 24: 89 e5 mov %esp,%ebp 26: 0f 34 sysenter 28: cd 80 int $0x80 * 2a: 5d pop %rbp <-- trapping instruction 2b: 5a pop %rdx 2c: 59 pop %rcx 2d: c3 retq 2e: 90 nop 2f: 90 nop 30: 90 nop 31: 90 nop 32: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi 39: 8d b4 26 00 00 00 00 lea 0x0(%rsi,%riz,1),%esi