BUG at fs/jfs/jfs_logmgr.c:2326 assert(bp->l_flag & lbmRELEASE) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_logmgr.c:2326! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 10429 Comm: loop0 Not tainted 4.14.300-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 task: ffff888092f48680 task.stack: ffff888057960000 RIP: 0010:lbmIODone.cold+0x24/0x5b fs/jfs/jfs_logmgr.c:2326 RSP: 0018:ffff888057967b00 EFLAGS: 00010082 RAX: 000000000000003f RBX: ffff8880b39b3500 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878bd060 RDI: ffffed100af2cf56 RBP: 0000000000000020 R08: 000000000000003f R09: 0000000000000001 R10: 0000000000000000 R11: ffff888092f48680 R12: 0000000000000286 R13: 0000000000000000 R14: ffff8880903f0000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffafce696be CR3: 00000000a8d71000 CR4: 00000000003406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bio_endio+0x290/0x690 block/bio.c:1918 req_bio_endio block/blk-core.c:204 [inline] blk_update_request+0x2d0/0xa90 block/blk-core.c:2765 blk_mq_end_request+0x4c/0x1e0 block/blk-mq.c:530 __blk_mq_complete_request+0x30b/0x6c0 block/blk-mq.c:571 blk_mq_complete_request+0x52/0x60 block/blk-mq.c:591 loop_handle_cmd drivers/block/loop.c:1789 [inline] loop_queue_work+0x228/0x21e0 drivers/block/loop.c:1798 kthread_worker_fn+0x271/0x6c0 kernel/kthread.c:667 kthread+0x30d/0x420 kernel/kthread.c:232 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:406 Code: 76 fa e8 cb ff ff ff e8 dd ed 4c fa 48 c7 c1 40 c2 b6 87 ba 16 09 00 00 48 c7 c6 c0 c1 b6 87 48 c7 c7 00 c2 b6 87 e8 dd b9 fa ff <0f> 0b e8 b7 ed 4c fa 48 c7 c1 80 c2 b6 87 ba 17 09 00 00 48 c7 RIP: lbmIODone.cold+0x24/0x5b fs/jfs/jfs_logmgr.c:2326 RSP: ffff888057967b00 ---[ end trace 120202c0c14f6804 ]---