------------[ cut here ]------------ kernel BUG at include/linux/skbuff.h:2587! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 4087 Comm: syz-executor.0 Not tainted 5.18.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__skb_pull include/linux/skbuff.h:2587 [inline] RIP: 0010:skb_mac_gso_segment+0x3a0/0x470 net/core/gro.c:136 Code: 60 71 e4 89 be b7 02 00 00 48 c7 c7 c0 71 e4 89 c6 05 89 47 fd 05 01 e8 8f c1 a1 01 e9 d3 fd ff ff 49 c7 c4 ea ff ff ff eb 80 <0f> 0b 48 89 df e8 a6 c3 f6 fa 48 ba 00 00 00 00 00 fc ff df e9 14 RSP: 0018:ffffc90002d8f4d8 EFLAGS: 00010297 RAX: 0000000000000012 RBX: 0000000000000fe0 RCX: 0000000000000000 RDX: 0000000000000007 RSI: 0000000000000012 RDI: ffff8880160d52f4 RBP: 1ffff920005b1e9d R08: ffffed1002c1aa5e R09: ffff8880160d5348 R10: ffff8880160d52f0 R11: 1ffff11002c1aa5e R12: 0000000000005dbc R13: ffff8880160d52f0 R14: 0000000000000012 R15: ffff8880160d5280 FS: 00007fb97f65c700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200015c0 CR3: 0000000072c36000 CR4: 0000000000350ee0 Call Trace: __skb_gso_segment+0x2cb/0x5a0 net/core/dev.c:3359 skb_gso_segment include/linux/netdevice.h:4690 [inline] validate_xmit_skb+0x5e3/0xc40 net/core/dev.c:3618 validate_xmit_skb_list+0xa9/0x120 net/core/dev.c:3668 sch_direct_xmit+0x2d8/0x10a0 net/sched/sch_generic.c:327 __dev_xmit_skb net/core/dev.c:3764 [inline] __dev_queue_xmit+0x11b2/0x30c0 net/core/dev.c:4173 packet_snd net/packet/af_packet.c:3071 [inline] packet_sendmsg+0x1c3e/0x48c0 net/packet/af_packet.c:3102 sock_sendmsg_nosec net/socket.c:705 [inline] sock_sendmsg+0xab/0xe0 net/socket.c:725 ____sys_sendmsg+0x5b9/0x7a0 net/socket.c:2413 ___sys_sendmsg+0xd3/0x150 net/socket.c:2467 __sys_sendmsg+0xb2/0x140 net/socket.c:2496 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:0x7fb97e489109 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:00007fb97f65c168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fb97e59bf60 RCX: 00007fb97e489109 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000003 RBP: 00007fb97e4e308d R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffeefa2e79f R14: 00007fb97f65c300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__skb_pull include/linux/skbuff.h:2587 [inline] RIP: 0010:skb_mac_gso_segment+0x3a0/0x470 net/core/gro.c:136 Code: 60 71 e4 89 be b7 02 00 00 48 c7 c7 c0 71 e4 89 c6 05 89 47 fd 05 01 e8 8f c1 a1 01 e9 d3 fd ff ff 49 c7 c4 ea ff ff ff eb 80 <0f> 0b 48 89 df e8 a6 c3 f6 fa 48 ba 00 00 00 00 00 fc ff df e9 14 RSP: 0018:ffffc90002d8f4d8 EFLAGS: 00010297 RAX: 0000000000000012 RBX: 0000000000000fe0 RCX: 0000000000000000 RDX: 0000000000000007 RSI: 0000000000000012 RDI: ffff8880160d52f4 RBP: 1ffff920005b1e9d R08: ffffed1002c1aa5e R09: ffff8880160d5348 R10: ffff8880160d52f0 R11: 1ffff11002c1aa5e R12: 0000000000005dbc R13: ffff8880160d52f0 R14: 0000000000000012 R15: ffff8880160d5280 FS: 00007fb97f65c700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000200015c0 CR3: 0000000072c36000 CR4: 0000000000350ee0