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: 109 Comm: jfsCommit Not tainted 6.5.0-rc5-next-20230809-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:txUnlock+0xcb4/0xd10 fs/jfs/jfs_txnmgr.c:931 Code: fe e9 89 f6 ff ff e8 6b 77 8d fe 48 c7 c1 80 bd aa 8a ba a3 03 00 00 48 c7 c6 00 bd aa 8a 48 c7 c7 40 bd aa 8a e8 3c ab 70 fe <0f> 0b e8 25 b4 e2 fe e9 e0 f5 ff ff e8 3b 77 8d fe 48 c7 c1 c0 bc RSP: 0018:ffffc90002c4fd50 EFLAGS: 00010286 RAX: 0000000000000037 RBX: ffffc900027c2120 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff816b97f2 RDI: 0000000000000005 RBP: ffff888073a65d90 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000004 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f83ad395ed8 CR3: 000000002902a000 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+0x726/0xb20 fs/jfs/jfs_txnmgr.c:2732 kthread+0x33a/0x430 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txUnlock+0xcb4/0xd10 fs/jfs/jfs_txnmgr.c:931 Code: fe e9 89 f6 ff ff e8 6b 77 8d fe 48 c7 c1 80 bd aa 8a ba a3 03 00 00 48 c7 c6 00 bd aa 8a 48 c7 c7 40 bd aa 8a e8 3c ab 70 fe <0f> 0b e8 25 b4 e2 fe e9 e0 f5 ff ff e8 3b 77 8d fe 48 c7 c1 c0 bc RSP: 0018:ffffc90002c4fd50 EFLAGS: 00010286 RAX: 0000000000000037 RBX: ffffc900027c2120 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff816b97f2 RDI: 0000000000000005 RBP: ffff888073a65d90 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000004 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f83ad395ed8 CR3: 000000002902a000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400