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

CPU: 0 UID: 0 PID: 9 Comm: kworker/0:0 Not tainted 6.16.0-rc6-syzkaller-00135-gcf074eca0065 #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: events pcpu_balance_workfn
Call Trace:
 <IRQ>
 dump_stack_lvl+0x189/0x250
 print_report+0xca/0x230
 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:_raw_spin_unlock_irqrestore+0xa8/0x110
Code: 74 05 e8 cb 9e 57 f6 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4f f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 13 cd 20 f6 65 8b 05 bc b9 2f 07 85 c0 74 40 48 c7 04 24 0e 36
RSP: 0018:ffffc900000c7720 EFLAGS: 00000206
RAX: c715c64d8082a100 RBX: 0000000000000a06 RCX: c715c64d8082a100
RDX: 0000000000000006 RSI: ffffffff8d99610e RDI: 0000000000000001
RBP: ffffc900000c77a8 R08: ffffffff8fa1d6f7 R09: 1ffffffff1f43ade
R10: dffffc0000000000 R11: fffffbfff1f43adf R12: dffffc0000000000
R13: ffffc90029003000 R14: ffffffff99cb6b98 R15: 1ffff92000018ee4
 debug_check_no_obj_freed+0x451/0x470
 remove_vm_area+0x1d3/0x300
 vfree+0x63/0x400
 pcpu_balance_free+0x6ae/0x940
 pcpu_balance_workfn+0xd01/0xe00
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Allocated by task 17548:
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_cache_noprof+0x230/0x3d0
 tomoyo_find_next_domain+0xdc/0x1aa0
 tomoyo_bprm_check_security+0x11c/0x180
 security_bprm_check+0x89/0x270
 bprm_execve+0x8ee/0x1450
 kernel_execve+0x8f0/0x9f0
 call_usermodehelper_exec_async+0x210/0x360
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30

Freed by task 17548:
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x46/0x50
 __kasan_slab_free+0x62/0x70
 kfree+0x18e/0x440
 tomoyo_find_next_domain+0x173e/0x1aa0
 tomoyo_bprm_check_security+0x11c/0x180
 security_bprm_check+0x89/0x270
 bprm_execve+0x8ee/0x1450
 kernel_execve+0x8f0/0x9f0
 call_usermodehelper_exec_async+0x210/0x360
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30

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

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x3a5a0
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
anon flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff88801a441c80 0000000000000000 dead000000000001
raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff88801a441c80 0000000000000000 dead000000000001
head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000
head: 00fff00000000002 ffffea0000e96801 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 0x52820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 26, tgid 26 (kworker/u9:0), ts 66627448679, free_ts 66616815646
 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_linklocal+0x45f/0x6c0
 addrconf_addr_gen+0x490/0x580
 addrconf_init_auto_addrs+0x706/0xab0
 addrconf_notify+0xacc/0x1010
 notifier_call_chain+0x1b6/0x3e0
 netif_state_change+0x284/0x3a0
page last free pid 5866 tgid 5866 stack trace:
 __free_frozen_pages+0xc71/0xe70
 stack_depot_save_flags+0x445/0x900
 kasan_save_track+0x4f/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_cache_noprof+0x230/0x3d0
 __hw_addr_add_ex+0x1f4/0x770
 dev_mc_sync_multiple+0x208/0x3e0
 team_set_rx_mode+0x133/0x210
 dev_mc_add+0xc8/0x120
 igmp6_group_added+0x1aa/0x720
 __ipv6_dev_mc_inc+0x906/0xaf0
 addrconf_dad_work+0x3d0/0x14b0
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770

Memory state around the buggy address:
 ffff88803a5a0300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff88803a5a0380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff88803a5a0400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                                  ^
 ffff88803a5a0480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff88803a5a0500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
