BUG at fs/jfs/jfs_logmgr.c:2298 assert(bp->l_flag & lbmRELEASE) ------------[ cut here ]------------ kernel BUG at fs/jfs/jfs_logmgr.c:2298! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 20 Comm: ksoftirqd/1 Not tainted 6.5.0-rc7-syzkaller-00104-g4f9e7fabf864 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:lbmIODone+0x1138/0x11f0 fs/jfs/jfs_logmgr.c:2298 Code: fe e9 79 f3 ff ff e8 b7 07 91 fe 48 c7 c1 80 f2 a9 8a ba fa 08 00 00 48 c7 c6 c0 f0 a9 8a 48 c7 c7 00 f1 a9 8a e8 78 69 74 fe <0f> 0b e8 31 3e e4 fe e9 eb f1 ff ff e8 87 07 91 fe 48 c7 c1 c0 f2 RSP: 0018:ffffc900003bfc08 EFLAGS: 00010086 RAX: 000000000000003f RBX: ffff88802e2b3400 RCX: 0000000000000100 RDX: 0000000000000000 RSI: ffffffff816917c0 RDI: 0000000000000005 RBP: 0000000000000020 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000101 R11: 0000000000000001 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffec143bfe8 CR3: 000000007e4fb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: bio_endio+0x593/0x6a0 block/bio.c:1617 req_bio_endio block/blk-mq.c:782 [inline] blk_update_request+0x67b/0x1780 block/blk-mq.c:927 blk_mq_end_request+0x57/0x520 block/blk-mq.c:1050 lo_complete_rq+0x1c4/0x270 drivers/block/loop.c:370 blk_complete_reqs+0xb2/0xf0 block/blk-mq.c:1130 __do_softirq+0x218/0x965 kernel/softirq.c:553 run_ksoftirqd kernel/softirq.c:921 [inline] run_ksoftirqd+0x31/0x60 kernel/softirq.c:913 smpboot_thread_fn+0x67d/0xa00 kernel/smpboot.c:164 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:lbmIODone+0x1138/0x11f0 fs/jfs/jfs_logmgr.c:2298 Code: fe e9 79 f3 ff ff e8 b7 07 91 fe 48 c7 c1 80 f2 a9 8a ba fa 08 00 00 48 c7 c6 c0 f0 a9 8a 48 c7 c7 00 f1 a9 8a e8 78 69 74 fe <0f> 0b e8 31 3e e4 fe e9 eb f1 ff ff e8 87 07 91 fe 48 c7 c1 c0 f2 RSP: 0018:ffffc900003bfc08 EFLAGS: 00010086 RAX: 000000000000003f RBX: ffff88802e2b3400 RCX: 0000000000000100 RDX: 0000000000000000 RSI: ffffffff816917c0 RDI: 0000000000000005 RBP: 0000000000000020 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000101 R11: 0000000000000001 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffec143bfe8 CR3: 000000007e4fb000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400