ntfs3: loop2: Different NTFS' sector size (4096) 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: 1 PID: 16594 Comm: syz-executor.2 Not tainted 6.1.44-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:ntfs_security_init+0x2b1/0xc20 fs/ntfs3/fsntfs.c:1853 Code: c2 fe 45 31 ed 4c 8b 74 24 08 eb 0d e8 38 77 c2 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 66 RSP: 0018:ffffc900058f7980 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88807855a174 RCX: dffffc0000000000 RDX: ffffc90005b29000 RSI: 0000000000012be6 RDI: 0000000000012be7 RBP: ffffc900058f7ab0 R08: ffffffff82c786a9 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888089cd9d80 R13: 0000000000000000 R14: ffff88807855a160 R15: 1ffff92000b1ef38 FS: 00007f3022c126c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f01bdb3f440 CR3: 00000000271c7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ntfs_fill_super+0x402e/0x4500 fs/ntfs3/super.c:1238 get_tree_bdev+0x3fe/0x620 fs/super.c:1346 vfs_get_tree+0x88/0x270 fs/super.c:1553 do_new_mount+0x28b/0xae0 fs/namespace.c:3040 do_mount fs/namespace.c:3383 [inline] __do_sys_mount fs/namespace.c:3591 [inline] __se_sys_mount+0x2d5/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:0x7f3021e7e1ea 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:00007f3022c11ee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f3022c11f80 RCX: 00007f3021e7e1ea RDX: 0000000020000080 RSI: 0000000020000000 RDI: 00007f3022c11f40 RBP: 0000000020000080 R08: 00007f3022c11f80 R09: 0000000000000900 R10: 0000000000000900 R11: 0000000000000202 R12: 0000000020000000 R13: 00007f3022c11f40 R14: 000000000001f236 R15: 0000000020000100 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ntfs_security_init+0x2b1/0xc20 fs/ntfs3/fsntfs.c:1853 Code: c2 fe 45 31 ed 4c 8b 74 24 08 eb 0d e8 38 77 c2 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 66 RSP: 0018:ffffc900058f7980 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88807855a174 RCX: dffffc0000000000 RDX: ffffc90005b29000 RSI: 0000000000012be6 RDI: 0000000000012be7 RBP: ffffc900058f7ab0 R08: ffffffff82c786a9 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888089cd9d80 R13: 0000000000000000 R14: ffff88807855a160 R15: 1ffff92000b1ef38 FS: 00007f3022c126c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b3152e000 CR3: 00000000271c7000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c2 fe 45 ret $0x45fe 3: 31 ed xor %ebp,%ebp 5: 4c 8b 74 24 08 mov 0x8(%rsp),%r14 a: eb 0d jmp 0x19 c: e8 38 77 c2 fe call 0xfec27749 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: 66 data16