==================================================================
BUG: KFENCE: use-after-free read in xfrm_alloc_spi+0x3b9/0xf30

Use-after-free read at 0xffff88813656ccc4 (in kfence-#181):
 xfrm_alloc_spi+0x3b9/0xf30
 xfrm_alloc_userspi+0x70b/0xc90
 xfrm_user_rcv_msg+0x7a3/0xab0
 netlink_rcv_skb+0x208/0x470
 xfrm_netlink_rcv+0x79/0x90
 netlink_unicast+0x82f/0x9e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 ____sys_sendmsg+0x505/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __x64_sys_sendmsg+0x19b/0x260
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

kfence-#181: 0xffff88813656cf00-0xffff88813656cfef, size=240, cache=skbuff_head_cache

allocated by task 5284 on cpu 0 at 338.576315s (11.577344s ago):
 __alloc_skb+0x112/0x2d0
 alloc_skb_with_frags+0xca/0x890
 sock_alloc_send_pskb+0x857/0x990
 unix_dgram_sendmsg+0x461/0x1850
 __sock_sendmsg+0x21c/0x270
 __sys_sendto+0x3bd/0x520
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

freed by task 5277 on cpu 0 at 338.576387s (11.600054s ago):
 __unix_dgram_recvmsg+0x9f9/0xd60
 sock_recvmsg+0x22c/0x270
 sock_read_iter+0x231/0x2f0
 vfs_read+0x55a/0xa30
 ksys_read+0x145/0x250
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

CPU: 1 UID: 0 PID: 24488 Comm: syz.2.5425 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:xfrm_alloc_spi+0x3b9/0xf30
Code: c1 08 c1 74 0a e8 67 09 9e f7 e9 14 02 00 00 49 8d 9d c4 00 00 00 48 89 d8 48 c1 e8 03 42 0f b6 04 20 84 c0 0f 85 9f 01 00 00 <8b> 1b 89 df 44 89 f6 e8 fb 0a 9e f7 44 39 f3 0f 85 df 00 00 00 49
RSP: 0018:ffffc900065470e0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffff88813656ccc4 RCX: 0000000000080000
RDX: ffffc90004152000 RSI: 000000000000024e RDI: 000000000000024f
RBP: ffffc90006547230 R08: 0000000000000000 R09: 0000000000000000
R10: dffffc0000000000 R11: fffff52000ca8e0c R12: dffffc0000000000
R13: ffff88813656cc00 R14: 0000000008000000 R15: ffffc900065476a0
FS:  00007fea71a4f6c0(0000) GS:ffff8881a3c1b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffff88813656ccc4 CR3: 000000002c942000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 xfrm_alloc_userspi+0x70b/0xc90
 xfrm_user_rcv_msg+0x7a3/0xab0
 netlink_rcv_skb+0x208/0x470
 xfrm_netlink_rcv+0x79/0x90
 netlink_unicast+0x82f/0x9e0
 netlink_sendmsg+0x805/0xb30
 __sock_sendmsg+0x21c/0x270
 ____sys_sendmsg+0x505/0x830
 ___sys_sendmsg+0x21f/0x2a0
 __x64_sys_sendmsg+0x19b/0x260
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fea70b8ebe9
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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fea71a4f038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fea70db5fa0 RCX: 00007fea70b8ebe9
RDX: 0000000000000010 RSI: 0000200000000640 RDI: 0000000000000003
RBP: 00007fea70c11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fea70db6038 R14: 00007fea70db5fa0 R15: 00007fff89a8f348
 </TASK>
==================================================================
