BUG at fs/jfs/jfs_txnmgr.c:662 assert(last)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_txnmgr.c:662!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 6900 Comm: syz.3.230 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:txLock+0x1b92/0x1cc0
Code: e9 6a f8 ff ff e8 6e bd 66 fe 48 c7 c7 e0 68 0b 8c 48 c7 c6 d9 64 0b 8c ba 96 02 00 00 48 c7 c1 00 6a 0b 8c e8 0f ca c8 fd 90 <0f> 0b e8 47 bd 66 fe 48 c7 c7 c0 6a 0b 8c e8 fb c9 c8 fd 48 c7 c7
RSP: 0018:ffffc9000707f740 EFLAGS: 00010246
RAX: 000000000000002b RBX: 0000000000000000 RCX: 2c33a8d27a23e200
RDX: ffffc9000a3b3000 RSI: 00000000000028ad RDI: 00000000000028ae
RBP: ffffc9000707f868 R08: ffffc9000707f4c7 R09: 1ffff92000e0fe98
R10: dffffc0000000000 R11: fffff52000e0fe99 R12: 1ffff9200057d400
R13: ffffc90002bea000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f97edf7f6c0(0000) GS:ffff8882a9459000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9258c91440 CR3: 0000000173dde000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 diWrite+0x444/0x1f40
 txCommit+0x869/0x5410
 jfs_mkdir+0x8e9/0xb00
 vfs_mkdir+0x413/0x630
 filename_mkdirat+0x285/0x510
 __se_sys_mkdirat+0x35/0x150
 do_syscall_64+0x14d/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f97ed19b607
Code: 00 66 90 48 89 f2 b9 00 01 00 00 48 89 fe bf 9c ff ff ff e9 db f7 ff ff 66 2e 0f 1f 84 00 00 00 00 00 90 b8 02 01 00 00 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:00007f97edf7ee58 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f97edf7eee0 RCX: 00007f97ed19b607
RDX: 00000000000001ff RSI: 0000200000000300 RDI: 00000000ffffff9c
RBP: 0000000000000000 R08: 0000200000000300 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000300
R13: 00007f97edf7eea0 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:txLock+0x1b92/0x1cc0
Code: e9 6a f8 ff ff e8 6e bd 66 fe 48 c7 c7 e0 68 0b 8c 48 c7 c6 d9 64 0b 8c ba 96 02 00 00 48 c7 c1 00 6a 0b 8c e8 0f ca c8 fd 90 <0f> 0b e8 47 bd 66 fe 48 c7 c7 c0 6a 0b 8c e8 fb c9 c8 fd 48 c7 c7
RSP: 0018:ffffc9000707f740 EFLAGS: 00010246
RAX: 000000000000002b RBX: 0000000000000000 RCX: 2c33a8d27a23e200
RDX: ffffc9000a3b3000 RSI: 00000000000028ad RDI: 00000000000028ae
RBP: ffffc9000707f868 R08: ffffc9000707f4c7 R09: 1ffff92000e0fe98
R10: dffffc0000000000 R11: fffff52000e0fe99 R12: 1ffff9200057d400
R13: ffffc90002bea000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f97edf7f6c0(0000) GS:ffff88818de59000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007efc55bbb000 CR3: 0000000173dde000 CR4: 00000000000006f0
