==================================================================
BUG: KASAN: use-after-free in rxrpc_send_keepalive+0xe2/0x3c0 net/rxrpc/output.c:634
Read of size 8 at addr ffff888091bff018 by task kworker/0:2/2942

CPU: 0 PID: 2942 Comm: kworker/0:2 Not tainted 5.4.0-rc3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: krxrpcd rxrpc_peer_keepalive_worker
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1d8/0x2f8 lib/dump_stack.c:113
 print_address_description+0x75/0x5c0 mm/kasan/report.c:374
 __kasan_report+0x14b/0x1c0 mm/kasan/report.c:506
 kasan_report+0x26/0x50 mm/kasan/common.c:634
 __asan_report_load8_noabort+0x14/0x20 mm/kasan/generic_report.c:132
 rxrpc_send_keepalive+0xe2/0x3c0 net/rxrpc/output.c:634
 rxrpc_peer_keepalive_dispatch net/rxrpc/peer_event.c:369 [inline]
 rxrpc_peer_keepalive_worker+0x76e/0xb40 net/rxrpc/peer_event.c:430
 process_one_work+0x7ef/0x10e0 kernel/workqueue.c:2269
 worker_thread+0xc01/0x1630 kernel/workqueue.c:2415
 kthread+0x332/0x350 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352

Allocated by task 8996:
 save_stack mm/kasan/common.c:69 [inline]
 set_track mm/kasan/common.c:77 [inline]
 __kasan_kmalloc+0x11c/0x1b0 mm/kasan/common.c:510
 kasan_kmalloc+0x9/0x10 mm/kasan/common.c:524
 __do_kmalloc_node mm/slab.c:3615 [inline]
 __kmalloc_node_track_caller+0x4d/0x60 mm/slab.c:3629
 __kmalloc_reserve net/core/skbuff.c:141 [inline]
 __alloc_skb+0xe8/0x500 net/core/skbuff.c:209
 alloc_skb include/linux/skbuff.h:1049 [inline]
 nlmsg_new include/net/netlink.h:888 [inline]
 xfrm_send_acquire+0xf9/0x1030 net/xfrm/xfrm_user.c:2965
 km_query+0xef/0x1c0 net/xfrm/xfrm_state.c:2164
 xfrm_state_find+0x2b5d/0x4570 net/xfrm/xfrm_state.c:1131
 xfrm_tmpl_resolve_one net/xfrm/xfrm_policy.c:2391 [inline]
 xfrm_tmpl_resolve net/xfrm/xfrm_policy.c:2436 [inline]
 xfrm_resolve_and_create_bundle+0x6a6/0x2d40 net/xfrm/xfrm_policy.c:2727
 xfrm_lookup_with_ifid+0x27c/0x2310 net/xfrm/xfrm_policy.c:3050
 xfrm_lookup net/xfrm/xfrm_policy.c:3174 [inline]
 xfrm_lookup_route+0x3b/0x190 net/xfrm/xfrm_policy.c:3185
 ip6_dst_lookup_flow+0x12e/0x160 net/ipv6/ip6_output.c:1156
 rawv6_sendmsg+0x11e1/0x3cd0 net/ipv6/raw.c:928
 inet_sendmsg+0x147/0x310 net/ipv4/af_inet.c:807
 sock_sendmsg_nosec net/socket.c:637 [inline]
 sock_sendmsg net/socket.c:657 [inline]
 ___sys_sendmsg+0x60d/0x910 net/socket.c:2311
 __sys_sendmmsg+0x239/0x470 net/socket.c:2413
 __do_sys_sendmmsg net/socket.c:2442 [inline]
 __se_sys_sendmmsg net/socket.c:2439 [inline]
 __x64_sys_sendmmsg+0xa0/0xb0 net/socket.c:2439
 do_syscall_64+0xf7/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe

Freed by task 9:
 save_stack mm/kasan/common.c:69 [inline]
 set_track mm/kasan/common.c:77 [inline]
 kasan_set_free_info mm/kasan/common.c:332 [inline]
 __kasan_slab_free+0x12a/0x1e0 mm/kasan/common.c:471
 kasan_slab_free+0xe/0x10 mm/kasan/common.c:480
 __cache_free mm/slab.c:3425 [inline]
 kfree+0x115/0x200 mm/slab.c:3756
 skb_free_head net/core/skbuff.c:591 [inline]
 skb_release_data+0x5bd/0x700 net/core/skbuff.c:611
 skb_release_all net/core/skbuff.c:665 [inline]
 __kfree_skb+0x59/0x170 net/core/skbuff.c:679
 kfree_skb net/core/skbuff.c:697 [inline]
 skb_queue_purge+0x18a/0x240 net/core/skbuff.c:3078
 netlink_sock_destruct+0xda/0x250 net/netlink/af_netlink.c:394
 __sk_destruct+0x54/0x620 net/core/sock.c:1695
 sk_destruct net/core/sock.c:1739 [inline]
 __sk_free+0x35d/0x430 net/core/sock.c:1750
 sk_free+0x2a/0x40 net/core/sock.c:1761
 deferred_put_nlk_sk+0x1d1/0x200 net/netlink/af_netlink.c:729
 __rcu_reclaim kernel/rcu/rcu.h:222 [inline]
 rcu_do_batch kernel/rcu/tree.c:2157 [inline]
 rcu_core+0x843/0x1050 kernel/rcu/tree.c:2377
 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2386
 __do_softirq+0x333/0x7c4 arch/x86/include/asm/paravirt.h:766

The buggy address belongs to the object at ffff888091bff000
 which belongs to the cache kmalloc-1k of size 1024
The buggy address is located 24 bytes inside of
 1024-byte region [ffff888091bff000, ffff888091bff400)
The buggy address belongs to the page:
page:ffffea000246ffc0 refcount:1 mapcount:0 mapping:ffff8880aa400c40 index:0x0
flags: 0x1fffc0000000200(slab)
raw: 01fffc0000000200 ffffea00026ec808 ffffea0002510a08 ffff8880aa400c40
raw: 0000000000000000 ffff888091bff000 0000000100000002 0000000000000000
page dumped because: kasan: bad access detected

Memory state around the buggy address:
 ffff888091bfef00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888091bfef80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888091bff000: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                            ^
 ffff888091bff080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888091bff100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================