general protection fault, probably for non-canonical address 0xdffffc0000000005: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f]
CPU: 1 PID: 5147 Comm: syz-executor.0 Not tainted 6.2.0-rc3-syzkaller-00010-g1beb8ae302a0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:nilfs_btree_insert+0x6ae/0x1b50
Code: 9c 24 80 00 00 00 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 80 26 95 fe 48 8b 1b 48 83 c3 28 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 63 26 95 fe 48 8b 1b 48 83 c3 02
RSP: 0018:ffffc900042ef4a0 EFLAGS: 00010206
RAX: 0000000000000005 RBX: 0000000000000028 RCX: 1ffff1100e8de022
RDX: ffff888018791d40 RSI: 0000000000000002 RDI: 0000000000000001
RBP: ffffc900042ef630 R08: ffffffff834a5b70 R09: ffffed1004d98d9b
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888072c42d00
R13: dffffc0000000000 R14: 0000000000000002 R15: ffff8880746f0018
FS:  00007f5da42426c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5998e13ed8 CR3: 0000000012e27000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 nilfs_bmap_insert+0x20b/0x360
 nilfs_get_block+0x419/0x8d0
 __block_write_begin_int+0x534/0x1a40
 block_write_begin+0x9c/0x1f0
 nilfs_write_begin+0xa0/0x110
 generic_perform_write+0x2ca/0x5c0
 __generic_file_write_iter+0x17a/0x400
 generic_file_write_iter+0xaf/0x310
 vfs_write+0x7dd/0xc50
 ksys_write+0x17c/0x2a0
 do_syscall_64+0x41/0xc0
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f5da347c8d9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5da42420c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f5da359bf80 RCX: 00007f5da347c8d9
RDX: 000000000000002f RSI: 0000000020000040 RDI: 0000000000000004
RBP: 00007f5da34d8ad0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f5da359bf80 R15: 00007ffe17920108
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:nilfs_btree_insert+0x6ae/0x1b50
Code: 9c 24 80 00 00 00 48 89 d8 48 c1 e8 03 42 80 3c 28 00 74 08 48 89 df e8 80 26 95 fe 48 8b 1b 48 83 c3 28 48 89 d8 48 c1 e8 03 <42> 80 3c 28 00 74 08 48 89 df e8 63 26 95 fe 48 8b 1b 48 83 c3 02
RSP: 0018:ffffc900042ef4a0 EFLAGS: 00010206

RAX: 0000000000000005 RBX: 0000000000000028 RCX: 1ffff1100e8de022
RDX: ffff888018791d40 RSI: 0000000000000002 RDI: 0000000000000001
RBP: ffffc900042ef630 R08: ffffffff834a5b70 R09: ffffed1004d98d9b
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888072c42d00
R13: dffffc0000000000 R14: 0000000000000002 R15: ffff8880746f0018
FS:  00007f5da42426c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f5da3598000 CR3: 0000000012e27000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	9c                   	pushf
   1:	24 80                	and    $0x80,%al
   3:	00 00                	add    %al,(%rax)
   5:	00 48 89             	add    %cl,-0x77(%rax)
   8:	d8 48 c1             	fmuls  -0x3f(%rax)
   b:	e8 03 42 80 3c       	call   0x3c804213
  10:	28 00                	sub    %al,(%rax)
  12:	74 08                	je     0x1c
  14:	48 89 df             	mov    %rbx,%rdi
  17:	e8 80 26 95 fe       	call   0xfe95269c
  1c:	48 8b 1b             	mov    (%rbx),%rbx
  1f:	48 83 c3 28          	add    $0x28,%rbx
  23:	48 89 d8             	mov    %rbx,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 80 3c 28 00       	cmpb   $0x0,(%rax,%r13,1) <-- trapping instruction
  2f:	74 08                	je     0x39
  31:	48 89 df             	mov    %rbx,%rdi
  34:	e8 63 26 95 fe       	call   0xfe95269c
  39:	48 8b 1b             	mov    (%rbx),%rbx
  3c:	48 83 c3 02          	add    $0x2,%rbx
