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: 1 PID: 108 Comm: jfsCommit Not tainted 6.1.138-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025 RIP: 0010:txUnlock+0xc87/0xcb0 fs/jfs/jfs_txnmgr.c:931 Code: 4f f0 14 07 0f 0b e8 58 8e 91 fe 48 c7 c7 00 57 a6 8a 48 c7 c6 f9 52 a6 8a ba a3 03 00 00 48 c7 c1 e0 63 a6 8a e8 29 f0 14 07 <0f> 0b e8 32 8e 91 fe 48 c7 c7 00 57 a6 8a 48 c7 c6 f9 52 a6 8a ba RSP: 0018:ffffc90002d37d28 EFLAGS: 00010246 RAX: 0000000000000037 RBX: 0000000000001000 RCX: 0087da077aa52500 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc900028aa2d0 R08: dffffc0000000000 R09: fffffbfff1bfd046 R10: fffffbfff1bfd046 R11: 1ffffffff1bfd045 R12: ffff888057a7d1f0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888025c52894 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5327e83b69 CR3: 00000000675f6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: txLazyCommit fs/jfs/jfs_txnmgr.c:2682 [inline] jfs_lazycommit+0x56c/0xa50 fs/jfs/jfs_txnmgr.c:2732 kthread+0x29d/0x330 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txUnlock+0xc87/0xcb0 fs/jfs/jfs_txnmgr.c:931 Code: 4f f0 14 07 0f 0b e8 58 8e 91 fe 48 c7 c7 00 57 a6 8a 48 c7 c6 f9 52 a6 8a ba a3 03 00 00 48 c7 c1 e0 63 a6 8a e8 29 f0 14 07 <0f> 0b e8 32 8e 91 fe 48 c7 c7 00 57 a6 8a 48 c7 c6 f9 52 a6 8a ba RSP: 0018:ffffc90002d37d28 EFLAGS: 00010246 RAX: 0000000000000037 RBX: 0000000000001000 RCX: 0087da077aa52500 RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000 RBP: ffffc900028aa2d0 R08: dffffc0000000000 R09: fffffbfff1bfd046 R10: fffffbfff1bfd046 R11: 1ffffffff1bfd045 R12: ffff888057a7d1f0 R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888025c52894 FS: 0000000000000000(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5327e83b69 CR3: 0000000028599000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400