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

CPU: 0 UID: 0 PID: 32079 Comm: syz-executor Not tainted 6.16.0-rc5-syzkaller-00212-g9f735b6f8a77-dirty #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:lock_acquire+0x175/0x360
Code: 00 00 00 00 9c 8f 44 24 30 f7 44 24 30 00 02 00 00 0f 85 cd 00 00 00 f7 44 24 08 00 02 00 00 74 01 fb 65 48 8b 05 9b 60 01 11 <48> 3b 44 24 58 0f 85 f2 00 00 00 48 83 c4 60 5b 41 5c 41 5d 41 5e
RSP: 0018:ffffc90002eff918 EFLAGS: 00000206
RAX: e8569751e94bad00 RBX: 0000000000000000 RCX: e8569751e94bad00
RDX: 0000000000000001 RSI: ffffffff8db83841 RDI: ffffffff8be28c40
RBP: ffffffff8172aae5 R08: 0000000000000000 R09: ffffffff8172aae5
R10: ffffc90002effad8 R11: ffffffff81ad03a0 R12: 0000000000000002
R13: ffffffff8e13f160 R14: 0000000000000000 R15: 0000000000000246
 unwind_next_frame+0xc2/0x2390
 arch_stack_walk+0x11c/0x150
 stack_trace_save+0x9c/0xe0
 kasan_save_track+0x3e/0x80
 __kasan_slab_alloc+0x6c/0x80
 kmem_cache_alloc_noprof+0x1c1/0x3c0
 getname_flags+0xb8/0x540
 __x64_sys_symlinkat+0x7a/0xb0
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6c4b58df27
Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 0a 01 00 00 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:00007ffe40f52978 EFLAGS: 00000202 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f6c4b58df27
RDX: 00007f6c4b6125b5 RSI: 00000000ffffff9c RDI: 00007f6c4b61112c
RBP: 00007ffe40f529bc R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00000000000009bb
R13: 00000000000927c0 R14: 0000000000086cf7 R15: 00007ffe40f52a10
 </TASK>

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x111296
flags: 0x57ff00000000000(node=1|zone=2|lastcpupid=0x7ff)
raw: 057ff00000000000 0000000000000000 ffffea000444a590 0000000000000000
raw: 0000000000000000 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 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 31137, tgid 31136 (syz.1.7646), ts 537074007664, free_ts 539683181135
 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/0x3b0
 ___slab_alloc+0xbfc/0x1480
 kmem_cache_alloc_node_noprof+0x280/0x3c0
 kmalloc_reserve+0xbd/0x290
 pskb_expand_head+0x18e/0x1150
 bpf_clone_redirect+0x12c/0x3d0
 bpf_prog_8609e4581ee7ade4+0x1e/0x49
 bpf_test_run+0x318/0x7b0
 bpf_prog_test_run_skb+0xb30/0x1560
 bpf_prog_test_run+0x2c7/0x340
 __sys_bpf+0x4a4/0x860
 __x64_sys_bpf+0x7c/0x90
page last free pid 5830 tgid 5830 stack trace:
 __free_frozen_pages+0xc71/0xe70
 __put_partials+0x161/0x1c0
 put_cpu_partial+0x17c/0x250
 __slab_free+0x2f7/0x400
 qlist_free_all+0x97/0x140
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 kmem_cache_alloc_noprof+0x1c1/0x3c0
 getname_flags+0xb8/0x540
 vfs_fstatat+0x43/0x170
 __x64_sys_newfstatat+0x116/0x190
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff888111296700: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888111296780: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
>ffff888111296800: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                                  ^
 ffff888111296880: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff888111296900: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
