BUG at fs/jfs/jfs_txnmgr.c:931 assert(mp->nohomeok > 0) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:931! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 133 Comm: jfsCommit Not tainted 6.1.85-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:txUnlock+0xc6e/0xca0 fs/jfs/jfs_txnmgr.c:931 Code: d1 2c 7e 07 0f 0b e8 11 6f 80 fe 48 c7 c7 40 dd 24 8b 48 c7 c6 39 d9 24 8b ba a3 03 00 00 48 c7 c1 20 ea 24 8b e8 ab 2c 7e 07 <0f> 0b e8 eb 6e 80 fe 48 c7 c7 40 dd 24 8b 48 c7 c6 39 d9 24 8b ba RSP: 0018:ffffc90002d8fd08 EFLAGS: 00010246 RAX: 0000000000000037 RBX: 0000000000000000 RCX: 82f8ece2e38b3700 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffff888058d7bba0 R08: ffffffff816e2d8c R09: fffff520005b1f41 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88803d0059d0 R13: ffff8880342e0c94 R14: ffffc900028e2000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff802b7e2a0 CR3: 0000000017270000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: txLazyCommit fs/jfs/jfs_txnmgr.c:2682 [inline] jfs_lazycommit+0x5d0/0xb60 fs/jfs/jfs_txnmgr.c:2732 kthread+0x28d/0x320 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txUnlock+0xc6e/0xca0 fs/jfs/jfs_txnmgr.c:931 Code: d1 2c 7e 07 0f 0b e8 11 6f 80 fe 48 c7 c7 40 dd 24 8b 48 c7 c6 39 d9 24 8b ba a3 03 00 00 48 c7 c1 20 ea 24 8b e8 ab 2c 7e 07 <0f> 0b e8 eb 6e 80 fe 48 c7 c7 40 dd 24 8b 48 c7 c6 39 d9 24 8b ba RSP: 0018:ffffc90002d8fd08 EFLAGS: 00010246 RAX: 0000000000000037 RBX: 0000000000000000 RCX: 82f8ece2e38b3700 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffff888058d7bba0 R08: ffffffff816e2d8c R09: fffff520005b1f41 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88803d0059d0 R13: ffff8880342e0c94 R14: ffffc900028e2000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f82fcc24440 CR3: 0000000017270000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400