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: 1 PID: 21 Comm: ksoftirqd/1 Not tainted 6.2.0-rc8-syzkaller-00027-g033c40a89f55 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:lbmIODone.cold+0xc9/0x116 fs/jfs/jfs_logmgr.c:2298 Code: 5f 69 04 f8 eb d3 e8 08 6c b4 f7 48 c7 c1 c0 41 89 8a ba fa 08 00 00 48 c7 c6 00 40 89 8a 48 c7 c7 40 40 89 8a e8 db 4e f8 ff <0f> 0b e8 e2 6b b4 f7 48 c7 c1 00 42 89 8a ba fb 08 00 00 48 c7 c6 RSP: 0018:ffffc900001b7c80 EFLAGS: 00010086 RAX: 000000000000003f RBX: ffff88804d377b00 RCX: 0000000000000000 RDX: ffff88813fef9d40 RSI: ffffffff8166220c RDI: fffff52000036f82 RBP: 0000000000000020 R08: 000000000000003f R09: 0000000000000000 R10: 0000000080000101 R11: 0000000000000001 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556ec0848 CR3: 000000005b90e000 CR4: 0000000000350ee0 Call Trace: bio_endio+0x651/0x7f0 block/bio.c:1615 req_bio_endio block/blk-mq.c:794 [inline] blk_update_request+0x436/0x1380 block/blk-mq.c:926 blk_mq_end_request+0x4f/0x80 block/blk-mq.c:1053 lo_complete_rq+0x1c6/0x280 drivers/block/loop.c:370 blk_complete_reqs+0xad/0xe0 block/blk-mq.c:1131 __do_softirq+0x1fb/0xadc kernel/softirq.c:571 run_ksoftirqd kernel/softirq.c:934 [inline] run_ksoftirqd+0x31/0x60 kernel/softirq.c:926 smpboot_thread_fn+0x659/0xa20 kernel/smpboot.c:164 kthread+0x2e8/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:lbmIODone.cold+0xc9/0x116 fs/jfs/jfs_logmgr.c:2298 Code: 5f 69 04 f8 eb d3 e8 08 6c b4 f7 48 c7 c1 c0 41 89 8a ba fa 08 00 00 48 c7 c6 00 40 89 8a 48 c7 c7 40 40 89 8a e8 db 4e f8 ff <0f> 0b e8 e2 6b b4 f7 48 c7 c1 00 42 89 8a ba fb 08 00 00 48 c7 c6 RSP: 0018:ffffc900001b7c80 EFLAGS: 00010086 RAX: 000000000000003f RBX: ffff88804d377b00 RCX: 0000000000000000 RDX: ffff88813fef9d40 RSI: ffffffff8166220c RDI: fffff52000036f82 RBP: 0000000000000020 R08: 000000000000003f R09: 0000000000000000 R10: 0000000080000101 R11: 0000000000000001 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556ec0848 CR3: 000000005b90e000 CR4: 0000000000350ee0