read_mapping_page failed! ERROR: (device loop2): txAbort: ================================================================== BUG: KASAN: slab-out-of-bounds in dtInsertEntry+0xc80/0x1178 fs/jfs/jfs_dtree.c:4049 Read of size 4 at addr ffff0000de1188cc by task syz.2.170/4832 CPU: 0 PID: 4832 Comm: syz.2.170 Not tainted 5.15.180-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 print_address_description+0x7c/0x3f0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0x174/0x1e4 mm/kasan/report.c:451 __asan_report_load4_noabort+0x44/0x50 mm/kasan/report_generic.c:308 dtInsertEntry+0xc80/0x1178 fs/jfs/jfs_dtree.c:4049 dtSplitPage+0x2304/0x3154 fs/jfs/jfs_dtree.c:1594 dtSplitUp fs/jfs/jfs_dtree.c:1090 [inline] dtInsert+0x1050/0x5574 fs/jfs/jfs_dtree.c:869 jfs_create+0x698/0xa1c fs/jfs/namei.c:137 lookup_open fs/namei.c:3462 [inline] open_last_lookups fs/namei.c:3532 [inline] path_openat+0xf18/0x26cc fs/namei.c:3739 do_filp_open+0x1a8/0x3b4 fs/namei.c:3769 do_sys_openat2+0x128/0x3e0 fs/open.c:1253 do_sys_open fs/open.c:1269 [inline] __do_sys_openat fs/open.c:1285 [inline] __se_sys_openat fs/open.c:1280 [inline] __arm64_sys_openat+0x1f0/0x240 fs/open.c:1280 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Allocated by task 4832: 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+0x8c/0xcc mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x74/0x3f4 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x1dc/0x45c mm/slub.c:3233 jfs_alloc_inode+0x24/0x60 fs/jfs/super.c:105 alloc_inode fs/inode.c:261 [inline] iget_locked+0x180/0x720 fs/inode.c:1308 jfs_iget+0x30/0x364 fs/jfs/inode.c:29 jfs_lookup+0x1e8/0x39c fs/jfs/namei.c:1467 __lookup_slow+0x250/0x388 fs/namei.c:1663 lookup_slow+0x60/0x84 fs/namei.c:1680 walk_component+0x394/0x4cc fs/namei.c:1976 link_path_walk+0x5a0/0xc38 fs/namei.c:-1 path_parentat fs/namei.c:2502 [inline] __filename_parentat+0x1d4/0x5b8 fs/namei.c:2526 filename_parentat fs/namei.c:2544 [inline] do_renameat2+0x2ec/0x10c0 fs/namei.c:4901 __do_sys_renameat2 fs/namei.c:5018 [inline] __se_sys_renameat2 fs/namei.c:5015 [inline] __arm64_sys_renameat2+0xe0/0xfc fs/namei.c:5015 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Last potentially related work creation: kasan_save_stack+0x38/0x68 mm/kasan/common.c:38 kasan_record_aux_stack+0xd4/0x11c mm/kasan/generic.c:348 __call_rcu kernel/rcu/tree.c:3007 [inline] call_rcu+0x118/0xb40 kernel/rcu/tree.c:3087 destroy_inode fs/inode.c:316 [inline] evict+0x7ac/0x894 fs/inode.c:662 iput_final fs/inode.c:1769 [inline] iput+0x744/0x824 fs/inode.c:1795 jfs_put_super+0x13c/0x188 fs/jfs/super.c:201 generic_shutdown_super+0x130/0x2f0 fs/super.c:475 kill_block_super+0x70/0xdc fs/super.c:1427 deactivate_locked_super+0xb8/0x13c fs/super.c:335 deactivate_super+0x108/0x128 fs/super.c:366 cleanup_mnt+0x3c0/0x474 fs/namespace.c:1143 __cleanup_mnt+0x20/0x30 fs/namespace.c:1150 task_work_run+0x130/0x1e4 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] do_notify_resume+0x262c/0x32b8 arch/arm64/kernel/signal.c:946 prepare_exit_to_user_mode arch/arm64/kernel/entry-common.c:133 [inline] exit_to_user_mode arch/arm64/kernel/entry-common.c:138 [inline] el0_svc+0xfc/0x1f0 arch/arm64/kernel/entry-common.c:609 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 The buggy address belongs to the object at ffff0000de118000 which belongs to the cache jfs_ip of size 2240 The buggy address is located 12 bytes to the right of 2240-byte region [ffff0000de118000, ffff0000de1188c0) The buggy address belongs to the page: page:000000006660d846 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x11e118 head:000000006660d846 order:3 compound_mapcount:0 compound_pincount:0 memcg:ffff0000e819e101 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 0000000000000000 dead000000000122 ffff0000c68c2180 raw: 0000000000000000 00000000800d000d 00000001ffffffff ffff0000e819e101 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000de118780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000de118800: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff0000de118880: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ^ ffff0000de118900: fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 00 ffff0000de118980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== find_entry called with index >= next_index read_mapping_page failed! ERROR: (device loop2): txAbort: