------------[ cut here ]------------ WARNING: CPU: 1 PID: 7667 at include/linux/skbuff.h:2850 skb_mac_header include/linux/skbuff.h:2850 [inline] WARNING: CPU: 1 PID: 7667 at include/linux/skbuff.h:2850 ip6erspan_tunnel_xmit+0x1d9c/0x2d90 net/ipv6/ip6_gre.c:962 Modules linked in: CPU: 1 PID: 7667 Comm: syz-executor.5 Not tainted 6.2.0-rc8-syzkaller-00083-g3ac88fa4605e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:skb_mac_header include/linux/skbuff.h:2850 [inline] RIP: 0010:ip6erspan_tunnel_xmit+0x1d9c/0x2d90 net/ipv6/ip6_gre.c:962 Code: 04 02 41 01 de 84 c0 74 08 3c 03 0f 8e 1c 0a 00 00 45 89 b4 24 c8 00 00 00 c6 85 77 fe ff ff 01 e9 e5 e6 ff ff e8 04 63 d3 f8 <0f> 0b e9 68 e7 ff ff e8 f8 62 d3 f8 49 8d bf f0 0c 00 00 48 b8 00 RSP: 0018:ffffc9000385f838 EFLAGS: 00010212 RAX: 0000000000000163 RBX: 000000000000ffff RCX: ffffc9000608c000 RDX: 0000000000040000 RSI: ffffffff88ada60c RDI: 0000000000000003 RBP: ffffc9000385f9e0 R08: 0000000000000003 R09: 000000000000ffff R10: 000000000000ffff R11: 0000000000000000 R12: ffff88801cc9f780 R13: 00000000000000d0 R14: ffff8880759e00d0 R15: ffff88802283e000 FS: 00007fe692a27700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32922000 CR3: 000000007921d000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __netdev_start_xmit include/linux/netdevice.h:4863 [inline] netdev_start_xmit include/linux/netdevice.h:4877 [inline] __dev_direct_xmit+0x504/0x730 net/core/dev.c:4297 dev_direct_xmit include/linux/netdevice.h:3046 [inline] packet_direct_xmit+0x1b7/0x2c0 net/packet/af_packet.c:282 packet_snd net/packet/af_packet.c:3073 [inline] packet_sendmsg+0x334c/0x5500 net/packet/af_packet.c:3104 sock_sendmsg_nosec net/socket.c:714 [inline] sock_sendmsg+0xd3/0x120 net/socket.c:734 __sys_sendto+0x23a/0x340 net/socket.c:2120 __do_sys_sendto net/socket.c:2132 [inline] __se_sys_sendto net/socket.c:2128 [inline] __x64_sys_sendto+0xe1/0x1b0 net/socket.c:2128 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fe691c8c0f9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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:00007fe692a27168 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 00007fe691dac120 RCX: 00007fe691c8c0f9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fe691ce7ae9 R08: 0000000020000040 R09: 0000000000000014 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fe691ecfb1f R14: 00007fe692a27300 R15: 0000000000022000