loop0: detected capacity change from 0 to 4096 ntfs3: loop0: Different NTFS sector size (1024) and media sector size (512). ================================================================== BUG: KASAN: slab-out-of-bounds in ntfs_iget5+0x152/0x38a0 fs/ntfs3/inode.c:536 Read of size 8 at addr ffff88805216ff60 by task syz.0.7006/21621 CPU: 0 PID: 21621 Comm: syz.0.7006 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2026 Call Trace: dump_stack_lvl+0x18c/0x250 lib/dump_stack.c:106 print_address_description mm/kasan/report.c:364 [inline] print_report+0xa8/0x210 mm/kasan/report.c:468 kasan_report+0x117/0x150 mm/kasan/report.c:581 ntfs_iget5+0x152/0x38a0 fs/ntfs3/inode.c:536 ntfs_fill_super+0x28d8/0x4450 fs/ntfs3/super.c:1274 get_tree_bdev+0x3f3/0x520 fs/super.c:1591 vfs_get_tree+0x8c/0x280 fs/super.c:1764 do_new_mount+0x24b/0xa40 fs/namespace.c:3386 do_mount fs/namespace.c:3726 [inline] __do_sys_mount fs/namespace.c:3935 [inline] __se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3912 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7efdad79da0a Code: 48 c7 c2 e8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007efdae58fe58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007efdae58fee0 RCX: 00007efdad79da0a RDX: 0000200000000000 RSI: 0000200000000980 RDI: 00007efdae58fea0 RBP: 0000200000000000 R08: 00007efdae58fee0 R09: 0000000002204014 R10: 0000000002204014 R11: 0000000000000246 R12: 0000200000000980 R13: 00007efdae58fea0 R14: 000000000001f886 R15: 0000200000000780 Allocated by task 14770: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4e/0x70 mm/kasan/common.c:53 __kasan_slab_alloc+0x6c/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook+0x6e/0x4b0 mm/slab.h:767 slab_alloc_node mm/slub.c:3495 [inline] slab_alloc mm/slub.c:3503 [inline] __kmem_cache_alloc_lru mm/slub.c:3510 [inline] kmem_cache_alloc_lru+0x111/0x2d0 mm/slub.c:3526 alloc_inode_sb include/linux/fs.h:2946 [inline] f2fs_alloc_inode+0x16b/0x5d0 fs/f2fs/super.c:1403 alloc_inode fs/inode.c:261 [inline] iget_locked+0x1ad/0x840 fs/inode.c:1359 f2fs_iget+0x55/0x47e0 fs/f2fs/inode.c:557 f2fs_fill_super+0x47cb/0x6be0 fs/f2fs/super.c:4596 mount_bdev+0x221/0x2d0 fs/super.c:1643 legacy_get_tree+0xea/0x180 fs/fs_context.c:662 vfs_get_tree+0x8c/0x280 fs/super.c:1764 do_new_mount+0x24b/0xa40 fs/namespace.c:3386 do_mount fs/namespace.c:3726 [inline] __do_sys_mount fs/namespace.c:3935 [inline] __se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3912 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x55/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Last potentially related work creation: kasan_save_stack+0x3e/0x60 mm/kasan/common.c:46 __kasan_record_aux_stack+0xaf/0xc0 mm/kasan/generic.c:492 __call_rcu_common kernel/rcu/tree.c:2721 [inline] call_rcu+0x153/0x950 kernel/rcu/tree.c:2837 destroy_inode fs/inode.c:316 [inline] evict+0x835/0x8d0 fs/inode.c:720 f2fs_put_super+0x7b3/0x1430 fs/f2fs/super.c:1647 generic_shutdown_super+0x134/0x2b0 fs/super.c:693 kill_block_super+0x44/0x90 fs/super.c:1660 kill_f2fs_super+0x326/0x3d0 fs/f2fs/super.c:4883 deactivate_locked_super+0x97/0x100 fs/super.c:481 cleanup_mnt+0x43b/0x4d0 fs/namespace.c:1259 task_work_run+0x1d4/0x260 kernel/task_work.c:245 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302 do_syscall_64+0x61/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Second to last potentially related work creation: kasan_save_stack+0x3e/0x60 mm/kasan/common.c:46 __kasan_record_aux_stack+0xaf/0xc0 mm/kasan/generic.c:492 __call_rcu_common kernel/rcu/tree.c:2721 [inline] call_rcu+0x153/0x950 kernel/rcu/tree.c:2837 destroy_inode fs/inode.c:316 [inline] evict+0x835/0x8d0 fs/inode.c:720 f2fs_put_super+0x806/0x1430 fs/f2fs/super.c:1650 generic_shutdown_super+0x134/0x2b0 fs/super.c:693 kill_block_super+0x44/0x90 fs/super.c:1660 kill_f2fs_super+0x326/0x3d0 fs/f2fs/super.c:4883 deactivate_locked_super+0x97/0x100 fs/super.c:481 cleanup_mnt+0x43b/0x4d0 fs/namespace.c:1259 task_work_run+0x1d4/0x260 kernel/task_work.c:245 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0xe6/0x110 kernel/entry/common.c:177 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:291 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302 do_syscall_64+0x61/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 The buggy address belongs to the object at ffff88805216f500 which belongs to the cache f2fs_inode_cache of size 2176 The buggy address is located 480 bytes to the right of allocated 2176-byte region [ffff88805216f500, ffff88805216fd80) The buggy address belongs to the physical page: page:ffffea0001485a00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff88805216b600 pfn:0x52168 head:ffffea0001485a00 order:3 entire_mapcount:0 nr_pages_mapped:0 pincount:0 memcg:ffff888030bf9701 flags: 0xfff00000000840(slab|head|node=0|zone=1|lastcpupid=0x7ff) page_type: 0xffffffff() raw: 00fff00000000840 ffff8881432f3500 dead000000000122 0000000000000000 raw: ffff88805216b600 00000000800e0006 00000001ffffffff ffff888030bf9701 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Reclaimable, gfp_mask 0x1d2050(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC|__GFP_HARDWALL|__GFP_RECLAIMABLE), pid 5974, tgid 5973 (syz.3.60), ts 91866051827, free_ts 90788190038 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x1c1/0x200 mm/page_alloc.c:1581 prep_new_page mm/page_alloc.c:1588 [inline] get_page_from_freelist+0x1951/0x19e0 mm/page_alloc.c:3220 __alloc_pages+0x1f0/0x460 mm/page_alloc.c:4500 alloc_slab_page+0x5d/0x160 mm/slub.c:1881 allocate_slab mm/slub.c:2028 [inline] new_slab+0x87/0x2d0 mm/slub.c:2081 ___slab_alloc+0xc5d/0x12f0 mm/slub.c:3253 __slab_alloc mm/slub.c:3339 [inline] __slab_alloc_node mm/slub.c:3392 [inline] slab_alloc_node mm/slub.c:3485 [inline] slab_alloc mm/slub.c:3503 [inline] __kmem_cache_alloc_lru mm/slub.c:3510 [inline] kmem_cache_alloc_lru+0x1aa/0x2d0 mm/slub.c:3526 alloc_inode_sb include/linux/fs.h:2946 [inline] f2fs_alloc_inode+0x16b/0x5d0 fs/f2fs/super.c:1403 alloc_inode fs/inode.c:261 [inline] iget_locked+0x1ad/0x840 fs/inode.c:1359 f2fs_iget+0x55/0x47e0 fs/f2fs/inode.c:557 f2fs_fill_super+0x3bc0/0x6be0 fs/f2fs/super.c:4498 mount_bdev+0x221/0x2d0 fs/super.c:1643 legacy_get_tree+0xea/0x180 fs/fs_context.c:662 vfs_get_tree+0x8c/0x280 fs/super.c:1764 do_new_mount+0x24b/0xa40 fs/namespace.c:3386 do_mount fs/namespace.c:3726 [inline] __do_sys_mount fs/namespace.c:3935 [inline] __se_sys_mount+0x2e7/0x3d0 fs/namespace.c:3912 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1181 [inline] free_unref_page_prepare+0x7b2/0x8c0 mm/page_alloc.c:2365 free_unref_page+0x32/0x2e0 mm/page_alloc.c:2458 __slab_free+0x35a/0x400 mm/slub.c:3736 qlink_free mm/kasan/quarantine.c:166 [inline] qlist_free_all+0x75/0xd0 mm/kasan/quarantine.c:185 kasan_quarantine_reduce+0x143/0x160 mm/kasan/quarantine.c:292 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:306 kasan_slab_alloc include/linux/kasan.h:188 [inline] slab_post_alloc_hook+0x6e/0x4b0 mm/slab.h:767 slab_alloc_node mm/slub.c:3495 [inline] slab_alloc mm/slub.c:3503 [inline] __kmem_cache_alloc_lru mm/slub.c:3510 [inline] kmem_cache_alloc+0x11a/0x2d0 mm/slub.c:3519 anon_vma_chain_alloc mm/rmap.c:142 [inline] __anon_vma_prepare+0x68/0x430 mm/rmap.c:196 anon_vma_prepare include/linux/rmap.h:159 [inline] do_anonymous_page mm/memory.c:4148 [inline] do_pte_missing mm/memory.c:3687 [inline] handle_pte_fault mm/memory.c:5047 [inline] __handle_mm_fault mm/memory.c:5188 [inline] handle_mm_fault+0x401d/0x4c00 mm/memory.c:5353 do_user_addr_fault+0x730/0x12c0 arch/x86/mm/fault.c:1371 handle_page_fault arch/x86/mm/fault.c:1463 [inline] exc_page_fault+0x64/0x100 arch/x86/mm/fault.c:1516 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:608 Memory state around the buggy address: ffff88805216fe00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88805216fe80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88805216ff00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff88805216ff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888052170000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================