ERROR: (device loop2): dtReadFirst: stbl[0] out of bound ERROR: (device loop2): remounting filesystem as read-only ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dtree.c:784:21 index -1 is out of range for type 'struct dtslot[128]' CPU: 1 UID: 0 PID: 7180 Comm: syz.2.111 Tainted: G L syzkaller #0 PREEMPT Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 ubsan_epilogue+0x14/0x48 lib/ubsan.c:233 __ubsan_handle_out_of_bounds+0xd0/0xfc lib/ubsan.c:455 dtSearch+0x1664/0x1d00 fs/jfs/jfs_dtree.c:784 jfs_lookup+0x13c/0x32c fs/jfs/namei.c:1461 __lookup_slow+0x254/0x378 fs/namei.c:1858 lookup_slow+0x5c/0x80 fs/namei.c:1875 walk_component fs/namei.c:2221 [inline] link_path_walk+0xaf8/0x152c fs/namei.c:2589 path_lookupat+0xc0/0x780 fs/namei.c:2745 filename_lookup+0x1ac/0x454 fs/namei.c:2775 do_linkat+0x108/0x4a0 fs/namei.c:5696 __do_sys_linkat fs/namei.c:5744 [inline] __se_sys_linkat fs/namei.c:5741 [inline] __arm64_sys_linkat+0xdc/0xf8 fs/namei.c:5741 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x26c arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 ---[ end trace ]--- ================================================================== BUG: KASAN: slab-out-of-bounds in addressPXD fs/jfs/jfs_types.h:80 [inline] BUG: KASAN: slab-out-of-bounds in dtSearch+0x1680/0x1d00 fs/jfs/jfs_dtree.c:785 Read of size 4 at addr ffff0000e1809fe0 by task syz.2.111/7180 CPU: 0 UID: 0 PID: 7180 Comm: syz.2.111 Tainted: G L syzkaller #0 PREEMPT Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 print_address_description+0xa8/0x238 mm/kasan/report.c:378 print_report+0x68/0x84 mm/kasan/report.c:482 kasan_report+0xb0/0x110 mm/kasan/report.c:595 __asan_report_load4_noabort+0x20/0x2c mm/kasan/report_generic.c:380 addressPXD fs/jfs/jfs_types.h:80 [inline] dtSearch+0x1680/0x1d00 fs/jfs/jfs_dtree.c:785 jfs_lookup+0x13c/0x32c fs/jfs/namei.c:1461 __lookup_slow+0x254/0x378 fs/namei.c:1858 lookup_slow+0x5c/0x80 fs/namei.c:1875 walk_component fs/namei.c:2221 [inline] link_path_walk+0xaf8/0x152c fs/namei.c:2589 path_lookupat+0xc0/0x780 fs/namei.c:2745 filename_lookup+0x1ac/0x454 fs/namei.c:2775 do_linkat+0x108/0x4a0 fs/namei.c:5696 __do_sys_linkat fs/namei.c:5744 [inline] __se_sys_linkat fs/namei.c:5741 [inline] __arm64_sys_linkat+0xdc/0xf8 fs/namei.c:5741 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x26c arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 The buggy address belongs to the object at ffff0000e1809e88 which belongs to the cache jfs_mp of size 184 The buggy address is located 160 bytes to the right of allocated 184-byte region [ffff0000e1809e88, ffff0000e1809f40) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x121809 flags: 0x5ffc00000000000(node=0|zone=2|lastcpupid=0x7ff) page_type: f5(slab) raw: 05ffc00000000000 ffff0000c512e8c0 dead000000000122 0000000000000000 raw: 0000000000000000 0000000080100010 00000000f5000000 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000e1809e80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000e1809f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000e1809f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff0000e180a000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000e180a080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== ERROR: (device loop2): dtSearch: stack overrun! btstack dump: bn = 0, index = 0 bn = 20, index = 0 bn = 0, index = 0 bn = 20, index = 0 bn = 0, index = 0 bn = 20, index = 0 bn = 0, index = 0 bn = 0, index = 0 jfs_lookup: dtSearch returned -5