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: 21284 Comm: syz.1.4434 Not tainted 6.1.119-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:txEnd+0x552/0x560 fs/jfs/jfs_txnmgr.c:528 Code: fe e9 cd fe ff ff e8 7d f9 75 fe 48 c7 c7 40 eb 45 8b 48 c7 c6 39 e7 45 8b ba 10 02 00 00 48 c7 c1 80 eb 45 8b e8 3e 29 9b 07 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 48 89 e5 41 57 41 56 RSP: 0018:ffffc90004c6faf0 EFLAGS: 00010246 RAX: 0000000000000036 RBX: 0000000000000007 RCX: 284a73964f03c700 RDX: ffffc9001810e000 RSI: 0000000000035728 RDI: 0000000000035729 RBP: 1ffff920004d926b R08: ffffffff816e6d5c R09: fffff5200098defd R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000003 R14: ffffc900026c9358 R15: 0000000000000330 FS: 00007fbb34fde6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc831105000 CR3: 000000005aedb000 CR4: 00000000003506e0 DR0: fffffffffffffffc DR1: 0000000080000000 DR2: 0008000000000001 DR3: fffffffffffffffc DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: jfs_mkdir+0x374/0xbb0 fs/jfs/namei.c:293 vfs_mkdir+0x3b6/0x590 fs/namei.c:4106 do_mkdirat+0x225/0x360 fs/namei.c:4131 __do_sys_mkdirat fs/namei.c:4146 [inline] __se_sys_mkdirat fs/namei.c:4144 [inline] __x64_sys_mkdirat+0x85/0x90 fs/namei.c:4144 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fbb3517ff19 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fbb34fde058 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007fbb35346080 RCX: 00007fbb3517ff19 RDX: 0000000000000000 RSI: 0000000020000240 RDI: 0000000000000004 RBP: 00007fbb351f3986 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fbb35346080 R15: 00007ffc065753c8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txEnd+0x552/0x560 fs/jfs/jfs_txnmgr.c:528 Code: fe e9 cd fe ff ff e8 7d f9 75 fe 48 c7 c7 40 eb 45 8b 48 c7 c6 39 e7 45 8b ba 10 02 00 00 48 c7 c1 80 eb 45 8b e8 3e 29 9b 07 <0f> 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 55 48 89 e5 41 57 41 56 RSP: 0018:ffffc90004c6faf0 EFLAGS: 00010246 RAX: 0000000000000036 RBX: 0000000000000007 RCX: 284a73964f03c700 RDX: ffffc9001810e000 RSI: 0000000000035728 RDI: 0000000000035729 RBP: 1ffff920004d926b R08: ffffffff816e6d5c R09: fffff5200098defd R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000003 R14: ffffc900026c9358 R15: 0000000000000330 FS: 00007fbb34fde6c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc831105000 CR3: 000000005aedb000 CR4: 00000000003506e0 DR0: fffffffffffffffc DR1: 0000000080000000 DR2: 0008000000000001 DR3: fffffffffffffffc DR6: 00000000fffe0ff0 DR7: 0000000000000400