RBP: 00007f23017221d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffca5e7a81f R14: 00007f2301722300 R15: 0000000000022000 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: 17140 Comm: syz-executor.5 Not tainted 6.3.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/30/2023 RIP: 0010:is_rec_inuse fs/ntfs3/ntfs.h:312 [inline] RIP: 0010:ni_write_inode+0x21d/0x3110 fs/ntfs3/frecord.c:3261 Code: 48 c1 ea 03 80 3c 02 00 0f 85 3d 24 00 00 49 8b 9f d0 fd ff ff 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 16 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 4e RSP: 0018:ffffc9000343f8f0 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc900038b1000 RDX: 0000000000000002 RSI: ffffffff82b13dda RDI: 0000000000000016 RBP: ffff88807495a050 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888070e513e8 R13: ffff88807495a000 R14: ffffffff8a823c80 R15: ffff888070e51310 FS: 00007f2301722700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f95c0b831b8 CR3: 000000001cb7f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ntfs_evict_inode+0x8c/0xa0 fs/ntfs3/inode.c:1774 evict+0x2ed/0x6b0 fs/inode.c:665 iput_final fs/inode.c:1748 [inline] iput.part.0+0x50a/0x740 fs/inode.c:1774 iput+0x5c/0x80 fs/inode.c:1764 ntfs_new_inode+0xaa/0x130 fs/ntfs3/fsntfs.c:1686 ntfs_create_inode+0x40b/0x4140 fs/ntfs3/inode.c:1300 ntfs_mkdir+0x3d/0x90 fs/ntfs3/namei.c:206 vfs_mkdir+0x242/0x460 fs/namei.c:4038 do_mkdirat+0x28d/0x310 fs/namei.c:4061 __do_sys_mkdir fs/namei.c:4081 [inline] __se_sys_mkdir fs/namei.c:4079 [inline] __x64_sys_mkdir+0xf6/0x140 fs/namei.c:4079 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f2300a8c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f2301722168 EFLAGS: 00000246 ORIG_RAX: 0000000000000053 RAX: ffffffffffffffda RBX: 00007f2300babf80 RCX: 00007f2300a8c169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200001c0 RBP: 00007f23017221d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000002 R13: 00007ffca5e7a81f R14: 00007f2301722300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:is_rec_inuse fs/ntfs3/ntfs.h:312 [inline] RIP: 0010:ni_write_inode+0x21d/0x3110 fs/ntfs3/frecord.c:3261 Code: 48 c1 ea 03 80 3c 02 00 0f 85 3d 24 00 00 49 8b 9f d0 fd ff ff 48 b8 00 00 00 00 00 fc ff df 48 8d 7b 16 48 89 fa 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 01 38 d0 7c 08 84 d2 0f 85 4e RSP: 0018:ffffc9000343f8f0 EFLAGS: 00010203 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc900038b1000 RDX: 0000000000000002 RSI: ffffffff82b13dda RDI: 0000000000000016 RBP: ffff88807495a050 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888070e513e8 R13: ffff88807495a000 R14: ffffffff8a823c80 R15: ffff888070e51310 FS: 00007f2301722700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fce73586058 CR3: 000000001cb7f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 c1 ea 03 shr $0x3,%rdx 4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) 8: 0f 85 3d 24 00 00 jne 0x244b e: 49 8b 9f d0 fd ff ff mov -0x230(%r15),%rbx 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 8d 7b 16 lea 0x16(%rbx),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction 2e: 48 89 f8 mov %rdi,%rax 31: 83 e0 07 and $0x7,%eax 34: 83 c0 01 add $0x1,%eax 37: 38 d0 cmp %dl,%al 39: 7c 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 .byte 0x85 3f: 4e rex.WRX