loop3: detected capacity change from 0 to 4096 ntfs3: loop3: Different NTFS' sector size (2048) 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: 4343 Comm: syz-executor.3 Not tainted 5.15.112-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/28/2023 RIP: 0010:ntfs_security_init+0x562/0xc20 fs/ntfs3/fsntfs.c:1901 Code: db fe 83 fb 1f 77 0a e8 bc 37 db fe 45 31 e4 eb 08 e8 b2 37 db 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 e5 RSP: 0018:ffffc9000458f980 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc90003bd1000 RSI: 000000000002bae9 RDI: 000000000002baea RBP: ffffc9000458fab0 R08: ffffffff82a4b11a R09: 0000000000000000 R10: 0000000000000002 R11: ffff88808ab51dc0 R12: 0000000000000000 R13: ffff8880837f7238 R14: 00000000000000c8 R15: 1ffff920008b1f38 FS: 00007fba97451700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f052b5951b8 CR3: 0000000077eda000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ntfs_fill_super+0x3f85/0x4450 fs/ntfs3/super.c:1233 get_tree_bdev+0x3fe/0x620 fs/super.c:1303 vfs_get_tree+0x88/0x270 fs/super.c:1508 do_new_mount+0x28b/0xad0 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:0x7fba98ee069a 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:00007fba97450f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001f3ca RCX: 00007fba98ee069a RDX: 000000002001f380 RSI: 000000002001f3c0 RDI: 00007fba97450fe0 RBP: 00007fba97451020 R08: 00007fba97451020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 000000002001f380 R13: 000000002001f3c0 R14: 00007fba97450fe0 R15: 0000000020000240 Modules linked in: ---[ end trace 7dd91d50d2b9431d ]--- RIP: 0010:ntfs_security_init+0x562/0xc20 fs/ntfs3/fsntfs.c:1901 Code: db fe 83 fb 1f 77 0a e8 bc 37 db fe 45 31 e4 eb 08 e8 b2 37 db 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 e5 RSP: 0018:ffffc9000458f980 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: dffffc0000000000 RDX: ffffc90003bd1000 RSI: 000000000002bae9 RDI: 000000000002baea RBP: ffffc9000458fab0 R08: ffffffff82a4b11a R09: 0000000000000000 R10: 0000000000000002 R11: ffff88808ab51dc0 R12: 0000000000000000 R13: ffff8880837f7238 R14: 00000000000000c8 R15: 1ffff920008b1f38 FS: 00007fba97451700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff54cd94998 CR3: 0000000077eda000 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 bc 37 db fe callq 0xfedb37c7 b: 45 31 e4 xor %r12d,%r12d e: eb 08 jmp 0x18 10: e8 b2 37 db fe callq 0xfedb37c7 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: e5 .byte 0xe5