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: 276 Comm: jfsCommit Not tainted 5.15.170-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:txUnlock+0xc6e/0xca0 fs/jfs/jfs_txnmgr.c:931 Code: c8 7e 4c 07 0f 0b e8 b1 ff 99 fe 48 c7 c7 40 7c c1 8a 48 c7 c6 39 78 c1 8a ba a3 03 00 00 48 c7 c1 00 87 c1 8a e8 a2 7e 4c 07 <0f> 0b e8 8b ff 99 fe 48 c7 c7 40 7c c1 8a 48 c7 c6 39 78 c1 8a ba RSP: 0018:ffffc90002cd7d08 EFLAGS: 00010246 RAX: 0000000000000037 RBX: 0000000000000000 RCX: 8b5d1aee60594b00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffff888073675ba0 R08: ffffffff81669a2c R09: ffffed10172067a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802ad18000 R13: ffff88802330b494 R14: ffffc9000284a000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005558294a2e88 CR3: 0000000022f39000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: txLazyCommit fs/jfs/jfs_txnmgr.c:2716 [inline] jfs_lazycommit+0x5cd/0xc30 fs/jfs/jfs_txnmgr.c:2766 kthread+0x3f6/0x4f0 kernel/kthread.c:334 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Modules linked in: ---[ end trace 1ad77cbae54dd99c ]--- RIP: 0010:txUnlock+0xc6e/0xca0 fs/jfs/jfs_txnmgr.c:931 Code: c8 7e 4c 07 0f 0b e8 b1 ff 99 fe 48 c7 c7 40 7c c1 8a 48 c7 c6 39 78 c1 8a ba a3 03 00 00 48 c7 c1 00 87 c1 8a e8 a2 7e 4c 07 <0f> 0b e8 8b ff 99 fe 48 c7 c7 40 7c c1 8a 48 c7 c6 39 78 c1 8a ba RSP: 0018:ffffc90002cd7d08 EFLAGS: 00010246 RAX: 0000000000000037 RBX: 0000000000000000 RCX: 8b5d1aee60594b00 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffff888073675ba0 R08: ffffffff81669a2c R09: ffffed10172067a8 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802ad18000 R13: ffff88802330b494 R14: ffffc9000284a000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005558294a2e88 CR3: 0000000022f39000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400