./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor4028320261 <...> DUID 00:04:f8:32:f0:25:6b:f7:7b:d6:d2:5e:34:7f:1d:07:e3:4e forked to background, child pid 4659 [ 29.351642][ T4660] 8021q: adding VLAN 0 to HW filter on device bond0 [ 29.366495][ T4660] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: OK syzkaller Warning: Permanently added '10.128.1.66' (ECDSA) to the list of known hosts. execve("./syz-executor4028320261", ["./syz-executor4028320261"], 0x7fff98b536a0 /* 10 vars */) = 0 brk(NULL) = 0x555555e7f000 brk(0x555555e7fc40) = 0x555555e7fc40 arch_prctl(ARCH_SET_FS, 0x555555e7f300) = 0 uname({sysname="Linux", nodename="syzkaller", ...}) = 0 readlink("/proc/self/exe", "/root/syz-executor4028320261", 4096) = 28 brk(0x555555ea0c40) = 0x555555ea0c40 brk(0x555555ea1000) = 0x555555ea1000 mprotect(0x7fe56d9cb000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 memfd_create("syzkaller", 0) = 3 mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fe5654f3000 write(3, "\xeb\x52\x90\x4e\x54\x46\x53\x20\x20\x20\x20\x00\x10\x01\x00\x00\x00\x00\x00\x00\x00\xf8\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80\x00\x80\x00\xff\x01\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x00\x00\x00\x00\xff\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x20\x00\x00\x00\xf7\x9a\x81\x47\x2b\x73\xcf\x43\x00\x00\x00\x00\x0e\x1f\xbe\x71\x7c\xac\x22\xc0\x74\x0b\x56\xb4\x0e\xbb\x07\x00"..., 2097152) = 2097152 munmap(0x7fe5654f3000, 2097152) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 syzkaller login: [ 57.697314][ T4991] memfd_create() without MFD_EXEC nor MFD_NOEXEC_SEAL, pid=4991 'syz-executor402' [ 57.733216][ T4991] loop0: detected capacity change from 0 to 4096 [ 57.745832][ T4991] ntfs: (device loop0): ntfs_is_extended_system_file(): Corrupt file name attribute. You should run chkdsk. [ 57.757363][ T4991] ntfs: (device loop0): ntfs_read_locked_inode(): $DATA attribute is missing. [ 57.766341][ T4991] ntfs: (device loop0): ntfs_read_locked_inode(): Failed with error code -2. Marking corrupt inode 0x1 as bad. Run chkdsk. [ 57.779538][ T4991] ntfs: (device loop0): load_system_files(): Failed to load $MFTMirr. Mounting read-only. Run ntfsfix and/or chkdsk. mount("/dev/loop0", "./file0", "ntfs", MS_NOSUID, "") = 0 openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 chdir("./file0") = 0 ioctl(4, LOOP_CLR_FD) = 0 close(4) = 0 openat(AT_FDCWD, ".", O_RDONLY) = 4 [ 57.796622][ T4991] ntfs: volume version 3.1. [ 57.801911][ T4991] ntfs: (device loop0): ntfs_lookup_inode_by_name(): Corrupt directory. Aborting lookup. [ 57.811893][ T4991] ntfs: (device loop0): check_windows_hibernation_status(): Failed to find inode number for hiberfil.sys. [ 57.823215][ T4991] ntfs: (device loop0): load_system_files(): Failed to determine if Windows is hibernated. Will not be able to remount read-write. Run chkdsk. [ 57.842396][ T4991] ================================================================== [ 57.850499][ T4991] BUG: KASAN: slab-out-of-bounds in ntfs_readdir+0xea1/0x2b70 [ 57.858005][ T4991] Read of size 1 at addr ffff8880163a6e71 by task syz-executor402/4991 [ 57.866258][ T4991] [ 57.868594][ T4991] CPU: 1 PID: 4991 Comm: syz-executor402 Not tainted 6.4.0-rc5-syzkaller-00016-ga4d7d7011219 #0 [ 57.879020][ T4991] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 57.889080][ T4991] Call Trace: [ 57.892350][ T4991] [ 57.895285][ T4991] dump_stack_lvl+0x1e7/0x2d0 [ 57.899980][ T4991] ? irq_work_queue+0xca/0x150 [ 57.904839][ T4991] ? nf_tcp_handle_invalid+0x650/0x650 [ 57.910965][ T4991] ? panic+0x770/0x770 [ 57.919527][ T4991] ? _printk+0xd5/0x120 [ 57.924839][ T4991] print_report+0x163/0x540 [ 57.929349][ T4991] ? mutex_unlock+0x10/0x10 [ 57.933858][ T4991] ? __virt_addr_valid+0x22f/0x2e0 [ 57.938974][ T4991] ? __phys_addr+0xba/0x170 [ 57.943475][ T4991] ? ntfs_readdir+0xea1/0x2b70 [ 57.948236][ T4991] kasan_report+0x176/0x1b0 [ 57.952739][ T4991] ? ntfs_readdir+0xea1/0x2b70 [ 57.957589][ T4991] ntfs_readdir+0xea1/0x2b70 [ 57.962180][ T4991] ? read_lock_is_recursive+0x20/0x20 [ 57.967617][ T4991] ? __down_write_common+0x161/0x200 [ 57.972952][ T4991] ? clear_nonspinnable+0x60/0x60 [ 57.977995][ T4991] ? ntfs_unmap_page+0x260/0x260 [ 57.983336][ T4991] ? iterate_dir+0x135/0x570 [ 57.988338][ T4991] iterate_dir+0x228/0x570 [ 57.992857][ T4991] __se_sys_getdents64+0x20d/0x4f0 [ 57.997976][ T4991] ? _raw_spin_unlock_irq+0x2e/0x50 [ 58.003319][ T4991] ? __x64_sys_getdents64+0x80/0x80 [ 58.008527][ T4991] ? filldir+0x6a0/0x6a0 [ 58.012778][ T4991] ? syscall_enter_from_user_mode+0x32/0x230 [ 58.018761][ T4991] ? syscall_enter_from_user_mode+0x8c/0x230 [ 58.024736][ T4991] do_syscall_64+0x41/0xc0 [ 58.029151][ T4991] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 58.035036][ T4991] RIP: 0033:0x7fe56d93f7a9 [ 58.039445][ T4991] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 58.059058][ T4991] RSP: 002b:00007ffdd97f4d88 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 [ 58.067465][ T4991] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe56d93f7a9 [ 58.075429][ T4991] RDX: 00000000000000ab RSI: 0000000020000080 RDI: 0000000000000004 [ 58.083391][ T4991] RBP: 00007fe56d8ff040 R08: 0000000000000000 R09: 0000000000000000 [ 58.091359][ T4991] R10: 000000000001f1b8 R11: 0000000000000246 R12: 00007fe56d8ff0d0 [ 58.099320][ T4991] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 58.107463][ T4991] [ 58.110474][ T4991] [ 58.112956][ T4991] Allocated by task 4991: [ 58.117268][ T4991] kasan_set_track+0x4f/0x70 [ 58.121853][ T4991] __kasan_kmalloc+0x98/0xb0 [ 58.126434][ T4991] __kmalloc+0xb9/0x230 [ 58.130580][ T4991] ntfs_readdir+0x829/0x2b70 [ 58.135164][ T4991] iterate_dir+0x228/0x570 [ 58.139578][ T4991] __se_sys_getdents64+0x20d/0x4f0 [ 58.144693][ T4991] do_syscall_64+0x41/0xc0 [ 58.149102][ T4991] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 58.154996][ T4991] [ 58.157311][ T4991] The buggy address belongs to the object at ffff8880163a6e00 [ 58.157311][ T4991] which belongs to the cache kmalloc-64 of size 64 [ 58.171179][ T4991] The buggy address is located 57 bytes to the right of [ 58.171179][ T4991] allocated 56-byte region [ffff8880163a6e00, ffff8880163a6e38) [ 58.185692][ T4991] [ 58.188011][ T4991] The buggy address belongs to the physical page: [ 58.194413][ T4991] page:ffffea000058e980 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x163a6 [ 58.204555][ T4991] anon flags: 0xfff00000000200(slab|node=0|zone=1|lastcpupid=0x7ff) [ 58.212523][ T4991] page_type: 0xffffffff() [ 58.216847][ T4991] raw: 00fff00000000200 ffff888012441640 0000000000000000 dead000000000001 [ 58.225420][ T4991] raw: 0000000000000000 0000000080200020 00000001ffffffff 0000000000000000 [ 58.233987][ T4991] page dumped because: kasan: bad access detected [ 58.240386][ T4991] page_owner tracks the page as allocated [ 58.246086][ T4991] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12cc0(GFP_KERNEL|__GFP_NOWARN|__GFP_NORETRY), pid 10, tgid 10 (kworker/u4:0), ts 7271936381, free_ts 7215758621 [ 58.263875][ T4991] post_alloc_hook+0x1e6/0x210 [ 58.268648][ T4991] get_page_from_freelist+0x321c/0x33a0 [ 58.274186][ T4991] __alloc_pages+0x255/0x670 [ 58.278765][ T4991] alloc_slab_page+0x6a/0x160 [ 58.283432][ T4991] new_slab+0x84/0x2f0 [ 58.287492][ T4991] ___slab_alloc+0xa85/0x10a0 [ 58.292163][ T4991] __kmem_cache_alloc_node+0x1b8/0x290 [ 58.297610][ T4991] __kmalloc_node+0xa7/0x230 [ 58.302190][ T4991] __vmalloc_node_range+0x5fc/0x14e0 [ 58.307481][ T4991] dup_task_struct+0x3e5/0x7d0 [ 58.312268][ T4991] copy_process+0x5c8/0x4290 [ 58.316863][ T4991] kernel_clone+0x222/0x800 [ 58.321478][ T4991] user_mode_thread+0x132/0x190 [ 58.326343][ T4991] call_usermodehelper_exec_work+0x5c/0x220 [ 58.332243][ T4991] process_one_work+0x8a0/0x10e0 [ 58.337193][ T4991] worker_thread+0xa63/0x1210 [ 58.341866][ T4991] page last free stack trace: [ 58.346526][ T4991] free_unref_page_prepare+0x903/0xa30 [ 58.351977][ T4991] free_unref_page+0x37/0x3f0 [ 58.356643][ T4991] vfree+0x186/0x2e0 [ 58.360525][ T4991] delayed_vfree_work+0x56/0x80 [ 58.365366][ T4991] process_one_work+0x8a0/0x10e0 [ 58.370302][ T4991] worker_thread+0xa63/0x1210 [ 58.374975][ T4991] kthread+0x2b8/0x350 [ 58.379037][ T4991] ret_from_fork+0x1f/0x30 [ 58.383454][ T4991] [ 58.385766][ T4991] Memory state around the buggy address: [ 58.391386][ T4991] ffff8880163a6d00: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 58.399871][ T4991] ffff8880163a6d80: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 58.407920][ T4991] >ffff8880163a6e00: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc [ 58.415966][ T4991] ^ [ 58.424274][ T4991] ffff8880163a6e80: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc [ 58.433477][ T4991] ffff8880163a6f00: 00 00 00 00 00 01 fc fc fc fc fc fc fc fc fc fc [ 58.441535][ T4991] ================================================================== [ 58.450010][ T4991] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 58.457217][ T4991] CPU: 1 PID: 4991 Comm: syz-executor402 Not tainted 6.4.0-rc5-syzkaller-00016-ga4d7d7011219 #0 [ 58.467636][ T4991] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 [ 58.477686][ T4991] Call Trace: [ 58.480959][ T4991] [ 58.483881][ T4991] dump_stack_lvl+0x1e7/0x2d0 [ 58.488564][ T4991] ? nf_tcp_handle_invalid+0x650/0x650 [ 58.494020][ T4991] ? panic+0x770/0x770 [ 58.498095][ T4991] ? preempt_schedule_common+0x83/0xc0 [ 58.503559][ T4991] ? vscnprintf+0x5d/0x80 [ 58.507894][ T4991] panic+0x30f/0x770 [ 58.511798][ T4991] ? check_panic_on_warn+0x21/0xa0 [ 58.516914][ T4991] ? __memcpy_flushcache+0x2b0/0x2b0 [ 58.522193][ T4991] ? _raw_spin_unlock_irqrestore+0x12c/0x140 [ 58.528166][ T4991] ? _raw_spin_unlock+0x40/0x40 [ 58.533007][ T4991] ? print_report+0x4fb/0x540 [ 58.537681][ T4991] check_panic_on_warn+0x82/0xa0 [ 58.542613][ T4991] ? ntfs_readdir+0xea1/0x2b70 [ 58.547374][ T4991] end_report+0x63/0x110 [ 58.551881][ T4991] kasan_report+0x183/0x1b0 [ 58.556379][ T4991] ? ntfs_readdir+0xea1/0x2b70 [ 58.561148][ T4991] ntfs_readdir+0xea1/0x2b70 [ 58.565739][ T4991] ? read_lock_is_recursive+0x20/0x20 [ 58.571105][ T4991] ? __down_write_common+0x161/0x200 [ 58.576385][ T4991] ? clear_nonspinnable+0x60/0x60 [ 58.581412][ T4991] ? ntfs_unmap_page+0x260/0x260 [ 58.586344][ T4991] ? iterate_dir+0x135/0x570 [ 58.590931][ T4991] iterate_dir+0x228/0x570 [ 58.595359][ T4991] __se_sys_getdents64+0x20d/0x4f0 [ 58.601947][ T4991] ? _raw_spin_unlock_irq+0x2e/0x50 [ 58.607138][ T4991] ? __x64_sys_getdents64+0x80/0x80 [ 58.612335][ T4991] ? filldir+0x6a0/0x6a0 [ 58.616581][ T4991] ? syscall_enter_from_user_mode+0x32/0x230 [ 58.622557][ T4991] ? syscall_enter_from_user_mode+0x8c/0x230 [ 58.628532][ T4991] do_syscall_64+0x41/0xc0 [ 58.632946][ T4991] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 58.638832][ T4991] RIP: 0033:0x7fe56d93f7a9 [ 58.643238][ T4991] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 51 14 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48 [ 58.662840][ T4991] RSP: 002b:00007ffdd97f4d88 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 [ 58.671421][ T4991] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe56d93f7a9 [ 58.679388][ T4991] RDX: 00000000000000ab RSI: 0000000020000080 RDI: 0000000000000004 [ 58.687349][ T4991] RBP: 00007fe56d8ff040 R08: 0000000000000000 R09: 0000000000000000 [ 58.695311][ T4991] R10: 000000000001f1b8 R11: 0000000000000246 R12: 00007fe56d8ff0d0 [ 58.703274][ T4991] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 58.711329][ T4991] [ 58.714577][ T4991] Kernel Offset: disabled [ 58.718898][ T4991] Rebooting in 86400 seconds..