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: 0 UID: 0 PID: 14176 Comm: syz.2.2196 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 d7 b0 75 fe 48 c7 c7 20 92 a5 8b 48 c7 c6 19 8e a5 8b ba 96 02 00 00 48 c7 c1 40 93 a5 8b e8 68 62 dc fd 90 <0f> 0b e8 b0 b0 75 fe 48 c7 c7 00 94 a5 8b e8 54 62 dc fd 48 c7 c7
RSP: 0018:ffffc90008c77740 EFLAGS: 00010246
RAX: 000000000000002b RBX: 0000000000000000 RCX: 2221ca5a11e26300
RDX: ffffc9000b492000 RSI: 0000000000002841 RDI: 0000000000002842
RBP: ffffc90008c77868 R08: ffffc90008c774c7 R09: 1ffff9200118ee98
R10: dffffc0000000000 R11: fffff5200118ee99 R12: 1ffff92000589400
R13: ffffc90002c4a000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f2f2cbc16c0(0000) GS:ffff88818e821000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2f2cbc0fc8 CR3: 00000001ad2a0000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 diWrite+0x444/0x1f40
 txCommit+0x852/0x5430
 jfs_mkdir+0x856/0xa70
 vfs_mkdir+0x512/0x5b0
 do_mkdirat+0x276/0x4b0
 __x64_sys_mkdirat+0x87/0xa0
 do_syscall_64+0xec/0xf80
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f2f2bd8df17
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:00007f2f2cbc0e68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007f2f2cbc0ef0 RCX: 00007f2f2bd8df17
RDX: 00000000000001ff RSI: 00002000000000c0 RDI: 00000000ffffff9c
RBP: 00002000000002c0 R08: 00002000000007c0 R09: 0000000000000000
R10: 00002000000002c0 R11: 0000000000000246 R12: 00002000000000c0
R13: 00007f2f2cbc0eb0 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:txLock+0x1b79/0x1cb0
Code: e9 6a f8 ff ff e8 d7 b0 75 fe 48 c7 c7 20 92 a5 8b 48 c7 c6 19 8e a5 8b ba 96 02 00 00 48 c7 c1 40 93 a5 8b e8 68 62 dc fd 90 <0f> 0b e8 b0 b0 75 fe 48 c7 c7 00 94 a5 8b e8 54 62 dc fd 48 c7 c7
RSP: 0018:ffffc90008c77740 EFLAGS: 00010246
RAX: 000000000000002b RBX: 0000000000000000 RCX: 2221ca5a11e26300
RDX: ffffc9000b492000 RSI: 0000000000002841 RDI: 0000000000002842
RBP: ffffc90008c77868 R08: ffffc90008c774c7 R09: 1ffff9200118ee98
R10: dffffc0000000000 R11: fffff5200118ee99 R12: 1ffff92000589400
R13: ffffc90002c4a000 R14: 0000000000000000 R15: 0000000000000000
FS:  00007f2f2cbc16c0(0000) GS:ffff88818e821000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2f2cbc0fc8 CR3: 00000001ad2a0000 CR4: 00000000000006f0
