loop0: detected capacity change from 0 to 4096 ntfs3: loop0: 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: 3542 Comm: syz-executor193 Not tainted 6.1.34-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/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 d8 c0 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 06 RSP: 0018:ffffc9000397f980 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88807e8e8174 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000020 RBP: ffffc9000397fab0 R08: ffffffff82c71459 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888070820000 R13: 0000000000000000 R14: ffff88807e8e8160 R15: 1ffff9200072ff38 FS: 0000555556802300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055f905eb1000 CR3: 000000001afa3000 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:0x7fa300495aba Code: 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd8d6868f8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fa300495aba RDX: 000000002001f180 RSI: 0000000020000000 RDI: 00007ffd8d686900 RBP: 00007ffd8d686900 R08: 00007ffd8d686940 R09: 000000000001f1d0 R10: 0000000000a0000b R11: 0000000000000286 R12: 0000000000000004 R13: 00005555568022c0 R14: 00007ffd8d686940 R15: 0000000000000000 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 d8 c0 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 06 RSP: 0018:ffffc9000397f980 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88807e8e8174 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000020 RBP: ffffc9000397fab0 R08: ffffffff82c71459 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff888070820000 R13: 0000000000000000 R14: ffff88807e8e8160 R15: 1ffff9200072ff38 FS: 0000555556802300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa2f8247000 CR3: 000000001afa3000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: c2 fe 45 retq $0x45fe 3: 31 ed xor %ebp,%ebp 5: 4c 8b 74 24 08 mov 0x8(%rsp),%r14 a: eb 0d jmp 0x19 c: e8 d8 c0 c2 fe callq 0xfec2c0e9 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: 06 (bad)