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+0x1455/0x2b00 fs/ntfs/dir.c:1200 Read of size 1 at addr ffff888021467871 by task syz-executor.0/5477 CPU: 1 PID: 5477 Comm: syz-executor.0 Not tainted 6.6.0-rc3-next-20230928-syzkaller-08507-g719136e5c247 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0xc4/0x620 mm/kasan/report.c:475 kasan_report+0xda/0x110 mm/kasan/report.c:588 ntfs_filldir fs/ntfs/dir.c:1021 [inline] ntfs_readdir+0x1455/0x2b00 fs/ntfs/dir.c:1200 wrap_directory_iterator+0xa5/0xe0 fs/readdir.c:67 iterate_dir+0x1e5/0x5f0 fs/readdir.c:106 __do_sys_getdents64 fs/readdir.c:405 [inline] __se_sys_getdents64 fs/readdir.c:390 [inline] __x64_sys_getdents64+0x14f/0x2e0 fs/readdir.c:390 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f9ba3c7cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f9ba49e70c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 RAX: ffffffffffffffda RBX: 00007f9ba3d9bf80 RCX: 00007f9ba3c7cae9 RDX: 00000000000000ab RSI: 0000000020000080 RDI: 0000000000000004 RBP: 00007f9ba3cc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f9ba3d9bf80 R15: 00007ffd498f5e58 Allocated by task 5477: kasan_save_stack+0x33/0x50 mm/kasan/common.c:45 kasan_set_track+0x25/0x30 mm/kasan/common.c:52 ____kasan_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0xa2/0xb0 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:198 [inline] __do_kmalloc_node mm/slab_common.c:1004 [inline] __kmalloc+0x60/0x100 mm/slab_common.c:1017 kmalloc include/linux/slab.h:604 [inline] ntfs_readdir+0x11a4/0x2b00 fs/ntfs/dir.c:1162 wrap_directory_iterator+0xa5/0xe0 fs/readdir.c:67 iterate_dir+0x1e5/0x5f0 fs/readdir.c:106 __do_sys_getdents64 fs/readdir.c:405 [inline] __se_sys_getdents64 fs/readdir.c:390 [inline] __x64_sys_getdents64+0x14f/0x2e0 fs/readdir.c:390 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd The buggy address belongs to the object at ffff888021467800 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 [ffff888021467800, ffff888021467838) The buggy address belongs to the physical page: page:ffffea00008519c0 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x21467 anon flags: 0xfff00000000800(slab|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000800 ffff888012c41640 ffffea0000992c00 dead000000000005 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 1, tgid 1 (swapper/0), ts 15922317560, free_ts 0 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x2cf/0x340 mm/page_alloc.c:1534 prep_new_page mm/page_alloc.c:1541 [inline] get_page_from_freelist+0x98f/0x32a0 mm/page_alloc.c:3333 __alloc_pages+0x1d0/0x4a0 mm/page_alloc.c:4589 alloc_page_interleave+0x1e/0x250 mm/mempolicy.c:2137 alloc_pages+0x22a/0x270 mm/mempolicy.c:2299 alloc_slab_page mm/slub.c:1870 [inline] allocate_slab+0x251/0x380 mm/slub.c:2017 new_slab mm/slub.c:2070 [inline] ___slab_alloc+0x8c7/0x1580 mm/slub.c:3223 __slab_alloc.constprop.0+0x56/0xa0 mm/slub.c:3322 __slab_alloc_node mm/slub.c:3375 [inline] slab_alloc_node mm/slub.c:3468 [inline] __kmem_cache_alloc_node+0x131/0x330 mm/slub.c:3517 __do_kmalloc_node mm/slab_common.c:1003 [inline] __kmalloc+0x4f/0x100 mm/slab_common.c:1017 kmalloc include/linux/slab.h:604 [inline] kzalloc include/linux/slab.h:721 [inline] kobject_get_path+0xce/0x2b0 lib/kobject.c:159 kobject_uevent_env+0x26b/0x1800 lib/kobject_uevent.c:529 driver_bound+0x177/0x2c0 drivers/base/dd.c:421 really_probe+0x67e/0xc90 drivers/base/dd.c:708 __driver_probe_device+0x1de/0x4b0 drivers/base/dd.c:800 driver_probe_device+0x4c/0x1a0 drivers/base/dd.c:830 page_owner free stack trace missing Memory state around the buggy address: ffff888021467700: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc ffff888021467780: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc >ffff888021467800: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc ^ ffff888021467880: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ffff888021467900: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc ==================================================================