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: 18 Comm: ksoftirqd/1 Not tainted 5.11.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:lbmIODone+0x14ed/0x1540 fs/jfs/jfs_logmgr.c:2312 Code: a0 fe 0f 0b e8 34 20 b9 fe 48 c7 c7 60 14 f0 89 48 c7 c6 16 90 6f 8b ba 08 09 00 00 48 c7 c1 00 17 f0 89 31 c0 e8 f0 c0 a0 fe <0f> 0b e8 0c 20 b9 fe 48 c7 c7 60 14 f0 89 48 c7 c6 16 90 6f 8b ba RSP: 0018:ffffc90000d87b98 EFLAGS: 00010046 RAX: 000000000000003f RBX: 0000000000000020 RCX: 1485ea905e5e7c00 RDX: 0000000080000101 RSI: 0000000080000101 RDI: 0000000000000000 RBP: 0000000000000020 R08: ffffffff815fa322 R09: ffffed10173a60b8 R10: ffffed10173a60b8 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff88801f081900 R14: ffff88801f081908 R15: ffff88801b605a78 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000016b9e60 CR3: 0000000014f8f000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: req_bio_endio block/blk-core.c:264 [inline] blk_update_request+0x7f7/0x14f0 block/blk-core.c:1462 blk_mq_end_request+0x39/0x70 block/blk-mq.c:564 blk_done_softirq+0x2fd/0x380 block/blk-mq.c:588 __do_softirq+0x318/0x714 kernel/softirq.c:343 run_ksoftirqd+0x63/0xa0 kernel/softirq.c:650 smpboot_thread_fn+0x572/0x970 kernel/smpboot.c:165 kthread+0x39a/0x3c0 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 Modules linked in: ---[ end trace 5579b86bde8d5894 ]--- RIP: 0010:lbmIODone+0x14ed/0x1540 fs/jfs/jfs_logmgr.c:2312 Code: a0 fe 0f 0b e8 34 20 b9 fe 48 c7 c7 60 14 f0 89 48 c7 c6 16 90 6f 8b ba 08 09 00 00 48 c7 c1 00 17 f0 89 31 c0 e8 f0 c0 a0 fe <0f> 0b e8 0c 20 b9 fe 48 c7 c7 60 14 f0 89 48 c7 c6 16 90 6f 8b ba RSP: 0018:ffffc90000d87b98 EFLAGS: 00010046 RAX: 000000000000003f RBX: 0000000000000020 RCX: 1485ea905e5e7c00 RDX: 0000000080000101 RSI: 0000000080000101 RDI: 0000000000000000 RBP: 0000000000000020 R08: ffffffff815fa322 R09: ffffed10173a60b8 R10: ffffed10173a60b8 R11: 0000000000000000 R12: dffffc0000000000 R13: ffff88801f081900 R14: ffff88801f081908 R15: ffff88801b605a78 FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000016b9e60 CR3: 0000000014f8f000 CR4: 00000000001526e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400