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

CPU: 0 UID: 0 PID: 3 Comm: pool_workqueue_ Not tainted 6.16.0-syzkaller-11895-gcca7a0aae895-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:lockdep_unregister_key+0x2c5/0x310
Code: 65 48 8b 05 bd 3f 02 11 48 3b 44 24 10 0f 84 26 fe ff ff e8 7d 16 db 09 e8 a8 17 db 09 41 f7 c7 00 02 00 00 74 bd fb 40 84 ed <75> bc eb cd 90 0f 0b 90 e9 19 ff ff ff 90 0f 0b 90 e9 2a ff ff ff
RSP: 0000:ffffc90000067c00 EFLAGS: 00000246
RAX: 33678c4321357300 RBX: ffff888030cb4938 RCX: 33678c4321357300
RDX: ffffffff93638338 RSI: ffffffff8d9c7f0a RDI: ffffffff8be32600
RBP: ffff888030cb4900 R08: 0000000000000000 R09: ffffffff81aa82d8
R10: dffffc0000000000 R11: fffffbfff1f46847 R12: 0000000000000000
R13: 0000000000001000 R14: 0000000000000001 R15: 0000000000000a03
 pwq_release_workfn+0x6d5/0x870
 kthread_worker_fn+0x507/0xb60
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30
 </TASK>

Allocated by task 27959:
 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 27959:
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x46/0x50
 __kasan_slab_free+0x5b/0x80
 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 ffff888125013c00
 which belongs to the cache kmalloc-512 of size 512
The buggy address is located 42 bytes inside of
 freed 512-byte region [ffff888125013c00, ffff888125013e00)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888125010400 pfn:0x125010
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 ffffea00042cf210 ffffea00043dd710
raw: ffff888125010400 000000000010000f 00000000f5000000 0000000000000000
head: 057ff00000000240 ffff88801a441c80 ffffea00042cf210 ffffea00043dd710
head: ffff888125010400 000000000010000f 00000000f5000000 0000000000000000
head: 057ff00000000002 ffffea0004940401 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 5849, tgid 5849 (syz-executor), ts 54892097532, 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
 __ipv6_dev_mc_inc+0x44f/0xa50
 ipv6_add_dev+0xe63/0x1370
 addrconf_notify+0x794/0x1010
 notifier_call_chain+0x1b6/0x3e0
 register_netdevice+0x1608/0x1ae0
 nsim_create+0xae8/0xf10
 __nsim_dev_port_add+0x6b6/0xb10
 nsim_dev_port_add_all+0x37/0xf0
 nsim_drv_probe+0x88e/0xba0
page_owner free stack trace missing

Memory state around the buggy address:
 ffff888125013b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888125013b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888125013c00: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                                  ^
 ffff888125013c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888125013d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
