------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:4072! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 27917 Comm: syz-executor.4 Not tainted 4.19.210-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__skb_to_sgvec+0x8af/0x9c0 net/core/skbuff.c:4072 Code: 28 fb e9 c8 f7 ff ff 89 6c 24 10 e8 cb 29 f2 fa 8b 5c 24 10 31 ff 89 de e8 2e 2b f2 fa 85 db 0f 84 60 fc ff ff e8 b1 29 f2 fa <0f> 0b 44 89 74 24 14 e9 4f fc ff ff e8 a0 29 f2 fa 0f 0b e8 99 29 RSP: 0018:ffff88803cc9ebb8 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 0000000000000058 RCX: ffffc9000c499000 RDX: 000000000000119e RSI: ffffffff86705bbf RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 00000000091406bc R12: 0000000000000002 R13: 0000000000000898 R14: 000000000000008c R15: 0000000000000058 FS: 00007f82b39d4700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f221000 CR3: 000000009905e000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_to_sgvec+0x2c/0x90 net/core/skbuff.c:4090 esp6_output_tail+0x53a/0x1920 net/ipv6/esp6.c:358 esp6_xmit+0x752/0xce0 net/ipv6/esp6_offload.c:269 validate_xmit_xfrm+0x990/0xe30 net/xfrm/xfrm_device.c:85 validate_xmit_skb+0x75c/0xd50 net/core/dev.c:3354 __dev_queue_xmit+0x963/0x2e00 net/core/dev.c:3830 neigh_hh_output include/net/neighbour.h:491 [inline] neigh_output include/net/neighbour.h:499 [inline] ip6_finish_output2+0xde7/0x2290 net/ipv6/ip6_output.c:120 ip6_finish_output+0x89b/0x10f0 net/ipv6/ip6_output.c:192 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip6_output+0x205/0x770 net/ipv6/ip6_output.c:209 dst_output include/net/dst.h:455 [inline] xfrm_output_resume+0x1946/0x22b0 net/xfrm/xfrm_output.c:158 xfrm_output2 net/xfrm/xfrm_output.c:177 [inline] xfrm_output+0x266/0x980 net/xfrm/xfrm_output.c:262 __xfrm6_output+0x1c6/0x11e0 net/ipv6/xfrm6_output.c:184 NF_HOOK_COND include/linux/netfilter.h:278 [inline] xfrm6_output+0x127/0x510 net/ipv6/xfrm6_output.c:189 dst_output include/net/dst.h:455 [inline] ip6_local_out+0xaf/0x170 net/ipv6/output_core.c:160 ip6_send_skb+0xb3/0x300 net/ipv6/ip6_output.c:1741 ip6_push_pending_frames+0xbd/0xe0 net/ipv6/ip6_output.c:1761 rawv6_push_pending_frames net/ipv6/raw.c:618 [inline] rawv6_sendmsg+0x2a81/0x36a0 net/ipv6/raw.c:959 inet_sendmsg+0x132/0x5a0 net/ipv4/af_inet.c:798 sock_sendmsg_nosec net/socket.c:651 [inline] sock_sendmsg+0xc3/0x120 net/socket.c:661 ___sys_sendmsg+0x3b3/0x8e0 net/socket.c:2227 __sys_sendmmsg+0x195/0x470 net/socket.c:2322 __do_sys_sendmmsg net/socket.c:2351 [inline] __se_sys_sendmmsg net/socket.c:2348 [inline] __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2348 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f82b645d8d9 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f82b39d4188 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f82b6561f60 RCX: 00007f82b645d8d9 RDX: 00000000000002e9 RSI: 0000000020000480 RDI: 0000000000000003 RBP: 00007f82b64b7cb4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc72c36bbf R14: 00007f82b39d4300 R15: 0000000000022000 Modules linked in: ---[ end trace 68c26fe242c475ab ]--- RIP: 0010:__skb_to_sgvec+0x8af/0x9c0 net/core/skbuff.c:4072 Code: 28 fb e9 c8 f7 ff ff 89 6c 24 10 e8 cb 29 f2 fa 8b 5c 24 10 31 ff 89 de e8 2e 2b f2 fa 85 db 0f 84 60 fc ff ff e8 b1 29 f2 fa <0f> 0b 44 89 74 24 14 e9 4f fc ff ff e8 a0 29 f2 fa 0f 0b e8 99 29 RSP: 0018:ffff88803cc9ebb8 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 0000000000000058 RCX: ffffc9000c499000 RDX: 000000000000119e RSI: ffffffff86705bbf RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 00000000091406bc R12: 0000000000000002 R13: 0000000000000898 R14: 000000000000008c R15: 0000000000000058 FS: 00007f82b39d4700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2f221000 CR3: 000000009905e000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400