------------[ cut here ]------------ WARNING: CPU: 0 PID: 4380 at fs/jfs/jfs_dmap.c:2941 dbAdjTree+0x41b/0x520 Modules linked in: CPU: 0 PID: 4380 Comm: syz-executor Not tainted 5.15.171-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:dbAdjTree+0x41b/0x520 fs/jfs/jfs_dmap.c:2941 Code: fe eb bd e8 e7 1d 9e fe eb 0c e8 e0 1d 9e fe eb 05 e8 d9 1d 9e fe 48 83 c4 20 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 c5 1d 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:ffffc900031c7438 EFLAGS: 00010293 RAX: ffffffff82e255eb RBX: 0000000000000155 RCX: ffff8880228b3b80 RDX: 0000000000000000 RSI: 0000000000000155 RDI: 0000000000020056 RBP: ffff88805e95f018 R08: ffffffff82e25227 R09: fffff940002f4af9 R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000 R13: 0000000000000004 R14: ffff88805e95f010 R15: 0000000000020056 FS: 00005555773a6500(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30219ff8 CR3: 000000006199a000 CR4: 00000000003506e0 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:0x7fdbb8fdea47 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:00007ffc90c0ba88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6 RAX: 0000000000000000 RBX: 00007fdbb90505fc RCX: 00007fdbb8fdea47 RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffc90c0bb40 RBP: 00007ffc90c0bb40 R08: 0000000000000000 R09: 0000000000000000 R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffc90c0cbc0 R13: 00007fdbb90505fc R14: 0000000000012bf7 R15: 00007ffc90c0cc00