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] SMP KASAN PTI
CPU: 0 UID: 0 PID: 10097 Comm: syz.6.517 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
RIP: 0010:txUnlock+0xdaf/0xdf0
Code: e5 fd 90 0f 0b e8 91 26 7d fe 48 c7 c7 e0 1b c4 8b 48 c7 c6 d9 17 c4 8b ba a3 03 00 00 48 c7 c1 e0 28 c4 8b e8 82 1a e5 fd 90 <0f> 0b e8 6a 26 7d fe 48 c7 c7 e0 1b c4 8b 48 c7 c6 d9 17 c4 8b ba
RSP: 0018:ffffc9000322f6a8 EFLAGS: 00010246
RAX: 0000000000000037 RBX: 0000000000001000 RCX: e7191a56a9e1c200
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90001f92360 R08: ffffc9000322f3c7 R09: 1ffff92000645e78
R10: dffffc0000000000 R11: fffff52000645e79 R12: dffffc0000000000
R13: 1ffff11006223c53 R14: ffff88803111e298 R15: 0000000000000000
FS:  00007fec571656c0(0000) GS:ffff8880b861b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fec4c5e8000 CR3: 0000000134da8000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 txCommit+0x4f5d/0x5430
 jfs_commit_inode+0x2ef/0x530
 jfs_fsync+0x17e/0x1d0
 generic_file_write_iter+0x319/0x550
 vfs_write+0x5c9/0xb30
 __x64_sys_pwrite64+0x193/0x220
 do_syscall_64+0xfa/0x3b0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fec5638ebe9
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:00007fec57165038 EFLAGS: 00000246 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 00007fec565b5fa0 RCX: 00007fec5638ebe9
RDX: 0000000000000001 RSI: 0000200000000140 RDI: 0000000000000004
RBP: 00007fec56411e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000008080c61 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fec565b6038 R14: 00007fec565b5fa0 R15: 00007ffc27139538
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:txUnlock+0xdaf/0xdf0
Code: e5 fd 90 0f 0b e8 91 26 7d fe 48 c7 c7 e0 1b c4 8b 48 c7 c6 d9 17 c4 8b ba a3 03 00 00 48 c7 c1 e0 28 c4 8b e8 82 1a e5 fd 90 <0f> 0b e8 6a 26 7d fe 48 c7 c7 e0 1b c4 8b 48 c7 c6 d9 17 c4 8b ba
RSP: 0018:ffffc9000322f6a8 EFLAGS: 00010246
RAX: 0000000000000037 RBX: 0000000000001000 RCX: e7191a56a9e1c200
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc90001f92360 R08: ffffc9000322f3c7 R09: 1ffff92000645e78
R10: dffffc0000000000 R11: fffff52000645e79 R12: dffffc0000000000
R13: 1ffff11006223c53 R14: ffff88803111e298 R15: 0000000000000000
FS:  00007fec571656c0(0000) GS:ffff8881a3c1b000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f22c94e74a0 CR3: 0000000134da8000 CR4: 00000000000006f0
