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: 1 PID: 16960 Comm: syz-executor.1 Not tainted 5.15.145-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023 RIP: 0010:ntfs_security_init+0x562/0xc20 fs/ntfs3/fsntfs.c:1895 Code: da fe 83 fb 1f 77 0a e8 1c a7 da fe 45 31 e4 eb 08 e8 12 a7 da fe 4d 01 ec 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 bd 05 00 00 41 8b 1c 24 31 ff 89 de e8 45 RSP: 0018:ffffc90005207980 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc9000f358000 RSI: 0000000000013731 RDI: 0000000000013732 RBP: ffffc90005207ab0 R08: ffffffff82a5804a R09: 0000000000000000 R10: 0000000000000003 R11: ffff888061a15940 R12: 0000000000000000 R13: ffff88803c246240 R14: 00000000000000c8 R15: 1ffff92000a40f38 FS: 00007f9532e326c0(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f70e54ec000 CR3: 000000003490f000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ntfs_fill_super+0x3f96/0x4460 fs/ntfs3/super.c:1233 get_tree_bdev+0x3fe/0x620 fs/super.c:1312 vfs_get_tree+0x88/0x270 fs/super.c:1517 do_new_mount+0x28b/0xae0 fs/namespace.c:2994 do_mount fs/namespace.c:3337 [inline] __do_sys_mount fs/namespace.c:3545 [inline] __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3522 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+0x61/0xcb RIP: 0033:0x7f95348b23ea 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:00007f9532e31ee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007f9532e31f80 RCX: 00007f95348b23ea RDX: 000000002001f180 RSI: 000000002001f1c0 RDI: 00007f9532e31f40 RBP: 000000002001f180 R08: 00007f9532e31f80 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000002001f1c0 R13: 00007f9532e31f40 R14: 000000000001f183 R15: 0000000020000640 Modules linked in: ---[ end trace 01cf5716a8f346fc ]--- RIP: 0010:ntfs_security_init+0x562/0xc20 fs/ntfs3/fsntfs.c:1895 Code: da fe 83 fb 1f 77 0a e8 1c a7 da fe 45 31 e4 eb 08 e8 12 a7 da fe 4d 01 ec 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 bd 05 00 00 41 8b 1c 24 31 ff 89 de e8 45 RSP: 0018:ffffc90005207980 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc9000f358000 RSI: 0000000000013731 RDI: 0000000000013732 RBP: ffffc90005207ab0 R08: ffffffff82a5804a R09: 0000000000000000 R10: 0000000000000003 R11: ffff888061a15940 R12: 0000000000000000 R13: ffff88803c246240 R14: 00000000000000c8 R15: 1ffff92000a40f38 FS: 00007f9532e326c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f70e5b8e000 CR3: 000000003490f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: fe 83 fb 1f 77 0a incb 0xa771ffb(%rbx) 6: e8 1c a7 da fe call 0xfedaa727 b: 45 31 e4 xor %r12d,%r12d e: eb 08 jmp 0x18 10: e8 12 a7 da fe call 0xfedaa727 15: 4d 01 ec add %r13,%r12 18: 4c 89 e0 mov %r12,%rax 1b: 48 c1 e8 03 shr $0x3,%rax 1f: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 26: fc ff df * 29: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2d: 84 c0 test %al,%al 2f: 0f 85 bd 05 00 00 jne 0x5f2 35: 41 8b 1c 24 mov (%r12),%ebx 39: 31 ff xor %edi,%edi 3b: 89 de mov %ebx,%esi 3d: e8 .byte 0xe8 3e: 45 rex.RB