wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 ntfs: (device loop1): load_system_files(): Failed to load $MFTMirr. Mounting read-only. Run ntfsfix and/or chkdsk. wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready ================================================================== BUG: KASAN: use-after-free in ntfs_is_extended_system_file fs/ntfs/inode.c:509 [inline] BUG: KASAN: use-after-free in ntfs_read_locked_inode+0x4586/0x5200 fs/ntfs/inode.c:1042 IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready Read of size 8 at addr ffff88008a78ddb8 by task syz-executor.1/9994 CPU: 0 PID: 9994 Comm: syz-executor.1 Not tainted 4.18.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+0x15a/0x20d lib/dump_stack.c:113 print_address_description.cold.6+0x9/0x244 mm/kasan/report.c:256 kasan_report_error mm/kasan/report.c:354 [inline] kasan_report mm/kasan/report.c:412 [inline] kasan_report.cold.7+0x242/0x305 mm/kasan/report.c:396 __asan_report_load_n_noabort+0xf/0x20 mm/kasan/report.c:443 ntfs_is_extended_system_file fs/ntfs/inode.c:509 [inline] ntfs_read_locked_inode+0x4586/0x5200 fs/ntfs/inode.c:1042 ntfs_iget+0xe6/0x120 fs/ntfs/inode.c:190 load_and_init_upcase fs/ntfs/super.c:1669 [inline] load_system_files fs/ntfs/super.c:1824 [inline] ntfs_fill_super+0x1855/0x7910 fs/ntfs/super.c:2908 mount_bdev+0x26f/0x330 fs/super.c:1174 ntfs_mount+0x10/0x20 fs/ntfs/super.c:3065 mount_fs+0x7f/0x2a9 fs/super.c:1277 vfs_kern_mount.part.9+0x58/0x3c0 fs/namespace.c:1046 vfs_kern_mount fs/namespace.c:1036 [inline] do_new_mount fs/namespace.c:2542 [inline] do_mount+0x376/0x2710 fs/namespace.c:2872 ksys_mount+0xb1/0xd0 fs/namespace.c:3088 __do_sys_mount fs/namespace.c:3102 [inline] __se_sys_mount fs/namespace.c:3099 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3099 do_syscall_64+0xda/0x540 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x467afa Code: 48 c7 c2 bc ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 wlan1: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ff2cec4ffa8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 0000000000467afa RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007ff2cec50000 RBP: 00007ff2cec50040 R08: 00007ff2cec50040 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000020000000 R13: 0000000020000100 R14: 00007ff2cec50000 R15: 0000000020086e00 The buggy address belongs to the page: page:ffffea000229e340 count:0 mapcount:0 mapping:0000000000000000 index:0x1 flags: 0xfff00000000000() raw: 00fff00000000000 ffffea000229e388 ffffea000229e308 0000000000000000 IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner info is not active (free page?) Memory state around the buggy address: ffff88008a78dc80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88008a78dd00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff88008a78dd80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff88008a78de00: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff88008a78de80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ================================================================== ntfs: (device loop4): is_boot_sector_ntfs(): Invalid end of sector marker. ntfs: (device loop4): map_mft_record_page(): Mft record 0x1 is corrupt. Run chkdsk. wlan1: Creating new IBSS network, BSSID 50:50:50:50:50:50 ntfs: (device loop4): map_mft_record(): Failed with error code 5. ntfs: (device loop4): ntfs_read_locked_inode(): Failed with error code -5. Marking corrupt inode 0x1 as bad. Run chkdsk. ntfs: (device loop4): load_system_files(): Failed to load $MFTMirr. Mounting read-only. Run ntfsfix and/or chkdsk. ieee80211 phy11: Selected rate control algorithm 'minstrel_ht' wlan0: Created IBSS using preconfigured BSSID 50:50:50:50:50:50 IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready wlan0: Creating new IBSS network, BSSID 50:50:50:50:50:50