ntfs: (device loop4): load_and_init_upcase(): Failed to load $UpCase from the volume. Using default. ntfs: volume version 3.1. ================================================================== BUG: KASAN: slab-out-of-bounds in instrument_atomic_read include/linux/instrumented.h:72 [inline] BUG: KASAN: slab-out-of-bounds in _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] BUG: KASAN: slab-out-of-bounds in NInoAttr fs/ntfs/inode.h:200 [inline] BUG: KASAN: slab-out-of-bounds in ntfs_test_inode+0x79/0x2d0 fs/ntfs/inode.c:55 Read of size 8 at addr ffff888052dffec0 by task syz.4.3328/11951 CPU: 1 PID: 11951 Comm: syz.4.3328 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/24/2026 Call Trace: dump_stack_lvl+0x188/0x24e lib/dump_stack.c:106 print_address_description mm/kasan/report.c:316 [inline] print_report+0xa8/0x210 mm/kasan/report.c:420 kasan_report+0x10b/0x140 mm/kasan/report.c:524 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x235/0x290 mm/kasan/generic.c:189 instrument_atomic_read include/linux/instrumented.h:72 [inline] _test_bit include/asm-generic/bitops/instrumented-non-atomic.h:141 [inline] NInoAttr fs/ntfs/inode.h:200 [inline] ntfs_test_inode+0x79/0x2d0 fs/ntfs/inode.c:55 find_inode+0x19a/0x3f0 fs/inode.c:960 ilookup5_nowait fs/inode.c:1515 [inline] ilookup5+0xa7/0x1e0 fs/inode.c:1544 iget5_locked+0x30/0x260 fs/inode.c:1325 ntfs_iget+0xb9/0x1a0 fs/ntfs/inode.c:168 load_and_check_logfile+0x3f/0xd0 fs/ntfs/super.c:1208 load_system_files+0x2f17/0x4540 fs/ntfs/super.c:1941 ntfs_fill_super+0x182a/0x2a60 fs/ntfs/super.c:2892 mount_bdev+0x287/0x3c0 fs/super.c:1443 legacy_get_tree+0xe6/0x180 fs/fs_context.c:632 vfs_get_tree+0x88/0x270 fs/super.c:1573 do_new_mount+0x24a/0xa40 fs/namespace.c:3078 do_mount fs/namespace.c:3421 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3606 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fd97df9c14a 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:00007fd97eee3e58 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007fd97eee3ee0 RCX: 00007fd97df9c14a RDX: 0000200000000000 RSI: 0000200000000040 RDI: 00007fd97eee3ea0 RBP: 0000200000000000 R08: 00007fd97eee3ee0 R09: 0000000000808848 R10: 0000000000808848 R11: 0000000000000246 R12: 0000200000000040 R13: 00007fd97eee3ea0 R14: 000000000001ee86 R15: 0000200000002380 Allocated by task 11863: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 __kasan_slab_alloc+0x6b/0x80 mm/kasan/common.c:329 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x480 mm/slab.h:737 slab_alloc_node mm/slub.c:3359 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc_lru+0x11a/0x2e0 mm/slub.c:3390 alloc_inode_sb include/linux/fs.h:3245 [inline] ntfs_alloc_inode+0x24/0x70 fs/ntfs3/super.c:403 alloc_inode fs/inode.c:261 [inline] iget5_locked+0x9e/0x260 fs/inode.c:1328 ntfs_iget5+0xc9/0x38e0 fs/ntfs3/inode.c:520 ntfs_fill_super+0x226f/0x3f80 fs/ntfs3/super.c:1033 get_tree_bdev+0x3f1/0x610 fs/super.c:1366 vfs_get_tree+0x88/0x270 fs/super.c:1573 do_new_mount+0x24a/0xa40 fs/namespace.c:3078 do_mount fs/namespace.c:3421 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3606 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Freed by task 11863: kasan_save_stack mm/kasan/common.c:46 [inline] kasan_set_track+0x4b/0x70 mm/kasan/common.c:53 kasan_save_free_info+0x2d/0x50 mm/kasan/generic.c:516 ____kasan_slab_free+0x126/0x1e0 mm/kasan/common.c:237 kasan_slab_free include/linux/kasan.h:177 [inline] slab_free_hook mm/slub.c:1729 [inline] slab_free_freelist_hook+0x131/0x1a0 mm/slub.c:1755 slab_free mm/slub.c:3687 [inline] kmem_cache_free+0xf7/0x290 mm/slub.c:3709 rcu_do_batch kernel/rcu/tree.c:2297 [inline] rcu_core+0xa99/0x1740 kernel/rcu/tree.c:2557 handle_softirqs+0x2a1/0x930 kernel/softirq.c:596 __do_softirq kernel/softirq.c:630 [inline] invoke_softirq kernel/softirq.c:470 [inline] __irq_exit_rcu+0x13b/0x230 kernel/softirq.c:679 irq_exit_rcu+0x5/0x20 kernel/softirq.c:691 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline] sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691 Last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:46 __kasan_record_aux_stack+0xb2/0xc0 mm/kasan/generic.c:486 call_rcu+0x14f/0x990 kernel/rcu/tree.c:2849 destroy_inode fs/inode.c:311 [inline] evict+0x7b4/0x8d0 fs/inode.c:720 ntfs_fill_super+0x2300/0x3f80 fs/ntfs3/super.c:1046 get_tree_bdev+0x3f1/0x610 fs/super.c:1366 vfs_get_tree+0x88/0x270 fs/super.c:1573 do_new_mount+0x24a/0xa40 fs/namespace.c:3078 do_mount fs/namespace.c:3421 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3606 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 entry_SYSCALL_64_after_hwframe+0x68/0xd2 Second to last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:46 __kasan_record_aux_stack+0xb2/0xc0 mm/kasan/generic.c:486 call_rcu+0x14f/0x990 kernel/rcu/tree.c:2849 destroy_inode fs/inode.c:311 [inline] evict+0x7b4/0x8d0 fs/inode.c:720 put_ntfs+0x160/0x2b0 fs/ntfs3/super.c:456 ntfs_put_super+0xb9/0x110 fs/ntfs3/super.c:486 generic_shutdown_super+0x130/0x340 fs/super.c:501 kill_block_super+0x7c/0xe0 fs/super.c:1470 deactivate_locked_super+0x93/0xf0 fs/super.c:332 cleanup_mnt+0x42c/0x4b0 fs/namespace.c:1191 task_work_run+0x1d0/0x260 kernel/task_work.c:203 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:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 The buggy address belongs to the object at ffff888052dff600 which belongs to the cache ntfs_inode_cache of size 1760 The buggy address is located 480 bytes to the right of 1760-byte region [ffff888052dff600, ffff888052dffce0) The buggy address belongs to the physical page: page:ffffea00014b7e00 refcount:1 mapcount:0 mapping:0000000000000000 index:0xffff888052df9620 pfn:0x52df8 head:ffffea00014b7e00 order:3 compound_mapcount:0 compound_pincount:0 memcg:ffff8880278e1001 flags: 0xfff00000010200(slab|head|node=0|zone=1|lastcpupid=0x7ff) raw: 00fff00000010200 0000000000000000 dead000000000001 ffff88801b33e780 raw: ffff888052df9620 000000008011000c 00000001ffffffff ffff8880278e1001 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 4826, tgid 4825 (syz.1.289), ts 98039487326, free_ts 97092121196 set_page_owner include/linux/page_owner.h:31 [inline] post_alloc_hook+0x173/0x1a0 mm/page_alloc.c:2559 prep_new_page mm/page_alloc.c:2566 [inline] get_page_from_freelist+0x1a1e/0x1ab0 mm/page_alloc.c:4357 __alloc_pages+0x1ec/0x4f0 mm/page_alloc.c:5643 alloc_slab_page+0x5d/0x160 mm/slub.c:1799 allocate_slab mm/slub.c:1944 [inline] new_slab+0x87/0x2c0 mm/slub.c:1997 ___slab_alloc+0xbc6/0x1240 mm/slub.c:3154 __slab_alloc mm/slub.c:3240 [inline] slab_alloc_node mm/slub.c:3325 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc_lru+0x1ae/0x2e0 mm/slub.c:3390 alloc_inode_sb include/linux/fs.h:3245 [inline] ntfs_alloc_inode+0x24/0x70 fs/ntfs3/super.c:403 alloc_inode fs/inode.c:261 [inline] iget5_locked+0x9e/0x260 fs/inode.c:1328 ntfs_iget5+0xc9/0x38e0 fs/ntfs3/inode.c:520 ntfs_fill_super+0x1b4a/0x3f80 fs/ntfs3/super.c:970 get_tree_bdev+0x3f1/0x610 fs/super.c:1366 vfs_get_tree+0x88/0x270 fs/super.c:1573 do_new_mount+0x24a/0xa40 fs/namespace.c:3078 do_mount fs/namespace.c:3421 [inline] __do_sys_mount fs/namespace.c:3629 [inline] __se_sys_mount+0x2e3/0x3d0 fs/namespace.c:3606 do_syscall_x64 arch/x86/entry/common.c:46 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76 page last free stack trace: reset_page_owner include/linux/page_owner.h:24 [inline] free_pages_prepare mm/page_alloc.c:1486 [inline] free_pcp_prepare mm/page_alloc.c:1536 [inline] free_unref_page_prepare+0x8b4/0x9a0 mm/page_alloc.c:3413 free_unref_page+0x2e/0x3f0 mm/page_alloc.c:3508 qlink_free mm/kasan/quarantine.c:168 [inline] qlist_free_all+0x76/0xe0 mm/kasan/quarantine.c:187 kasan_quarantine_reduce+0x144/0x160 mm/kasan/quarantine.c:294 __kasan_slab_alloc+0x1e/0x80 mm/kasan/common.c:306 kasan_slab_alloc include/linux/kasan.h:201 [inline] slab_post_alloc_hook+0x4b/0x480 mm/slab.h:737 slab_alloc_node mm/slub.c:3359 [inline] slab_alloc mm/slub.c:3367 [inline] __kmem_cache_alloc_lru mm/slub.c:3374 [inline] kmem_cache_alloc_lru+0x11a/0x2e0 mm/slub.c:3390 __d_alloc+0x31/0x700 fs/dcache.c:1774 d_alloc fs/dcache.c:1854 [inline] d_alloc_parallel+0xdc/0x1530 fs/dcache.c:2647 __lookup_slow+0x134/0x3f0 fs/namei.c:1683 lookup_slow+0x53/0x70 fs/namei.c:1715 walk_component fs/namei.c:2006 [inline] link_path_walk+0x945/0xe70 fs/namei.c:2333 path_openat+0x286/0x2ee0 fs/namei.c:3787 do_filp_open+0x1f1/0x430 fs/namei.c:3818 do_sys_openat2+0x150/0x4b0 fs/open.c:1320 do_sys_open fs/open.c:1336 [inline] __do_sys_openat fs/open.c:1352 [inline] __se_sys_openat fs/open.c:1347 [inline] __x64_sys_openat+0x135/0x160 fs/open.c:1347 Memory state around the buggy address: ffff888052dffd80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888052dffe00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888052dffe80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff888052dfff00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888052dfff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ==================================================================