loop2: detected capacity change from 0 to 4096 ntfs3: loop2: Different NTFS sector size (1024) and media sector size (512). overlay: ./file1 is not a directory Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 1 UID: 0 PID: 7704 Comm: syz.2.238 Not tainted 6.12.0-rc1-syzkaller-00349-g8f602276d390 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:run_lookup fs/ntfs3/run.c:39 [inline] RIP: 0010:run_is_mapped_full+0x35/0x480 fs/ntfs3/run.c:173 Code: 41 54 53 48 83 ec 30 41 89 d4 41 89 f6 49 89 fd 49 bf 00 00 00 00 00 fc ff df e8 d6 bc a2 fe 49 8d 5d 08 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 0c 4b 09 ff 48 8b 1b 31 ff 48 89 RSP: 0018:ffffc90003577778 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000040000 RDX: ffffc9000f062000 RSI: 000000000000207e RDI: 000000000000207f RBP: ffffc90003577b38 R08: ffffffff82e89bca R09: ffffffff82f1f369 R10: 0000000000000002 R11: ffff888033350000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f0c0cfff6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000616d6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: attr_load_runs fs/ntfs3/attrib.c:69 [inline] attr_set_size+0xfdf/0x4300 fs/ntfs3/attrib.c:502 ntfs_create_inode+0x2604/0x3880 fs/ntfs3/inode.c:1675 ntfs_mkdir+0x3d/0x50 fs/ntfs3/namei.c:207 vfs_mkdir+0x2f9/0x4f0 fs/namei.c:4257 do_mkdirat+0x264/0x3a0 fs/namei.c:4280 __do_sys_mkdirat fs/namei.c:4295 [inline] __se_sys_mkdirat fs/namei.c:4293 [inline] __x64_sys_mkdirat+0x87/0xa0 fs/namei.c:4293 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0c0d57c897 Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f0c0cffee68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102 RAX: ffffffffffffffda RBX: 00007f0c0cffeef0 RCX: 00007f0c0d57c897 RDX: 00000000000001ff RSI: 0000000020000400 RDI: 00000000ffffff9c RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000400 R13: 00007f0c0cffeeb0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:run_lookup fs/ntfs3/run.c:39 [inline] RIP: 0010:run_is_mapped_full+0x35/0x480 fs/ntfs3/run.c:173 Code: 41 54 53 48 83 ec 30 41 89 d4 41 89 f6 49 89 fd 49 bf 00 00 00 00 00 fc ff df e8 d6 bc a2 fe 49 8d 5d 08 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 0c 4b 09 ff 48 8b 1b 31 ff 48 89 RSP: 0018:ffffc90003577778 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000008 RCX: 0000000000040000 RDX: ffffc9000f062000 RSI: 000000000000207e RDI: 000000000000207f RBP: ffffc90003577b38 R08: ffffffff82e89bca R09: ffffffff82f1f369 R10: 0000000000000002 R11: ffff888033350000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f0c0cfff6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0c0cfddf98 CR3: 00000000616d6000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 41 54 push %r12 2: 53 push %rbx 3: 48 83 ec 30 sub $0x30,%rsp 7: 41 89 d4 mov %edx,%r12d a: 41 89 f6 mov %esi,%r14d d: 49 89 fd mov %rdi,%r13 10: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 17: fc ff df 1a: e8 d6 bc a2 fe call 0xfea2bcf5 1f: 49 8d 5d 08 lea 0x8(%r13),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 0c 4b 09 ff call 0xff094b45 39: 48 8b 1b mov (%rbx),%rbx 3c: 31 ff xor %edi,%edi 3e: 48 rex.W 3f: 89 .byte 0x89