==================================================================
BUG: KASAN: slab-out-of-bounds in rose_timer_expiry+0x471/0x4b0
Read of size 2 at addr ffff88812a69f82a by task udevd/22096

CPU: 1 UID: 0 PID: 22096 Comm: udevd Not tainted 6.16.0-syzkaller-12063-g37816488247d #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+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:finish_task_switch+0x26b/0x950
Code: 0f 84 3c 01 00 00 48 85 db 0f 85 63 01 00 00 0f 1f 44 00 00 4c 8b 75 d0 4c 89 e7 e8 cf 37 ea 09 e8 5a 3f 36 00 fb 4c 8b 65 c0 <49> 8d bc 24 18 16 00 00 48 89 f8 48 c1 e8 03 42 0f b6 04 28 84 c0
RSP: 0018:ffffc900217e7818 EFLAGS: 00000286
RAX: b1f0d411835bbc00 RBX: 0000000000000000 RCX: b1f0d411835bbc00
RDX: 0000000000000000 RSI: ffffffff8d9b4943 RDI: ffffffff8be32680
RBP: ffffc900217e7870 R08: ffffffff8fa34737 R09: 1ffffffff1f468e6
R10: dffffc0000000000 R11: fffffbfff1f468e7 R12: ffff88801edb5640
R13: dffffc0000000000 R14: ffff8881137c3980 R15: ffff88813663ab58
 __schedule+0x17a0/0x4cc0
 schedule+0x165/0x360
 schedule_hrtimeout_range_clock+0x1c5/0x2f0
 do_epoll_wait+0xcac/0xf40
 __x64_sys_epoll_wait+0x1be/0x210
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fd668923457
Code: 73 01 c3 48 8b 0d d1 d9 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 e8 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 76 48 8b 15 a2 d9 0c 00 f7 d8 64 89 02 48 83
RSP: 002b:00007fffe81d7568 EFLAGS: 00000246 ORIG_RAX: 00000000000000e8
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fd668923457
RDX: 0000000000000004 RSI: 00007fffe81d75a8 RDI: 0000000000000004
RBP: 000056047818df30 R08: 0000000000000007 R09: cbe64edbe8e2817d
R10: 00000000ffffffff R11: 0000000000000246 R12: 000056047819bfe0
R13: 00007fffe81d75a8 R14: 00000000ffffffff R15: 0000560478179910
 </TASK>

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88812a69fb80 pfn:0x12a69c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0x57ff00000000040(head|node=1|zone=2|lastcpupid=0x7ff)
page_type: f8(unknown)
raw: 057ff00000000040 0000000000000000 dead000000000122 0000000000000000
raw: ffff88812a69fb80 0000000000000000 00000000f8000000 0000000000000000
head: 057ff00000000040 0000000000000000 dead000000000122 0000000000000000
head: ffff88812a69fb80 0000000000000000 00000000f8000000 0000000000000000
head: 057ff00000000002 ffffea0004a9a701 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0x40dc0(GFP_KERNEL|__GFP_ZERO|__GFP_COMP), pid 22241, tgid 22238 (syz.0.5482), ts 338500186470, free_ts 331557445813
 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
 __kmalloc_noprof+0x36f/0x4f0
 ib_setup_port_attrs+0x411/0x2070
 add_one_compat_dev+0x3d6/0x5c0
 rdma_dev_init_net+0x1dd/0x270
 ops_init+0x35c/0x5c0
 setup_net+0x10c/0x320
 copy_net_ns+0x31b/0x4d0
 create_new_namespaces+0x3f3/0x720
 unshare_nsproxy_namespaces+0x11c/0x170
 ksys_unshare+0x4c8/0x8c0
page last free pid 5851 tgid 5851 stack trace:
 __free_frozen_pages+0xbc4/0xd30
 __put_partials+0x156/0x1a0
 put_cpu_partial+0x17c/0x250
 __slab_free+0x2d5/0x3c0
 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:
 ffff88812a69f700: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
 ffff88812a69f780: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
>ffff88812a69f800: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
                                  ^
 ffff88812a69f880: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
 ffff88812a69f900: fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe fe
==================================================================
