Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcbe7c5b68 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fe9f150a9b9
RDX: 0000000000181341 RSI: 0000000020000000 RDI: 00000000ffffff9c
RBP: 00007ffcbe7c5b90 R08: 0000000000000002 R09: 00007ffcbe7c5ba0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007ffcbe7c5bd0 R14: 00007ffcbe7c5bb0 R15: 0000000000000004
 </TASK>
general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
CPU: 1 PID: 5078 Comm: syz-executor206 Not tainted 6.3.0-rc1-syzkaller-00274-g134231664868 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:is_rec_inuse fs/ntfs3/ntfs.h:312 [inline]
RIP: 0010:ni_write_inode+0x19e/0x1250 fs/ntfs3/frecord.c:3261
Code: c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42 80 3c 38 00 74 08 48 89 df e8 20 1e 15 ff 48 8b 1b 48 83 c3 16 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 2f 0e 00 00 48 8b 44 24 08 48 05 b0 fd
RSP: 0018:ffffc90003bcf4c0 EFLAGS: 00010203
RAX: 0000000000000002 RBX: 0000000000000016 RCX: 1ffff92000779e14
RDX: ffff88801f1e8000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003bcf5e8 R08: ffffffff82cc1c54 R09: fffffbfff205b852
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1102931800a
R13: ffff8881498c0050 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000555555b79300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe9f14e2400 CR3: 000000001c597000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ntfs_evict_inode+0x67/0xb0 fs/ntfs3/inode.c:1774
 evict+0x2a4/0x620 fs/inode.c:665
 ntfs_new_inode+0x87/0x100 fs/ntfs3/fsntfs.c:1686
 ntfs_create_inode+0x569/0x3830 fs/ntfs3/inode.c:1300
 ntfs_atomic_open+0x3db/0x530 fs/ntfs3/namei.c:424
 atomic_open fs/namei.c:3279 [inline]
 lookup_open fs/namei.c:3387 [inline]
 open_last_lookups fs/namei.c:3484 [inline]
 path_openat+0x103c/0x3170 fs/namei.c:3712
 do_filp_open+0x234/0x490 fs/namei.c:3742
 do_sys_openat2+0x13f/0x500 fs/open.c:1348
 do_sys_open fs/open.c:1364 [inline]
 __do_sys_openat fs/open.c:1380 [inline]
 __se_sys_openat fs/open.c:1375 [inline]
 __x64_sys_openat+0x247/0x290 fs/open.c:1375
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fe9f150a9b9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcbe7c5b68 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fe9f150a9b9
RDX: 0000000000181341 RSI: 0000000020000000 RDI: 00000000ffffff9c
RBP: 00007ffcbe7c5b90 R08: 0000000000000002 R09: 00007ffcbe7c5ba0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000004
R13: 00007ffcbe7c5bd0 R14: 00007ffcbe7c5bb0 R15: 0000000000000004
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:is_rec_inuse fs/ntfs3/ntfs.h:312 [inline]
RIP: 0010:ni_write_inode+0x19e/0x1250 fs/ntfs3/frecord.c:3261
Code: c1 e8 03 49 bf 00 00 00 00 00 fc ff df 42 80 3c 38 00 74 08 48 89 df e8 20 1e 15 ff 48 8b 1b 48 83 c3 16 48 89 d8 48 c1 e8 03 <42> 0f b6 04 38 84 c0 0f 85 2f 0e 00 00 48 8b 44 24 08 48 05 b0 fd
RSP: 0018:ffffc90003bcf4c0 EFLAGS: 00010203
RAX: 0000000000000002 RBX: 0000000000000016 RCX: 1ffff92000779e14
RDX: ffff88801f1e8000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffc90003bcf5e8 R08: ffffffff82cc1c54 R09: fffffbfff205b852
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff1102931800a
R13: ffff8881498c0050 R14: 0000000000000000 R15: dffffc0000000000
FS:  0000555555b79300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe9e9154001 CR3: 000000001c597000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	28 00                	sub    %al,(%rax)
   2:	00 00                	add    %al,(%rax)
   4:	75 05                	jne    0xb
   6:	48 83 c4 28          	add    $0x28,%rsp
   a:	c3                   	retq
   b:	e8 11 15 00 00       	callq  0x1521
  10:	90                   	nop
  11:	48 89 f8             	mov    %rdi,%rax
  14:	48 89 f7             	mov    %rsi,%rdi
  17:	48 89 d6             	mov    %rdx,%rsi
  1a:	48 89 ca             	mov    %rcx,%rdx
  1d:	4d 89 c2             	mov    %r8,%r10
  20:	4d 89 c8             	mov    %r9,%r8
  23:	4c 8b 4c 24 08       	mov    0x8(%rsp),%r9
  28:	0f 05                	syscall
* 2a:	48 3d 01 f0 ff ff    	cmp    $0xfffffffffffff001,%rax <-- trapping instruction
  30:	73 01                	jae    0x33
  32:	c3                   	retq
  33:	48 c7 c1 c0 ff ff ff 	mov    $0xffffffffffffffc0,%rcx
  3a:	f7 d8                	neg    %eax
  3c:	64 89 01             	mov    %eax,%fs:(%rcx)
  3f:	48                   	rex.W