==================================================================
BUG: KASAN: use-after-free in rose_timer_expiry+0x471/0x4b0
Read of size 2 at addr ffff88811f62182a by task syz-executor/21829

CPU: 0 UID: 0 PID: 21829 Comm: syz-executor Not tainted 6.16.0-rc5-syzkaller-00212-g9f735b6f8a77 #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:
 <IRQ>
 dump_stack_lvl+0x189/0x250
 print_report+0xd2/0x2b0
 kasan_report+0x118/0x150
 rose_timer_expiry+0x471/0x4b0
 call_timer_fn+0x17e/0x5f0
 __run_timer_base+0x61a/0x860
 run_timer_softirq+0xb7/0x180
 handle_softirqs+0x286/0x870
 __irq_exit_rcu+0xca/0x1f0
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20
RIP: 0010:__page_table_check_ptes_set+0x8c/0x2f0
Code: c3 31 ff e8 56 cb 92 ff 4c 89 ee 48 81 e6 01 01 00 00 41 0f 94 c7 31 ff e8 41 cb 92 ff 45 89 ec 41 c0 ec 02 41 20 dc 44 89 ee <83> e6 04 31 ff e8 8a ca 92 ff 45 84 fc 4c 89 eb 75 53 e8 3d c6 92
RSP: 0018:ffffc9000173f370 EFLAGS: 00000202
RAX: ffffffff822d65df RBX: 800000003761e001 RCX: ffff888024ae8000
RDX: 0000000000000000 RSI: 000000003761e007 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffea0000dd8787 R09: 1ffffd40001bb0f0
R10: dffffc0000000000 R11: fffff940001bb0f1 R12: 000000003761e001
R13: 800000003761e007 R14: ffff8880477e0570 R15: ffff88810fe2a800
 copy_pmd_range+0x4262/0x7000
 copy_page_range+0xc46/0x1270
 dup_mmap+0xf57/0x1ac0
 copy_mm+0x13c/0x4b0
 copy_process+0x16d3/0x3b80
 kernel_clone+0x21e/0x870
 __x64_sys_clone+0x18b/0x1e0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f019ab85213
Code: 1f 84 00 00 00 00 00 64 48 8b 04 25 10 00 00 00 45 31 c0 31 d2 31 f6 bf 11 00 20 01 4c 8d 90 d0 02 00 00 b8 38 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 89 c2 85 c0 75 2c 64 48 8b 04 25 10 00 00
RSP: 002b:00007ffc6babd8a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f019ab85213
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000001200011
RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000001
R10: 000055555cd697d0 R11: 0000000000000246 R12: 0000000000000000
R13: 00000000000927c0 R14: 000000000007a57f R15: 00007ffc6babda40
 </TASK>

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffffffffffffffff pfn:0x11f621
flags: 0x57ff00000000000(node=1|zone=2|lastcpupid=0x7ff)
raw: 057ff00000000000 dead000000000100 dead000000000122 0000000000000000
raw: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x2dc2(GFP_KERNEL|__GFP_HIGHMEM|__GFP_ZERO|__GFP_NOWARN), pid 2260, tgid 2259 (syz.1.12689), ts 467747525291, free_ts 467798648500
 post_alloc_hook+0x240/0x2a0
 get_page_from_freelist+0x21e4/0x22c0
 __alloc_frozen_pages_noprof+0x181/0x370
 alloc_pages_mpol+0x232/0x4a0
 alloc_pages_noprof+0xa9/0x190
 __vmalloc_node_range_noprof+0x97d/0x12f0
 vmalloc_user_noprof+0xad/0xf0
 xskq_create+0xbf/0x170
 xsk_init_queue+0xb0/0x110
 xsk_setsockopt+0x4de/0x710
 do_sock_setsockopt+0x17c/0x1b0
 __x64_sys_setsockopt+0x13f/0x1b0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 2259 tgid 2259 stack trace:
 __free_frozen_pages+0xc71/0xe70
 vfree+0x25a/0x400
 xskq_destroy+0x40/0x60
 xsk_release+0x671/0x890
 sock_close+0xc3/0x240
 __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:
 ffff88811f621700: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff88811f621780: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff88811f621800: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                  ^
 ffff88811f621880: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff88811f621900: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
