------------[ cut here ]------------ lp >= size || lp < 0 WARNING: fs/jfs/jfs_dmap.c:2962 at dbAdjTree+0x454/0x4e0 fs/jfs/jfs_dmap.c:2962, CPU#0: syz.3.1069/14407 Modules linked in: CPU: 0 UID: 0 PID: 14407 Comm: syz.3.1069 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/09/2026 RIP: 0010:dbAdjTree+0x454/0x4e0 fs/jfs/jfs_dmap.c:2962 Code: 5a ff ff ff e8 bd ec 6e fe eb 05 e8 b6 ec 6e fe 48 83 c4 28 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc cc e8 9d ec 6e fe 90 <0f> 0b 90 eb e1 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c e1 fb ff ff RSP: 0018:ffffc9000466f548 EFLAGS: 00010293 RAX: ffffffff83557ff3 RBX: ffff888035453010 RCX: ffff8880368b0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000020056 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: fffff940001aa299 R12: ffff888035453018 R13: dffffc0000000000 R14: 0000000000000004 R15: 0000000000000155 FS: 00005555762b0500(0000) GS:ffff888126187000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa9e6892000 CR3: 000000006745c000 CR4: 00000000003526f0 Call Trace: dbJoin+0x238/0x300 fs/jfs/jfs_dmap.c:2930 dbFreeBits+0x4e1/0xdb0 fs/jfs/jfs_dmap.c:2427 dbFreeDmap fs/jfs/jfs_dmap.c:2176 [inline] dbFree+0x336/0x650 fs/jfs/jfs_dmap.c:485 txFreeMap+0x9e6/0xde0 fs/jfs/jfs_txnmgr.c:2517 xtTruncate+0xd38/0x2f20 fs/jfs/jfs_xtree.c:2481 jfs_free_zero_link+0x35b/0x4c0 fs/jfs/namei.c:760 jfs_evict_inode+0x363/0x440 fs/jfs/inode.c:159 evict+0x61e/0xb10 fs/inode.c:841 __dentry_kill+0x1a2/0x690 fs/dcache.c:718 finish_dput+0xc9/0x480 fs/dcache.c:927 __fput+0x6a3/0xa70 fs/file_table.c:518 task_work_run+0x1d9/0x270 kernel/task_work.c:233 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] __exit_to_user_mode_loop kernel/entry/common.c:67 [inline] exit_to_user_mode_loop+0x193/0x680 kernel/entry/common.c:98 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:318 [inline] do_syscall_64+0x353/0x580 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f702359ce59 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffea97e9198 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007ffea97e9280 RCX: 00007f702359ce59 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00000000000dd3af R08: 0000000000000001 R09: 0000000000000000 R10: 0000001b30720000 R11: 0000000000000246 R12: 00007ffea97e92c0 R13: 00007f7023815fac R14: 00000000000dead4 R15: 00007f7023815fa0