BUG at fs/jfs/jfs_txnmgr.c:528 assert(tblk->next == 0) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:528! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 5783 Comm: syz.9.329 Not tainted 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:txEnd+0x552/0x560 fs/jfs/jfs_txnmgr.c:528 Code: fe e9 cd fe ff ff e8 6d 18 90 fe 48 c7 c7 40 70 e2 8a 48 c7 c6 39 6c e2 8a ba 10 02 00 00 48 c7 c1 80 70 e2 8a e8 5e 4e 4e 07 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 41 57 41 56 41 55 41 RSP: 0018:ffffc9000342fb10 EFLAGS: 00010246 RAX: 0000000000000036 RBX: 0000000000000008 RCX: 64160e38de931300 RDX: ffffc90013f2b000 RSI: 000000000000c356 RDI: 000000000000c357 RBP: 1ffff920004c826b R08: ffffffff8166be4c R09: ffffed10171e67a8 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000003 R14: ffffc90002641358 R15: 0000000000000330 FS: 00007f71a1ef76c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056251beb2a18 CR3: 0000000053d00000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: jfs_mkdir+0x374/0xbb0 fs/jfs/namei.c:293 vfs_mkdir+0x3b6/0x590 fs/namei.c:4065 do_mkdirat+0x260/0x520 fs/namei.c:4090 __do_sys_mkdirat fs/namei.c:4105 [inline] __se_sys_mkdirat fs/namei.c:4103 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4103 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f71a40ad9d7 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f71a1ef6e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f71a1ef6ef0 RCX: 00007f71a40ad9d7 RDX: 00000000000001ff RSI: 0000200000000400 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000400 R13: 00007f71a1ef6eb0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace d636c9dd199dc055 ]--- RIP: 0010:txEnd+0x552/0x560 fs/jfs/jfs_txnmgr.c:528 Code: fe e9 cd fe ff ff e8 6d 18 90 fe 48 c7 c7 40 70 e2 8a 48 c7 c6 39 6c e2 8a ba 10 02 00 00 48 c7 c1 80 70 e2 8a e8 5e 4e 4e 07 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 41 57 41 56 41 55 41 RSP: 0018:ffffc9000342fb10 EFLAGS: 00010246 RAX: 0000000000000036 RBX: 0000000000000008 RCX: 64160e38de931300 RDX: ffffc90013f2b000 RSI: 000000000000c356 RDI: 000000000000c357 RBP: 1ffff920004c826b R08: ffffffff8166be4c R09: ffffed10171e67a8 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000003 R14: ffffc90002641358 R15: 0000000000000330 FS: 00007f71a1ef76c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000056251beb2a18 CR3: 0000000053d00000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400