add_index: next_index = 0. Resetting! BUG at fs/jfs/jfs_txnmgr.c:529 assert(tblk->next == 0) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:529! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 7285 Comm: syz.1.102 Not tainted syzkaller #0 PREEMPT Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : txEnd+0x4a4/0x4f0 fs/jfs/jfs_txnmgr.c:529 lr : txEnd+0x4a4/0x4f0 fs/jfs/jfs_txnmgr.c:529 sp : ffff80009ec37760 x29: ffff80009ec37760 x28: 1ffff00013349222 x27: ffff80008fe93000 x26: 1ffff00011fd2720 x25: dfff800000000000 x24: 0000000000000002 x23: 1ffff00013349227 x22: 0000000000000001 x21: ffff800099a49138 x20: 0000000000000001 x19: 0000000000000000 x18: 00000000ffffffff x17: ffff800093598000 x16: ffff800082e5c71c x15: 0000000000000001 x14: 1ffff00013d86e68 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000000c87 x10: 0000000000ff0100 x9 : 68754fa02f182e00 x8 : 68754fa02f182e00 x7 : ffff800080575c38 x6 : 0000000000000000 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807f0b34 x2 : 0000000000000001 x1 : 0000000000000001 x0 : 0000000000000036 Call trace: txEnd+0x4a4/0x4f0 fs/jfs/jfs_txnmgr.c:529 (P) add_missing_indices+0x818/0xadc fs/jfs/jfs_dtree.c:2676 jfs_readdir+0x1758/0x3018 fs/jfs/jfs_dtree.c:3031 wrap_directory_iterator+0x90/0xf0 fs/readdir.c:65 shared_jfs_readdir+0x30/0x40 fs/jfs/namei.c:1540 iterate_dir+0x2dc/0x478 fs/readdir.c:108 __do_sys_getdents64 fs/readdir.c:410 [inline] __se_sys_getdents64 fs/readdir.c:396 [inline] __arm64_sys_getdents64+0x110/0x2fc fs/readdir.c:396 __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 Code: f004bb23 912f8063 52804222 97919d18 (d4210000) ---[ end trace 0000000000000000 ]---