BUG at fs/jfs/jfs_logmgr.c:2325 assert(bp->l_flag & lbmRELEASE) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_logmgr.c:2325! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 31114 Comm: loop4 Not tainted 4.14.218-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88806ad245c0 task.stack: ffff888060378000 RIP: 0010:lbmIODone.cold+0x24/0x5b syzkaller/managers/linux-4-14/kernel/fs/jfs/jfs_logmgr.c:2325 RSP: 0018:ffff88806037fb00 EFLAGS: 00010082 RAX: 000000000000003f RBX: ffff88809ecf1000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878bbb40 RDI: ffffed100c06ff56 RBP: 0000000000000020 R08: 000000000000003f R09: 0000000000000001 R10: 0000000000000000 R11: ffff88806ad245c0 R12: 0000000000000282 R13: 0000000000000000 R14: ffff88809f0b6dc0 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002e07848 CR3: 00000000aa979000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bio_endio+0x27a/0x680 syzkaller/managers/linux-4-14/kernel/block/bio.c:1918 req_bio_endio syzkaller/managers/linux-4-14/kernel/block/blk-core.c:204 [inline] blk_update_request+0x2d0/0xa30 syzkaller/managers/linux-4-14/kernel/block/blk-core.c:2765 blk_mq_end_request+0x4c/0x1e0 syzkaller/managers/linux-4-14/kernel/block/blk-mq.c:530 __blk_mq_complete_request+0x30b/0x6c0 syzkaller/managers/linux-4-14/kernel/block/blk-mq.c:571 blk_mq_complete_request+0x52/0x60 syzkaller/managers/linux-4-14/kernel/block/blk-mq.c:591 loop_handle_cmd syzkaller/managers/linux-4-14/kernel/drivers/block/loop.c:1784 [inline] loop_queue_work+0x227/0x1e80 syzkaller/managers/linux-4-14/kernel/drivers/block/loop.c:1793 kthread_worker_fn+0x271/0x6c0 syzkaller/managers/linux-4-14/kernel/kernel/kthread.c:642 kthread+0x30d/0x420 syzkaller/managers/linux-4-14/kernel/kernel/kthread.c:232 ret_from_fork+0x24/0x30 syzkaller/managers/linux-4-14/kernel/arch/x86/entry/entry_64.S:404 Code: 79 fa e8 cb ff ff ff e8 0d 7d 50 fa 48 c7 c1 00 8c b6 87 ba 15 09 00 00 48 c7 c6 80 8b b6 87 48 c7 c7 c0 8b b6 87 e8 52 bf fa ff <0f> 0b e8 e7 7c 50 fa 48 c7 c1 40 8c b6 87 ba 16 09 00 00 48 c7 RIP: lbmIODone.cold+0x24/0x5b syzkaller/managers/linux-4-14/kernel/fs/jfs/jfs_logmgr.c:2325 RSP: ffff88806037fb00 ---[ end trace 7c959ec10ca421fc ]---