loop0: detected capacity change from 0 to 2304 ntfs3: loop0: RAW NTFS volume: Filesystem size 0.00 Gb > volume size 0.00 Gb. Mount in read-only ntfs3: loop0: failed to read volume at offset 0x120000 ntfs3: loop0: Failed to load $Extend. general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 PID: 5923 Comm: syz-executor.0 Not tainted 5.14.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022 RIP: 0010:d_flags_for_inode+0x17f/0x200 fs/dcache.c:1954 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 8c 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 6b 20 49 8d 7d 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 66 49 83 7d 08 00 75 34 41 83 cc 04 66 44 89 63 02 RSP: 0018:ffffc9000163fad8 EFLAGS: 00010212 RAX: dffffc0000000000 RBX: ffff888038494ce8 RCX: ffffffff81535400 RDX: 0000000000000001 RSI: ffff888038494ce8 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff520002c7f5b R11: 0000000000078086 R12: 0000000000000008 R13: 0000000000000000 R14: ffff88802caba000 R15: ffff888038494ce8 FS: 00007f8a44926700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055cb8b23cf50 CR3: 0000000013bb7000 CR4: 0000000000350ef0 Call Trace: __d_instantiate+0x1c/0x3e0 fs/dcache.c:1972 d_instantiate+0x5e/0x80 fs/dcache.c:2010 d_make_root+0x47/0x70 fs/dcache.c:2045 ntfs_fill_super+0x2c56/0x3550 fs/ntfs3/super.c:1321 mount_bdev+0x2cb/0x3b0 fs/super.c:1368 legacy_get_tree+0xfa/0x1f0 fs/fs_context.c:610 vfs_get_tree+0x7f/0x2c0 fs/super.c:1498 do_new_mount fs/namespace.c:2905 [inline] path_mount+0x7f3/0x1a40 fs/namespace.c:3235 do_mount fs/namespace.c:3248 [inline] __do_sys_mount fs/namespace.c:3456 [inline] __se_sys_mount fs/namespace.c:3433 [inline] __x64_sys_mount+0x1f5/0x260 fs/namespace.c:3433 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:0x7f8a451b3ada 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:00007f8a44925f88 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007f8a451b3ada RDX: 0000000020000040 RSI: 0000000020000100 RDI: 00007f8a44925fe0 RBP: 00007f8a44926020 R08: 00007f8a44926020 R09: 0000000020000040 R10: 0000000000000400 R11: 0000000000000246 R12: 0000000020000040 R13: 0000000020000100 R14: 00007f8a44925fe0 R15: 0000000020003580 Modules linked in: ---[ end trace 3a26190922fd9496 ]--- RIP: 0010:d_flags_for_inode+0x17f/0x200 fs/dcache.c:1954 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 8c 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 8b 6b 20 49 8d 7d 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 75 66 49 83 7d 08 00 75 34 41 83 cc 04 66 44 89 63 02 RSP: 0018:ffffc9000163fad8 EFLAGS: 00010212 RAX: dffffc0000000000 RBX: ffff888038494ce8 RCX: ffffffff81535400 RDX: 0000000000000001 RSI: ffff888038494ce8 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000003 R10: fffff520002c7f5b R11: 0000000000078086 R12: 0000000000000008 R13: 0000000000000000 R14: ffff88802caba000 R15: ffff888038494ce8 FS: 00007f8a44926700(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055cb8b23cf50 CR3: 0000000013bb7000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 48 89 fa mov %rdi,%rdx 3: 48 c1 ea 03 shr $0x3,%rdx 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 0f 85 8c 00 00 00 jne 0x9d 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 4c 8b 6b 20 mov 0x20(%rbx),%r13 1f: 49 8d 7d 08 lea 0x8(%r13),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 75 66 jne 0x96 30: 49 83 7d 08 00 cmpq $0x0,0x8(%r13) 35: 75 34 jne 0x6b 37: 41 83 cc 04 or $0x4,%r12d 3b: 66 44 89 63 02 mov %r12w,0x2(%rbx)