BUG at fs/jfs/jfs_logmgr.c:2303 assert(bp->l_flag & lbmRELEASE) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_logmgr.c:2303! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 27 Comm: ksoftirqd/1 Not tainted 6.8.0-rc1-syzkaller-00286-g168174d78157 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:lbmIODone+0x1139/0x11f0 fs/jfs/jfs_logmgr.c:2303 Code: e9 79 f3 ff ff e8 47 3b 88 fe 48 c7 c1 c0 5a 0b 8b ba ff 08 00 00 48 c7 c6 00 59 0b 8b 48 c7 c7 40 59 0b 8b e8 18 fc 6a fe 90 <0f> 0b e8 c0 9f df fe e9 ea f1 ff ff e8 16 3b 88 fe 48 c7 c1 00 5b RSP: 0018:ffffc90000867c08 EFLAGS: 00010086 RAX: 000000000000003f RBX: ffff888033e77980 RCX: ffffffff8169e3f9 RDX: 0000000000000000 RSI: ffffffff816a68c2 RDI: 0000000000000005 RBP: 0000000000000020 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000101 R11: 0000000000000001 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88806b700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30927000 CR3: 000000005e4d8000 CR4: 0000000000350ef0 DR0: 0000000000001688 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: bio_endio+0x59c/0x6b0 block/bio.c:1608 req_bio_endio block/blk-mq.c:793 [inline] blk_update_request+0x62f/0x1710 block/blk-mq.c:938 blk_mq_end_request+0x4f/0x90 block/blk-mq.c:1061 lo_complete_rq+0x232/0x2f0 drivers/block/loop.c:366 blk_complete_reqs+0xac/0xe0 block/blk-mq.c:1136 __do_softirq+0x21a/0x8de kernel/softirq.c:553 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x31/0x60 kernel/softirq.c:913 smpboot_thread_fn+0x660/0xa10 kernel/smpboot.c:164 kthread+0x2c6/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:lbmIODone+0x1139/0x11f0 fs/jfs/jfs_logmgr.c:2303 Code: e9 79 f3 ff ff e8 47 3b 88 fe 48 c7 c1 c0 5a 0b 8b ba ff 08 00 00 48 c7 c6 00 59 0b 8b 48 c7 c7 40 59 0b 8b e8 18 fc 6a fe 90 <0f> 0b e8 c0 9f df fe e9 ea f1 ff ff e8 16 3b 88 fe 48 c7 c1 00 5b RSP: 0018:ffffc90000867c08 EFLAGS: 00010086 RAX: 000000000000003f RBX: ffff888033e77980 RCX: ffffffff8169e3f9 RDX: 0000000000000000 RSI: ffffffff816a68c2 RDI: 0000000000000005 RBP: 0000000000000020 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000101 R11: 0000000000000001 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88806b700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30927000 CR3: 000000005e4d8000 CR4: 0000000000350ef0 DR0: 0000000000001688 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400