------------[ cut here ]------------ WARNING: CPU: 1 PID: 5649 at fs/jfs/jfs_dmap.c:2941 dbAdjTree+0x41b/0x520 Modules linked in: CPU: 1 PID: 5649 Comm: syz-executor Not tainted 5.15.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 RIP: 0010:dbAdjTree+0x41b/0x520 fs/jfs/jfs_dmap.c:2941 Code: fe eb bd e8 b7 09 9e fe eb 0c e8 b0 09 9e fe eb 05 e8 a9 09 9e fe 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 95 09 9e fe <0f> 0b eb e8 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 1a fc ff ff 48 89 RSP: 0018:ffffc90003377438 EFLAGS: 00010293 RAX: ffffffff82e26a0b RBX: 0000000000000155 RCX: ffff88802a448000 RDX: 0000000000000000 RSI: 0000000000000155 RDI: 0000000000020056 RBP: ffff8880645c2018 R08: ffffffff82e26647 R09: fffff94000322e11 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000004 R14: ffff8880645c2010 R15: 0000000000020056 FS: 0000555575659500(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4bcd1262d8 CR3: 0000000026c23000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dbJoin+0x255/0x310 fs/jfs/jfs_dmap.c:2909 dbFreeBits+0x4ef/0xdb0 fs/jfs/jfs_dmap.c:2406 dbFreeDmap fs/jfs/jfs_dmap.c:2155 [inline] dbFree+0x357/0x670 fs/jfs/jfs_dmap.c:409 txFreeMap+0x966/0xd50 fs/jfs/jfs_txnmgr.c:2549 xtTruncate+0xe58/0x3260 fs/jfs/jfs_xtree.c:3428 jfs_free_zero_link+0x46a/0x6e0 fs/jfs/namei.c:758 jfs_evict_inode+0x35b/0x440 fs/jfs/inode.c:153 evict+0x529/0x930 fs/inode.c:622 wait_sb_inodes fs/fs-writeback.c:2655 [inline] sync_inodes_sb+0x891/0xab0 fs/fs-writeback.c:2773 sync_filesystem+0x16b/0x220 fs/sync.c:64 generic_shutdown_super+0x6b/0x310 fs/super.c:448 kill_block_super+0x7a/0xe0 fs/super.c:1427 deactivate_locked_super+0xa0/0x110 fs/super.c:335 cleanup_mnt+0x44e/0x500 fs/namespace.c:1143 task_work_run+0x129/0x1a0 kernel/task_work.c:188 tracehook_notify_resume include/linux/tracehook.h:189 [inline] exit_to_user_mode_loop+0x106/0x130 kernel/entry/common.c:181 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x5d/0x240 kernel/entry/common.c:307 do_syscall_64+0x47/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7fce041d8b47 Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8 RSP: 002b:00007ffe6a810248 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fce0424a5fc RCX: 00007fce041d8b47 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffe6a810300 RBP: 00007ffe6a810300 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffe6a811380 R13: 00007fce0424a5fc R14: 000000000002102b R15: 00007ffe6a8113c0