BUG at fs/jfs/jfs_logmgr.c:2303 assert(bp->l_flag & lbmRELEASE) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_logmgr.c:2303! invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.9.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 RIP: 0010:lbmIODone+0x1141/0x1200 fs/jfs/jfs_logmgr.c:2303 Code: e9 79 f3 ff ff e8 4f 82 82 fe 48 c7 c1 c0 cf 6a 8b ba ff 08 00 00 48 c7 c6 00 ce 6a 8b 48 c7 c7 40 ce 6a 8b e8 20 26 63 fe 90 <0f> 0b e8 98 79 de fe e9 ea f1 ff ff e8 1e 82 82 fe 48 c7 c1 00 d0 RSP: 0018:ffffc90000147c08 EFLAGS: 00010086 RAX: 000000000000003f RBX: ffff888017ebf500 RCX: ffffffff816fc2f9 RDX: 0000000000000000 RSI: ffffffff81705036 RDI: 0000000000000005 RBP: 0000000000000020 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000101 R11: 0000000000000001 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d723000 CR3: 0000000061bce000 CR4: 0000000000350ef0 Call Trace: bio_endio+0x5f3/0x700 block/bio.c:1603 req_bio_endio block/blk-mq.c:786 [inline] blk_update_request+0x693/0x1820 block/blk-mq.c:931 blk_mq_end_request+0x4f/0x90 block/blk-mq.c:1054 lo_complete_rq+0x232/0x2f0 drivers/block/loop.c:366 blk_complete_reqs+0xb1/0xf0 block/blk-mq.c:1129 handle_softirqs+0x219/0x8f0 kernel/softirq.c:554 run_ksoftirqd kernel/softirq.c:928 [inline] run_ksoftirqd+0x3a/0x60 kernel/softirq.c:920 smpboot_thread_fn+0x664/0xa10 kernel/smpboot.c:164 kthread+0x2c4/0x3a0 kernel/kthread.c:388 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:lbmIODone+0x1141/0x1200 fs/jfs/jfs_logmgr.c:2303 Code: e9 79 f3 ff ff e8 4f 82 82 fe 48 c7 c1 c0 cf 6a 8b ba ff 08 00 00 48 c7 c6 00 ce 6a 8b 48 c7 c7 40 ce 6a 8b e8 20 26 63 fe 90 <0f> 0b e8 98 79 de fe e9 ea f1 ff ff e8 1e 82 82 fe 48 c7 c1 00 d0 RSP: 0018:ffffc90000147c08 EFLAGS: 00010086 RAX: 000000000000003f RBX: ffff888017ebf500 RCX: ffffffff816fc2f9 RDX: 0000000000000000 RSI: ffffffff81705036 RDI: 0000000000000005 RBP: 0000000000000020 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000101 R11: 0000000000000001 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d723000 CR3: 0000000061bce000 CR4: 0000000000350ef0