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: 15943 Comm: syz-executor.0 Not tainted 6.2.0-rc1-syzkaller-00068-gbff687b3dad6 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 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 c8 b3 d1 fe 4c 01 e5 e8 c0 b3 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:ffffc9000568fa78 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: ffff88803e4fe000 RCX: ffffc900040e2000 RDX: 0000000000000000 RSI: ffffffff82af9e80 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000000 R12: ffff888089344240 R13: ffff8880731244b0 R14: 0000000000000000 R15: 00000000000000c8 FS: 00007f6b22f0e700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020388000 CR3: 000000008e396000 CR4: 0000000000350ee0 Call Trace: ntfs_fill_super+0x3398/0x3ab0 fs/ntfs3/super.c:1287 get_tree_bdev+0x444/0x760 fs/super.c:1282 vfs_get_tree+0x8d/0x2f0 fs/super.c:1489 do_new_mount fs/namespace.c:3145 [inline] path_mount+0x132a/0x1e20 fs/namespace.c:3475 do_mount fs/namespace.c:3488 [inline] __do_sys_mount fs/namespace.c:3697 [inline] __se_sys_mount fs/namespace.c:3674 [inline] __x64_sys_mount+0x283/0x300 fs/namespace.c:3674 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:0x7f6b2228d5da 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:00007f6b22f0df88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 000000000001f175 RCX: 00007f6b2228d5da RDX: 000000002001f180 RSI: 0000000020000040 RDI: 00007f6b22f0dfe0 RBP: 00007f6b22f0e020 R08: 00007f6b22f0e020 R09: 0000000000000010 R10: 0000000000000010 R11: 0000000000000202 R12: 000000002001f180 R13: 0000000020000040 R14: 00007f6b22f0dfe0 R15: 00000000200001c0 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 c8 b3 d1 fe 4c 01 e5 e8 c0 b3 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:ffffc9000568fa78 EFLAGS: 00010256 RAX: dffffc0000000000 RBX: ffff88803e4fe000 RCX: ffffc900040e2000 RDX: 0000000000000000 RSI: ffffffff82af9e80 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 000000000000001f R10: 0000000000000000 R11: 0000000000000000 R12: ffff888089344240 R13: ffff8880731244b0 R14: 0000000000000000 R15: 00000000000000c8 FS: 00007f6b22f0e700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c005b37000 CR3: 000000008e396000 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 c8 b3 d1 fe callq 0xfed1b3d9 11: 4c 01 e5 add %r12,%rbp 14: e8 c0 b3 d1 fe callq 0xfed1b3d9 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