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: 0 UID: 0 PID: 12507 Comm: syz.5.659 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026 RIP: 0010:txEnd+0x51f/0x530 fs/jfs/jfs_txnmgr.c:530 Code: e9 cc fe ff ff e8 41 8a 6b fe 48 c7 c7 60 8a 6b 8b 48 c7 c6 59 86 6b 8b ba 12 02 00 00 48 c7 c1 a0 8a 6b 8b e8 22 70 ce 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:ffffc9000e09f8e0 EFLAGS: 00010246 RAX: 0000000000000036 RBX: 0000000000000000 RCX: a02c476067a17d00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900030594b2 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed1017104923 R12: 1ffff9200060b29b R13: dffffc0000000000 R14: ffffc900030594d8 R15: 000000000000000a FS: 00007feeb5a1e6c0(0000) GS:ffff888126390000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa0f9fe5d58 CR3: 000000003bfae000 CR4: 00000000003526f0 Call Trace: add_missing_indices+0x80d/0xb20 fs/jfs/jfs_dtree.c:2673 jfs_readdir+0x1db8/0x3420 fs/jfs/jfs_dtree.c:3028 wrap_directory_iterator+0x99/0xe0 fs/readdir.c:67 iterate_dir+0x3a5/0x580 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:0x7feeb77cce59 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:00007feeb5a1e028 EFLAGS: 00000246 ORIG_RAX: 000000000000004e RAX: ffffffffffffffda RBX: 00007feeb7a45fa0 RCX: 00007feeb77cce59 RDX: 0000000020002078 RSI: 0000200000001fc0 RDI: 0000000000000005 RBP: 00007feeb7862d6f R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007feeb7a46038 R14: 00007feeb7a45fa0 R15: 00007ffeb1f9ec58 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txEnd+0x51f/0x530 fs/jfs/jfs_txnmgr.c:530 Code: e9 cc fe ff ff e8 41 8a 6b fe 48 c7 c7 60 8a 6b 8b 48 c7 c6 59 86 6b 8b ba 12 02 00 00 48 c7 c1 a0 8a 6b 8b e8 22 70 ce 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:ffffc9000e09f8e0 EFLAGS: 00010246 RAX: 0000000000000036 RBX: 0000000000000000 RCX: a02c476067a17d00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900030594b2 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffed1017104923 R12: 1ffff9200060b29b R13: dffffc0000000000 R14: ffffc900030594d8 R15: 000000000000000a FS: 00007feeb5a1e6c0(0000) GS:ffff888126390000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa0f9fe5d58 CR3: 000000003bfae000 CR4: 00000000003526f0