==================================================================
BUG: KASAN: slab-use-after-free in dtSplitPage+0x1dd9/0x37c0
Write of size 1 at addr ffff88811669e000 by task syz.7.545/8403

CPU: 0 UID: 0 PID: 8403 Comm: syz.7.545 Not tainted syzkaller #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:
 <TASK>
 dump_stack_lvl+0xe8/0x150
 print_report+0xba/0x230
 kasan_report+0x117/0x150
 dtSplitPage+0x1dd9/0x37c0
 dtInsert+0x107a/0x5de0
 jfs_rename+0x89d/0x1830
 vfs_rename+0xa96/0xeb0
 do_renameat2+0x548/0x900
 __x64_sys_rename+0x82/0x90
 do_syscall_64+0xe2/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fbf67f9acb9
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fbf68e60028 EFLAGS: 00000246 ORIG_RAX: 0000000000000052
RAX: ffffffffffffffda RBX: 00007fbf68206090 RCX: 00007fbf67f9acb9
RDX: 0000000000000000 RSI: 0000200000000f40 RDI: 0000200000000400
RBP: 00007fbf68008bf7 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fbf68206128 R14: 00007fbf68206090 R15: 00007ffe53b98dd8
 </TASK>

Allocated by task 8364:
 kasan_save_track+0x3e/0x80
 __kasan_slab_alloc+0x6c/0x80
 kmem_cache_alloc_noprof+0x370/0x6e0
 mas_alloc_nodes+0x291/0x350
 mas_preallocate+0x2d6/0x640
 __split_vma+0x309/0xa50
 vms_gather_munmap_vmas+0x4d0/0x1320
 mmap_region+0x82d/0x1ea0
 do_mmap+0xc39/0x10c0
 vm_mmap_pgoff+0x2c9/0x4f0
 ksys_mmap_pgoff+0x51e/0x760
 do_syscall_64+0xe2/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 15:
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x46/0x50
 __kasan_slab_free+0x5c/0x80
 __rcu_free_sheaf_prepare+0x12e/0x2a0
 rcu_free_sheaf+0x1f/0x130
 rcu_core+0xc9e/0x1750
 handle_softirqs+0x22a/0x7c0
 run_ksoftirqd+0x36/0x60
 smpboot_thread_fn+0x541/0xa50
 kthread+0x726/0x8b0
 ret_from_fork+0x51b/0xa40
 ret_from_fork_asm+0x1a/0x30

The buggy address belongs to the object at ffff88811669e000
 which belongs to the cache maple_node of size 256
The buggy address is located 0 bytes inside of
 freed 256-byte region [ffff88811669e000, ffff88811669e100)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88811669f000 pfn:0x11669e
head: order:1 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0x17ff00000000240(workingset|head|node=0|zone=2|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 017ff00000000240 ffff88810004bc80 ffffea000432c310 ffffea00042b5710
raw: ffff88811669f000 000000000010000e 00000000f5000000 0000000000000000
head: 017ff00000000240 ffff88810004bc80 ffffea000432c310 ffffea00042b5710
head: ffff88811669f000 000000000010000e 00000000f5000000 0000000000000000
head: 017ff00000000001 ffffea000459a781 00000000ffffffff 00000000ffffffff
head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000002
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 1, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 7762, tgid 7762 (rm), ts 119390242421, free_ts 119273103251
 post_alloc_hook+0x228/0x280
 get_page_from_freelist+0x24dc/0x2580
 __alloc_frozen_pages_noprof+0x18d/0x380
 alloc_pages_mpol+0x232/0x4a0
 allocate_slab+0x86/0x3a0
 ___slab_alloc+0xd82/0x1760
 __kmem_cache_alloc_bulk+0x1ab/0x4d0
 kmem_cache_prefill_sheaf+0x2b9/0x480
 mas_alloc_nodes+0x1c2/0x350
 mas_preallocate+0x2d6/0x640
 vma_link+0x123/0x490
 insert_vm_struct+0x199/0x260
 _install_special_mapping+0x1b0/0x350
 map_vdso+0x1f6/0x470
 load_elf_binary+0x1d81/0x2980
 bprm_execve+0x93d/0x1410
page last free pid 7749 tgid 7749 stack trace:
 __free_frozen_pages+0xbb0/0xd10
 __slab_free+0x2ce/0x320
 qlist_free_all+0x97/0x100
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 kmem_cache_alloc_noprof+0x370/0x6e0
 getname_flags+0xb7/0x540
 do_sys_openat2+0xca/0x220
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0xe2/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff88811669df00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff88811669df80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88811669e000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
                   ^
 ffff88811669e080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
 ffff88811669e100: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
==================================================================
