================================================================== BUG: KASAN: slab-out-of-bounds in ntfs_filldir fs/ntfs/dir.c:1021 [inline] BUG: KASAN: slab-out-of-bounds in ntfs_readdir+0xaa0/0x2b88 fs/ntfs/dir.c:1200 Read of size 1 at addr ffff0000f4b49199 by task syz-executor/4318 CPU: 0 PID: 4318 Comm: syz-executor Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Call trace: dump_backtrace+0x1c8/0x1f4 arch/arm64/kernel/stacktrace.c:158 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:165 __dump_stack+0x30/0x40 lib/dump_stack.c:88 dump_stack_lvl+0xf8/0x160 lib/dump_stack.c:106 print_address_description+0x88/0x218 mm/kasan/report.c:316 print_report+0x50/0x68 mm/kasan/report.c:420 kasan_report+0xa8/0x100 mm/kasan/report.c:524 __asan_report_load1_noabort+0x2c/0x38 mm/kasan/report_generic.c:348 ntfs_filldir fs/ntfs/dir.c:1021 [inline] ntfs_readdir+0xaa0/0x2b88 fs/ntfs/dir.c:1200 iterate_dir+0x1f0/0x4cc fs/readdir.c:-1 __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64 fs/readdir.c:354 [inline] __arm64_sys_getdents64+0x11c/0x318 fs/readdir.c:354 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Allocated by task 4318: kasan_save_stack mm/kasan/common.c:45 [inline] kasan_set_track+0x4c/0x80 mm/kasan/common.c:52 kasan_save_alloc_info+0x28/0x34 mm/kasan/generic.c:505 ____kasan_kmalloc mm/kasan/common.c:374 [inline] __kasan_kmalloc+0xa0/0xb8 mm/kasan/common.c:383 kasan_kmalloc include/linux/kasan.h:211 [inline] __do_kmalloc_node mm/slab_common.c:936 [inline] __kmalloc+0xec/0x178 mm/slab_common.c:949 kmalloc include/linux/slab.h:568 [inline] ntfs_readdir+0x63c/0x2b88 fs/ntfs/dir.c:1162 iterate_dir+0x1f0/0x4cc fs/readdir.c:-1 __do_sys_getdents64 fs/readdir.c:369 [inline] __se_sys_getdents64 fs/readdir.c:354 [inline] __arm64_sys_getdents64+0x11c/0x318 fs/readdir.c:354 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140 do_el0_svc+0x58/0x13c arch/arm64/kernel/syscall.c:204 el0_svc+0x58/0x138 arch/arm64/kernel/entry-common.c:637 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585 Last potentially related work creation: kasan_save_stack+0x40/0x70 mm/kasan/common.c:45 __kasan_record_aux_stack+0xc0/0xdc mm/kasan/generic.c:486 kasan_record_aux_stack_noalloc+0x14/0x20 mm/kasan/generic.c:496 call_rcu+0x100/0x954 kernel/rcu/tree.c:2849 fib6_info_release include/net/ip6_fib.h:340 [inline] fib6_del_route net/ipv6/ip6_fib.c:2005 [inline] fib6_del+0xd54/0x1184 net/ipv6/ip6_fib.c:2038 fib6_clean_node+0x224/0x49c net/ipv6/ip6_fib.c:2200 fib6_walk_continue+0x654/0x878 net/ipv6/ip6_fib.c:2122 fib6_walk+0x140/0x254 net/ipv6/ip6_fib.c:2170 fib6_clean_tree net/ipv6/ip6_fib.c:2250 [inline] __fib6_clean_all+0x1dc/0x310 net/ipv6/ip6_fib.c:2266 fib6_clean_all+0x3c/0x50 net/ipv6/ip6_fib.c:2277 rt6_sync_down_dev net/ipv6/route.c:4944 [inline] rt6_disable_ip+0x104/0x7c8 net/ipv6/route.c:4949 addrconf_ifdown+0x144/0x15dc net/ipv6/addrconf.c:3798 addrconf_notify+0x2f4/0xca8 net/ipv6/addrconf.c:-1 notifier_call_chain kernel/notifier.c:87 [inline] raw_notifier_call_chain+0xd4/0x164 kernel/notifier.c:455 call_netdevice_notifiers_info net/core/dev.c:2001 [inline] call_netdevice_notifiers_extack net/core/dev.c:2039 [inline] call_netdevice_notifiers net/core/dev.c:2053 [inline] dev_close_many+0x2cc/0x440 net/core/dev.c:1601 unregister_netdevice_many+0x3c4/0x1740 net/core/dev.c:10964 default_device_exit_batch+0x9a8/0xa40 net/core/dev.c:11503 ops_exit_list net/core/net_namespace.c:177 [inline] cleanup_net+0x644/0xa74 net/core/net_namespace.c:640 process_one_work+0x7f4/0x13a8 kernel/workqueue.c:2292 worker_thread+0x8c8/0xfbc kernel/workqueue.c:2439 kthread+0x250/0x2d8 kernel/kthread.c:376 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:850 The buggy address belongs to the object at ffff0000f4b49000 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 409 bytes inside of 512-byte region [ffff0000f4b49000, ffff0000f4b49200) The buggy address belongs to the physical page: page:00000000f5feec65 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x134b48 head:00000000f5feec65 order:2 compound_mapcount:0 compound_pincount:0 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 0000000000000000 dead000000000001 ffff0000c0002600 raw: 0000000000000000 0000000080100010 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000f4b49080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff0000f4b49100: 00 00 00 00 00 00 00 00 00 00 00 fc fc fc fc fc >ffff0000f4b49180: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff0000f4b49200: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000f4b49280: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================