ntfs: (device loop3): is_boot_sector_ntfs(): Invalid end of sector marker. ntfs: volume version 3.1. ================================================================== BUG: KASAN: slab-out-of-bounds in arch_test_bit include/asm-generic/bitops/non-atomic.h:118 [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+0x8c/0x29c fs/ntfs/inode.c:55 Read of size 8 at addr ffff0000e88afec0 by task syz.3.900/6100 CPU: 1 PID: 6100 Comm: syz.3.900 Not tainted 5.15.176-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call trace: dump_backtrace+0x0/0x530 arch/arm64/kernel/stacktrace.c:152 show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:216 __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x108/0x170 lib/dump_stack.c:106 print_address_description+0x7c/0x3f0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:434 [inline] kasan_report+0x174/0x1e4 mm/kasan/report.c:451 __asan_report_load8_noabort+0x44/0x50 mm/kasan/report_generic.c:309 arch_test_bit include/asm-generic/bitops/non-atomic.h:118 [inline] NInoAttr fs/ntfs/inode.h:200 [inline] ntfs_test_inode+0x8c/0x29c fs/ntfs/inode.c:55 find_inode+0x170/0x3b4 fs/inode.c:873 ilookup5_nowait fs/inode.c:1425 [inline] ilookup5+0xb8/0x1e0 fs/inode.c:1454 iget5_locked+0x48/0x230 fs/inode.c:1235 ntfs_iget+0xcc/0x19c fs/ntfs/inode.c:168 load_and_check_logfile+0x48/0x114 fs/ntfs/super.c:1208 load_system_files+0x2fb0/0x4228 fs/ntfs/super.c:1941 ntfs_fill_super+0x1670/0x24e8 fs/ntfs/super.c:2894 mount_bdev+0x274/0x370 fs/super.c:1400 ntfs_mount+0x44/0x58 fs/ntfs/super.c:3051 legacy_get_tree+0xd4/0x16c fs/fs_context.c:611 vfs_get_tree+0x90/0x274 fs/super.c:1530 do_new_mount+0x278/0x8fc fs/namespace.c:3012 path_mount+0x594/0x101c fs/namespace.c:3342 do_mount fs/namespace.c:3355 [inline] __do_sys_mount fs/namespace.c:3563 [inline] __se_sys_mount fs/namespace.c:3540 [inline] __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3540 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 Allocated by task 4102: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x8c/0xcc mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:254 [inline] slab_post_alloc_hook+0x74/0x3f4 mm/slab.h:519 slab_alloc_node mm/slub.c:3220 [inline] slab_alloc mm/slub.c:3228 [inline] kmem_cache_alloc+0x1dc/0x45c mm/slub.c:3233 alloc_inode fs/inode.c:238 [inline] new_inode_pseudo+0x110/0x200 fs/inode.c:976 new_inode+0x38/0x174 fs/inode.c:1005 debugfs_get_inode fs/debugfs/inode.c:72 [inline] __debugfs_create_file+0x13c/0x464 fs/debugfs/inode.c:409 debugfs_create_file+0x60/0x78 fs/debugfs/inode.c:461 add_common_files net/mac80211/debugfs_netdev.c:678 [inline] add_files net/mac80211/debugfs_netdev.c:807 [inline] ieee80211_debugfs_add_netdev+0x2c0/0xe50 net/mac80211/debugfs_netdev.c:843 ieee80211_setup_sdata+0x950/0xbb4 net/mac80211/iface.c:1651 ieee80211_if_change_type+0x1e0/0xc68 net/mac80211/iface.c:1760 ieee80211_change_iface+0x6c/0x3a0 net/mac80211/cfg.c:160 rdev_change_virtual_intf net/wireless/rdev-ops.h:69 [inline] cfg80211_change_iface+0x778/0x143c net/wireless/util.c:1074 nl80211_set_interface+0x404/0x710 net/wireless/nl80211.c:3953 genl_family_rcv_msg_doit net/netlink/genetlink.c:731 [inline] genl_family_rcv_msg net/netlink/genetlink.c:775 [inline] genl_rcv_msg+0xc18/0x1018 net/netlink/genetlink.c:792 netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2489 genl_rcv+0x38/0x50 net/netlink/genetlink.c:803 netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline] netlink_unicast+0x664/0x938 net/netlink/af_netlink.c:1337 netlink_sendmsg+0x844/0xb38 net/netlink/af_netlink.c:1905 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] __sys_sendto+0x388/0x4d0 net/socket.c:2063 __do_sys_sendto net/socket.c:2075 [inline] __se_sys_sendto net/socket.c:2071 [inline] __arm64_sys_sendto+0xd8/0xf8 net/socket.c:2071 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline] invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584 The buggy address belongs to the object at ffff0000e88af7b0 which belongs to the cache inode_cache of size 1168 The buggy address is located 640 bytes to the right of 1168-byte region [ffff0000e88af7b0, ffff0000e88afc40) The buggy address belongs to the page: page:0000000081e34cac refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1288ac head:0000000081e34cac order:2 compound_mapcount:0 compound_pincount:0 memcg:ffff0000cd756f01 flags: 0x5ffc00000010200(slab|head|node=0|zone=2|lastcpupid=0x7ff) raw: 05ffc00000010200 0000000000000000 dead000000000122 ffff0000c0840480 raw: 0000000000000000 00000000000c000c 00000001ffffffff ffff0000cd756f01 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff0000e88afd80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000e88afe00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff0000e88afe80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff0000e88aff00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff0000e88aff80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== ntfs: (device loop3): ntfs_check_logfile(): $LogFile is too small. ntfs: (device loop3): load_system_files(): Failed to load $LogFile. Will not be able to remount read-write. Mount in Windows.