BUG at fs/jfs/jfs_txnmgr.c:931 assert(mp->nohomeok > 0) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_txnmgr.c:931! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 0 UID: 0 PID: 6218 Comm: syz.2.43 Not tainted 6.13.0-rc3-syzkaller-00082-gbaaa2567a712 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/25/2024 RIP: 0010:txUnlock+0xd46/0xdb0 fs/jfs/jfs_txnmgr.c:931 Code: e9 0e fe ff ff e8 8a 74 6d fe 48 c7 c7 c0 76 42 8c 48 c7 c6 b9 72 42 8c ba a3 03 00 00 48 c7 c1 c0 83 42 8c e8 0b 03 d5 fd 90 <0f> 0b e8 63 74 6d fe 48 c7 c7 c0 76 42 8c 48 c7 c6 b9 72 42 8c ba RSP: 0018:ffffc9000b1af7c8 EFLAGS: 00010246 RAX: 0000000000000037 RBX: 1ffff110051fef89 RCX: a635adf6a9caba00 RDX: ffffc9000da5f000 RSI: 000000000002de9c RDI: 000000000002de9d RBP: 0000000000000000 R08: ffffffff817f09fc R09: 1ffff92001635e94 R10: dffffc0000000000 R11: fffff52001635e95 R12: dffffc0000000000 R13: ffffc9000293a000 R14: ffff888028ff7c48 R15: dffffc0000000000 FS: 00007f7fc5a5f6c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd9753ff000 CR3: 0000000059602000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: txCommit+0x6587/0x6b90 fs/jfs/jfs_txnmgr.c:1335 jfs_truncate_nolock+0x250/0x390 fs/jfs/inode.c:399 jfs_truncate+0xcb/0x140 fs/jfs/inode.c:412 jfs_setattr+0x526/0x780 fs/jfs/file.c:119 notify_change+0xbca/0xe90 fs/attr.c:552 do_truncate+0x220/0x310 fs/open.c:65 vfs_truncate+0x2e1/0x3b0 fs/open.c:111 do_sys_truncate+0xdb/0x190 fs/open.c:134 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f7fc4b85d29 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7fc5a5f038 EFLAGS: 00000246 ORIG_RAX: 000000000000004c RAX: ffffffffffffffda RBX: 00007f7fc4d76080 RCX: 00007f7fc4b85d29 RDX: 0000000000000000 RSI: 0000000000005e00 RDI: 0000000020000000 RBP: 00007f7fc4c01aa8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f7fc4d76080 R15: 00007ffecdc8b378 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:txUnlock+0xd46/0xdb0 fs/jfs/jfs_txnmgr.c:931 Code: e9 0e fe ff ff e8 8a 74 6d fe 48 c7 c7 c0 76 42 8c 48 c7 c6 b9 72 42 8c ba a3 03 00 00 48 c7 c1 c0 83 42 8c e8 0b 03 d5 fd 90 <0f> 0b e8 63 74 6d fe 48 c7 c7 c0 76 42 8c 48 c7 c6 b9 72 42 8c ba RSP: 0018:ffffc9000b1af7c8 EFLAGS: 00010246 RAX: 0000000000000037 RBX: 1ffff110051fef89 RCX: a635adf6a9caba00 RDX: ffffc9000da5f000 RSI: 000000000002de9c RDI: 000000000002de9d RBP: 0000000000000000 R08: ffffffff817f09fc R09: 1ffff92001635e94 R10: dffffc0000000000 R11: fffff52001635e95 R12: dffffc0000000000 R13: ffffc9000293a000 R14: ffff888028ff7c48 R15: dffffc0000000000 FS: 00007f7fc5a5f6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555fba136ea8 CR3: 0000000059602000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400