./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1065242846 <...> Warning: Permanently added '10.128.1.156' (ED25519) to the list of known hosts. execve("./syz-executor1065242846", ["./syz-executor1065242846"], 0x7fff9a3a8dc0 /* 10 vars */) = 0 brk(NULL) = 0x55557b31e000 brk(0x55557b31ed00) = 0x55557b31ed00 arch_prctl(ARCH_SET_FS, 0x55557b31e380) = 0 set_tid_address(0x55557b31e650) = 5175 set_robust_list(0x55557b31e660, 24) = 0 rseq(0x55557b31eca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1065242846", 4096) = 28 getrandom("\xc3\x40\xf2\xff\x98\x4e\xd5\x7a", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557b31ed00 brk(0x55557b33fd00) = 0x55557b33fd00 brk(0x55557b340000) = 0x55557b340000 mprotect(0x7effdd270000, 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 openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x55557b31e650) = 5176 ./strace-static-x86_64: Process 5176 attached [pid 5176] set_robust_list(0x55557b31e660, 24) = 0 [pid 5176] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5176] setpgid(0, 0) = 0 [pid 5176] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5176] write(3, "1000", 4) = 4 [pid 5176] close(3executing program ) = 0 [pid 5176] write(1, "executing program\n", 18) = 18 [pid 5176] memfd_create("syzkaller", 0) = 3 [pid 5176] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7effd4c00000 [pid 5176] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 32768) = 32768 [pid 5176] munmap(0x7effd4c00000, 138412032) = 0 [pid 5176] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5176] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5176] close(3) = 0 [pid 5176] close(4) = 0 [pid 5176] mkdir("./file1", 0777) = 0 [pid 5176] mount("/dev/loop0", "./file1", "hfs", MS_DIRSYNC|MS_NODIRATIME|MS_POSIXACL|MS_I_VERSION|MS_LAZYTIME, "") = 0 [pid 5176] openat(AT_FDCWD, "./file1", O_RDONLY|O_DIRECTORY) = 3 [pid 5176] chdir("./file1") = 0 [pid 5176] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = -1 EBUSY (Device or resource busy) [ 162.876086][ T5176] loop0: detected capacity change from 0 to 64 [ 162.934000][ T5176] ===================================================== [ 162.941255][ T5176] BUG: KMSAN: uninit-value in hfs_free_fork+0x6b4/0xa50 [ 162.948520][ T5176] hfs_free_fork+0x6b4/0xa50 [ 162.953340][ T5176] hfs_cat_delete+0x501/0xb90 [ 162.958217][ T5176] hfs_remove+0x16a/0x2f0 [ 162.962835][ T5176] vfs_unlink+0x676/0xa90 [ 162.967332][ T5176] do_unlinkat+0x823/0xe10 [ 162.972128][ T5176] __x64_sys_unlink+0x76/0xa0 [ 162.976976][ T5176] x64_sys_call+0x30d3/0x3ba0 [ 162.981935][ T5176] do_syscall_64+0xcd/0x1e0 [ 162.986635][ T5176] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 162.992793][ T5176] [ 162.995201][ T5176] Uninit was created at: [ 162.999658][ T5176] __kmalloc_noprof+0x661/0xf30 [ 163.005052][ T5176] hfs_find_init+0x91/0x250 [ 163.009741][ T5176] hfs_free_fork+0x3bb/0xa50 [ 163.014557][ T5176] hfs_cat_delete+0x501/0xb90 [ 163.019431][ T5176] hfs_remove+0x16a/0x2f0 [ 163.024045][ T5176] vfs_unlink+0x676/0xa90 [ 163.028512][ T5176] do_unlinkat+0x823/0xe10 [ 163.033149][ T5176] __x64_sys_unlink+0x76/0xa0 [ 163.037972][ T5176] x64_sys_call+0x30d3/0x3ba0 [ 163.042881][ T5176] do_syscall_64+0xcd/0x1e0 [ 163.047544][ T5176] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 163.053700][ T5176] [ 163.056104][ T5176] CPU: 1 UID: 0 PID: 5176 Comm: syz-executor106 Not tainted 6.11.0-rc5-syzkaller #0 [ 163.065809][ T5176] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 163.076060][ T5176] ===================================================== [ 163.083182][ T5176] Disabling lock debugging due to kernel taint [ 163.089411][ T5176] Kernel panic - not syncing: kmsan.panic set ... [ 163.095885][ T5176] CPU: 1 UID: 0 PID: 5176 Comm: syz-executor106 Tainted: G B 6.11.0-rc5-syzkaller #0 [ 163.106843][ T5176] Tainted: [B]=BAD_PAGE [ 163.111044][ T5176] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 163.121194][ T5176] Call Trace: [ 163.124527][ T5176] [ 163.127500][ T5176] dump_stack_lvl+0x216/0x2d0 [ 163.132309][ T5176] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 163.138307][ T5176] dump_stack+0x1e/0x30 [ 163.142580][ T5176] panic+0x4e2/0xcd0 [ 163.146626][ T5176] ? kmsan_get_metadata+0xe1/0x1c0 [ 163.151859][ T5176] kmsan_report+0x2c7/0x2d0 [ 163.156473][ T5176] ? kmsan_internal_set_shadow_origin+0x69/0x100 [ 163.162905][ T5176] ? __msan_warning+0x95/0x120 [ 163.167763][ T5176] ? hfs_free_fork+0x6b4/0xa50 [ 163.172602][ T5176] ? hfs_cat_delete+0x501/0xb90 [ 163.177582][ T5176] ? hfs_remove+0x16a/0x2f0 [ 163.182193][ T5176] ? vfs_unlink+0x676/0xa90 [ 163.186792][ T5176] ? do_unlinkat+0x823/0xe10 [ 163.191514][ T5176] ? __x64_sys_unlink+0x76/0xa0 [ 163.196519][ T5176] ? x64_sys_call+0x30d3/0x3ba0 [ 163.201501][ T5176] ? do_syscall_64+0xcd/0x1e0 [ 163.206282][ T5176] ? entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 163.212485][ T5176] ? _raw_spin_unlock_irqrestore+0x3f/0x60 [ 163.218387][ T5176] ? kmsan_get_metadata+0x13e/0x1c0 [ 163.223700][ T5176] ? kmsan_internal_set_shadow_origin+0x69/0x100 [ 163.230158][ T5176] ? kmsan_get_metadata+0x13e/0x1c0 [ 163.235471][ T5176] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 163.241423][ T5176] ? hfs_brec_find+0x87c/0x980 [ 163.246328][ T5176] ? kmsan_internal_unpoison_memory+0x14/0x20 [ 163.252509][ T5176] ? kmsan_get_metadata+0x13e/0x1c0 [ 163.257817][ T5176] ? kmsan_get_shadow_origin_ptr+0x4d/0xb0 [ 163.263743][ T5176] __msan_warning+0x95/0x120 [ 163.268437][ T5176] hfs_free_fork+0x6b4/0xa50 [ 163.273133][ T5176] hfs_cat_delete+0x501/0xb90 [ 163.277984][ T5176] hfs_remove+0x16a/0x2f0 [ 163.282433][ T5176] ? __pfx_hfs_remove+0x10/0x10 [ 163.287396][ T5176] vfs_unlink+0x676/0xa90 [ 163.291828][ T5176] do_unlinkat+0x823/0xe10 [ 163.296381][ T5176] __x64_sys_unlink+0x76/0xa0 [ 163.301156][ T5176] x64_sys_call+0x30d3/0x3ba0 [ 163.305944][ T5176] do_syscall_64+0xcd/0x1e0 [ 163.310579][ T5176] ? clear_bhb_loop+0x25/0x80 [ 163.315436][ T5176] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 163.321474][ T5176] RIP: 0033:0x7effdd1fca59 [ 163.325981][ T5176] Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 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 [ 163.345698][ T5176] RSP: 002b:00007ffd20a4a8b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000057 [ 163.354209][ T5176] RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007effdd1fca59 [ 163.362266][ T5176] RDX: 00007effdd1fba51 RSI: 0000000000000000 RDI: 0000000020000280 [ 163.370310][ T5176] RBP: 00007effdd2705f0 R08: 00000000000002a1 R09: 000055557b31f4c0 [ 163.378476][ T5176] R10: 00007ffd20a4a780 R11: 0000000000000246 R12: 00007ffd20a4a8e0 [ 163.386570][ T5176] R13: 00007ffd20a4ab08 R14: 431bde82d7b634db R15: 00007effdd24503b [ 163.394635][ T5176] [ 163.397978][ T5176] Kernel Offset: disabled [ 163.402361][ T5176] Rebooting in 86400 seconds..