ntfs3: loop5: Mark volume as dirty due to NTFS errors general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 8657 Comm: syz-executor.5 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:d_flags_for_inode fs/dcache.c:1980 [inline] RIP: 0010:__d_add+0x5ce/0x800 fs/dcache.c:2796 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 ea c0 ea ff 48 8b 1b 48 83 c3 08 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 c4 c0 ea ff 48 83 3b 00 0f 85 b7 01 RSP: 0018:ffffc900077ffb70 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: dffffc0000000000 RDX: ffff888036080000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888083d71112 R08: ffffffff81ef2679 R09: fffff52000efff5c R10: fffff52000efff5d R11: 1ffff92000efff5c R12: 0000000000000008 R13: 1ffff110107ae222 R14: ffff888070770468 R15: 0000000000008000 FS: 00007fd00719c700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110f2c81bf CR3: 0000000020037000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: d_splice_alias+0x122/0x3b0 fs/dcache.c:3191 __lookup_hash+0x115/0x240 fs/namei.c:1601 do_renameat2+0x4cb/0x1370 fs/namei.c:4850 __do_sys_rename fs/namei.c:4953 [inline] __se_sys_rename fs/namei.c:4951 [inline] __x64_sys_rename+0x82/0x90 fs/namei.c:4951 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:0x7fd00608b5a9 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:00007fd00719c168 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007fd0061abf80 RCX: 00007fd00608b5a9 RDX: 0000000000000000 RSI: 0000000020001d40 RDI: 0000000020000180 RBP: 00007fd0060e6580 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe34ee8c6f R14: 00007fd00719c300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:d_flags_for_inode fs/dcache.c:1980 [inline] RIP: 0010:__d_add+0x5ce/0x800 fs/dcache.c:2796 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 ea c0 ea ff 48 8b 1b 48 83 c3 08 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <80> 3c 08 00 74 08 48 89 df e8 c4 c0 ea ff 48 83 3b 00 0f 85 b7 01 RSP: 0018:ffffc900077ffb70 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: dffffc0000000000 RDX: ffff888036080000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff888083d71112 R08: ffffffff81ef2679 R09: fffff52000efff5c R10: fffff52000efff5d R11: 1ffff92000efff5c R12: 0000000000000008 R13: 1ffff110107ae222 R14: ffff888070770468 R15: 0000000000008000 FS: 00007fd00719c700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110f2c81bf CR3: 0000000020037000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 4 bytes skipped: 0: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) 4: 74 08 je 0xe 6: 48 89 df mov %rbx,%rdi 9: e8 ea c0 ea ff callq 0xffeac0f8 e: 48 8b 1b mov (%rbx),%rbx 11: 48 83 c3 08 add $0x8,%rbx 15: 48 89 d8 mov %rbx,%rax 18: 48 c1 e8 03 shr $0x3,%rax 1c: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 23: fc ff df * 26: 80 3c 08 00 cmpb $0x0,(%rax,%rcx,1) <-- trapping instruction 2a: 74 08 je 0x34 2c: 48 89 df mov %rbx,%rdi 2f: e8 c4 c0 ea ff callq 0xffeac0f8 34: 48 83 3b 00 cmpq $0x0,(%rbx) 38: 0f .byte 0xf 39: 85 .byte 0x85 3a: b7 01 mov $0x1,%bh