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+0xe9d/0x2b70 fs/ntfs/dir.c:1200 Read of size 1 at addr ffff888029053271 by task syz-executor.0/5427 CPU: 0 PID: 5427 Comm: syz-executor.0 Not tainted 6.4.0-rc5-syzkaller-00024-g5f63595ebd82 #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+0x1e3/0x2d0 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:351 [inline] print_report+0x15f/0x540 mm/kasan/report.c:462 kasan_report+0x172/0x1a0 mm/kasan/report.c:572 ntfs_filldir fs/ntfs/dir.c:1021 [inline] ntfs_readdir+0xe9d/0x2b70 fs/ntfs/dir.c:1200 iterate_dir+0x224/0x560 __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64+0x209/0x4f0 fs/readdir.c:354 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f4019c8c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f401aa03168 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f4019dabf80 RCX: 00007f4019c8c169 RDX: 00000000000000ab RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007f4019ce7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffd46e9e2af R14: 00007f401aa03300 R15: 0000000000022000 Allocated by task 5427: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0x94/0xa0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:196 [inline] __do_kmalloc_node mm/slab_common.c:966 [inline] __kmalloc+0xb5/0x220 mm/slab_common.c:979 kmalloc include/linux/slab.h:563 [inline] ntfs_readdir+0x825/0x2b70 fs/ntfs/dir.c:1162 iterate_dir+0x224/0x560 __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64+0x209/0x4f0 fs/readdir.c:354 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd The buggy address belongs to the object at ffff888029053200 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 [ffff888029053200, ffff888029053238) The buggy address belongs to the physical page: page:ffffea0000a414c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888029053a00 pfn:0x29053 anon flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000200 ffff888012441640 0000000000000000 dead000000000001 raw: ffff888029053a00 000000008020001a 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 12, tgid 12 (kworker/u4:1), ts 11204756456, free_ts 11202689628 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1d2/0x1f0 mm/page_alloc.c:1731 prep_new_page mm/page_alloc.c:1738 [inline] get_page_from_freelist+0x31f8/0x3370 mm/page_alloc.c:3502 __alloc_pages+0x251/0x660 mm/page_alloc.c:4768 alloc_slab_page+0x6a/0x150 mm/slub.c:1851 allocate_slab mm/slub.c:1998 [inline] new_slab+0x84/0x2d0 mm/slub.c:2051 ___slab_alloc+0xa71/0x1080 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+0x1b4/0x280 mm/slub.c:3490 __do_kmalloc_node mm/slab_common.c:965 [inline] __kmalloc+0xa4/0x220 mm/slab_common.c:979 kmalloc include/linux/slab.h:563 [inline] kzalloc include/linux/slab.h:680 [inline] lsm_task_alloc security/security.c:653 [inline] security_task_alloc+0x3f/0x120 security/security.c:2830 copy_process+0x1826/0x4280 kernel/fork.c:2489 kernel_clone+0x219/0x860 kernel/fork.c:2915 user_mode_thread+0x12e/0x190 kernel/fork.c:2993 call_usermodehelper_exec_work+0x58/0x220 kernel/umh.c:172 process_one_work+0x894/0x10c0 kernel/workqueue.c:2405 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2552 kthread+0x2b0/0x340 kernel/kthread.c:379 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+0x8ee/0xa10 mm/page_alloc.c:2564 free_unref_page+0x33/0x3f0 mm/page_alloc.c:2659 vfree+0x182/0x2d0 mm/vmalloc.c:2798 delayed_vfree_work+0x52/0x80 mm/vmalloc.c:2719 process_one_work+0x894/0x10c0 kernel/workqueue.c:2405 worker_thread+0xa5f/0x1210 kernel/workqueue.c:2552 kthread+0x2b0/0x340 kernel/kthread.c:379 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308 Memory state around the buggy address: ffff888029053100: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc ffff888029053180: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc >ffff888029053200: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc ^ ffff888029053280: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ffff888029053300: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc ==================================================================