BUG at fs/jfs/jfs_txnmgr.c:663 assert(last)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_txnmgr.c:663!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 0 UID: 0 PID: 11277 Comm: syz.3.435 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+0x1bdb/0x1d10
Code: e9 c5 f7 ff ff e8 05 18 5d fe 48 c7 c7 20 90 0c 8c 48 c7 c6 19 8c 0c 8c ba 97 02 00 00 48 c7 c1 40 91 0c 8c e8 96 65 be fd 90 <0f> 0b e8 de 17 5d fe 48 c7 c7 00 92 0c 8c e8 82 65 be fd 48 c7 c7
RSP: 0018:ffffc900038bf240 EFLAGS: 00010246
RAX: 000000000000002b RBX: 0000000000000000 RCX: 946bcba678467a00
RDX: ffffc90028c20000 RSI: 0000000000000f57 RDI: 0000000000000f58
RBP: ffffc900038bf380 R08: ffffc900038befc7 R09: 1ffff92000717df8
R10: dffffc0000000000 R11: fffff52000717df9 R12: 0000000000000000
R13: ffffc90002bf2000 R14: 0000000000000000 R15: 1ffff9200057e400
FS:  00007f3f66df66c0(0000) GS:ffff88818dc20000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005649c0e4fe48 CR3: 000000011226a000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 dtSplitRoot+0x38d/0x1900
 dtInsert+0xedd/0x5cb0
 jfs_create+0x730/0xae0
 path_openat+0x133a/0x3830
 do_file_open+0x23e/0x4a0
 do_sys_openat2+0x115/0x200
 __x64_sys_openat+0x138/0x170
 do_syscall_64+0x174/0x580
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3f68b9ce59
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:00007f3f66df6028 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f3f68e16090 RCX: 00007f3f68b9ce59
RDX: 000000000000275a RSI: 0000200000000100 RDI: ffffffffffffff9c
RBP: 00007f3f68c32e6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3f68e16128 R14: 00007f3f68e16090 R15: 00007ffe6e3659f8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:txLock+0x1bdb/0x1d10
Code: e9 c5 f7 ff ff e8 05 18 5d fe 48 c7 c7 20 90 0c 8c 48 c7 c6 19 8c 0c 8c ba 97 02 00 00 48 c7 c1 40 91 0c 8c e8 96 65 be fd 90 <0f> 0b e8 de 17 5d fe 48 c7 c7 00 92 0c 8c e8 82 65 be fd 48 c7 c7
RSP: 0018:ffffc900038bf240 EFLAGS: 00010246
RAX: 000000000000002b RBX: 0000000000000000 RCX: 946bcba678467a00
RDX: ffffc90028c20000 RSI: 0000000000000f57 RDI: 0000000000000f58
RBP: ffffc900038bf380 R08: ffffc900038befc7 R09: 1ffff92000717df8
R10: dffffc0000000000 R11: fffff52000717df9 R12: 0000000000000000
R13: ffffc90002bf2000 R14: 0000000000000000 R15: 1ffff9200057e400
FS:  00007f3f66df66c0(0000) GS:ffff8882a9220000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055fdfc461680 CR3: 000000011226a000 CR4: 00000000000006f0
