ntfs3: loop3: Different NTFS' sector size (2048) 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: 0 PID: 13259 Comm: syz.3.3870 Not tainted 5.15.179-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:ntfs_iget5+0x16f/0x38e0 fs/ntfs3/inode.c:526 Code: 80 3c 18 00 74 08 4c 89 e7 e8 4d 4d 14 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 69 2b 00 00 44 0f b7 33 41 0f b7 df 89 df RSP: 0018:ffffc9000327f840 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000010 RCX: dffffc0000000000 RDX: ffffc9000c8e1000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000327fab0 R08: ffffffff82b64175 R09: ffffed100c3fe1f6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888061ff0ca0 R13: 1ffff9200064ff3c R14: 1ffff9200064ff3c R15: 0000000000000002 FS: 00007f62987eb6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffc8ad89ff8 CR3: 000000002b6bf000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ntfs_fill_super+0x237d/0x4340 fs/ntfs3/super.c:1004 get_tree_bdev+0x3fe/0x620 fs/super.c:1325 vfs_get_tree+0x88/0x270 fs/super.c:1530 do_new_mount+0x2ba/0xb40 fs/namespace.c:3012 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3540 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f629a98390a Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f62987eae68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f62987eaef0 RCX: 00007f629a98390a RDX: 000020000001f340 RSI: 000020000001f380 RDI: 00007f62987eaeb0 RBP: 000020000001f340 R08: 00007f62987eaef0 R09: 0000000000000003 R10: 0000000000000003 R11: 0000000000000246 R12: 000020000001f380 R13: 00007f62987eaeb0 R14: 000000000001f340 R15: 000020000001f3c0 Modules linked in: ---[ end trace 8c61464880cd3eba ]--- RIP: 0010:ntfs_iget5+0x16f/0x38e0 fs/ntfs3/inode.c:526 Code: 80 3c 18 00 74 08 4c 89 e7 e8 4d 4d 14 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 69 2b 00 00 44 0f b7 33 41 0f b7 df 89 df RSP: 0018:ffffc9000327f840 EFLAGS: 00010202 RAX: 0000000000000002 RBX: 0000000000000010 RCX: dffffc0000000000 RDX: ffffc9000c8e1000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000327fab0 R08: ffffffff82b64175 R09: ffffed100c3fe1f6 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888061ff0ca0 R13: 1ffff9200064ff3c R14: 1ffff9200064ff3c R15: 0000000000000002 FS: 00007f62987eb6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f437463a178 CR3: 000000002b6bf000 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 4d 4d 14 ff call 0xff144d5b 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 69 2b 00 00 jne 0x2b9f 36: 44 0f b7 33 movzwl (%rbx),%r14d 3a: 41 0f b7 df movzwl %r15w,%ebx 3e: 89 df mov %ebx,%edi