loop6: detected capacity change from 0 to 32768
==================================================================
BUG: KASAN: slab-out-of-bounds in dtSplitPage+0x1bce/0x36a0
Write of size 1 at addr ffff888104ff6020 by task syz.6.14187/11677

CPU: 0 UID: 0 PID: 11677 Comm: syz.6.14187 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
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:0x7f3fef19e159
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:00007f3ff0060028 EFLAGS: 00000246 ORIG_RAX: 000000000000010a
RAX: ffffffffffffffda RBX: 00007f3fef425fa0 RCX: 00007f3fef19e159
RDX: 00002000000005c0 RSI: ffffffffffffff9c RDI: 0000200000000700
RBP: 00007f3fef23506b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3fef426038 R14: 00007f3fef425fa0 R15: 00007fff2bcbaa58
 </TASK>

Allocated by task 7873:
 kasan_save_track+0x3e/0x80
 __kasan_kmalloc+0x93/0xb0
 __kmalloc_cache_noprof+0x321/0x600
 ref_tracker_alloc+0x15b/0x4b0
 inetdev_init+0x1fb/0x4d0
 inetdev_event+0x307/0x15e0
 notifier_call_chain+0x1a5/0x3d0
 register_netdevice+0x18a4/0x1eb0
 veth_newlink+0x6a2/0xdd0
 rtnl_newlink_create+0x305/0x7b0
 rtnl_newlink+0x166d/0x1c30
 rtnetlink_rcv_msg+0x802/0xc00
 netlink_rcv_skb+0x226/0x4a0
 netlink_unicast+0x7bd/0x940
 netlink_sendmsg+0x813/0xb40
 sock_sendmsg_nosec+0x13a/0x180
 __sys_sendto+0x408/0x5a0
 __x64_sys_sendto+0xde/0x100
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f

The buggy address belongs to the object at ffff888104ff6000
 which belongs to the cache kmalloc-32 of size 32
The buggy address is located 0 bytes to the right of
 allocated 32-byte region [ffff888104ff6000, ffff888104ff6020)

The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x104ff6
flags: 0x17ff00000000000(node=0|zone=2|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 017ff00000000000 ffff888100041780 dead000000000100 dead000000000122
raw: 0000000000000000 0000000000400040 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 0xd2c40(GFP_NOFS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 7069, tgid 7068 (syz.3.499), ts 97041564641
 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_noprof+0x47b/0x720
 tomoyo_encode+0x2ad/0x570
 tomoyo_realpath_from_path+0x5fa/0x640
 tomoyo_path_number_perm+0x246/0x5f0
 security_file_ioctl+0xc3/0x2a0
 __se_sys_ioctl+0x47/0x170
 do_syscall_64+0x166/0x520
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
page last free pid 5601 tgid 5601 ts 97025017714 stack trace:
 __free_frozen_pages+0xc93/0xd90
 tlb_remove_table_rcu+0x85/0x100
 rcu_core+0x926/0x1260
 handle_softirqs+0x226/0x860
 __irq_exit_rcu+0xcb/0x220
 irq_exit_rcu+0x9/0x30
 sysvec_apic_timer_interrupt+0xa6/0xc0
 asm_sysvec_apic_timer_interrupt+0x1a/0x20

Memory state around the buggy address:
 ffff888104ff5f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 ffff888104ff5f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888104ff6000: 00 00 00 00 fc fc fc fc 00 00 00 00 fc fc fc fc
                               ^
 ffff888104ff6080: 00 00 00 00 fc fc fc fc fa fb fb fb fc fc fc fc
 ffff888104ff6100: fa fb fb fb fc fc fc fc 00 00 00 00 fc fc fc fc
==================================================================
