ntfs3: loop0: Different NTFS sector size (4096) and media sector size (512). 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: 13996 Comm: syz-executor.0 Not tainted 6.6.0-rc2-syzkaller-00337-gd90b0276af8f #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:ntfs_iget5+0x173/0x38e0 fs/ntfs3/inode.c:533 Code: 80 3c 18 00 74 08 4c 89 e7 e8 b9 fb 11 ff 4d 89 f5 49 8b 1c 24 48 83 c3 10 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 4a 2d 00 00 44 0f b7 33 41 0f b7 df 89 df RSP: 0018:ffffc90015777740 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000010 RCX: dffffc0000000000 RDX: ffffc900052c1000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90015777990 R08: ffffffff82d67e09 R09: 1ffff110079222c9 R10: dffffc0000000000 R11: ffffed10079222ca R12: ffff88803c911340 R13: 1ffff92002aeef18 R14: 1ffff92002aeef18 R15: 0000000000000002 FS: 00007f5f470b36c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555555bcb938 CR3: 0000000078424000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ntfs_fill_super+0x2c18/0x4c30 fs/ntfs3/super.c:1213 get_tree_bdev+0x416/0x5b0 fs/super.c:1577 vfs_get_tree+0x8c/0x280 fs/super.c:1750 do_new_mount+0x28f/0xae0 fs/namespace.c:3335 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3861 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:0x7f5f4627e1ea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f5f470b2ee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f5f470b2f80 RCX: 00007f5f4627e1ea RDX: 000000002001f180 RSI: 000000002001f1c0 RDI: 00007f5f470b2f40 RBP: 000000002001f180 R08: 00007f5f470b2f80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000002001f1c0 R13: 00007f5f470b2f40 R14: 000000000001f1b2 R15: 00000000200003c0 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ntfs_iget5+0x173/0x38e0 fs/ntfs3/inode.c:533 Code: 80 3c 18 00 74 08 4c 89 e7 e8 b9 fb 11 ff 4d 89 f5 49 8b 1c 24 48 83 c3 10 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 4a 2d 00 00 44 0f b7 33 41 0f b7 df 89 df RSP: 0018:ffffc90015777740 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000010 RCX: dffffc0000000000 RDX: ffffc900052c1000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90015777990 R08: ffffffff82d67e09 R09: 1ffff110079222c9 R10: dffffc0000000000 R11: ffffed10079222ca R12: ffff88803c911340 R13: 1ffff92002aeef18 R14: 1ffff92002aeef18 R15: 0000000000000002 FS: 00007f5f470b36c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f10efca0d58 CR3: 0000000078424000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) 4: 74 08 je 0xe 6: 4c 89 e7 mov %r12,%rdi 9: e8 b9 fb 11 ff call 0xff11fbc7 e: 4d 89 f5 mov %r14,%r13 11: 49 8b 1c 24 mov (%r12),%rbx 15: 48 83 c3 10 add $0x10,%rbx 19: 48 89 d8 mov %rbx,%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: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 4a 2d 00 00 jne 0x2d80 36: 44 0f b7 33 movzwl (%rbx),%r14d 3a: 41 0f b7 df movzwl %r15w,%ebx 3e: 89 df mov %ebx,%edi