netlink: 'syz.0.1122': attribute type 1 has an invalid length.
8021q: adding VLAN 0 to HW filter on device bond8
==================================================================
BUG: KASAN: use-after-free in xfrm_state_find+0x2cf2/0x5400
Read of size 1 at addr ffff88802764c7b0 by task syz.0.1122/9750

CPU: 1 UID: 0 PID: 9750 Comm: syz.0.1122 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
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 print_report+0xca/0x240
 kasan_report+0x118/0x150
 xfrm_state_find+0x2cf2/0x5400
 xfrm_resolve_and_create_bundle+0x768/0x2f80
 xfrm_lookup_with_ifid+0x58a/0x1a70
 xfrm_lookup_route+0x3c/0x1c0
 __ip4_datagram_connect+0x9a5/0x1270
 udp_connect+0x33/0x1f0
 __sys_connect+0x316/0x440
 __x64_sys_connect+0x7a/0x90
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f578178ebe9
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:00007f57825e8038 EFLAGS: 00000246 ORIG_RAX: 000000000000002a
RAX: ffffffffffffffda RBX: 00007f57819c5fa0 RCX: 00007f578178ebe9
RDX: 0000000000000010 RSI: 0000200000000280 RDI: 0000000000000006
RBP: 00007f5781811e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f57819c6038 R14: 00007f57819c5fa0 R15: 00007ffdfdf30418
 </TASK>

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88802764db00 pfn:0x2764c
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
page_type: f0(buddy)
raw: 00fff00000000000 ffffea00007b9e08 ffffea0000995b08 0000000000000000
raw: ffff88802764db00 0000000000000002 00000000f0000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 2, migratetype Unmovable, gfp_mask 0x52820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 6096, tgid 6090 (syz.2.52), ts 63971694691, free_ts 114744314483
 post_alloc_hook+0x240/0x2a0
 get_page_from_freelist+0x21e4/0x22c0
 __alloc_frozen_pages_noprof+0x181/0x370
 alloc_pages_mpol+0x232/0x4a0
 allocate_slab+0x8a/0x370
 ___slab_alloc+0xbeb/0x1420
 kmem_cache_alloc_noprof+0x283/0x3c0
 xfrm_state_alloc+0x24/0x2f0
 xfrm_add_acquire+0xf7/0xb20
 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
page last free pid 8719 tgid 8715 stack trace:
 __free_frozen_pages+0xbc4/0xd30
 __slab_free+0x303/0x3c0
 qlist_free_all+0x97/0x140
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 kmem_cache_alloc_lru_noprof+0x1c6/0x3d0
 sock_alloc_inode+0x28/0xc0
 alloc_inode+0x6a/0x1b0
 __sock_create+0x12d/0x9f0
 __sys_socket+0xd7/0x1b0
 __x64_sys_socket+0x7a/0x90
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff88802764c680: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff88802764c700: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff88802764c780: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                     ^
 ffff88802764c800: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff88802764c880: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
