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: 15 Comm: ksoftirqd/0 Not tainted 6.5.0-rc4-syzkaller-00174-gc1a515d3c027 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 RIP: 0010:lbmIODone+0x1138/0x11f0 fs/jfs/jfs_logmgr.c:2298 Code: fe e9 79 f3 ff ff e8 77 41 90 fe 48 c7 c1 c0 18 aa 8a ba fa 08 00 00 48 c7 c6 00 17 aa 8a 48 c7 c7 40 17 aa 8a e8 f8 a3 73 fe <0f> 0b e8 f1 4a e4 fe e9 eb f1 ff ff e8 47 41 90 fe 48 c7 c1 00 19 RSP: 0018:ffffc90000147c08 EFLAGS: 00010086 RAX: 000000000000003f RBX: ffff88801eb33500 RCX: 0000000000000100 RDX: 0000000000000000 RSI: ffffffff8169ffe0 RDI: 0000000000000005 RBP: 0000000000000020 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000101 R11: 0000000000000001 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: 00007ffeac61bff8 CR3: 000000002fd58000 CR4: 0000000000350ef0 Call Trace: bio_endio+0x593/0x6a0 block/bio.c:1617 req_bio_endio block/blk-mq.c:769 [inline] blk_update_request+0x67b/0x1780 block/blk-mq.c:914 blk_mq_end_request+0x57/0x3c0 block/blk-mq.c:1035 lo_complete_rq+0x1c4/0x270 drivers/block/loop.c:370 blk_complete_reqs+0xb2/0xf0 block/blk-mq.c:1113 __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 77 41 90 fe 48 c7 c1 c0 18 aa 8a ba fa 08 00 00 48 c7 c6 00 17 aa 8a 48 c7 c7 40 17 aa 8a e8 f8 a3 73 fe <0f> 0b e8 f1 4a e4 fe e9 eb f1 ff ff e8 47 41 90 fe 48 c7 c1 00 19 RSP: 0018:ffffc90000147c08 EFLAGS: 00010086 RAX: 000000000000003f RBX: ffff88801eb33500 RCX: 0000000000000100 RDX: 0000000000000000 RSI: ffffffff8169ffe0 RDI: 0000000000000005 RBP: 0000000000000020 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000080000101 R11: 0000000000000001 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: 00007ffeac61bff8 CR3: 000000002fd58000 CR4: 0000000000350ef0