------------[ cut here ]------------
kernel BUG at net/ipv6/esp6.c:819!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 5973 Comm: syz-executor.3 Not tainted 5.4.15-syzkaller-01125-g33c8a1b2d07c #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:esp_init_authenc net/ipv6/esp6.c:819 [inline]
RIP: 0010:esp6_init_state+0xdda/0xde0 net/ipv6/esp6.c:863
Code: fa ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 60 f9 ff ff 48 89 df e8 95 a7 36 fe e9 53 f9 ff ff e8 1b 86 df fd e8 b6 a2 08 fe <0f> 0b 0f 1f 40 00 55 48 89 e5 53 48 89 fb e8 a3 a2 08 fe 48 81 c3
RSP: 0018:ffff8881cbb4f1c0 EFLAGS: 00010287
RAX: ffffffff833a2fba RBX: ffff8881d4cc1800 RCX: 0000000000040000
RDX: ffffc90000b81000 RSI: 0000000000002f4a RDI: 0000000000002f4b
RBP: ffff8881cbb4f348 R08: ffffffff83256caf R09: 0000000000000003
R10: ffffed1039769dbd R11: 0000000000000004 R12: ffff8881cb55c600
R13: ffff8881d4cc1848 R14: dffffc0000000000 R15: 1ffff11039769e48
FS: 00007f1fe1c48700(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000071bd74 CR3: 00000001d7d40004 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__xfrm_init_state+0x863/0xb40 net/xfrm/xfrm_state.c:2492
xfrm_state_construct net/xfrm/xfrm_user.c:626 [inline]
xfrm_add_sa+0x2301/0x3850 net/xfrm/xfrm_user.c:683
xfrm_user_rcv_msg+0x375/0x630 net/xfrm/xfrm_user.c:2673
netlink_rcv_skb+0x1f0/0x460 net/netlink/af_netlink.c:2477
xfrm_netlink_rcv+0x72/0x90 net/xfrm/xfrm_user.c:2681
netlink_unicast_kernel net/netlink/af_netlink.c:1302 [inline]
netlink_unicast+0x87c/0xa20 net/netlink/af_netlink.c:1328
netlink_sendmsg+0x9a7/0xd40 net/netlink/af_netlink.c:1917
sock_sendmsg_nosec net/socket.c:638 [inline]
sock_sendmsg net/socket.c:658 [inline]
____sys_sendmsg+0x56f/0x860 net/socket.c:2298
___sys_sendmsg net/socket.c:2352 [inline]
__sys_sendmsg+0x26a/0x350 net/socket.c:2398
__do_sys_sendmsg net/socket.c:2407 [inline]
__se_sys_sendmsg net/socket.c:2405 [inline]
__x64_sys_sendmsg+0x7f/0x90 net/socket.c:2405
do_syscall_64+0xc0/0x100 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45b349
Code: ad b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f1fe1c47c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f1fe1c486d4 RCX: 000000000045b349
RDX: 0000000000000000 RSI: 0000000020000180 RDI: 0000000000000009
RBP: 000000000075c118 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000000009c3 R14: 00000000004cb34f R15: 000000000075c124
Modules linked in:
---[ end trace 6dfd829c6aad00eb ]---
RIP: 0010:esp_init_authenc net/ipv6/esp6.c:819 [inline]
RIP: 0010:esp6_init_state+0xdda/0xde0 net/ipv6/esp6.c:863
Code: fa ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 60 f9 ff ff 48 89 df e8 95 a7 36 fe e9 53 f9 ff ff e8 1b 86 df fd e8 b6 a2 08 fe <0f> 0b 0f 1f 40 00 55 48 89 e5 53 48 89 fb e8 a3 a2 08 fe 48 81 c3
RSP: 0018:ffff8881cbb4f1c0 EFLAGS: 00010287
RAX: ffffffff833a2fba RBX: ffff8881d4cc1800 RCX: 0000000000040000
RDX: ffffc90000b81000 RSI: 0000000000002f4a RDI: 0000000000002f4b
RBP: ffff8881cbb4f348 R08: ffffffff83256caf R09: 0000000000000003
R10: ffffed1039769dbd R11: 0000000000000004 R12: ffff8881cb55c600
R13: ffff8881d4cc1848 R14: dffffc0000000000 R15: 1ffff11039769e48
FS: 00007f1fe1c48700(0000) GS:ffff8881dba00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000071bd74 CR3: 00000001d7d40004 CR4: 00000000001606f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400