BUG at fs/jfs/jfs_logmgr.c:2303 assert(bp->l_flag & lbmRELEASE) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_logmgr.c:2303! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTI CPU: 3 PID: 34 Comm: ksoftirqd/3 Not tainted 6.10.0-rc1-syzkaller-00027-g4a4be1ad3a6e #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:lbmIODone+0x1141/0x1200 fs/jfs/jfs_logmgr.c:2303 Code: e9 79 f3 ff ff e8 3f 5f 84 fe 48 c7 c1 00 d8 6a 8b ba ff 08 00 00 48 c7 c6 40 d6 6a 8b 48 c7 c7 80 d6 6a 8b e8 50 fb 64 fe 90 <0f> 0b e8 a8 92 e1 fe e9 ea f1 ff ff e8 0e 5f 84 fe 48 c7 c1 40 d8 RSP: 0000:ffffc900005c7bd8 EFLAGS: 00010086 RAX: 000000000000003f RBX: ffff88802c556400 RCX: ffffffff816f3159 RDX: 0000000000000000 RSI: ffffffff816fbd56 RDI: 0000000000000005 RBP: 0000000000000020 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000101 R11: 0000000000000001 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802c300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000033533000 CR3: 0000000000e9e000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bio_endio+0x644/0x760 block/bio.c:1636 blk_update_request+0x704/0x1850 block/blk-mq.c:929 blk_mq_end_request+0x5b/0x620 block/blk-mq.c:1057 lo_complete_rq+0x232/0x2f0 drivers/block/loop.c:366 blk_complete_reqs+0xae/0xf0 block/blk-mq.c:1132 handle_softirqs+0x216/0x8f0 kernel/softirq.c:554 run_ksoftirqd kernel/softirq.c:928 [inline] run_ksoftirqd+0x3a/0x60 kernel/softirq.c:920 smpboot_thread_fn+0x661/0xa10 kernel/smpboot.c:164 kthread+0x2c1/0x3a0 kernel/kthread.c:389 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:lbmIODone+0x1141/0x1200 fs/jfs/jfs_logmgr.c:2303 Code: e9 79 f3 ff ff e8 3f 5f 84 fe 48 c7 c1 00 d8 6a 8b ba ff 08 00 00 48 c7 c6 40 d6 6a 8b 48 c7 c7 80 d6 6a 8b e8 50 fb 64 fe 90 <0f> 0b e8 a8 92 e1 fe e9 ea f1 ff ff e8 0e 5f 84 fe 48 c7 c1 40 d8 RSP: 0000:ffffc900005c7bd8 EFLAGS: 00010086 RAX: 000000000000003f RBX: ffff88802c556400 RCX: ffffffff816f3159 RDX: 0000000000000000 RSI: ffffffff816fbd56 RDI: 0000000000000005 RBP: 0000000000000020 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000101 R11: 0000000000000001 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff88802c300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000033533000 CR3: 0000000000e9e000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400