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: 6106 Comm: syz.2.43 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/15/2026 RIP: 0010:txEnd+0x51f/0x530 fs/jfs/jfs_txnmgr.c:530 Code: e9 cc fe ff ff e8 41 95 51 fe 48 c7 c7 60 2f ce 8b 48 c7 c6 59 2b ce 8b ba 12 02 00 00 48 c7 c1 a0 2f ce 8b e8 a2 24 b1 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:ffffc900066b78e0 EFLAGS: 00010246 RAX: 0000000000000036 RBX: 0000000000000000 RCX: 90f112f31caf5d00 RDX: ffffc90010351000 RSI: 00000000000004f0 RDI: 00000000000004f1 RBP: ffffc900038a1192 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1e7671a R12: 1ffff92000714237 R13: dffffc0000000000 R14: ffffc900038a11b8 R15: 0000000000000005 FS: 00007f05189356c0(0000) GS:ffff888124715000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6485d1c000 CR3: 000000005c67e000 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+0x3ea/0x8a0 fs/readdir.c:114 __do_sys_getdents64 fs/readdir.c:404 [inline] __se_sys_getdents64+0xf1/0x280 fs/readdir.c:389 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f051a6ffb19 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:00007f0518935028 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f051a986090 RCX: 00007f051a6ffb19 RDX: 00000000000000e6 RSI: 0000200000000000 RDI: 0000000000000007 RBP: 00007f051a797b70 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f051a986128 R14: 00007f051a986090 R15: 00007ffd16887568 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 95 51 fe 48 c7 c7 60 2f ce 8b 48 c7 c6 59 2b ce 8b ba 12 02 00 00 48 c7 c1 a0 2f ce 8b e8 a2 24 b1 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:ffffc900066b78e0 EFLAGS: 00010246 RAX: 0000000000000036 RBX: 0000000000000000 RCX: 90f112f31caf5d00 RDX: ffffc90010351000 RSI: 00000000000004f0 RDI: 00000000000004f1 RBP: ffffc900038a1192 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1e7671a R12: 1ffff92000714237 R13: dffffc0000000000 R14: ffffc900038a11b8 R15: 0000000000000005 FS: 00007f05189356c0(0000) GS:ffff888124715000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6485d20000 CR3: 000000005c67e000 CR4: 00000000003526f0