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: 0 PID: 3497 Comm: syz-executor193 Not tainted 5.15.115-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:ntfs_security_init+0x2b1/0xc20 fs/ntfs3/fsntfs.c:1883 Code: db fe 45 31 ed 4c 8b 74 24 08 eb 0d e8 a8 38 db fe 4c 8b 74 24 08 4d 01 f5 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 89 07 00 00 41 8b 5d 00 31 ff 89 de e8 d6 RSP: 0018:ffffc90002c7f980 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8880787d0174 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000020 RBP: ffffc90002c7fab0 R08: ffffffff82a4c089 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807358a4e0 R13: 0000000000000000 R14: ffff8880787d0160 R15: 1ffff9200058ff38 FS: 00005555564fa300(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000557d46a19008 CR3: 000000007b573000 CR4: 00000000003506f0 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/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:0x7fa8fe2afaba Code: 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffc343e5608 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fa8fe2afaba RDX: 000000002001f180 RSI: 0000000020000000 RDI: 00007ffc343e5610 RBP: 00007ffc343e5610 R08: 00007ffc343e5650 R09: 000000000001f1d0 R10: 0000000000a0000b R11: 0000000000000286 R12: 0000000000000004 R13: 00005555564fa2c0 R14: 00007ffc343e5650 R15: 0000000000000000 Modules linked in: ---[ end trace b5a35827c251954f ]--- RIP: 0010:ntfs_security_init+0x2b1/0xc20 fs/ntfs3/fsntfs.c:1883 Code: db fe 45 31 ed 4c 8b 74 24 08 eb 0d e8 a8 38 db fe 4c 8b 74 24 08 4d 01 f5 4c 89 e8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 89 07 00 00 41 8b 5d 00 31 ff 89 de e8 d6 RSP: 0018:ffffc90002c7f980 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff8880787d0174 RCX: dffffc0000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000020 RBP: ffffc90002c7fab0 R08: ffffffff82a4c089 R09: 0000000000000000 R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807358a4e0 R13: 0000000000000000 R14: ffff8880787d0160 R15: 1ffff9200058ff38 FS: 00005555564fa300(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa8f6061000 CR3: 000000007b573000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: fe 45 31 incb 0x31(%rbp) 3: ed in (%dx),%eax 4: 4c 8b 74 24 08 mov 0x8(%rsp),%r14 9: eb 0d jmp 0x18 b: e8 a8 38 db fe callq 0xfedb38b8 10: 4c 8b 74 24 08 mov 0x8(%rsp),%r14 15: 4d 01 f5 add %r14,%r13 18: 4c 89 e8 mov %r13,%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 89 07 00 00 jne 0x7be 35: 41 8b 5d 00 mov 0x0(%r13),%ebx 39: 31 ff xor %edi,%edi 3b: 89 de mov %ebx,%esi 3d: e8 .byte 0xe8 3e: d6 (bad)