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: 1 PID: 15474 Comm: loop4 Not tainted 4.14.230-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888095322080 task.stack: ffff888090290000 RIP: 0010:lbmIODone.cold+0x24/0x5b fs/jfs/jfs_logmgr.c:2325 RSP: 0018:ffff888090297b00 EFLAGS: 00010082 RAX: 000000000000003f RBX: ffff88804bab8c00 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878bbbc0 RDI: ffffed1012052f56 RBP: 0000000000000020 R08: 000000000000003f R09: 0000000000000001 R10: 0000000000000000 R11: ffff888095322080 R12: 0000000000000286 R13: 0000000000000000 R14: ffff8880a3020d80 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ba500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f69f436afe8 CR3: 000000009be06000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bio_endio+0x27a/0x680 block/bio.c:1918 req_bio_endio block/blk-core.c:204 [inline] blk_update_request+0x2d0/0xa30 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:1784 [inline] loop_queue_work+0x227/0x1e80 drivers/block/loop.c:1793 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:404 Code: 78 fa e8 cb ff ff ff e8 25 eb 4e fa 48 c7 c1 40 9f b6 87 ba 15 09 00 00 48 c7 c6 c0 9e b6 87 48 c7 c7 00 9f b6 87 e8 1a bb fa ff <0f> 0b e8 ff ea 4e fa 48 c7 c1 80 9f b6 87 ba 16 09 00 00 48 c7 RIP: lbmIODone.cold+0x24/0x5b fs/jfs/jfs_logmgr.c:2325 RSP: ffff888090297b00 ---[ end trace 3020d91357c87bad ]---