==================================================================
BUG: KASAN: use-after-free in __linkwatch_run_queue+0x698/0x7e0
Read of size 1 at addr ffff88810f024cc1 by task kworker/u10:4/7416

CPU: 1 UID: 0 PID: 7416 Comm: kworker/u10:4 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
Workqueue: events_unbound linkwatch_event
Call Trace:
 <TASK>
 dump_stack_lvl+0x189/0x250
 print_report+0xca/0x240
 kasan_report+0x118/0x150
 __linkwatch_run_queue+0x698/0x7e0
 linkwatch_event+0x4c/0x60
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88810f027b80 pfn:0x10f024
flags: 0x57ff00000000000(node=1|zone=2|lastcpupid=0x7ff)
raw: 057ff00000000000 ffffea000415eb08 ffff88804b0400c0 0000000000000000
raw: ffff88810f027b80 0000000000000000 00000000ffffffff 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 0x446dc0(GFP_KERNEL_ACCOUNT|__GFP_ZERO|__GFP_NOWARN|__GFP_RETRY_MAYFAIL|__GFP_COMP), pid 11351, tgid 11350 (syz.0.1497), ts 156813867963, free_ts 157029267922
 post_alloc_hook+0x240/0x2a0
 get_page_from_freelist+0x21e4/0x22c0
 __alloc_frozen_pages_noprof+0x181/0x370
 alloc_pages_mpol+0x232/0x4a0
 ___kmalloc_large_node+0x5f/0x1b0
 __kmalloc_large_node_noprof+0x18/0x90
 __kvmalloc_node_noprof+0x6d/0x5f0
 alloc_netdev_mqs+0xa3/0x11b0
 tun_set_iff+0x532/0xf00
 __tun_chr_ioctl+0x788/0x1df0
 __se_sys_ioctl+0xfc/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 11350 tgid 11350 stack trace:
 __free_frozen_pages+0xbc4/0xd30
 free_large_kmalloc+0x13a/0x1f0
 device_release+0x9c/0x1c0
 kobject_put+0x22b/0x480
 netdev_run_todo+0xd2e/0xea0
 tun_chr_close+0x13c/0x1c0
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff88810f024b80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff88810f024c00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff88810f024c80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                           ^
 ffff88810f024d00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff88810f024d80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
