BUG at fs/jfs/jfs_logmgr.c:2312 assert(bp->l_flag & lbmRELEASE) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_logmgr.c:2312! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 19 Comm: ksoftirqd/1 Not tainted 5.12.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lbmIODone.cold+0xc9/0x116 fs/jfs/jfs_logmgr.c:2312 Code: 99 8e eb f8 eb d3 e8 72 2b a8 f8 48 c7 c1 80 59 a4 89 ba 08 09 00 00 48 c7 c6 c0 57 a4 89 48 c7 c7 00 58 a4 89 e8 9a db f8 ff <0f> 0b e8 4c 2b a8 f8 48 c7 c1 c0 59 a4 89 ba 09 09 00 00 48 c7 c6 RSP: 0018:ffffc90000d97c48 EFLAGS: 00010086 RAX: 000000000000003f RBX: ffff888030849f00 RCX: 0000000000000000 RDX: ffff888011615340 RSI: ffffffff815c0eb5 RDI: fffff520001b2f7b RBP: 0000000000000020 R08: 000000000000003f R09: 0000000000000000 R10: ffffffff815b9c4e R11: 0000000000000000 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002333708 CR3: 000000001464a000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 Call Trace: bio_endio+0x3f4/0x800 block/bio.c:1436 req_bio_endio block/blk-core.c:265 [inline] blk_update_request+0x68b/0x1480 block/blk-core.c:1456 blk_mq_end_request+0x4c/0x510 block/blk-mq.c:564 lo_complete_rq+0x20d/0x2d0 drivers/block/loop.c:497 blk_complete_reqs+0x9d/0xd0 block/blk-mq.c:576 __do_softirq+0x29b/0x9f6 kernel/softirq.c:345 run_ksoftirqd kernel/softirq.c:652 [inline] run_ksoftirqd+0x2d/0x60 kernel/softirq.c:644 smpboot_thread_fn+0x655/0x9e0 kernel/smpboot.c:165 kthread+0x3b1/0x4a0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:294 Modules linked in: ---[ end trace a2ada4c39781b022 ]--- RIP: 0010:lbmIODone.cold+0xc9/0x116 fs/jfs/jfs_logmgr.c:2312 Code: 99 8e eb f8 eb d3 e8 72 2b a8 f8 48 c7 c1 80 59 a4 89 ba 08 09 00 00 48 c7 c6 c0 57 a4 89 48 c7 c7 00 58 a4 89 e8 9a db f8 ff <0f> 0b e8 4c 2b a8 f8 48 c7 c1 c0 59 a4 89 ba 09 09 00 00 48 c7 c6 RSP: 0018:ffffc90000d97c48 EFLAGS: 00010086 RAX: 000000000000003f RBX: ffff888030849f00 RCX: 0000000000000000 RDX: ffff888011615340 RSI: ffffffff815c0eb5 RDI: fffff520001b2f7b RBP: 0000000000000020 R08: 000000000000003f R09: 0000000000000000 R10: ffffffff815b9c4e R11: 0000000000000000 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002333708 CR3: 000000001464a000 CR4: 0000000000350ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600