------------[ cut here ]------------ WARNING: CPU: 0 PID: 4307 at include/linux/skbuff.h:2847 skb_mac_header include/linux/skbuff.h:2847 [inline] WARNING: CPU: 0 PID: 4307 at include/linux/skbuff.h:2847 ip6erspan_tunnel_xmit+0x1178/0x195c net/ipv6/ip6_gre.c:984 Modules linked in: CPU: 0 PID: 4307 Comm: syz-executor651 Not tainted 6.1.20-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : skb_mac_header include/linux/skbuff.h:2847 [inline] pc : ip6erspan_tunnel_xmit+0x1178/0x195c net/ipv6/ip6_gre.c:984 lr : skb_mac_header include/linux/skbuff.h:2847 [inline] lr : ip6erspan_tunnel_xmit+0x1178/0x195c net/ipv6/ip6_gre.c:984 sp : ffff80001dc47460 x29: ffff80001dc47620 x28: 1fffe0001b3acedf x27: 00000000000000d0 x26: dfff800000000000 x25: ffff0000d9228800 x24: 000000000000ffff x23: ffff0000d9d676fa x22: ffff0000d9d676b0 x21: 1fffe0001b3aced6 x20: 000000000000ffff x19: ffff0000d9d67640 x18: ffff80001dc47380 x17: ffff800011206d6c x16: ffff800008503bb4 x15: 000000000000b031 x14: 00000000ffffffff x13: dfff800000000000 x12: 000000000000000c x11: ff808000111e8408 x10: 0000000000000000 x9 : ffff8000111e8408 x8 : ffff0000cd1151c0 x7 : 0000000000000000 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000020 x2 : ffff0000c1476cd0 x1 : 000000000000ffff x0 : 000000000000ffff Call trace: skb_mac_header include/linux/skbuff.h:2847 [inline] ip6erspan_tunnel_xmit+0x1178/0x195c net/ipv6/ip6_gre.c:984 __netdev_start_xmit include/linux/netdevice.h:4847 [inline] netdev_start_xmit include/linux/netdevice.h:4861 [inline] __dev_direct_xmit+0x468/0x830 net/core/dev.c:4314 dev_direct_xmit include/linux/netdevice.h:3028 [inline] packet_direct_xmit+0x15c/0x2d0 net/packet/af_packet.c:282 packet_snd net/packet/af_packet.c:3072 [inline] packet_sendmsg+0x364c/0x4c5c net/packet/af_packet.c:3103 sock_sendmsg_nosec net/socket.c:716 [inline] sock_sendmsg net/socket.c:736 [inline] __sys_sendto+0x3b4/0x504 net/socket.c:2117 __do_sys_sendto net/socket.c:2129 [inline] __se_sys_sendto net/socket.c:2125 [inline] __arm64_sys_sendto+0xd8/0xf8 net/socket.c:2125 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:581 irq event stamp: 2603 hardirqs last enabled at (2601): [] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] hardirqs last enabled at (2601): [] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194 hardirqs last disabled at (2603): [] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405 softirqs last enabled at (2588): [] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32 softirqs last disabled at (2602): [] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19 ---[ end trace 0000000000000000 ]---