ntfs3: loop1: Different NTFS' sector size (2048) and media sector size (512) general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 8129 Comm: syz-executor.1 Not tainted 6.2.0-rc7-syzkaller-00135-g38c1e0c65865 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023 RIP: 0010:ntfs_security_init+0x2b5/0xc20 fs/ntfs3/fsntfs.c:1879 Code: c0 fe 45 31 ed 4c 8b 74 24 08 eb 0d e8 f4 e7 c0 fe 4c 8b 74 24 08 4d 01 f5 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 89 07 00 00 41 8b 5d 00 31 ff 89 de e8 72 RSP: 0018:ffffc900164b7940 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88807aada16c RCX: dffffc0000000000 RDX: ffffc9000aa12000 RSI: 0000000000015a57 RDI: 0000000000015a58 RBP: ffffc900164b7a70 R08: ffffffff82caea3d R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888040b63b00 R13: 0000000000000000 R14: ffff88807aada158 R15: 1ffff92002c96f30 FS: 00007f50e1748700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556c55848 CR3: 0000000020b47000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ntfs_fill_super+0x433f/0x47f0 fs/ntfs3/super.c:1287 get_tree_bdev+0x402/0x620 fs/super.c:1282 vfs_get_tree+0x8c/0x270 fs/super.c:1489 do_new_mount+0x28f/0xae0 fs/namespace.c:3145 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x2d9/0x3c0 fs/namespace.c:3674 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:0x7f50e0a8d62a 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:00007f50e1747f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001f3ab RCX: 00007f50e0a8d62a RDX: 0000000020000180 RSI: 0000000020000040 RDI: 00007f50e1747fe0 RBP: 00007f50e1748020 R08: 00007f50e1748020 R09: 0000000000000090 R10: 0000000000000090 R11: 0000000000000202 R12: 0000000020000180 R13: 0000000020000040 R14: 00007f50e1747fe0 R15: 0000000020000080 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ntfs_security_init+0x2b5/0xc20 fs/ntfs3/fsntfs.c:1879 Code: c0 fe 45 31 ed 4c 8b 74 24 08 eb 0d e8 f4 e7 c0 fe 4c 8b 74 24 08 4d 01 f5 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 89 07 00 00 41 8b 5d 00 31 ff 89 de e8 72 RSP: 0018:ffffc900164b7940 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88807aada16c RCX: dffffc0000000000 RDX: ffffc9000aa12000 RSI: 0000000000015a57 RDI: 0000000000015a58 RBP: ffffc900164b7a70 R08: ffffffff82caea3d R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888040b63b00 R13: 0000000000000000 R14: ffff88807aada158 R15: 1ffff92002c96f30 FS: 00007f50e1748700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f38b6a96000 CR3: 0000000020b47000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c0 fe 45 sar $0x45,%dh 3: 31 ed xor %ebp,%ebp 5: 4c 8b 74 24 08 mov 0x8(%rsp),%r14 a: eb 0d jmp 0x19 c: e8 f4 e7 c0 fe callq 0xfec0e805 11: 4c 8b 74 24 08 mov 0x8(%rsp),%r14 16: 4d 01 f5 add %r14,%r13 19: 4c 89 e8 mov %r13,%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 89 07 00 00 jne 0x7bf 36: 41 8b 5d 00 mov 0x0(%r13),%ebx 3a: 31 ff xor %edi,%edi 3c: 89 de mov %ebx,%esi 3e: e8 .byte 0xe8 3f: 72 .byte 0x72