================================================================== BUG: KASAN: use-after-free in ntfs_read_locked_inode+0x49dc/0x58b0 fs/ntfs/inode.c:645 Read of size 8 at addr ffff888085afee46 by task syz-executor632/6916 CPU: 0 PID: 6916 Comm: syz-executor632 Not tainted 5.9.0-rc7-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x198/0x1fd lib/dump_stack.c:118 print_address_description.constprop.0.cold+0xae/0x497 mm/kasan/report.c:383 __kasan_report mm/kasan/report.c:513 [inline] kasan_report.cold+0x1f/0x37 mm/kasan/report.c:530 ntfs_read_locked_inode+0x49dc/0x58b0 fs/ntfs/inode.c:645 ntfs_iget+0x12d/0x180 fs/ntfs/inode.c:177 load_and_init_mft_mirror fs/ntfs/super.c:1027 [inline] load_system_files fs/ntfs/super.c:1772 [inline] ntfs_fill_super+0xb30/0x8560 fs/ntfs/super.c:2894 mount_bdev+0x32e/0x3f0 fs/super.c:1417 legacy_get_tree+0x105/0x220 fs/fs_context.c:592 vfs_get_tree+0x89/0x2f0 fs/super.c:1547 do_new_mount fs/namespace.c:2875 [inline] path_mount+0x1387/0x20a0 fs/namespace.c:3192 do_mount fs/namespace.c:3205 [inline] __do_sys_mount fs/namespace.c:3413 [inline] __se_sys_mount fs/namespace.c:3390 [inline] __x64_sys_mount+0x27f/0x300 fs/namespace.c:3390 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4494fa Code: b8 08 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 7d a3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 5a a3 fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007ffc29f1dec8 EFLAGS: 00000287 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007ffc29f1df20 RCX: 00000000004494fa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ffc29f1dee0 RBP: 00007ffc29f1dee0 R08: 00007ffc29f1df20 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000287 R12: 00000000000000ab R13: 0000000000000004 R14: 0000000000000003 R15: 0000000000000003 The buggy address belongs to the page: page:00000000feeede03 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x85afe flags: 0xfffe0000000000() raw: 00fffe0000000000 ffffea0002599848 ffffea0002169dc8 0000000000000000 raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888085afed00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888085afed80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff888085afee00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff888085afee80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff888085afef00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================