ntfs: (device loop0): check_windows_hibernation_status(): Failed to find inode number for hiberfil.sys. ntfs: (device loop0): load_system_files(): Failed to determine if Windows is hibernated. Will not be able to remount read-write. Run chkdsk. ================================================================== BUG: KASAN: slab-out-of-bounds in ntfs_filldir fs/ntfs/dir.c:1021 [inline] BUG: KASAN: slab-out-of-bounds in ntfs_readdir+0xea1/0x2b70 fs/ntfs/dir.c:1200 Read of size 1 at addr ffff88802774e0f1 by task syz-executor268/4991 CPU: 1 PID: 4991 Comm: syz-executor268 Not tainted 6.4.0-rc5-syzkaller-00016-ga4d7d7011219 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e7/0x2d0 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:351 [inline] print_report+0x163/0x540 mm/kasan/report.c:462 kasan_report+0x176/0x1b0 mm/kasan/report.c:572 ntfs_filldir fs/ntfs/dir.c:1021 [inline] ntfs_readdir+0xea1/0x2b70 fs/ntfs/dir.c:1200 iterate_dir+0x228/0x570 __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64+0x20d/0x4f0 fs/readdir.c:354 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f353748c7a9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fff471894d8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f353748c7a9 RDX: 00000000000000ab RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007f353744c040 R08: 0000000000000000 R09: 0000000000000000 R10: 000000000001f1b8 R11: 0000000000000246 R12: 00007f353744c0d0 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Allocated by task 4991: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4f/0x70 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0x98/0xb0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:196 [inline] __do_kmalloc_node mm/slab_common.c:966 [inline] __kmalloc+0xb9/0x230 mm/slab_common.c:979 kmalloc include/linux/slab.h:563 [inline] ntfs_readdir+0x829/0x2b70 fs/ntfs/dir.c:1162 iterate_dir+0x228/0x570 __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64+0x20d/0x4f0 fs/readdir.c:354 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd The buggy address belongs to the object at ffff88802774e080 which belongs to the cache kmalloc-64 of size 64 The buggy address is located 57 bytes to the right of allocated 56-byte region [ffff88802774e080, ffff88802774e0b8) The buggy address belongs to the physical page: page:ffffea00009dd380 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x2774e ksm flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000200 ffff888012441640 ffffea0000a452c0 dead000000000003 raw: 0000000000000000 0000000080200020 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 56, tgid 56 (kworker/u4:4), ts 10903518356, free_ts 10315929249 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1e6/0x210 mm/page_alloc.c:1731 prep_new_page mm/page_alloc.c:1738 [inline] get_page_from_freelist+0x321c/0x33a0 mm/page_alloc.c:3502 __alloc_pages+0x255/0x670 mm/page_alloc.c:4768 alloc_slab_page+0x6a/0x160 mm/slub.c:1851 allocate_slab mm/slub.c:1998 [inline] new_slab+0x84/0x2f0 mm/slub.c:2051 ___slab_alloc+0xa85/0x10a0 mm/slub.c:3192 __slab_alloc mm/slub.c:3291 [inline] __slab_alloc_node mm/slub.c:3344 [inline] slab_alloc_node mm/slub.c:3441 [inline] __kmem_cache_alloc_node+0x1b8/0x290 mm/slub.c:3490 kmalloc_node_trace+0x27/0xe0 mm/slab_common.c:1070 kmalloc_node include/linux/slab.h:575 [inline] kzalloc_node include/linux/slab.h:691 [inline] __get_vm_area_node+0x125/0x370 mm/vmalloc.c:2544 __vmalloc_node_range+0x3e5/0x14e0 mm/vmalloc.c:3217 alloc_thread_stack_node kernel/fork.c:313 [inline] dup_task_struct+0x3e5/0x7d0 kernel/fork.c:1116 copy_process+0x5c8/0x4290 kernel/fork.c:2333 kernel_clone+0x222/0x800 kernel/fork.c:2915 user_mode_thread+0x132/0x190 kernel/fork.c:2993 call_usermodehelper_exec_work+0x5c/0x220 kernel/umh.c:172 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1302 [inline] free_unref_page_prepare+0x903/0xa30 mm/page_alloc.c:2564 free_unref_page+0x37/0x3f0 mm/page_alloc.c:2659 vfree+0x186/0x2e0 mm/vmalloc.c:2798 delayed_vfree_work+0x56/0x80 mm/vmalloc.c:2719 process_one_work+0x8a0/0x10e0 kernel/workqueue.c:2405 worker_thread+0xa63/0x1210 kernel/workqueue.c:2552 kthread+0x2b8/0x350 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Memory state around the buggy address: ffff88802774df80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88802774e000: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc >ffff88802774e080: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc ^ ffff88802774e100: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ffff88802774e180: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ==================================================================