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: 5423 Comm: syz-executor.0 Not tainted 6.2.0-rc1-syzkaller-00084-gc8451c141e07 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:ntfs_security_init+0x2aa/0xbd0 fs/ntfs3/fsntfs.c:1879 Code: 00 00 00 44 89 f6 e8 05 25 bf fe 41 83 fe 1f 77 0a e8 da 20 bf fe 45 31 ed eb 08 e8 d0 20 bf fe 4d 01 e5 4c 89 e8 48 c1 e8 03 <42> 8a 04 38 84 c0 0f 85 39 07 00 00 41 8b 5d 00 31 ff 89 de e8 cd RSP: 0018:ffffc9000323f960 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88801e782174 RCX: 0000000000040000 RDX: ffffc90012fc2000 RSI: 000000000003f398 RDI: 000000000003f399 RBP: ffffc9000323fa90 R08: ffffffff82ccba8b R09: 0000000000000000 R10: ffffed1006a34a80 R11: 1ffff11006a34a7f R12: ffff88801e782160 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f3f91209700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f461f996fc0 CR3: 000000007b791000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ntfs_fill_super+0x4110/0x45e0 fs/ntfs3/super.c:1287 get_tree_bdev+0x400/0x620 fs/super.c:1282 vfs_get_tree+0x88/0x270 fs/super.c:1489 do_new_mount+0x289/0xad0 fs/namespace.c:3145 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount+0x2d3/0x3c0 fs/namespace.c:3674 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:0x7f3f9048d5da 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:00007f3f91208f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001f186 RCX: 00007f3f9048d5da RDX: 0000000020000000 RSI: 000000002001f1c0 RDI: 00007f3f91208fe0 RBP: 00007f3f91209020 R08: 00007f3f91209020 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000 R13: 000000002001f1c0 R14: 00007f3f91208fe0 R15: 0000000020000080 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:ntfs_security_init+0x2aa/0xbd0 fs/ntfs3/fsntfs.c:1879 Code: 00 00 00 44 89 f6 e8 05 25 bf fe 41 83 fe 1f 77 0a e8 da 20 bf fe 45 31 ed eb 08 e8 d0 20 bf fe 4d 01 e5 4c 89 e8 48 c1 e8 03 <42> 8a 04 38 84 c0 0f 85 39 07 00 00 41 8b 5d 00 31 ff 89 de e8 cd RSP: 0018:ffffc9000323f960 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff88801e782174 RCX: 0000000000040000 RDX: ffffc90012fc2000 RSI: 000000000003f398 RDI: 000000000003f399 RBP: ffffc9000323fa90 R08: ffffffff82ccba8b R09: 0000000000000000 R10: ffffed1006a34a80 R11: 1ffff11006a34a7f R12: ffff88801e782160 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f3f91209700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c02e31f000 CR3: 000000007b791000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: 00 44 89 f6 add %al,-0xa(%rcx,%rcx,4) 6: e8 05 25 bf fe callq 0xfebf2510 b: 41 83 fe 1f cmp $0x1f,%r14d f: 77 0a ja 0x1b 11: e8 da 20 bf fe callq 0xfebf20f0 16: 45 31 ed xor %r13d,%r13d 19: eb 08 jmp 0x23 1b: e8 d0 20 bf fe callq 0xfebf20f0 20: 4d 01 e5 add %r12,%r13 23: 4c 89 e8 mov %r13,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 8a 04 38 mov (%rax,%r15,1),%al <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 39 07 00 00 jne 0x76f 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: cd .byte 0xcd