IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 ntfs: (device loop4): is_boot_sector_ntfs(): Invalid end of sector marker. ================================================================== BUG: KASAN: use-after-free in ntfs_attr_find+0x9b8/0xae0 fs/ntfs/attrib.c:599 Read of size 4 at addr ffff8881c76c4d35 by task syz-executor4/3747 ntfs: (device loop3): is_boot_sector_ntfs(): Invalid end of sector marker. CPU: 0 PID: 3747 Comm: syz-executor4 Not tainted 5.8.0-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+0x1a2/0x21e lib/dump_stack.c:118 print_address_description.constprop.0+0x21/0x1f0 mm/kasan/report.c:383 __kasan_report mm/kasan/report.c:513 [inline] kasan_report.cold+0x20/0x37 mm/kasan/report.c:530 __asan_report_load_n_noabort+0xf/0x20 mm/kasan/generic_report.c:157 ntfs_attr_find+0x9b8/0xae0 fs/ntfs/attrib.c:599 ntfs_attr_lookup+0x118f/0x22e0 fs/ntfs/attrib.c:1189 ntfs_read_inode_mount+0x72d/0x22f0 fs/ntfs/inode.c:1833 ntfs_fill_super+0x1825/0x96a0 fs/ntfs/super.c:2857 mount_bdev+0x331/0x3f0 fs/super.c:1417 ntfs_mount+0x35/0x40 fs/ntfs/super.c:3051 legacy_get_tree+0x10c/0x220 fs/fs_context.c:592 vfs_get_tree+0x93/0x300 fs/super.c:1547 do_new_mount fs/namespace.c:2871 [inline] path_mount+0x1439/0x21b0 fs/namespace.c:3188 do_mount fs/namespace.c:3201 [inline] __do_sys_mount fs/namespace.c:3409 [inline] __se_sys_mount fs/namespace.c:3386 [inline] __x64_sys_mount+0x2b8/0x340 fs/namespace.c:3386 do_syscall_64+0x38/0x90 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x457e6a Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 5d 8f 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 3a 8f fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f05b938dbb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 0000000000457e6a RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f05b938dc00 RBP: 0000000000000002 R08: 000000002007e200 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 000000000000066c R14: 00000000006fcac0 R15: 0000000000000000 The buggy address belongs to the page: page:0000000087dadc7a refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8881c76c4a00 pfn:0x1c76c4 flags: 0x2fffc0000000000() raw: 02fffc0000000000 dead000000000100 dead000000000122 0000000000000000 raw: ffff8881c76c4a00 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881c76c4c00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881c76c4c80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8881c76c4d00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ^ ffff8881c76c4d80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8881c76c4e00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================