------------[ cut here ]------------ lp >= size || lp < 0 WARNING: fs/jfs/jfs_dmap.c:2962 at dbAdjTree fs/jfs/jfs_dmap.c:2962 [inline], CPU#0: jfsCommit/108 WARNING: fs/jfs/jfs_dmap.c:2962 at dbJoin+0xc33/0xd60 fs/jfs/jfs_dmap.c:2930, CPU#0: jfsCommit/108 Modules linked in: CPU: 0 UID: 0 PID: 108 Comm: jfsCommit Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:dbAdjTree fs/jfs/jfs_dmap.c:2962 [inline] RIP: 0010:dbJoin+0xc33/0xd60 fs/jfs/jfs_dmap.c:2930 Code: eb 0c e8 60 96 5e fe eb 05 e8 59 96 5e fe 31 c0 48 83 c4 68 5b 41 5c 41 5d 41 5e 41 5f 5d e9 94 79 6d 08 cc e8 3e 96 5e fe 90 <0f> 0b 90 eb df 44 89 e9 80 e1 07 38 c1 0f 8c 00 f4 ff ff 4c 89 ef RSP: 0018:ffffc9000142fa28 EFLAGS: 00010293 RAX: ffffffff83687e12 RBX: 0000000000000155 RCX: ffff888030f74a80 RDX: 0000000000000000 RSI: 0000000000000155 RDI: 000000000a0a0501 RBP: 0000000000000005 R08: ffffea00010d9ac7 R09: 1ffffd400021b358 R10: dffffc0000000000 R11: fffff9400021b359 R12: dffffc0000000000 R13: ffff88804366b020 R14: 000000000a0a0501 R15: 0000000000000005 FS: 0000000000000000(0000) GS:ffff88808c543000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f332faa5000 CR3: 00000000128e4000 CR4: 0000000000352ef0 Call Trace: dbFreeBits+0x4a2/0xd70 fs/jfs/jfs_dmap.c:2427 dbFreeDmap fs/jfs/jfs_dmap.c:2176 [inline] dbFree+0x324/0x650 fs/jfs/jfs_dmap.c:485 txFreeMap+0x7ff/0xde0 fs/jfs/jfs_txnmgr.c:2536 txUpdateMap+0x32d/0x9f0 fs/jfs/jfs_txnmgr.c:-1 txLazyCommit fs/jfs/jfs_txnmgr.c:2666 [inline] jfs_lazycommit+0x44c/0xac0 fs/jfs/jfs_txnmgr.c:2735 kthread+0x388/0x470 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245