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: 135 Comm: jfsCommit Not tainted 6.1.0-syzkaller-14565-ga27405b2ed9c #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: 68 42 f8 ff 0f 0b e8 0a 9d b9 f7 48 c7 c1 80 46 89 8a ba 9e 03 00 00 48 c7 c6 00 46 89 8a 48 c7 c7 40 46 89 8a e8 42 42 f8 ff <0f> 0b e8 e4 9c b9 f7 0f b7 74 24 14 48 89 da 48 c7 c7 60 45 89 8a RSP: 0018:ffffc90002787d80 EFLAGS: 00010286 RAX: 0000000000000037 RBX: ffffc900022ca090 RCX: 0000000000000000 RDX: ffff888019a11d40 RSI: ffffffff8166721c RDI: fffff520004f0fa2 RBP: ffff8880754ad3e0 R08: 0000000000000037 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88802c600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000c0d728 CR3: 000000007287f000 CR4: 0000000000150ef0 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: 68 42 f8 ff 0f 0b e8 0a 9d b9 f7 48 c7 c1 80 46 89 8a ba 9e 03 00 00 48 c7 c6 00 46 89 8a 48 c7 c7 40 46 89 8a e8 42 42 f8 ff <0f> 0b e8 e4 9c b9 f7 0f b7 74 24 14 48 89 da 48 c7 c7 60 45 89 8a RSP: 0018:ffffc90002787d80 EFLAGS: 00010286 RAX: 0000000000000037 RBX: ffffc900022ca090 RCX: 0000000000000000 RDX: ffff888019a11d40 RSI: ffffffff8166721c RDI: fffff520004f0fa2 RBP: ffff8880754ad3e0 R08: 0000000000000037 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000001 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88802c800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004435a0 CR3: 000000001eb22000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400