==================================================================
BUG: KASAN: use-after-free in dtSplitPage+0x1bce/0x36a0
Write of size 1 at addr ffff8881baff9000 by task syz.1.71/5893

CPU: 1 UID: 0 PID: 5893 Comm: syz.1.71 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+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f9d0ab9e159
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:00007f9d0bac3028 EFLAGS: 00000246 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 00007f9d0ae25fa0 RCX: 00007f9d0ab9e159
RDX: 00002000000005c0 RSI: ffffffffffffff9c RDI: 0000200000000700
RBP: 00007f9d0ac3506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f9d0ae26038 R14: 00007f9d0ae25fa0 R15: 00007ffe93348b48
 </TASK>

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffffffffffffffff pfn:0x1baff9
flags: 0x57ff00000000000(node=1|zone=2|lastcpupid=0x7ff)
raw: 057ff00000000000 ffffea0006ebfe88 ffff88823c6413e0 0000000000000000
raw: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as freed
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5597, tgid 5597 (syz-executor), ts 56122882220, free_ts 60224497465
 post_alloc_hook+0x1f9/0x250
 get_page_from_freelist+0x21fa/0x2270
 __alloc_frozen_pages_noprof+0x18d/0x380
 allocate_slab+0x79/0x5e0
 refill_objects+0x2d5/0x350
 __pcs_replace_empty_main+0x2bf/0x6b0
 kmem_cache_alloc_node_noprof+0x42f/0x610
 __alloc_skb+0x276/0x7a0
 alloc_uevent_skb+0x7d/0x230
 kobject_uevent_net_broadcast+0x2fa/0x560
 kobject_uevent_env+0x566/0x9e0
 device_add+0x544/0xb80
 new_device_store+0x37b/0x710
 kernfs_fop_write_iter+0x3a4/0x540
 vfs_write+0x612/0xba0
 ksys_write+0x150/0x270
page last free pid 5605 tgid 5605 stack trace:
 __free_frozen_pages+0xc1e/0xd10
 __slab_free+0x274/0x2c0
 qlist_free_all+0x99/0x100
 kasan_quarantine_reduce+0x148/0x160
 __kasan_slab_alloc+0x22/0x80
 __kmalloc_noprof+0x311/0x720
 tomoyo_encode+0x2ad/0x570
 tomoyo_realpath_from_path+0x5fa/0x640
 tomoyo_check_open_permission+0x229/0x470
 security_file_open+0xa9/0x240
 do_dentry_open+0x4a0/0x1380
 vfs_open+0x3b/0x340
 path_openat+0x2e44/0x3830
 do_file_open+0x23e/0x4a0
 do_sys_openat2+0x115/0x200
 __x64_sys_openat+0x138/0x170

Memory state around the buggy address:
 ffff8881baff8f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff8881baff8f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff8881baff9000: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
                   ^
 ffff8881baff9080: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
 ffff8881baff9100: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
==================================================================
