==================================================================
BUG: KASAN: use-after-free in rose_timer_expiry+0x471/0x4b0
Read of size 2 at addr ffff88802fcde82a by task kworker/u10:12/14061

CPU: 0 UID: 0 PID: 14061 Comm: kworker/u10:12 Not tainted 6.16.0-syzkaller-06574-gd9104cec3e8f #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: kvfree_rcu_reclaim kfree_rcu_monitor
Call Trace:
 <IRQ>
 dump_stack_lvl+0x189/0x250
 print_report+0xca/0x240
 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:rcu_is_watching+0x44/0xb0
Code: 73 65 49 bf 00 00 00 00 00 fc ff df 4c 8d 34 dd d0 ec b9 8d 4c 89 f0 48 c1 e8 03 42 80 3c 38 00 74 08 4c 89 f7 e8 4c 73 7c 00 <48> c7 c3 58 2f 9b 92 49 03 1e 48 89 d8 48 c1 e8 03 42 0f b6 04 38
RSP: 0018:ffffc900061f7458 EFLAGS: 00000246
RAX: 1ffffffff1b73d9a RBX: 0000000000000000 RCX: 0c9fc2a75f862600
RDX: 0000000000000000 RSI: ffffffff8be309e0 RDI: ffffffff8be309a0
RBP: dffffc0000000000 R08: 0000000000000000 R09: ffffffff8172cd05
R10: ffffc900061f7598 R11: ffffffff81ac3450 R12: 1ffff92000c3eea9
R13: ffffc900061f7580 R14: ffffffff8db9ecd0 R15: dffffc0000000000
 unwind_next_frame+0xd4/0x2390
 arch_stack_walk+0x11c/0x150
 stack_trace_save+0x9c/0xe0
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x46/0x50
 __kasan_slab_free+0x62/0x70
 kmem_cache_free_bulk+0x2d1/0x520
 kvfree_rcu_bulk+0xe5/0x1f0
 kfree_rcu_monitor+0x211/0x2a0
 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:0xffff88802fcdfe00 pfn:0x2fcde
flags: 0xfff00000000000(node=0|zone=1|lastcpupid=0x7ff)
raw: 00fff00000000000 0000000000000000 dead000000000122 0000000000000000
raw: ffff88802fcdfe00 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 3, migratetype Unmovable, gfp_mask 0x52dc0(GFP_KERNEL|__GFP_ZERO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 23646, tgid 23645 (syz.1.5063), ts 345315286778, free_ts 346050179203
 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
 get_free_pages_noprof+0xf/0x80
 packet_set_ring+0x6bc/0x2380
 packet_setsockopt+0xc5a/0x12c0
 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 23645 tgid 23645 stack trace:
 __free_frozen_pages+0xc71/0xe70
 packet_set_ring+0x1899/0x2380
 packet_release+0x7e6/0xce0
 sock_close+0xc3/0x240
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 do_exit+0x6b5/0x22e0
 do_group_exit+0x21c/0x2d0
 __x64_sys_exit_group+0x3f/0x40
 x64_sys_call+0x21f7/0x2200
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff88802fcde700: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff88802fcde780: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff88802fcde800: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                  ^
 ffff88802fcde880: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff88802fcde900: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
