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: 13946 Comm: syz.9.1129 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+0x1b79/0x1cb0
Code: e9 6a f8 ff ff e8 c7 68 78 fe 48 c7 c7 20 ae a4 8b 48 c7 c6 19 aa a4 8b ba 96 02 00 00 48 c7 c1 20 af a4 8b e8 58 f6 df fd 90 <0f> 0b e8 a0 68 78 fe 48 c7 c7 e0 af a4 8b e8 44 f6 df fd 48 c7 c7
RSP: 0018:ffffc90005037780 EFLAGS: 00010246
RAX: 000000000000002b RBX: 0000000000000000 RCX: e92b4dfd06bfc200
RDX: ffffc90004b12000 RSI: 000000000000287d RDI: 000000000000287e
RBP: ffffc900050378a8 R08: ffffc900050374a7 R09: 1ffff92000a06e94
R10: dffffc0000000000 R11: fffff52000a06e95 R12: 1ffff92000573400
R13: ffffc90002b9a000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007fb58ea016c0(0000) GS:ffff8882a9f38000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb583807000 CR3: 00000001bb5ec000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 diWrite+0x444/0x1f40
 txCommit+0x852/0x5430
 jfs_mkdir+0x856/0xa70
 vfs_mkdir+0x306/0x510
 do_mkdirat+0x247/0x590
 __x64_sys_mkdirat+0x87/0xa0
 do_syscall_64+0xfa/0xfa0
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fb58db8de17
Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 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:00007fb58ea00e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fb58ea00ef0 RCX: 00007fb58db8de17
RDX: 00000000000001ff RSI: 0000200000000240 RDI: 00000000ffffff9c
RBP: 0000000000000000 R08: 0000200000000240 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000200000000240
R13: 00007fb58ea00eb0 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:txLock+0x1b79/0x1cb0
Code: e9 6a f8 ff ff e8 c7 68 78 fe 48 c7 c7 20 ae a4 8b 48 c7 c6 19 aa a4 8b ba 96 02 00 00 48 c7 c1 20 af a4 8b e8 58 f6 df fd 90 <0f> 0b e8 a0 68 78 fe 48 c7 c7 e0 af a4 8b e8 44 f6 df fd 48 c7 c7
RSP: 0018:ffffc90005037780 EFLAGS: 00010246
RAX: 000000000000002b RBX: 0000000000000000 RCX: e92b4dfd06bfc200
RDX: ffffc90004b12000 RSI: 000000000000287d RDI: 000000000000287e
RBP: ffffc900050378a8 R08: ffffc900050374a7 R09: 1ffff92000a06e94
R10: dffffc0000000000 R11: fffff52000a06e95 R12: 1ffff92000573400
R13: ffffc90002b9a000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007fb58ea016c0(0000) GS:ffff8882a9f38000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fb583807000 CR3: 00000001bb5ec000 CR4: 00000000000006f0
