IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 IPVS: ftp: loaded support on port[0] = 21 ================================================================== BUG: KASAN: slab-out-of-bounds in ntfs_attr_find+0x9df/0xb00 fs/ntfs/attrib.c:599 Read of size 4 at addr ffff8881d123f5f5 by task syz-executor/4412 CPU: 1 PID: 4412 Comm: syz-executor Not tainted 5.3.0-rc2+ #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x115/0x167 lib/dump_stack.c:113 print_address_description+0x6f/0x2fe mm/kasan/report.c:351 __kasan_report.cold.7+0x1b/0x3f mm/kasan/report.c:482 kasan_report+0x12/0x17 mm/kasan/common.c:612 __asan_report_load_n_noabort+0xf/0x20 mm/kasan/generic_report.c:142 ntfs_attr_find+0x9df/0xb00 fs/ntfs/attrib.c:599 ntfs_external_attr_find fs/ntfs/attrib.c:1093 [inline] ntfs_attr_lookup+0x10c9/0x23c0 fs/ntfs/attrib.c:1191 ntfs_read_inode_mount+0x6bf/0x20c0 fs/ntfs/inode.c:1832 ntfs_fill_super+0x121e/0x2d50 fs/ntfs/super.c:2857 mount_bdev+0x27b/0x340 fs/super.c:1283 ntfs_mount+0x10/0x20 fs/ntfs/super.c:3051 legacy_get_tree+0x103/0x1f0 fs/fs_context.c:661 vfs_get_tree+0x8b/0x360 fs/super.c:1413 ntfs: (device loop5): is_boot_sector_ntfs(): Invalid end of sector marker. do_new_mount fs/namespace.c:2791 [inline] do_mount+0x584/0x1b40 fs/namespace.c:3111 ksys_mount+0xba/0xe0 fs/namespace.c:3320 __do_sys_mount fs/namespace.c:3334 [inline] __se_sys_mount fs/namespace.c:3331 [inline] __x64_sys_mount+0xb9/0x150 fs/namespace.c:3331 do_syscall_64+0xd6/0x550 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457dea Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 dd 8f fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 ba 8f fb ff c3 66 0f 1f 84 00 00 00 00 00 RSP: 002b:00007f3f44d37bb8 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 0000000020000000 RCX: 0000000000457dea RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f3f44d37c00 RBP: 0000000000000002 R08: 000000002007e200 R09: 0000000020000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000003 R13: 000000000000066c R14: 00000000006fbac0 R15: 0000000000000000 Allocated by task 4399: save_stack+0x21/0x90 mm/kasan/common.c:69 set_track mm/kasan/common.c:77 [inline] __kasan_kmalloc.constprop.7+0xc1/0xd0 mm/kasan/common.c:487 kasan_kmalloc+0x9/0x10 mm/kasan/common.c:501 __do_kmalloc mm/slab.c:3655 [inline] __kmalloc+0x164/0x760 mm/slab.c:3664 kmalloc include/linux/slab.h:557 [inline] kzalloc include/linux/slab.h:748 [inline] __register_sysctl_table+0xaa/0xe90 fs/proc/proc_sysctl.c:1331 register_net_sysctl+0x10/0x20 net/sysctl_net.c:121 neigh_sysctl_register+0x2ff/0x7e0 net/core/neighbour.c:3697 devinet_sysctl_register+0x8f/0x1e0 net/ipv4/devinet.c:2611 inetdev_init+0x1f9/0x3f0 net/ipv4/devinet.c:276 inetdev_event+0xcb9/0x1210 net/ipv4/devinet.c:1530 notifier_call_chain+0x8b/0x160 kernel/notifier.c:95 __raw_notifier_call_chain kernel/notifier.c:396 [inline] raw_notifier_call_chain+0x11/0x20 kernel/notifier.c:403 call_netdevice_notifiers_info+0x28/0x60 net/core/dev.c:1749 call_netdevice_notifiers_extack net/core/dev.c:1761 [inline] call_netdevice_notifiers net/core/dev.c:1775 [inline] register_netdevice+0x8f0/0x10c0 net/core/dev.c:8752 register_netdev+0x19/0x30 net/core/dev.c:8841 vti6_init_net+0x404/0x680 net/ipv6/ip6_vti.c:1122 ops_init+0x98/0x380 net/core/net_namespace.c:137 setup_net+0x2da/0x7b0 net/core/net_namespace.c:334 copy_net_ns+0x24a/0x365 net/core/net_namespace.c:475 create_new_namespaces+0x4ae/0x810 kernel/nsproxy.c:103 unshare_nsproxy_namespaces+0x87/0x1a0 kernel/nsproxy.c:202 ksys_unshare+0x324/0x6f0 kernel/fork.c:2831 __do_sys_unshare kernel/fork.c:2899 [inline] __se_sys_unshare kernel/fork.c:2897 [inline] __x64_sys_unshare+0x2c/0x40 kernel/fork.c:2897 do_syscall_64+0xd6/0x550 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 0: (stack is not available) The buggy address belongs to the object at ffff8881d123f200 which belongs to the cache kmalloc-1k of size 1024 The buggy address is located 1013 bytes inside of 1024-byte region [ffff8881d123f200, ffff8881d123f600) The buggy address belongs to the page: page:ffffea0007448f80 refcount:1 mapcount:0 mapping:ffff8881da000c40 index:0x0 compound_mapcount: 0 flags: 0x2fffc0000010200(slab|head) raw: 02fffc0000010200 ffffea000744a408 ffffea00073f7808 ffff8881da000c40 raw: 0000000000000000 ffff8881d123e000 0000000100000007 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8881d123f480: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8881d123f500: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff8881d123f580: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ^ ffff8881d123f600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8881d123f680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ==================================================================