==================================================================
BUG: KASAN: slab-use-after-free in rose_timer_expiry+0x471/0x4b0
Read of size 2 at addr ffff888030d0d42a by task kswapd0/88

CPU: 0 UID: 0 PID: 88 Comm: kswapd0 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:smp_call_function_many_cond+0xf69/0x12d0
Code: 00 45 8b 2f 44 89 ee 83 e6 01 31 ff e8 a0 6e 0b 00 41 83 e5 01 49 bd 00 00 00 00 00 fc ff df 75 07 e8 4b 6a 0b 00 eb 37 f3 90 <43> 0f b6 04 2c 84 c0 75 10 41 f7 07 01 00 00 00 74 1e e8 30 6a 0b
RSP: 0018:ffffc90001bde8c0 EFLAGS: 00000293
RAX: ffffffff81b4c210 RBX: ffff88804b03b1c0 RCX: ffff88801bf89cc0
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90001bdea20 R08: ffffffff8fa1d5f7 R09: 1ffffffff1f43abe
R10: dffffc0000000000 R11: ffffffff81704100 R12: 1ffff11026cc7f5d
R13: dffffc0000000000 R14: 0000000000000001 R15: ffff88813663fae8
 on_each_cpu_cond_mask+0x3f/0x80
 arch_tlbbatch_flush+0x324/0x570
 try_to_unmap_flush_dirty+0x75/0x100
 shrink_folio_list+0x2ab6/0x4e90
 evict_folios+0x4447/0x5500
 try_to_shrink_lruvec+0x705/0x990
 shrink_one+0x21b/0x7c0
 shrink_node+0x314e/0x3760
 kswapd+0x147c/0x2830
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Allocated by task 20728:
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_node_track_caller_noprof+0x271/0x4e0
 kmemdup_noprof+0x2b/0x70
 setup_mq_sysctls+0x57/0x4b0
 copy_ipcs+0x314/0x4f0
 create_new_namespaces+0x218/0x720
 unshare_nsproxy_namespaces+0x11c/0x170
 ksys_unshare+0x4c8/0x8c0
 __x64_sys_unshare+0x38/0x50
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 793:
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x46/0x50
 __kasan_slab_free+0x62/0x70
 kfree+0x18e/0x440
 free_ipc+0x127/0x270
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30

The buggy address belongs to the object at ffff888030d0d400
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 42 bytes inside of
 freed 512-byte region [ffff888030d0d400, ffff888030d0d600)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x30d0c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff88801a441c80 ffffea00041ae500 dead000000000002
raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff88801a441c80 ffffea00041ae500 dead000000000002
head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea0000c34301 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 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5826, tgid 5826 (syz-executor), ts 56444093728, free_ts 0
 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
 __kmalloc_noprof+0x305/0x4f0
 fib6_info_alloc+0x30/0xf0
 ip6_route_info_create+0x142/0x860
 ip6_route_add+0x49/0x1b0
 addrconf_add_dev+0x24f/0x340
 addrconf_init_auto_addrs+0x5c4/0xab0
 addrconf_notify+0xacc/0x1010
 notifier_call_chain+0x1b6/0x3e0
 __dev_notify_flags+0x18d/0x2e0
 netif_change_flags+0xe8/0x1a0
page_owner free stack trace missing

Memory state around the buggy address:
 ffff888030d0d300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888030d0d380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888030d0d400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                                  ^
 ffff888030d0d480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888030d0d500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
