BUG at fs/jfs/jfs_txnmgr.c:926 assert(mp->nohomeok > 0) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:926! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 105 Comm: jfsCommit Not tainted 6.2.0-next-20230303-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/16/2023 RIP: 0010:txUnlock+0xc62/0xcc0 fs/jfs/jfs_txnmgr.c:926 Code: fe e9 e2 f6 ff ff e8 ad d5 91 fe 48 c7 c1 00 a4 89 8a ba 9e 03 00 00 48 c7 c6 80 a3 89 8a 48 c7 c7 c0 a3 89 8a e8 1e 98 75 fe <0f> 0b e8 57 40 e4 fe e9 39 f6 ff ff e8 7d d5 91 fe 48 c7 c1 40 a3 RSP: 0018:ffffc9000253fd80 EFLAGS: 00010286 RAX: 0000000000000037 RBX: ffffc90002862090 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81690f6c RDI: 0000000000000005 RBP: ffff8880291023e0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562102d4f370 CR3: 000000002a09a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: txLazyCommit fs/jfs/jfs_txnmgr.c:2677 [inline] jfs_lazycommit+0x714/0xb10 fs/jfs/jfs_txnmgr.c:2727 kthread+0x2e8/0x3a0 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+0xc62/0xcc0 fs/jfs/jfs_txnmgr.c:926 Code: fe e9 e2 f6 ff ff e8 ad d5 91 fe 48 c7 c1 00 a4 89 8a ba 9e 03 00 00 48 c7 c6 80 a3 89 8a 48 c7 c7 c0 a3 89 8a e8 1e 98 75 fe <0f> 0b e8 57 40 e4 fe e9 39 f6 ff ff e8 7d d5 91 fe 48 c7 c1 40 a3 RSP: 0018:ffffc9000253fd80 EFLAGS: 00010286 RAX: 0000000000000037 RBX: ffffc90002862090 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81690f6c RDI: 0000000000000005 RBP: ffff8880291023e0 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562102d4f370 CR3: 000000000c571000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400