general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
CPU: 0 PID: 3686 Comm: segctord Not tainted 6.1.0-rc4-syzkaller-00049-g04ada095dcfc #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:nilfs_palloc_commit_free_entry+0xea/0x610
Code: 3c 01 00 74 08 48 89 ef e8 23 f5 8f fe 48 89 2c 24 48 8b 6d 00 48 83 c5 10 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 ef e8 f8 f4 8f fe 48 8b 45 00 48 89 44 24
RSP: 0018:ffffc9000432f2d0 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 1ffff1100dcdc044 RCX: dffffc0000000000
RDX: 0000000000001801 RSI: 000000000000000a RDI: 000000000000003d
RBP: 0000000000000010 R08: ffffffff83478f1a R09: ffffed100cf99b4c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88806e6e0158
R13: 0000000000002000 R14: ffff88806e6e0222 R15: ffff88807df94418
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcd9878828 CR3: 000000006b730000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 nilfs_dat_commit_update+0x25/0x40
 nilfs_btree_commit_update_v+0x9b/0x3f0
 nilfs_btree_propagate+0xa48/0xde0
 nilfs_bmap_propagate+0x6d/0x120
 nilfs_collect_file_data+0x49/0xc0
 nilfs_segctor_apply_buffers+0x180/0x330
 nilfs_segctor_scan_file+0x812/0xac0
 nilfs_segctor_do_construct+0x1d05/0x6d00
 nilfs_segctor_construct+0x145/0x8c0
 nilfs_segctor_thread+0x522/0x1140
 kthread+0x268/0x300
 ret_from_fork+0x1f/0x30
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:nilfs_palloc_commit_free_entry+0xea/0x610
Code: 3c 01 00 74 08 48 89 ef e8 23 f5 8f fe 48 89 2c 24 48 8b 6d 00 48 83 c5 10 48 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 ef e8 f8 f4 8f fe 48 8b 45 00 48 89 44 24
RSP: 0018:ffffc9000432f2d0 EFLAGS: 00010202
RAX: 0000000000000002 RBX: 1ffff1100dcdc044 RCX: dffffc0000000000
RDX: 0000000000001801 RSI: 000000000000000a RDI: 000000000000003d
RBP: 0000000000000010 R08: ffffffff83478f1a R09: ffffed100cf99b4c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88806e6e0158
R13: 0000000000002000 R14: ffff88806e6e0222 R15: ffff88807df94418
FS:  0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffcd9878828 CR3: 0000000070c98000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	3c 01                	cmp    $0x1,%al
   2:	00 74 08 48          	add    %dh,0x48(%rax,%rcx,1)
   6:	89 ef                	mov    %ebp,%edi
   8:	e8 23 f5 8f fe       	call   0xfe8ff530
   d:	48 89 2c 24          	mov    %rbp,(%rsp)
  11:	48 8b 6d 00          	mov    0x0(%rbp),%rbp
  15:	48 83 c5 10          	add    $0x10,%rbp
  19:	48 89 e8             	mov    %rbp,%rax
  1c:	48 c1 e8 03          	shr    $0x3,%rax
  20:	48 b9 00 00 00 00 00 	movabs $0xdffffc0000000000,%rcx
  27:	fc ff df
* 2a:	80 3c 08 00          	cmpb   $0x0,(%rax,%rcx,1) <-- trapping instruction
  2e:	74 08                	je     0x38
  30:	48 89 ef             	mov    %rbp,%rdi
  33:	e8 f8 f4 8f fe       	call   0xfe8ff530
  38:	48 8b 45 00          	mov    0x0(%rbp),%rax
  3c:	48                   	rex.W
  3d:	89                   	.byte 0x89
  3e:	44                   	rex.R
  3f:	24                   	.byte 0x24
