BUG at fs/jfs/jfs_logmgr.c:2298 assert(bp->l_flag & lbmRELEASE)
------------[ cut here ]------------
kernel BUG at fs/jfs/jfs_logmgr.c:2298!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.1.124-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:lbmIODone+0x16f4/0x1750 fs/jfs/jfs_logmgr.c:2298
Code: a2 ed 9b 07 0f 0b e8 cb ec 75 fe 48 c7 c7 c0 dd 45 8b 48 c7 c6 c0 d8 45 8b ba fa 08 00 00 48 c7 c1 20 e7 45 8b e8 7c ed 9b 07 <0f> 0b e8 a5 ec 75 fe 48 c7 c7 c0 dd 45 8b 48 c7 c6 c0 d8 45 8b ba
RSP: 0018:ffffc90000147ae0 EFLAGS: 00010046
RAX: 000000000000003f RBX: 0000000000000020 RCX: b0e61da7a4e0c900
RDX: 0000000000000100 RSI: 0000000080000101 RDI: 0000000000000000
RBP: ffff888027a9b508 R08: ffffffff816e6d1c R09: fffff52000028efd
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888027a9b500 R14: ffff8880765dca78 R15: 0000000000000246
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fddb9977bac CR3: 000000007b7e8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
req_bio_endio block/blk-mq.c:780 [inline]
blk_update_request+0x53b/0x1010 block/blk-mq.c:925
blk_mq_end_request+0x3a/0x70 block/blk-mq.c:1050
blk_complete_reqs block/blk-mq.c:1130 [inline]
blk_done_softirq+0xf8/0x140 block/blk-mq.c:1135
handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
run_ksoftirqd+0xc6/0x120 kernel/softirq.c:938
smpboot_thread_fn+0x52c/0xa30 kernel/smpboot.c:164
kthread+0x28d/0x320 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:lbmIODone+0x16f4/0x1750 fs/jfs/jfs_logmgr.c:2298
Code: a2 ed 9b 07 0f 0b e8 cb ec 75 fe 48 c7 c7 c0 dd 45 8b 48 c7 c6 c0 d8 45 8b ba fa 08 00 00 48 c7 c1 20 e7 45 8b e8 7c ed 9b 07 <0f> 0b e8 a5 ec 75 fe 48 c7 c7 c0 dd 45 8b 48 c7 c6 c0 d8 45 8b ba
RSP: 0018:ffffc90000147ae0 EFLAGS: 00010046
RAX: 000000000000003f RBX: 0000000000000020 RCX: b0e61da7a4e0c900
RDX: 0000000000000100 RSI: 0000000080000101 RDI: 0000000000000000
RBP: ffff888027a9b508 R08: ffffffff816e6d1c R09: fffff52000028efd
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888027a9b500 R14: ffff8880765dca78 R15: 0000000000000246
FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fddb9977bac CR3: 000000007b7e8000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400