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

CPU: 0 UID: 0 PID: 14535 Comm: syz-executor Not tainted 6.16.0-syzkaller-12063-g37816488247d-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+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:__d_lookup+0x213/0x780
Code: c1 e9 03 48 89 4c 24 60 48 89 54 24 58 48 c1 ea 03 48 89 54 24 50 48 89 1c 24 48 83 c3 18 48 89 d8 48 c1 e8 03 42 0f b6 04 20 <84> c0 0f 85 21 03 00 00 8b 1b 89 df 44 89 f6 e8 89 17 85 ff 44 39
RSP: 0018:ffffc90007c47cc8 EFLAGS: 00000a02
RAX: 0000000000000000 RBX: ffff888113b077d8 RCX: 1ffff92000f88fcc
RDX: 1ffff92000f88fcd RSI: ffff888113b077c0 RDI: 0000000000000000
RBP: ffff88802aa6ed38 R08: ffffc90000395717 R09: 1ffff92000072ae2
R10: dffffc0000000000 R11: fffff52000072ae3 R12: dffffc0000000000
R13: ffffc90007c47e60 R14: 00000000655c4881 R15: ffffffff823a9426
 d_lookup+0x48/0xa0
 lookup_one_qstr_excl+0x34/0x360
 do_unlinkat+0x1df/0x560
 __x64_sys_unlink+0x47/0x50
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f971078e197
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 57 00 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:00007ffe33700f38 EFLAGS: 00000206 ORIG_RAX: 0000000000000057
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f971078e197
RDX: 00007ffe33700f60 RSI: 00007ffe33700ff0 RDI: 00007ffe33700ff0
RBP: 00007ffe33700ff0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000100 R11: 0000000000000206 R12: 00007ffe33702080
R13: 00007f9710811c05 R14: 0000000000061463 R15: 00007ffe337020c0
 </TASK>

Allocated by task 21746:
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_noprof+0x27a/0x4f0
 fib6_info_alloc+0x30/0xf0
 ip6_route_info_create+0x142/0x860
 addrconf_f6i_alloc+0x1d2/0x450
 ipv6_add_addr+0x56e/0x1090
 addrconf_add_linklocal+0x28c/0x6c0
 addrconf_addr_gen+0x490/0x580
 addrconf_init_auto_addrs+0x62d/0xa30
 addrconf_notify+0xacc/0x1010
 notifier_call_chain+0x1b6/0x3e0
 __dev_notify_flags+0x18d/0x2e0
 netif_change_flags+0xe8/0x1a0
 dev_change_flags+0x130/0x260
 devinet_ioctl+0xbb4/0x1b50
 inet_ioctl+0x3c0/0x4c0
 sock_do_ioctl+0xdc/0x300
 sock_ioctl+0x576/0x790
 __se_sys_ioctl+0xfc/0x170
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 23:
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x46/0x50
 __kasan_slab_free+0x5b/0x80
 kfree+0x18e/0x440
 rcu_core+0xcab/0x1770
 handle_softirqs+0x286/0x870
 run_ksoftirqd+0x9b/0x100
 smpboot_thread_fn+0x542/0xa60
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30

Last potentially related work creation:
 kasan_save_stack+0x3e/0x60
 kasan_record_aux_stack+0xbd/0xd0
 call_rcu+0x157/0x9c0
 __ip6_del_rt+0x111/0x180
 ip6_del_rt+0xb3/0x100
 __ipv6_ifa_notify+0x5c7/0xac0
 addrconf_ifdown+0xe69/0x1880
 addrconf_notify+0x1bc/0x1010
 notifier_call_chain+0x1b6/0x3e0
 netif_close_many+0x29c/0x410
 unregister_netdevice_many_notify+0x7b9/0x1ff0
 unregister_netdevice_queue+0x33c/0x380
 __tun_detach+0xda4/0x1560
 tun_chr_close+0x10a/0x1c0
 __fput+0x44c/0xa70
 task_work_run+0x1d4/0x260
 exit_to_user_mode_loop+0xec/0x110
 do_syscall_64+0x2bd/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

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

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8881075bd000 pfn:0x1075bc
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0x57ff00000000240(workingset|head|node=1|zone=2|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 057ff00000000240 ffff88801a441c80 ffffea0004817910 ffffea00042b7010
raw: ffff8881075bd000 000000000010000b 00000000f5000000 0000000000000000
head: 057ff00000000240 ffff88801a441c80 ffffea0004817910 ffffea00042b7010
head: ffff8881075bd000 000000000010000b 00000000f5000000 0000000000000000
head: 057ff00000000002 ffffea00041d6f01 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 51, tgid 51 (kworker/1:1), ts 5483485659, 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/0x370
 ___slab_alloc+0xbeb/0x1410
 __kmalloc_cache_noprof+0x296/0x3d0
 drm_atomic_helper_setup_commit+0x1c9/0x1370
 drm_atomic_helper_commit+0x6a/0xb10
 drm_atomic_commit+0x262/0x2c0
 drm_atomic_helper_dirtyfb+0xd7b/0xee0
 drm_fbdev_shmem_helper_fb_dirty+0x160/0x2f0
 drm_fb_helper_damage_work+0x224/0x710
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
page_owner free stack trace missing

Memory state around the buggy address:
 ffff8881075bef00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff8881075bef80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff8881075bf000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                                  ^
 ffff8881075bf080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff8881075bf100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
