loop1: detected capacity change from 0 to 4096 ntfs3: loop1: 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: 0 PID: 20995 Comm: syz-executor.1 Not tainted 6.3.0-rc2-syzkaller-00462-g5cdfdd6da323 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 RIP: 0010:ntfs_security_init+0x571/0xad0 fs/ntfs3/fsntfs.c:1898 Code: d1 fe 41 83 fe 1f 0f 86 f7 03 00 00 e8 88 2e d1 fe 4c 01 e5 e8 80 2e d1 fe 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 14 02 48 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 c9 RSP: 0018:ffffc90005897a78 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: ffff8880807e2000 RCX: ffffc90004332000 RDX: 0000000000000000 RSI: ffffffff82b1b680 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000000 R12: ffff88801e102240 R13: ffff888081bf5370 R14: 0000000000000000 R15: 00000000000000c8 FS: 00007f7d6f7fe700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcd3375d38 CR3: 0000000029f2e000 CR4: 0000000000350ef0 Call Trace: ntfs_fill_super+0x33d3/0x3ab0 fs/ntfs3/super.c:1287 get_tree_bdev+0x444/0x760 fs/super.c:1294 vfs_get_tree+0x8d/0x350 fs/super.c:1501 do_new_mount fs/namespace.c:3042 [inline] path_mount+0x1342/0x1e40 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3571 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f7d70c8d62a 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:00007f7d6f7fdf88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001f1bd RCX: 00007f7d70c8d62a RDX: 000000002001f180 RSI: 0000000020000040 RDI: 00007f7d6f7fdfe0 RBP: 00007f7d6f7fe020 R08: 00007f7d6f7fe020 R09: 0000000001000012 R10: 0000000001000012 R11: 0000000000000202 R12: 000000002001f180 R13: 0000000020000040 R14: 00007f7d6f7fdfe0 R15: 0000000020000940 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ntfs_security_init+0x571/0xad0 fs/ntfs3/fsntfs.c:1898 Code: d1 fe 41 83 fe 1f 0f 86 f7 03 00 00 e8 88 2e d1 fe 4c 01 e5 e8 80 2e d1 fe 48 89 ea 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <0f> b6 14 02 48 89 e8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 c9 RSP: 0018:ffffc90005897a78 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: ffff8880807e2000 RCX: ffffc90004332000 RDX: 0000000000000000 RSI: ffffffff82b1b680 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000000 R12: ffff88801e102240 R13: ffff888081bf5370 R14: 0000000000000000 R15: 00000000000000c8 FS: 00007f7d6f7fe700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff28cb96000 CR3: 0000000029f2e000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: d1 fe sar %esi 2: 41 83 fe 1f cmp $0x1f,%r14d 6: 0f 86 f7 03 00 00 jbe 0x403 c: e8 88 2e d1 fe callq 0xfed12e99 11: 4c 01 e5 add %r12,%rbp 14: e8 80 2e d1 fe callq 0xfed12e99 19: 48 89 ea mov %rbp,%rdx 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 0f b6 14 02 movzbl (%rdx,%rax,1),%edx <-- trapping instruction 2e: 48 89 e8 mov %rbp,%rax 31: 83 e0 07 and $0x7,%eax 34: 83 c0 03 add $0x3,%eax 37: 38 d0 cmp %dl,%al 39: 7c 08 jl 0x43 3b: 84 d2 test %dl,%dl 3d: 0f .byte 0xf 3e: 85 c9 test %ecx,%ecx