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: 0 PID: 16 Comm: ksoftirqd/0 Not tainted 6.6.0-rc5-syzkaller-00227-gad7f1baed071 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:lbmIODone+0x1138/0x11f0 fs/jfs/jfs_logmgr.c:2298 Code: fe e9 79 f3 ff ff e8 b7 36 8d fe 48 c7 c1 40 e5 ca 8a ba fa 08 00 00 48 c7 c6 80 e3 ca 8a 48 c7 c7 c0 e3 ca 8a e8 58 58 70 fe <0f> 0b e8 81 ef e2 fe e9 eb f1 ff ff e8 87 36 8d fe 48 c7 c1 80 e5 RSP: 0018:ffffc90000157bf0 EFLAGS: 00010082 RAX: 000000000000003f RBX: ffff8880473dc800 RCX: 0000000000000100 RDX: 0000000000000000 RSI: ffffffff816b85f2 RDI: 0000000000000005 RBP: 0000000000000020 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000101 R11: fffffffffffc8b10 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f458059000 CR3: 00000000510b1000 CR4: 0000000000350ef0 Call Trace: bio_endio+0x593/0x6a0 block/bio.c:1603 req_bio_endio block/blk-mq.c:783 [inline] blk_update_request+0x67b/0x1780 block/blk-mq.c:928 blk_mq_end_request+0x57/0x520 block/blk-mq.c:1051 lo_complete_rq+0x232/0x2f0 drivers/block/loop.c:370 blk_complete_reqs+0xb2/0xf0 block/blk-mq.c:1131 __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+0x660/0xa00 kernel/smpboot.c:164 kthread+0x33c/0x440 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: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 36 8d fe 48 c7 c1 40 e5 ca 8a ba fa 08 00 00 48 c7 c6 80 e3 ca 8a 48 c7 c7 c0 e3 ca 8a e8 58 58 70 fe <0f> 0b e8 81 ef e2 fe e9 eb f1 ff ff e8 87 36 8d fe 48 c7 c1 80 e5 RSP: 0018:ffffc90000157bf0 EFLAGS: 00010082 RAX: 000000000000003f RBX: ffff8880473dc800 RCX: 0000000000000100 RDX: 0000000000000000 RSI: ffffffff816b85f2 RDI: 0000000000000005 RBP: 0000000000000020 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000101 R11: fffffffffffc8b10 R12: 0000000000000246 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f458059000 CR3: 00000000510b1000 CR4: 0000000000350ef0