loop0: detected capacity change from 0 to 4096 ntfs3: loop0: Different NTFS' sector size and media sector size BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor instruction fetch in kernel mode #PF: error_code(0x0010) - not-present page PGD 10a9b9067 P4D 10a9b9067 PUD 10a9bd067 PMD 0 Oops: 0010 [#1] PREEMPT SMP CPU: 1 PID: 2901 Comm: syz-executor.0 Not tainted 5.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 RIP: 0010:0x0 Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. RSP: 0018:ffffc900019a3c68 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 000000000000004c RDX: ffff888103fcf9b0 RSI: 0000000000000000 RDI: ffff8881012ea000 RBP: 0000000000000000 R08: ffff8881041bc000 R09: 0000000000000001 R10: 0000000000000070 R11: 61c8864680b583eb R12: ffff8881041bc000 R13: 0000000000000000 R14: ffff888103fcf9a0 R15: 0000000000000002 FS: 00007f9fcfaf56c0(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001098e4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: hdr_find_e.isra.0+0x237/0x2f0 fs/ntfs3/index.c:740 indx_find+0xc0/0x230 fs/ntfs3/index.c:1133 dir_search_u+0x103/0x1e0 fs/ntfs3/dir.c:255 ntfs_lookup+0x8f/0xb0 fs/ntfs3/namei.c:91 __lookup_hash+0x61/0x90 fs/namei.c:1547 do_renameat2+0x265/0x570 fs/namei.c:4649 __do_sys_rename fs/namei.c:4755 [inline] __se_sys_rename fs/namei.c:4753 [inline] __x64_sys_rename+0x3b/0x50 fs/namei.c:4753 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0x80 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae RIP: 0033:0x7f9fcff72ae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9fcfaf50c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000052 RAX: ffffffffffffffda RBX: 00007f9fd0091f80 RCX: 00007f9fcff72ae9 RDX: 0000000000000000 RSI: 00000000200000c0 RDI: 0000000020000040 RBP: 00007f9fcffbe47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f9fd0091f80 R15: 00007ffccfa27f88 Modules linked in: CR2: 0000000000000000 ---[ end trace f2dd371de03e402d ]--- RIP: 0010:0x0 Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. RSP: 0018:ffffc900019a3c68 EFLAGS: 00010202 RAX: 0000000000000000 RBX: 0000000000000001 RCX: 000000000000004c RDX: ffff888103fcf9b0 RSI: 0000000000000000 RDI: ffff8881012ea000 RBP: 0000000000000000 R08: ffff8881041bc000 R09: 0000000000000001 R10: 0000000000000070 R11: 61c8864680b583eb R12: ffff8881041bc000 R13: 0000000000000000 R14: ffff888103fcf9a0 R15: 0000000000000002 FS: 00007f9fcfaf56c0(0000) GS:ffff88813bd00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffffffffffffffd6 CR3: 00000001098e4000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400