add_index: next_index = 0. Resetting! BUG at fs/jfs/jfs_txnmgr.c:530 assert(tblk->next == 0) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:530! Oops: invalid opcode: 0000 [#1] SMP KASAN PTI CPU: 1 UID: 0 PID: 7255 Comm: syz.5.248 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 RIP: 0010:txEnd+0x51f/0x530 fs/jfs/jfs_txnmgr.c:530 Code: e9 cc fe ff ff e8 f1 1c 66 fe 48 c7 c7 e0 ed 8b 8b 48 c7 c6 d9 e9 8b 8b ba 12 02 00 00 48 c7 c1 20 ee 8b 8b e8 c2 4a c8 fd 90 <0f> 0b 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 RSP: 0018:ffffc900041ff900 EFLAGS: 00010246 RAX: 0000000000000036 RBX: 0000000000000000 RCX: 844b61e7e5c5f700 RDX: ffffc9001c3ca000 RSI: 0000000000000848 RDI: 0000000000000849 RBP: ffffc900030114b2 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff5200083fed1 R12: 1ffff9200060229b R13: dffffc0000000000 R14: ffffc900030114d8 R15: 0000000000000008 FS: 00007f70fdbc56c0(0000) GS:ffff888126211000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000005d9b4000 CR4: 00000000003526f0 Call Trace: add_missing_indices+0x819/0xb30 fs/jfs/jfs_dtree.c:2673 jfs_readdir+0x1d15/0x33f0 fs/jfs/jfs_dtree.c:3028 wrap_directory_iterator+0x99/0xe0 fs/readdir.c:67 iterate_dir+0x2f1/0x4e0 fs/readdir.c:110 __do_sys_getdents fs/readdir.c:319 [inline] __se_sys_getdents+0xf1/0x270 fs/readdir.c:304 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f70ff98de59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 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:00007f70fdbc5028 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007f70ffc16090 RCX: 00007f70ff98de59 RDX: 00000000000000b8 RSI: 0000200000001fc0 RDI: 0000000000000005 RBP: 00007f70ffa23e6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f70ffc16128 R14: 00007f70ffc16090 R15: 00007fffe9abae18 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txEnd+0x51f/0x530 fs/jfs/jfs_txnmgr.c:530 Code: e9 cc fe ff ff e8 f1 1c 66 fe 48 c7 c7 e0 ed 8b 8b 48 c7 c6 d9 e9 8b 8b ba 12 02 00 00 48 c7 c1 20 ee 8b 8b e8 c2 4a c8 fd 90 <0f> 0b 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90 RSP: 0018:ffffc900041ff900 EFLAGS: 00010246 RAX: 0000000000000036 RBX: 0000000000000000 RCX: 844b61e7e5c5f700 RDX: ffffc9001c3ca000 RSI: 0000000000000848 RDI: 0000000000000849 RBP: ffffc900030114b2 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff5200083fed1 R12: 1ffff9200060229b R13: dffffc0000000000 R14: ffffc900030114d8 R15: 0000000000000008 FS: 00007f70fdbc56c0(0000) GS:ffff888126211000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000005d9b4000 CR4: 00000000003526f0