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: 2 PID: 135 Comm: jfsCommit Not tainted 6.2.0-rc6-syzkaller-00258-gdb27c22251e7 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:txUnlock.cold+0x8a/0xaa fs/jfs/jfs_txnmgr.c:926 Code: 75 4b f8 ff 0f 0b e8 98 bb b6 f7 48 c7 c1 c0 13 89 8a ba 9e 03 00 00 48 c7 c6 40 13 89 8a 48 c7 c7 80 13 89 8a e8 4f 4b f8 ff <0f> 0b e8 72 bb b6 f7 0f b7 74 24 14 48 89 da 48 c7 c7 a0 12 89 8a RSP: 0000:ffffc900027c7d80 EFLAGS: 00010286 RAX: 0000000000000037 RBX: ffffc9000230a168 RCX: 0000000000000000 RDX: ffff88801a448180 RSI: ffffffff8165314c RDI: fffff520004f8fa2 RBP: ffff888076f9cd90 R08: 0000000000000037 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000005 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88802c800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5974f76ee0 CR3: 0000000024b26000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: 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 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txUnlock.cold+0x8a/0xaa fs/jfs/jfs_txnmgr.c:926 Code: 75 4b f8 ff 0f 0b e8 98 bb b6 f7 48 c7 c1 c0 13 89 8a ba 9e 03 00 00 48 c7 c6 40 13 89 8a 48 c7 c7 80 13 89 8a e8 4f 4b f8 ff <0f> 0b e8 72 bb b6 f7 0f b7 74 24 14 48 89 da 48 c7 c7 a0 12 89 8a RSP: 0000:ffffc900027c7d80 EFLAGS: 00010286 RAX: 0000000000000037 RBX: ffffc9000230a168 RCX: 0000000000000000 RDX: ffff88801a448180 RSI: ffffffff8165314c RDI: fffff520004f8fa2 RBP: ffff888076f9cd90 R08: 0000000000000037 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000005 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88802c800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f21c2533900 CR3: 000000001dcb7000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400