loop5: detected capacity change from 0 to 8226 ntfs3: loop5: Mark volume as dirty due to NTFS errors ntfs3: loop5: Failed to load $Extend. 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: 27278 Comm: syz-executor.5 Not tainted 6.1.0-rc2-syzkaller-00105-gb229b6ca5abb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/11/2022 RIP: 0010:d_flags_for_inode fs/dcache.c:1980 [inline] RIP: 0010:__d_instantiate+0x4fe/0x720 fs/dcache.c:1998 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 ca 95 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 a4 95 ea ff 48 83 3b 00 0f 85 aa 01 RSP: 0018:ffffc90003a8fa68 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: dffffc0000000000 RDX: ffff888022df9d40 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000008000 R08: ffffffff81f12ea2 R09: fffff52000751f48 R10: fffff52000751f49 R11: 1ffff92000751f48 R12: 1ffff1101279d136 R13: ffff8880772622f0 R14: 0000000000000008 R15: ffff888093ce89b2 FS: 00007f622ff13700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f622ff14000 CR3: 000000002033d000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: d_instantiate fs/dcache.c:2036 [inline] d_make_root+0x9b/0xd0 fs/dcache.c:2071 ntfs_fill_super+0x3ed6/0x42a0 fs/ntfs3/super.c:1269 get_tree_bdev+0x400/0x620 fs/super.c:1323 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x289/0xad0 fs/namespace.c:3040 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2d3/0x3c0 fs/namespace.c:3568 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:0x7f622f28cada Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007f622ff12f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000bc0 RCX: 00007f622f28cada RDX: 0000000020000000 RSI: 0000000020000440 RDI: 00007f622ff12fe0 RBP: 00007f622ff13020 R08: 00007f622ff13020 R09: 0000000020000000 R10: 0000000000000002 R11: 0000000000000202 R12: 0000000020000000 R13: 0000000020000440 R14: 00007f622ff12fe0 R15: 0000000020003580 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:d_flags_for_inode fs/dcache.c:1980 [inline] RIP: 0010:__d_instantiate+0x4fe/0x720 fs/dcache.c:1998 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 ca 95 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 a4 95 ea ff 48 83 3b 00 0f 85 aa 01 RSP: 0018:ffffc90003a8fa68 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: dffffc0000000000 RDX: ffff888022df9d40 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000008000 R08: ffffffff81f12ea2 R09: fffff52000751f48 R10: fffff52000751f49 R11: 1ffff92000751f48 R12: 1ffff1101279d136 R13: ffff8880772622f0 R14: 0000000000000008 R15: ffff888093ce89b2 FS: 00007f622ff13700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f622ff14000 CR3: 000000002033d000 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 ca 95 ea ff callq 0xffea95d8 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 a4 95 ea ff callq 0xffea95d8 34: 48 83 3b 00 cmpq $0x0,(%rbx) 38: 0f .byte 0xf 39: 85 .byte 0x85 3a: aa stos %al,%es:(%rdi) 3b: 01 .byte 0x1