------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:4069! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 9179 Comm: syz-executor.2 Not tainted 4.19.198-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:4069 Code: 28 fb e9 c8 f7 ff ff 89 6c 24 10 e8 0b 59 f2 fa 8b 5c 24 10 31 ff 89 de e8 6e 5a f2 fa 85 db 0f 84 60 fc ff ff e8 f1 58 f2 fa <0f> 0b 44 89 74 24 14 e9 4f fc ff ff e8 e0 58 f2 fa 0f 0b e8 d9 58 RSP: 0018:ffff8881dfc06bb8 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 00000000000001a0 RCX: ffffc9000a086000 RDX: 000000000001f79f RSI: ffffffff8670292f RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 000000008bbff9e8 R12: 0000000000000002 R13: 00000000000003e0 R14: 00000000000001d4 R15: 00000000000001a0 FS: 00007fe9143ad700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f733b7a4000 CR3: 00000001e00da000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_to_sgvec+0x2c/0x90 net/core/skbuff.c:4087 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+0x898/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/0x11d0 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:1739 ip6_push_pending_frames+0xbd/0xe0 net/ipv6/ip6_output.c:1759 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:2225 __sys_sendmmsg+0x195/0x470 net/socket.c:2320 __do_sys_sendmmsg net/socket.c:2349 [inline] __se_sys_sendmmsg net/socket.c:2346 [inline] __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2346 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4665e9 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:00007fe9143ad188 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 000000000056bf80 RCX: 00000000004665e9 RDX: 00000000000002e9 RSI: 0000000020000480 RDI: 0000000000000004 RBP: 00000000004bfcc4 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf80 R13: 00007ffcbf3660af R14: 00007fe9143ad300 R15: 0000000000022000 Modules linked in: ---[ end trace b4d12c5687a148b9 ]--- RIP: 0010:__skb_to_sgvec+0x8af/0x9c0 net/core/skbuff.c:4069 Code: 28 fb e9 c8 f7 ff ff 89 6c 24 10 e8 0b 59 f2 fa 8b 5c 24 10 31 ff 89 de e8 6e 5a f2 fa 85 db 0f 84 60 fc ff ff e8 f1 58 f2 fa <0f> 0b 44 89 74 24 14 e9 4f fc ff ff e8 e0 58 f2 fa 0f 0b e8 d9 58 RSP: 0018:ffff8881dfc06bb8 EFLAGS: 00010212 RAX: 0000000000040000 RBX: 00000000000001a0 RCX: ffffc9000a086000 RDX: 000000000001f79f RSI: ffffffff8670292f RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000005 R11: 000000008bbff9e8 R12: 0000000000000002 R13: 00000000000003e0 R14: 00000000000001d4 R15: 00000000000001a0 FS: 00007fe9143ad700(0000) GS:ffff8880ba100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f733b7a4000 CR3: 00000001e00da000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400