================================================================== BUG: KASAN: slab-out-of-bounds in dtInsertEntry+0x8a5/0x1270 fs/jfs/jfs_dtree.c:3999 Read of size 1 at addr ffff88801feb5fe0 by task syz.0.17/4326 CPU: 1 PID: 4326 Comm: syz.0.17 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/18/2026 Call Trace: dump_stack_lvl+0x188/0x250 lib/dump_stack.c:106 print_address_description+0x60/0x2d0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0xdf/0x130 mm/kasan/report.c:451 dtInsertEntry+0x8a5/0x1270 fs/jfs/jfs_dtree.c:3999 dtSplitPage+0x2501/0x3200 fs/jfs/jfs_dtree.c:1596 dtSplitUp fs/jfs/jfs_dtree.c:1092 [inline] dtInsert+0xff4/0x5830 fs/jfs/jfs_dtree.c:871 jfs_mkdir+0x758/0xad0 fs/jfs/namei.c:270 vfs_mkdir+0x387/0x570 fs/namei.c:4073 do_mkdirat+0x1df/0x5b0 fs/namei.c:4098 __do_sys_mkdirat fs/namei.c:4113 [inline] __se_sys_mkdirat fs/namei.c:4111 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4111 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f3f0bbc1687 Code: 00 66 90 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 db f7 ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 b8 02 01 00 00 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:00007ffd5720f4a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007ffd5720f530 RCX: 00007f3f0bbc1687 RDX: 00000000000001ff RSI: 00002000000003c0 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000200000000140 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00002000000003c0 R13: 00007ffd5720f4f0 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 4296: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x9c/0xd0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519 slab_alloc_node mm/slub.c:3225 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0x100/0x290 mm/slub.c:3238 anon_vma_chain_alloc mm/rmap.c:138 [inline] anon_vma_clone+0xbd/0x4f0 mm/rmap.c:284 anon_vma_fork+0x7e/0x500 mm/rmap.c:347 dup_mmap kernel/fork.c:574 [inline] dup_mm kernel/fork.c:1466 [inline] copy_mm+0xa06/0x13f0 kernel/fork.c:1518 copy_process+0x17eb/0x3e20 kernel/fork.c:2290 kernel_clone+0x23f/0x990 kernel/fork.c:2679 __do_sys_clone kernel/fork.c:2796 [inline] __se_sys_clone kernel/fork.c:2780 [inline] __x64_sys_clone+0x19a/0x210 kernel/fork.c:2780 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Freed by task 4308: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:46 kasan_set_free_info+0x1f/0x40 mm/kasan/generic.c:360 ____kasan_slab_free+0xd5/0x110 mm/kasan/common.c:366 kasan_slab_free include/linux/kasan.h:230 [inline] slab_free_hook mm/slub.c:1710 [inline] slab_free_freelist_hook+0xea/0x170 mm/slub.c:1736 slab_free mm/slub.c:3504 [inline] kmem_cache_free+0x8f/0x210 mm/slub.c:3520 anon_vma_chain_free mm/rmap.c:143 [inline] unlink_anon_vmas+0x2c8/0x660 mm/rmap.c:417 free_pgtables+0x177/0x2a0 mm/memory.c:426 exit_mmap+0x3c8/0x640 mm/mmap.c:3217 __mmput+0x115/0x3b0 kernel/fork.c:1127 exec_mmap+0x51d/0x610 fs/exec.c:1035 begin_new_exec+0x7e8/0x1160 fs/exec.c:1293 load_elf_binary+0x99c/0x28e0 fs/binfmt_elf.c:1001 search_binary_handler fs/exec.c:1742 [inline] exec_binprm fs/exec.c:1783 [inline] bprm_execve+0xaee/0x1840 fs/exec.c:1852 do_execveat_common+0x51e/0x6d0 fs/exec.c:1957 do_execve fs/exec.c:2027 [inline] __do_sys_execve fs/exec.c:2103 [inline] __se_sys_execve fs/exec.c:2098 [inline] __x64_sys_execve+0x8e/0xa0 fs/exec.c:2098 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 The buggy address belongs to the object at ffff88801feb5f50 which belongs to the cache anon_vma_chain of size 80 The buggy address is located 64 bytes to the right of 80-byte region [ffff88801feb5f50, ffff88801feb5fa0) The buggy address belongs to the page: page:ffffea00007fad40 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1feb5 flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000000200 ffffea0001d7df80 0000000400000004 ffff888140007140 raw: 0000000000000000 0000000000240024 00000001ffffffff 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 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 3914, ts 44134988667, free_ts 44013786193 prep_new_page mm/page_alloc.c:2426 [inline] get_page_from_freelist+0x1bbd/0x1ca0 mm/page_alloc.c:4192 __alloc_pages+0x1ee/0x480 mm/page_alloc.c:5501 alloc_slab_page mm/slub.c:1780 [inline] allocate_slab mm/slub.c:1917 [inline] new_slab+0xc0/0x4b0 mm/slub.c:1980 ___slab_alloc+0x80a/0xdd0 mm/slub.c:3013 __slab_alloc mm/slub.c:3100 [inline] slab_alloc_node mm/slub.c:3191 [inline] slab_alloc mm/slub.c:3233 [inline] kmem_cache_alloc+0x195/0x290 mm/slub.c:3238 anon_vma_chain_alloc mm/rmap.c:138 [inline] anon_vma_fork+0x1f6/0x500 mm/rmap.c:360 dup_mmap kernel/fork.c:574 [inline] dup_mm kernel/fork.c:1466 [inline] copy_mm+0xa06/0x13f0 kernel/fork.c:1518 copy_process+0x17eb/0x3e20 kernel/fork.c:2290 kernel_clone+0x23f/0x990 kernel/fork.c:2679 __do_sys_clone kernel/fork.c:2796 [inline] __se_sys_clone kernel/fork.c:2780 [inline] __x64_sys_clone+0x19a/0x210 kernel/fork.c:2780 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1340 [inline] free_pcp_prepare mm/page_alloc.c:1391 [inline] free_unref_page_prepare+0x637/0x6c0 mm/page_alloc.c:3317 free_unref_page_list+0x119/0x820 mm/page_alloc.c:3433 release_pages+0x186c/0x1be0 mm/swap.c:963 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline] tlb_flush_mmu_free mm/mmu_gather.c:240 [inline] tlb_flush_mmu mm/mmu_gather.c:247 [inline] tlb_finish_mmu+0x176/0x300 mm/mmu_gather.c:338 exit_mmap+0x3d0/0x640 mm/mmap.c:3218 __mmput+0x115/0x3b0 kernel/fork.c:1127 exit_mm+0x588/0x6e0 kernel/exit.c:550 do_exit+0x5a9/0x20c0 kernel/exit.c:870 do_group_exit+0x12e/0x300 kernel/exit.c:997 __do_sys_exit_group kernel/exit.c:1008 [inline] __se_sys_exit_group kernel/exit.c:1006 [inline] __x64_sys_exit_group+0x3b/0x40 kernel/exit.c:1006 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 Memory state around the buggy address: ffff88801feb5e80: fb fb fb fb fb fb fb fb fc fc fc fc fa fb fb fb ffff88801feb5f00: fb fb fb fb fb fb fc fc fc fc fa fb fb fb fb fb >ffff88801feb5f80: fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88801feb6000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88801feb6080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================