loop1: detected capacity change from 0 to 32768
find_entry called with index = 0
find_entry called with index >= next_index
find_entry called with index >= next_index
find_entry called with index >= next_index
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 PID: 9390 Comm: syz-executor.1 Not tainted 6.0.0-syzkaller-09423-g493ffd6605b2 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022
RIP: 0010:dtInsertEntry+0xc83/0x1590 fs/jfs/jfs_dtree.c:3708
Code: b6 36 44 89 f6 83 e6 02 31 ff e8 b8 10 88 fe 41 83 e6 02 75 31 e8 cd 0d 88 fe 4c 8b 74 24 78 49 83 c6 08 4c 89 f0 48 c1 e8 03 <42> 8a 04 38 84 c0 74 35 44 89 f1 80 e1 07 38 c1 7c 2b 4c 89 f7 e8
RSP: 0018:ffffc900015b70a0 EFLAGS: 00010202
RAX: 0000000000000001 RBX: dffffc0000000000 RCX: 0000000000040000
RDX: ffffc90014191000 RSI: 0000000000000832 RDI: 0000000000000833
RBP: ffffc900015b7230 R08: ffffffff82fe7378 R09: ffffed10056676fc
R10: ffffed10056676fc R11: 1ffff110056676fb R12: 0000000000000001
R13: ffff88802b33ba70 R14: 0000000000000008 R15: dffffc0000000000
FS:  00007f915735a700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f13394e9b8 CR3: 00000000378bb000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 dtInsert+0xa44/0x6b80 fs/jfs/jfs_dtree.c:886
 jfs_create+0x736/0xb10 fs/jfs/namei.c:137
 lookup_open fs/namei.c:3413 [inline]
 open_last_lookups fs/namei.c:3481 [inline]
 path_openat+0x12d0/0x2df0 fs/namei.c:3688
 do_filp_open+0x264/0x4f0 fs/namei.c:3718
 do_sys_openat2+0x124/0x4e0 fs/open.c:1310
 do_sys_open fs/open.c:1326 [inline]
 __do_sys_openat fs/open.c:1342 [inline]
 __se_sys_openat fs/open.c:1337 [inline]
 __x64_sys_openat+0x243/0x290 fs/open.c:1337
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f915628b5a9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f915735a168 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f91563abf80 RCX: 00007f915628b5a9
RDX: 000000000000275a RSI: 0000000020000040 RDI: ffffffffffffff9c
RBP: 00007f91562e6580 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd03a5fc2f R14: 00007f915735a300 R15: 0000000000022000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dtInsertEntry+0xc83/0x1590 fs/jfs/jfs_dtree.c:3708
Code: b6 36 44 89 f6 83 e6 02 31 ff e8 b8 10 88 fe 41 83 e6 02 75 31 e8 cd 0d 88 fe 4c 8b 74 24 78 49 83 c6 08 4c 89 f0 48 c1 e8 03 <42> 8a 04 38 84 c0 74 35 44 89 f1 80 e1 07 38 c1 7c 2b 4c 89 f7 e8
RSP: 0018:ffffc900015b70a0 EFLAGS: 00010202
RAX: 0000000000000001 RBX: dffffc0000000000 RCX: 0000000000040000
RDX: ffffc90014191000 RSI: 0000000000000832 RDI: 0000000000000833
RBP: ffffc900015b7230 R08: ffffffff82fe7378 R09: ffffed10056676fc
R10: ffffed10056676fc R11: 1ffff110056676fb R12: 0000000000000001
R13: ffff88802b33ba70 R14: 0000000000000008 R15: dffffc0000000000
FS:  00007f915735a700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9157318718 CR3: 00000000378bb000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	b6 36                	mov    $0x36,%dh
   2:	44 89 f6             	mov    %r14d,%esi
   5:	83 e6 02             	and    $0x2,%esi
   8:	31 ff                	xor    %edi,%edi
   a:	e8 b8 10 88 fe       	callq  0xfe8810c7
   f:	41 83 e6 02          	and    $0x2,%r14d
  13:	75 31                	jne    0x46
  15:	e8 cd 0d 88 fe       	callq  0xfe880de7
  1a:	4c 8b 74 24 78       	mov    0x78(%rsp),%r14
  1f:	49 83 c6 08          	add    $0x8,%r14
  23:	4c 89 f0             	mov    %r14,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 8a 04 38          	mov    (%rax,%r15,1),%al <-- trapping instruction
  2e:	84 c0                	test   %al,%al
  30:	74 35                	je     0x67
  32:	44 89 f1             	mov    %r14d,%ecx
  35:	80 e1 07             	and    $0x7,%cl
  38:	38 c1                	cmp    %al,%cl
  3a:	7c 2b                	jl     0x67
  3c:	4c 89 f7             	mov    %r14,%rdi
  3f:	e8                   	.byte 0xe8