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: 1 UID: 0 PID: 15752 Comm: syz.7.1881 Tainted: G             L      syzkaller #0 PREEMPT(full) 
Tainted: [L]=SOFTLOCKUP
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 9e ec 62 fe 48 c7 c7 a0 0b 0c 8c 48 c7 c6 99 07 0c 8c ba 97 02 00 00 48 c7 c1 c0 0c 0c 8c e8 7f f5 c4 fd 90 <0f> 0b e8 77 ec 62 fe 48 c7 c7 80 0d 0c 8c e8 6b f5 c4 fd 48 c7 c7
RSP: 0018:ffffc900070ade40 EFLAGS: 00010246
RAX: 000000000000002b RBX: 0000000000000000 RCX: 83b907361f184c00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900070adf68 R08: ffffc900070adbc7 R09: 1ffff92000e15b78
R10: dffffc0000000000 R11: fffff52000e15b79 R12: 1ffff9200056f400
R13: ffffc90002b7a000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8882a9290000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c38150f CR3: 0000000177ce0000 CR4: 00000000000006f0
Call Trace:
 <TASK>
 diWrite+0x444/0x1f40
 txCommit+0x869/0x5410
 jfs_commit_inode+0x2ef/0x530
 extAlloc+0xc95/0x1020
 jfs_get_block+0x358/0xad0
 __block_write_begin_int+0x6c6/0x1910
 block_write_begin+0x8d/0x120
 jfs_write_begin+0x35/0x80
 generic_perform_write+0x2e2/0x8f0
 generic_file_write_iter+0x14a/0x680
 __kernel_write_iter+0x41e/0x880
 dump_user_range+0xc19/0x12c0
 elf_core_dump+0x34c2/0x3ad0
 coredump_write+0x1216/0x1910
 vfs_coredump+0x3807/0x4530
 get_signal+0x1107/0x1330
 arch_do_signal_or_restart+0xbc/0x830
 irqentry_exit+0x284/0x730
 asm_exc_page_fault+0x26/0x30
RIP: 0033:0x7f66c9452877
Code: e8 8e fa ff ff 89 f2 48 8d 3d 0d 40 1b 00 48 8d 35 c4 fa 1d 00 31 c0 e8 e7 f8 ff ff 0f 1f 80 00 00 00 00 53 89 fb 48 83 ec 10 <64> 8b 04 25 a4 ff ff ff 85 c0 74 2a 89 fe 31 c0 bf 3c 00 00 00 e8
RSP: 002b:00007f66ca3a00a0 EFLAGS: 00010206
RAX: 0000000000000000 RBX: 000000000000000b RCX: 00007f66c959cdd9
RDX: 00007f66ca3a00c0 RSI: 00007f66ca3a01f0 RDI: 000000000000000b
RBP: 00007f66c9632d69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000000
R13: 00007f66c9816038 R14: 00007f66c9815fa0 R15: 00007ffdc3a126c8
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:txLock+0x1b92/0x1cc0
Code: e9 6a f8 ff ff e8 9e ec 62 fe 48 c7 c7 a0 0b 0c 8c 48 c7 c6 99 07 0c 8c ba 97 02 00 00 48 c7 c1 c0 0c 0c 8c e8 7f f5 c4 fd 90 <0f> 0b e8 77 ec 62 fe 48 c7 c7 80 0d 0c 8c e8 6b f5 c4 fd 48 c7 c7
RSP: 0018:ffffc900070ade40 EFLAGS: 00010246
RAX: 000000000000002b RBX: 0000000000000000 RCX: 83b907361f184c00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: ffffc900070adf68 R08: ffffc900070adbc7 R09: 1ffff92000e15b78
R10: dffffc0000000000 R11: fffff52000e15b79 R12: 1ffff9200056f400
R13: ffffc90002b7a000 R14: 0000000000000000 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8882a9290000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c38150f CR3: 0000000177ce0000 CR4: 00000000000006f0
