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: 1 PID: 104 Comm: jfsCommit Not tainted 6.2.0-rc7-syzkaller-00011-g05ecb680708a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
RIP: 0010:txUnlock.cold+0x8a/0xaa fs/jfs/jfs_txnmgr.c:926
Code: 65 42 f8 ff 0f 0b e8 ad ce b6 f7 48 c7 c1 00 42 89 8a ba 9e 03 00 00 48 c7 c6 80 41 89 8a 48 c7 c7 c0 41 89 8a e8 3f 42 f8 ff <0f> 0b e8 87 ce b6 f7 0f b7 74 24 14 48 89 da 48 c7 c7 e0 40 89 8a
RSP: 0018:ffffc90002cdfd80 EFLAGS: 00010286
RAX: 0000000000000037 RBX: ffffc90002852090 RCX: 0000000000000000
RDX: ffff88801919d7c0 RSI: ffffffff816610ec RDI: fffff5200059bfa2
RBP: ffff88807b066d90 R08: 0000000000000037 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdd5390768 CR3: 000000002a480000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 txLazyCommit fs/jfs/jfs_txnmgr.c:2677 [inline]
 jfs_lazycommit+0x6fd/0xaa0 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
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:txUnlock.cold+0x8a/0xaa fs/jfs/jfs_txnmgr.c:926
Code: 65 42 f8 ff 0f 0b e8 ad ce b6 f7 48 c7 c1 00 42 89 8a ba 9e 03 00 00 48 c7 c6 80 41 89 8a 48 c7 c7 c0 41 89 8a e8 3f 42 f8 ff <0f> 0b e8 87 ce b6 f7 0f b7 74 24 14 48 89 da 48 c7 c7 e0 40 89 8a
RSP: 0018:ffffc90002cdfd80 EFLAGS: 00010286
RAX: 0000000000000037 RBX: ffffc90002852090 RCX: 0000000000000000
RDX: ffff88801919d7c0 RSI: ffffffff816610ec RDI: fffff5200059bfa2
RBP: ffff88807b066d90 R08: 0000000000000037 R09: 0000000000000000
R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffdd5390768 CR3: 000000002a480000 CR4: 0000000000350ee0