netlink: 'syz.1.2706': attribute type 5 has an invalid length.
==================================================================
BUG: KASAN: stack-out-of-bounds in nft_ct_get_eval+0x100d/0x15c0
Write of size 16 at addr ffffc9000703f32c by task syz.1.2706/16047

CPU: 1 UID: 0 PID: 16047 Comm: syz.1.2706 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
 kasan_check_range+0x2b0/0x2c0
 __asan_memcpy+0x40/0x70
 nft_ct_get_eval+0x100d/0x15c0
 nft_do_chain+0x40c/0x1920
 nft_do_chain_ipv4+0x154/0x210
 nf_hook_slow+0xc5/0x220
 NF_HOOK+0x206/0x3a0
 __netif_receive_skb+0x143/0x380
 netif_receive_skb+0x1cb/0x790
 tun_rx_batched+0x1b9/0x730
 tun_get_user+0x2b65/0x3e90
 tun_chr_write_iter+0x113/0x200
 vfs_write+0x5c9/0xb30
 ksys_write+0x145/0x250
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fde93d8f6c9
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:00007fde94ccd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fde93fe5fa0 RCX: 00007fde93d8f6c9
RDX: 000000000000fd6c RSI: 0000200000000280 RDI: 0000000000000004
RBP: 00007fde93e11f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fde93fe6038 R14: 00007fde93fe5fa0 R15: 00007ffc51bae8e8
 </TASK>

The buggy address belongs to stack of task syz.1.2706/16047
 and is located at offset 108 in frame:
 nft_do_chain+0x0/0x1920

This frame has 3 objects:
 [32, 112) 'regs'
 [144, 272) 'jumpstack'
 [304, 320) 'info'

The buggy address belongs to a vmalloc virtual mapping
The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888113ed7f00 pfn:0x113ed7
memcg:ffff88816e3ad982
flags: 0x17ff00000000000(node=0|zone=2|lastcpupid=0x7ff)
raw: 017ff00000000000 0000000000000000 dead000000000122 0000000000000000
raw: ffff888113ed7f00 0000000000000000 00000001ffffffff ffff88816e3ad982
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2dc2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_ZERO|__GFP_NOWARN), pid 11819, tgid 11819 (kworker/u9:6), ts 276346680285, free_ts 274464641761
 post_alloc_hook+0x240/0x2a0
 get_page_from_freelist+0x2365/0x2440
 __alloc_frozen_pages_noprof+0x181/0x370
 alloc_pages_mpol+0x232/0x4a0
 alloc_pages_noprof+0xa9/0x190
 __vmalloc_node_range_noprof+0x96c/0x12d0
 __vmalloc_node_noprof+0xc2/0x110
 dup_task_struct+0x3d4/0x830
 copy_process+0x54b/0x3c00
 kernel_clone+0x21e/0x840
 user_mode_thread+0xdd/0x140
 call_usermodehelper_exec_work+0x9c/0x230
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x4bc/0x870
page last free pid 5815 tgid 5815 stack trace:
 __free_frozen_pages+0xbc4/0xd30
 __put_partials+0x146/0x170
 put_cpu_partial+0x1f2/0x2e0
 __slab_free+0x2b9/0x390
 qlist_free_all+0x97/0x140
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 kmem_cache_alloc_noprof+0x367/0x6e0
 getname_flags+0xb8/0x540
 vfs_fstatat+0x43/0x170
 __x64_sys_newfstatat+0x116/0x190
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffffc9000703f200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffffc9000703f280: 00 00 00 00 00 00 00 00 f1 f1 f1 f1 00 00 00 00
>ffffc9000703f300: 00 00 00 00 00 00 f2 f2 f2 f2 00 00 00 00 00 00
                                     ^
 ffffc9000703f380: 00 00 00 00 00 00 00 00 00 00 f2 f2 f2 f2 00 00
 ffffc9000703f400: f3 f3 f3 f3 00 00 00 00 00 00 00 00 00 00 00 00
==================================================================
