==================================================================
BUG: KASAN: slab-use-after-free in rose_timer_expiry+0x471/0x4b0
Read of size 2 at addr ffff888115a5c82a by task syz.2.6973/31785

CPU: 1 UID: 0 PID: 31785 Comm: syz.2.6973 Not tainted 6.16.0-rc7-syzkaller-01993-ge3f96b3556e4 #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/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:mptcp_recvmsg+0x156/0x2560
Code: 00 00 0f 85 5a 22 00 00 4c 8b 74 24 20 4c 89 f7 31 f6 e8 7d 10 f6 fd 49 8d 56 12 48 89 d0 48 c1 e8 03 48 89 84 24 e0 00 00 00 <42> 0f b6 04 28 84 c0 48 89 54 24 58 0f 85 d4 22 00 00 44 0f b6 32
RSP: 0018:ffffc9000a2a7520 EFLAGS: 00000a06
RAX: 1ffff1100750d482 RBX: 0000000000000000 RCX: 106a9adcaac69a00
RDX: ffff88803a86a412 RSI: ffffffff8d99988c RDI: ffffffff8be28d00
RBP: ffffc9000a2a77b0 R08: ffffffff8fa1f6f7 R09: 1ffffffff1f43ede
R10: dffffc0000000000 R11: fffffbfff1f43edf R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88803a86a400 R15: 0000000000000106
 inet_recvmsg+0x24a/0x250
 sock_recvmsg_nosec+0x11d/0x1c0
 ____sys_recvmsg+0x3aa/0x460
 ___sys_recvmsg+0x1b5/0x510
 do_recvmmsg+0x307/0x770
 __x64_sys_recvmmsg+0x190/0x240
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f921cf8e9a9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f921deb1038 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f921d1b5fa0 RCX: 00007f921cf8e9a9
RDX: 000000000400030f RSI: 0000200000005c80 RDI: 0000000000000009
RBP: 00007f921d010d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f921d1b5fa0 R15: 00007ffe4e8fab58
 </TASK>

Allocated by task 31606:
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_noprof+0x27a/0x4f0
 copy_splice_read+0x143/0x9b0
 splice_direct_to_actor+0x4d0/0xcc0
 do_splice_direct+0x181/0x270
 do_sendfile+0x4da/0x7e0
 __se_sys_sendfile64+0x13e/0x190
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 31606:
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x46/0x50
 __kasan_slab_free+0x62/0x70
 kfree+0x18e/0x440
 copy_splice_read+0x881/0x9b0
 splice_direct_to_actor+0x4d0/0xcc0
 do_splice_direct+0x181/0x270
 do_sendfile+0x4da/0x7e0
 __se_sys_sendfile64+0x13e/0x190
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

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

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x115a5c
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
anon flags: 0x57ff00000000040(head|node=1|zone=2|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 057ff00000000040 ffff88801a441c80 0000000000000000 dead000000000001
raw: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000
head: 057ff00000000040 ffff88801a441c80 0000000000000000 dead000000000001
head: 0000000000000000 0000000000100010 00000000f5000000 0000000000000000
head: 057ff00000000002 ffffea0004569701 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 0x252800(GFP_NOWAIT|__GFP_NORETRY|__GFP_COMP|__GFP_THISNODE), pid 17275, tgid 17274 (syz.2.3064), ts 234532045428, free_ts 226075142994
 post_alloc_hook+0x240/0x2a0
 get_page_from_freelist+0x21e4/0x22c0
 __alloc_frozen_pages_noprof+0x181/0x370
 allocate_slab+0x65/0x3b0
 ___slab_alloc+0xbfc/0x1480
 __kmalloc_node_noprof+0x2fd/0x4e0
 allocate_slab+0x17c/0x3b0
 ___slab_alloc+0xbfc/0x1480
 kmem_cache_alloc_noprof+0x283/0x3c0
 __send_signal_locked+0x22a/0xeb0
 group_send_sig_info+0x1fd/0x260
 do_bpf_send_signal+0xa9/0x1e0
 irq_work_single+0xe1/0x240
 irq_work_run+0x155/0x2f0
 __sysvec_irq_work+0xa8/0x3d0
 sysvec_irq_work+0x9e/0xc0
page last free pid 47 tgid 47 stack trace:
 __free_frozen_pages+0xc71/0xe70
 kasan_depopulate_vmalloc_pte+0x74/0xa0
 __apply_to_page_range+0xb92/0x1380
 kasan_release_vmalloc+0xa2/0xd0
 purge_vmap_node+0x214/0x8f0
 __purge_vmap_area_lazy+0x7a4/0xb40
 drain_vmap_area_work+0x27/0x40
 process_scheduled_works+0xae1/0x17b0
 worker_thread+0x8a0/0xda0
 kthread+0x711/0x8a0
 ret_from_fork+0x3fc/0x770
 ret_from_fork_asm+0x1a/0x30

Memory state around the buggy address:
 ffff888115a5c700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
 ffff888115a5c780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff888115a5c800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                                  ^
 ffff888115a5c880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff888115a5c900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
