BUG at fs/jfs/jfs_txnmgr.c:932 assert(mp->nohomeok > 0)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_txnmgr.c:932!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 6273 Comm: syz.3.54 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: c8 fd 90 0f 0b e8 21 a0 66 fe 48 c7 c7 60 5d 0b 8c 48 c7 c6 59 59 0b 8c ba a4 03 00 00 48 c7 c1 60 6a 0b 8c e8 82 bd c8 fd 90 <0f> 0b e8 fa 9f 66 fe 48 c7 c7 60 5d 0b 8c 48 c7 c6 59 59 0b 8c ba
RSP: 0018:ffffc900077cf568 EFLAGS: 00010246
RAX: 0000000000000037 RBX: 0000000000001000 RCX: 7b2a50900d148700
RDX: ffffc90008212000 RSI: 0000000000012126 RDI: 0000000000012127
RBP: ffffc90002c8a1f8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff1cbd614 R12: dffffc0000000000
R13: 1ffff1102d4e816a R14: ffff88816a740b50 R15: 0000000000000000
FS:  00007f84b8efb6c0(0000) GS:ffff8882a9463000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555bb11277b8 CR3: 000000011201c000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 txCommit+0x4f20/0x5410
 jfs_truncate_nolock+0x22f/0x340
 jfs_write_end+0x16f/0x1f0
 generic_perform_write+0x620/0x8f0
 generic_file_write_iter+0x14a/0x680
 vfs_write+0x61d/0xb90
 __x64_sys_pwrite64+0x199/0x230
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f84b7f9c799
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f84b8efb028 EFLAGS: 00000246 ORIG_RAX: 0000000000000012
RAX: ffffffffffffffda RBX: 00007f84b8216090 RCX: 00007f84b7f9c799
RDX: 000000000000fdef RSI: 0000200000000140 RDI: 0000000000000005
RBP: 00007f84b8032c99 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000e7c R11: 0000000000000246 R12: 0000000000000000
R13: 00007f84b8216128 R14: 00007f84b8216090 R15: 00007ffe9ff49f78
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:txUnlock+0xdaf/0xdf0
Code: c8 fd 90 0f 0b e8 21 a0 66 fe 48 c7 c7 60 5d 0b 8c 48 c7 c6 59 59 0b 8c ba a4 03 00 00 48 c7 c1 60 6a 0b 8c e8 82 bd c8 fd 90 <0f> 0b e8 fa 9f 66 fe 48 c7 c7 60 5d 0b 8c 48 c7 c6 59 59 0b 8c ba
RSP: 0018:ffffc900077cf568 EFLAGS: 00010246
RAX: 0000000000000037 RBX: 0000000000001000 RCX: 7b2a50900d148700
RDX: ffffc90008212000 RSI: 0000000000012126 RDI: 0000000000012127
RBP: ffffc90002c8a1f8 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffffbfff1cbd614 R12: dffffc0000000000
R13: 1ffff1102d4e816a R14: ffff88816a740b50 R15: 0000000000000000
FS:  00007f84b8efb6c0(0000) GS:ffff8882a9463000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055555f379a28 CR3: 000000011201c000 CR4: 00000000000006f0
