./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1683203395 <...> Warning: Permanently added '10.128.0.126' (ED25519) to the list of known hosts. execve("./syz-executor1683203395", ["./syz-executor1683203395"], 0x7fff2ee1a7a0 /* 10 vars */) = 0 brk(NULL) = 0x555556921000 brk(0x555556921d00) = 0x555556921d00 arch_prctl(ARCH_SET_FS, 0x555556921380) = 0 set_tid_address(0x555556921650) = 5026 set_robust_list(0x555556921660, 24) = 0 rseq(0x555556921ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1683203395", 4096) = 28 getrandom("\xcb\x3f\x1b\x88\x32\xc8\x62\x4b", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555556921d00 brk(0x555556942d00) = 0x555556942d00 brk(0x555556943000) = 0x555556943000 mprotect(0x7f9e1ddda000, 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) = 0x7f9e1590b000 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(0x7f9e1590b000, 138412032) = 0 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 ioctl(4, LOOP_SET_FD, 3) = 0 close(3) = 0 mkdir("./file0", 0777) = 0 [ 54.819532][ T5026] syz-executor168[5026]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [ 54.857761][ T5026] loop0: detected capacity change from 0 to 4096 [ 54.869849][ T5026] ntfs: (device loop0): ntfs_is_extended_system_file(): Corrupt file name attribute. You should run chkdsk. [ 54.881343][ T5026] ntfs: (device loop0): ntfs_read_locked_inode(): $DATA attribute is missing. [ 54.890255][ T5026] ntfs: (device loop0): ntfs_read_locked_inode(): Failed with error code -2. Marking corrupt inode 0x1 as bad. Run chkdsk. [ 54.903253][ T5026] 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 [ 54.923191][ T5026] ntfs: volume version 3.1. [ 54.929642][ T5026] ntfs: (device loop0): ntfs_lookup_inode_by_name(): Corrupt directory. Aborting lookup. [ 54.939608][ T5026] ntfs: (device loop0): check_windows_hibernation_status(): Failed to find inode number for hiberfil.sys. [ 54.950912][ T5026] ntfs: (device loop0): load_system_files(): Failed to determine if Windows is hibernated. Will not be able to remount read-write. Run chkdsk. [ 54.970123][ T5026] ================================================================== [ 54.978202][ T5026] BUG: KASAN: slab-out-of-bounds in ntfs_readdir+0xeaa/0x2b80 [ 54.985688][ T5026] Read of size 1 at addr ffff888026d38871 by task syz-executor168/5026 [ 54.993927][ T5026] [ 54.996253][ T5026] CPU: 1 PID: 5026 Comm: syz-executor168 Not tainted 6.6.0-syzkaller-00207-g14ab6d425e80 #0 [ 55.006318][ T5026] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 [ 55.016377][ T5026] Call Trace: [ 55.019654][ T5026] [ 55.022582][ T5026] dump_stack_lvl+0x1e7/0x2d0 [ 55.027270][ T5026] ? nf_tcp_handle_invalid+0x650/0x650 [ 55.032726][ T5026] ? panic+0x770/0x770 [ 55.036775][ T5026] ? _printk+0xd5/0x120 [ 55.040907][ T5026] print_report+0x163/0x540 [ 55.045392][ T5026] ? mutex_unlock+0x10/0x10 [ 55.049872][ T5026] ? __virt_addr_valid+0x22f/0x2e0 [ 55.054962][ T5026] ? __phys_addr+0xba/0x170 [ 55.059439][ T5026] ? ntfs_readdir+0xeaa/0x2b80 [ 55.064181][ T5026] kasan_report+0x175/0x1b0 [ 55.068663][ T5026] ? ntfs_readdir+0xeaa/0x2b80 [ 55.073409][ T5026] ntfs_readdir+0xeaa/0x2b80 [ 55.077986][ T5026] ? __mutex_trylock_common+0x182/0x2e0 [ 55.083525][ T5026] ? read_lock_is_recursive+0x20/0x20 [ 55.088887][ T5026] ? ntfs_dir_fsync+0x470/0x470 [ 55.093721][ T5026] ? clear_nonspinnable+0x60/0x60 [ 55.098730][ T5026] ? mutex_lock_nested+0x20/0x20 [ 55.103669][ T5026] ? ntfs_dir_fsync+0x470/0x470 [ 55.108512][ T5026] wrap_directory_iterator+0x91/0xd0 [ 55.113793][ T5026] iterate_dir+0x1cd/0x540 [ 55.118212][ T5026] __se_sys_getdents64+0x20d/0x4f0 [ 55.123322][ T5026] ? _raw_spin_unlock_irq+0x2e/0x50 [ 55.128512][ T5026] ? __x64_sys_getdents64+0x80/0x80 [ 55.133699][ T5026] ? filldir+0x6a0/0x6a0 [ 55.137929][ T5026] ? syscall_enter_from_user_mode+0x32/0x230 [ 55.143899][ T5026] ? syscall_enter_from_user_mode+0x8c/0x230 [ 55.149862][ T5026] do_syscall_64+0x41/0xc0 [ 55.154268][ T5026] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.160150][ T5026] RIP: 0033:0x7f9e1dd485f9 [ 55.164550][ T5026] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 b8 ff ff ff f7 d8 64 89 01 48 [ 55.184140][ T5026] RSP: 002b:00007ffcc150a118 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 [ 55.192539][ T5026] RAX: ffffffffffffffda RBX: 00007ffcc150a2e8 RCX: 00007f9e1dd485f9 [ 55.200492][ T5026] RDX: 00000000000000ab RSI: 0000000020000080 RDI: 0000000000000004 [ 55.208448][ T5026] RBP: 00007f9e1ddda610 R08: 0000000000000000 R09: 00007ffcc150a2e8 [ 55.216404][ T5026] R10: 000000000001f1b8 R11: 0000000000000246 R12: 0000000000000001 [ 55.224359][ T5026] R13: 00007ffcc150a2d8 R14: 0000000000000001 R15: 0000000000000001 [ 55.232319][ T5026] [ 55.235325][ T5026] [ 55.237631][ T5026] Allocated by task 5026: [ 55.241937][ T5026] kasan_set_track+0x4f/0x70 [ 55.246520][ T5026] __kasan_kmalloc+0x98/0xb0 [ 55.251094][ T5026] __kmalloc+0xb9/0x230 [ 55.255233][ T5026] ntfs_readdir+0x832/0x2b80 [ 55.259805][ T5026] wrap_directory_iterator+0x91/0xd0 [ 55.265080][ T5026] iterate_dir+0x1cd/0x540 [ 55.269484][ T5026] __se_sys_getdents64+0x20d/0x4f0 [ 55.274585][ T5026] do_syscall_64+0x41/0xc0 [ 55.278984][ T5026] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.284863][ T5026] [ 55.287171][ T5026] The buggy address belongs to the object at ffff888026d38800 [ 55.287171][ T5026] which belongs to the cache kmalloc-64 of size 64 [ 55.301048][ T5026] The buggy address is located 57 bytes to the right of [ 55.301048][ T5026] allocated 56-byte region [ffff888026d38800, ffff888026d38838) [ 55.315522][ T5026] [ 55.317828][ T5026] The buggy address belongs to the physical page: [ 55.324218][ T5026] page:ffffea00009b4e00 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x26d38 [ 55.334352][ T5026] ksm flags: 0xfff00000000800(slab|node=0|zone=1|lastcpupid=0x7ff) [ 55.342223][ T5026] page_type: 0xffffffff() [ 55.346537][ T5026] raw: 00fff00000000800 ffff888012841640 ffffea00009e0d40 dead000000000003 [ 55.355101][ T5026] raw: 0000000000000000 0000000080200020 00000001ffffffff 0000000000000000 [ 55.363662][ T5026] page dumped because: kasan: bad access detected [ 55.370053][ T5026] page_owner tracks the page as allocated [ 55.375748][ T5026] page last allocated via order 0, migratetype Unmovable, gfp_mask 0x12c40(GFP_NOFS|__GFP_NOWARN|__GFP_NORETRY), pid 4464, tgid 4464 (syslogd), ts 16857362463, free_ts 15837116952 [ 55.393440][ T5026] post_alloc_hook+0x1e6/0x210 [ 55.398195][ T5026] get_page_from_freelist+0x31db/0x3360 [ 55.403725][ T5026] __alloc_pages+0x255/0x670 [ 55.408303][ T5026] alloc_slab_page+0x6a/0x160 [ 55.412963][ T5026] new_slab+0x84/0x2f0 [ 55.417015][ T5026] ___slab_alloc+0xc85/0x1310 [ 55.421673][ T5026] __kmem_cache_alloc_node+0x1af/0x270 [ 55.427113][ T5026] __kmalloc+0xa8/0x230 [ 55.431250][ T5026] tomoyo_commit_ok+0x29/0x1d0 [ 55.435997][ T5026] tomoyo_update_domain+0x551/0x8a0 [ 55.441188][ T5026] tomoyo_write_file+0x397/0xe50 [ 55.446109][ T5026] tomoyo_write_domain2+0x1dc/0x240 [ 55.451290][ T5026] tomoyo_supervisor+0xf02/0x11f0 [ 55.456297][ T5026] tomoyo_path_permission+0x243/0x360 [ 55.461653][ T5026] tomoyo_check_open_permission+0x2fb/0x500 [ 55.467530][ T5026] security_file_open+0x63/0xa0 [ 55.472366][ T5026] page last free stack trace: [ 55.477016][ T5026] free_unref_page_prepare+0x8c3/0x9f0 [ 55.482459][ T5026] free_unref_page+0x37/0x3f0 [ 55.487118][ T5026] kasan_depopulate_vmalloc_pte+0x74/0x90 [ 55.492816][ T5026] __apply_to_page_range+0x8e2/0xe00 [ 55.498088][ T5026] kasan_release_vmalloc+0x9a/0xb0 [ 55.503179][ T5026] __purge_vmap_area_lazy+0xc0f/0x19c0 [ 55.508619][ T5026] _vm_unmap_aliases+0x7d1/0x870 [ 55.513537][ T5026] change_page_attr_set_clr+0x2f8/0xf80 [ 55.519064][ T5026] set_memory_nx+0xf2/0x130 [ 55.523558][ T5026] free_initmem+0x75/0xc0 [ 55.527868][ T5026] kernel_init+0x31/0x2a0 [ 55.532179][ T5026] ret_from_fork+0x48/0x80 [ 55.536577][ T5026] ret_from_fork_asm+0x11/0x20 [ 55.541328][ T5026] [ 55.543634][ T5026] Memory state around the buggy address: [ 55.549241][ T5026] ffff888026d38700: fa fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 55.557294][ T5026] ffff888026d38780: 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc [ 55.565338][ T5026] >ffff888026d38800: 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc fc [ 55.573376][ T5026] ^ [ 55.581066][ T5026] ffff888026d38880: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc [ 55.589111][ T5026] ffff888026d38900: fb fb fb fb fb fb fb fb fc fc fc fc fc fc fc fc [ 55.597148][ T5026] ================================================================== [ 55.605484][ T5026] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 55.612678][ T5026] CPU: 1 PID: 5026 Comm: syz-executor168 Not tainted 6.6.0-syzkaller-00207-g14ab6d425e80 #0 [ 55.622739][ T5026] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 [ 55.632790][ T5026] Call Trace: [ 55.636052][ T5026] [ 55.638964][ T5026] dump_stack_lvl+0x1e7/0x2d0 [ 55.643636][ T5026] ? nf_tcp_handle_invalid+0x650/0x650 [ 55.649082][ T5026] ? panic+0x770/0x770 [ 55.653131][ T5026] ? preempt_schedule_common+0x83/0xc0 [ 55.658576][ T5026] ? vscnprintf+0x5d/0x80 [ 55.662890][ T5026] panic+0x30f/0x770 [ 55.666770][ T5026] ? check_panic_on_warn+0x21/0xa0 [ 55.671864][ T5026] ? __memcpy_flushcache+0x2b0/0x2b0 [ 55.677131][ T5026] ? _raw_spin_unlock_irqrestore+0x12c/0x140 [ 55.683094][ T5026] ? _raw_spin_unlock+0x40/0x40 [ 55.687928][ T5026] ? print_report+0x4fb/0x540 [ 55.692592][ T5026] check_panic_on_warn+0x82/0xa0 [ 55.697513][ T5026] ? ntfs_readdir+0xeaa/0x2b80 [ 55.702263][ T5026] end_report+0x6e/0x130 [ 55.706491][ T5026] kasan_report+0x186/0x1b0 [ 55.710978][ T5026] ? ntfs_readdir+0xeaa/0x2b80 [ 55.715725][ T5026] ntfs_readdir+0xeaa/0x2b80 [ 55.720299][ T5026] ? __mutex_trylock_common+0x182/0x2e0 [ 55.725836][ T5026] ? read_lock_is_recursive+0x20/0x20 [ 55.731196][ T5026] ? ntfs_dir_fsync+0x470/0x470 [ 55.736034][ T5026] ? clear_nonspinnable+0x60/0x60 [ 55.741041][ T5026] ? mutex_lock_nested+0x20/0x20 [ 55.745971][ T5026] ? ntfs_dir_fsync+0x470/0x470 [ 55.750811][ T5026] wrap_directory_iterator+0x91/0xd0 [ 55.756086][ T5026] iterate_dir+0x1cd/0x540 [ 55.760491][ T5026] __se_sys_getdents64+0x20d/0x4f0 [ 55.765593][ T5026] ? _raw_spin_unlock_irq+0x2e/0x50 [ 55.770778][ T5026] ? __x64_sys_getdents64+0x80/0x80 [ 55.775964][ T5026] ? filldir+0x6a0/0x6a0 [ 55.780190][ T5026] ? syscall_enter_from_user_mode+0x32/0x230 [ 55.786156][ T5026] ? syscall_enter_from_user_mode+0x8c/0x230 [ 55.792118][ T5026] do_syscall_64+0x41/0xc0 [ 55.796520][ T5026] entry_SYSCALL_64_after_hwframe+0x63/0xcd [ 55.802400][ T5026] RIP: 0033:0x7f9e1dd485f9 [ 55.806799][ T5026] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 17 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 b8 ff ff ff f7 d8 64 89 01 48 [ 55.826386][ T5026] RSP: 002b:00007ffcc150a118 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9 [ 55.834785][ T5026] RAX: ffffffffffffffda RBX: 00007ffcc150a2e8 RCX: 00007f9e1dd485f9 [ 55.842738][ T5026] RDX: 00000000000000ab RSI: 0000000020000080 RDI: 0000000000000004 [ 55.850690][ T5026] RBP: 00007f9e1ddda610 R08: 0000000000000000 R09: 00007ffcc150a2e8 [ 55.858646][ T5026] R10: 000000000001f1b8 R11: 0000000000000246 R12: 0000000000000001 [ 55.866601][ T5026] R13: 00007ffcc150a2d8 R14: 0000000000000001 R15: 0000000000000001 [ 55.874560][ T5026] [ 55.877735][ T5026] Kernel Offset: disabled [ 55.882038][ T5026] Rebooting in 86400 seconds..