ntfs: (device loop4): ntfs_check_logfile(): $LogFile is too small. ntfs: (device loop4): load_system_files(): Failed to load $LogFile. Will not be able to remount read-write. Mount in Windows. ================================================================== BUG: KASAN: use-after-free in sle64_to_cpup fs/ntfs/endian.h:46 [inline] BUG: KASAN: use-after-free in ntfs_lookup_inode_by_name+0xb28/0x2824 fs/ntfs/dir.c:292 Read of size 8 at addr ffff00013a4e5560 by task syz-executor.4/31740 CPU: 0 PID: 31740 Comm: syz-executor.4 Not tainted 6.3.0-rc4-syzkaller-g59caa87f9dfb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023 Call trace: dump_backtrace+0x1b8/0x1e4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd0/0x124 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:319 [inline] print_report+0x174/0x514 mm/kasan/report.c:430 kasan_report+0xd4/0x130 mm/kasan/report.c:536 __asan_report_load8_noabort+0x2c/0x38 mm/kasan/report_generic.c:381 sle64_to_cpup fs/ntfs/endian.h:46 [inline] ntfs_lookup_inode_by_name+0xb28/0x2824 fs/ntfs/dir.c:292 check_windows_hibernation_status+0xe4/0x630 fs/ntfs/super.c:1282 load_system_files+0x3494/0x4734 fs/ntfs/super.c:1997 ntfs_fill_super+0x14e0/0x2314 fs/ntfs/super.c:2900 mount_bdev+0x26c/0x368 fs/super.c:1380 ntfs_mount+0x44/0x58 fs/ntfs/super.c:3057 legacy_get_tree+0xd4/0x16c fs/fs_context.c:610 vfs_get_tree+0x90/0x274 fs/super.c:1510 do_new_mount+0x25c/0x8c8 fs/namespace.c:3042 path_mount+0x590/0xe20 fs/namespace.c:3372 do_mount fs/namespace.c:3385 [inline] __do_sys_mount fs/namespace.c:3594 [inline] __se_sys_mount fs/namespace.c:3571 [inline] __arm64_sys_mount+0x45c/0x594 fs/namespace.c:3571 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x64/0x198 arch/arm64/kernel/syscall.c:193 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:591 The buggy address belongs to the physical page: page:000000005c578d93 refcount:0 mapcount:0 mapping:0000000000000000 index:0x1 pfn:0x17a4e5 flags: 0x5ffc00000000000(node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000000000 dead000000000100 dead000000000122 0000000000000000 raw: 0000000000000001 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff00013a4e5400: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff00013a4e5480: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff >ffff00013a4e5500: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ^ ffff00013a4e5580: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ffff00013a4e5600: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ==================================================================