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: 30102 Comm: loop1 Not tainted 4.14.231-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880b1b14340 task.stack: ffff88804df00000 RIP: 0010:lbmIODone.cold+0x24/0x5b fs/jfs/jfs_logmgr.c:2325 RSP: 0000:ffff88804df07b00 EFLAGS: 00010082 RAX: 000000000000003f RBX: ffff8880a0c54400 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff878bbbc0 RDI: ffffed1009be0f56 RBP: 0000000000000020 R08: 000000000000003f R09: 0000000000000001 R10: 0000000000000000 R11: ffff8880b1b14340 R12: 0000000000000286 R13: 0000000000000000 R14: ffff8880a22ffb00 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000004e4c40 CR3: 00000000998fa000 CR4: 00000000001406f0 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/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 65 b8 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 3f b8 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: ffff88804df07b00 ---[ end trace 62b7208d73d5b9f2 ]---