==================================================================
BUG: KASAN: slab-use-after-free in dtSplitPage+0x1bce/0x36a0
Write of size 1 at addr ffff88801ef85000 by task syz.7.2233/27813

CPU: 0 UID: 0 PID: 27813 Comm: syz.7.2233 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_address_description+0x55/0x1e0
 print_report+0x58/0x70
 kasan_report+0x117/0x150
 dtSplitPage+0x1bce/0x36a0
 dtInsert+0x1080/0x5cb0
 jfs_symlink+0x8a1/0xfb0
 vfs_symlink+0x18b/0x330
 filename_symlinkat+0x1cd/0x410
 __se_sys_symlinkat+0x4e/0x2b0
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9a6e39e159
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:00007f9a6f279028 EFLAGS: 00000246 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 00007f9a6e625fa0 RCX: 00007f9a6e39e159
RDX: 00002000000005c0 RSI: ffffffffffffff9c RDI: 0000200000000700
RBP: 00007f9a6e43506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9a6e626038 R14: 00007f9a6e625fa0 R15: 00007ffdb16985e8
 </TASK>

Allocated by task 27740:
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_cache_noprof+0x321/0x600
 kmem_cache_free+0x156/0x650
 __put_anon_vma+0x12b/0x2d0
 unlink_anon_vmas+0x544/0x720
 free_pgtables+0x836/0xb70
 exit_mmap+0x4aa/0x9f0
 __mmput+0x118/0x420
 exit_mm+0x221/0x2d0
 do_exit+0x6cd/0x2360
 do_group_exit+0x22d/0x2f0
 get_signal+0x121b/0x12c0
 arch_do_signal_or_restart+0xbb/0x860
 exit_to_user_mode_loop+0x10e/0x770
 do_syscall_64+0x328/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Freed by task 15:
 kasan_save_track+0x3e/0x80
 kasan_save_free_info+0x40/0x50
 __kasan_slab_free+0x5c/0x80
 kfree+0x1c5/0x650
 slab_free_after_rcu_debug+0x62/0x220
 rcu_core+0x926/0x1260
 handle_softirqs+0x226/0x860
 run_ksoftirqd+0x36/0x60
 smpboot_thread_fn+0x565/0xa70
 kthread+0x38b/0x480
 ret_from_fork+0x514/0xb70
 ret_from_fork_asm+0x1a/0x30

Last potentially related work creation:
 kasan_save_stack+0x3e/0x60
 kasan_record_aux_stack+0xbd/0xd0
 call_rcu+0xee/0x8b0
 kmem_cache_free+0x471/0x650
 __put_anon_vma+0x12b/0x2d0
 unlink_anon_vmas+0x544/0x720
 free_pgtables+0x836/0xb70
 exit_mmap+0x4aa/0x9f0
 __mmput+0x118/0x420
 exit_mm+0x221/0x2d0
 do_exit+0x6cd/0x2360
 do_group_exit+0x22d/0x2f0
 get_signal+0x121b/0x12c0
 arch_do_signal_or_restart+0xbb/0x860
 exit_to_user_mode_loop+0x10e/0x770
 do_syscall_64+0x328/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff88801ef85000
 which belongs to the cache kmalloc-32 of size 32
The buggy address is located 0 bytes inside of
 freed 32-byte region [ffff88801ef85000, ffff88801ef85020)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff88801ef85080 pfn:0x1ef85
flags: 0xfff00000000200(workingset|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000200 ffff888100041780 ffffea0004475810 ffffea00042d3c90
raw: ffff88801ef85080 0000000000400032 00000000f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0xd2800(GFP_NOWAIT|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5041, tgid 5041 (udevd), ts 172466001894
 post_alloc_hook+0x1f9/0x250
 get_page_from_freelist+0x2209/0x2280
 __alloc_frozen_pages_noprof+0x217/0x5a0
 allocate_slab+0x7d/0x620
 refill_objects+0x2d5/0x350
 __pcs_replace_empty_main+0x2c8/0x6c0
 __kmalloc_cache_noprof+0x39b/0x600
 kmem_cache_free+0x156/0x650
 fput_close_sync+0x11f/0x240
 __se_sys_close+0xa2/0x160
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5608 tgid 5608 ts 56036365150 stack trace:
 __free_frozen_pages+0xc93/0xd90
 __slab_free+0x274/0x2c0
 qlist_free_all+0x99/0x100
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 __kmalloc_noprof+0x307/0x720
 inotify_handle_inode_event+0x185/0x620
 inotify_ignored_and_remove_idr+0x29/0x70
 __se_sys_inotify_rm_watch+0xc3/0x130
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

Memory state around the buggy address:
 ffff88801ef84f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff88801ef84f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff88801ef85000: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc
                   ^
 ffff88801ef85080: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc
 ffff88801ef85100: fa fb fb fb fc fc fc fc fa fb fb fb fc fc fc fc
==================================================================
