read_mapping_page failed! ERROR: (device loop0): txAbort: ================================================================== BUG: KASAN: slab-out-of-bounds in dtInsertEntry.isra.0+0x13a1/0x1670 fs/jfs/jfs_dtree.c:3765 Read of size 4 at addr ffff88804641c954 by task syz.0.480/7862 CPU: 1 UID: 0 PID: 7862 Comm: syz.0.480 Not tainted 6.16.0-syzkaller-11489-gd2eedaa3909b #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0xcd/0x630 mm/kasan/report.c:482 kasan_report+0xe0/0x110 mm/kasan/report.c:595 dtInsertEntry.isra.0+0x13a1/0x1670 fs/jfs/jfs_dtree.c:3765 dtSplitPage+0x2bd0/0x39e0 fs/jfs/jfs_dtree.c:1596 dtSplitUp+0x7ba/0x5970 fs/jfs/jfs_dtree.c:1092 dtInsert+0x8dd/0xb60 fs/jfs/jfs_dtree.c:871 jfs_mkdir+0x67d/0xba0 fs/jfs/namei.c:270 vfs_mkdir+0x593/0x8c0 fs/namei.c:4366 do_mkdirat+0x304/0x3e0 fs/namei.c:4399 __do_sys_mkdirat fs/namei.c:4416 [inline] __se_sys_mkdirat fs/namei.c:4414 [inline] __x64_sys_mkdirat+0x83/0xb0 fs/namei.c:4414 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa39938d3d7 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fa39a157e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007fa39a157ef0 RCX: 00007fa39938d3d7 RDX: 00000000000001ff RSI: 0000200000002080 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000002080 R13: 00007fa39a157eb0 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 7850: kasan_save_stack+0x33/0x60 mm/kasan/common.c:47 kasan_save_track+0x14/0x30 mm/kasan/common.c:68 unpoison_slab_object mm/kasan/common.c:319 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:345 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4180 [inline] slab_alloc_node mm/slub.c:4229 [inline] kmem_cache_alloc_lru_noprof+0x1d0/0x3b0 mm/slub.c:4248 jfs_alloc_inode+0x25/0x60 fs/jfs/super.c:105 alloc_inode+0x64/0x240 fs/inode.c:346 iget_locked+0x2e4/0x830 fs/inode.c:1438 jfs_iget+0x1e/0x4c0 fs/jfs/inode.c:29 jfs_lookup+0x2b2/0x380 fs/jfs/namei.c:1469 __lookup_slow+0x251/0x460 fs/namei.c:1808 lookup_slow fs/namei.c:1825 [inline] walk_component+0x353/0x5b0 fs/namei.c:2129 lookup_last fs/namei.c:2630 [inline] path_lookupat+0x142/0x6d0 fs/namei.c:2654 filename_lookup+0x224/0x5f0 fs/namei.c:2683 user_path_at+0x3a/0x60 fs/namei.c:3127 __do_sys_chdir fs/open.c:561 [inline] __se_sys_chdir fs/open.c:555 [inline] __x64_sys_chdir+0xbe/0x270 fs/open.c:555 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f The buggy address belongs to the object at ffff88804641c088 which belongs to the cache jfs_ip of size 2232 The buggy address is located 20 bytes to the right of allocated 2232-byte region [ffff88804641c088, ffff88804641c940) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff888046418000 pfn:0x46418 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff8880776a9701 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000040 ffff88801f3a3280 dead000000000122 0000000000000000 raw: ffff888046418000 00000000800d000c 00000000f5000000 ffff8880776a9701 head: 00fff00000000040 ffff88801f3a3280 dead000000000122 0000000000000000 head: ffff888046418000 00000000800d000c 00000000f5000000 ffff8880776a9701 head: 00fff00000000003 ffffea0001190601 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Reclaimable, gfp_mask 0xd2050(__GFP_RECLAIMABLE|__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 7683, tgid 7682 (syz.4.445), ts 308404974721, free_ts 123716050752 set_page_owner include/linux/page_owner.h:32 [inline] post_alloc_hook+0x1c0/0x230 mm/page_alloc.c:1851 prep_new_page mm/page_alloc.c:1859 [inline] get_page_from_freelist+0x132b/0x38e0 mm/page_alloc.c:3858 __alloc_frozen_pages_noprof+0x261/0x23f0 mm/page_alloc.c:5148 alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2416 alloc_slab_page mm/slub.c:2487 [inline] allocate_slab mm/slub.c:2655 [inline] new_slab+0x247/0x330 mm/slub.c:2709 ___slab_alloc+0xcf2/0x1740 mm/slub.c:3891 __slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3981 __slab_alloc_node mm/slub.c:4056 [inline] slab_alloc_node mm/slub.c:4217 [inline] kmem_cache_alloc_lru_noprof+0xf4/0x3b0 mm/slub.c:4248 jfs_alloc_inode+0x25/0x60 fs/jfs/super.c:105 alloc_inode+0x64/0x240 fs/inode.c:346 iget_locked+0x2e4/0x830 fs/inode.c:1438 jfs_iget+0x1e/0x4c0 fs/jfs/inode.c:29 jfs_fill_super+0x91b/0x1040 fs/jfs/super.c:547 get_tree_bdev_flags+0x38c/0x620 fs/super.c:1692 vfs_get_tree+0x8e/0x340 fs/super.c:1815 do_new_mount fs/namespace.c:3805 [inline] path_mount+0x1482/0x1fd0 fs/namespace.c:4120 page last free pid 5226 tgid 5226 stack trace: reset_page_owner include/linux/page_owner.h:25 [inline] free_pages_prepare mm/page_alloc.c:1395 [inline] __free_frozen_pages+0x7d5/0x10f0 mm/page_alloc.c:2895 discard_slab mm/slub.c:2753 [inline] __put_partials+0x165/0x1c0 mm/slub.c:3218 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x4d/0x120 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:250 [inline] slab_post_alloc_hook mm/slub.c:4180 [inline] slab_alloc_node mm/slub.c:4229 [inline] kmem_cache_alloc_noprof+0x1cb/0x3b0 mm/slub.c:4236 getname_flags.part.0+0x4c/0x550 fs/namei.c:146 getname_flags+0x93/0xf0 include/linux/audit.h:322 getname include/linux/fs.h:2918 [inline] do_sys_openat2+0xb8/0x1d0 fs/open.c:1429 do_sys_open fs/open.c:1450 [inline] __do_sys_openat fs/open.c:1466 [inline] __se_sys_openat fs/open.c:1461 [inline] __x64_sys_openat+0x174/0x210 fs/open.c:1461 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x4c0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f Memory state around the buggy address: ffff88804641c800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff88804641c880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff88804641c900: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ^ ffff88804641c980: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb ffff88804641ca00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== find_entry called with index = 0 read_mapping_page failed! ERROR: (device loop0): txAbort: