./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3468196180 <...> Warning: Permanently added '10.128.0.166' (ED25519) to the list of known hosts. execve("./syz-executor3468196180", ["./syz-executor3468196180"], 0x7fff7ea60cc0 /* 10 vars */) = 0 brk(NULL) = 0x555562920000 brk(0x555562920d40) = 0x555562920d40 arch_prctl(ARCH_SET_FS, 0x5555629203c0) = 0 set_tid_address(0x555562920690) = 5829 set_robust_list(0x5555629206a0, 24) = 0 rseq(0x555562920ce0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3468196180", 4096) = 28 getrandom("\x6c\x26\x99\x43\x6f\x90\x57\x85", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555562920d40 brk(0x555562941d40) = 0x555562941d40 brk(0x555562942000) = 0x555562942000 mprotect(0x7fd68720d000, 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 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5830 attached , child_tidptr=0x555562920690) = 5830 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5830] set_robust_list(0x5555629206a0, 24) = 0 [pid 5830] mkdir("./syzkaller.bnx5AU", 0700./strace-static-x86_64: Process 5831 attached [pid 5829] <... clone resumed>, child_tidptr=0x555562920690) = 5831 [pid 5830] <... mkdir resumed>) = 0 [pid 5831] set_robust_list(0x5555629206a0, 24 [pid 5830] chmod("./syzkaller.bnx5AU", 0777 [pid 5831] <... set_robust_list resumed>) = 0 [pid 5830] <... chmod resumed>) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] mkdir("./syzkaller.PR8CJS", 0700 [pid 5830] chdir("./syzkaller.bnx5AU"./strace-static-x86_64: Process 5832 attached [pid 5831] <... mkdir resumed>) = 0 [pid 5830] <... chdir resumed>) = 0 [pid 5830] mkdir("./0", 0777 [pid 5832] set_robust_list(0x5555629206a0, 24 [pid 5831] chmod("./syzkaller.PR8CJS", 0777 [pid 5829] <... clone resumed>, child_tidptr=0x555562920690) = 5832 [pid 5830] <... mkdir resumed>) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5832] <... set_robust_list resumed>) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5832] mkdir("./syzkaller.A9jiPQ", 0700 [pid 5831] <... chmod resumed>) = 0 [pid 5830] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5833 attached [pid 5831] chdir("./syzkaller.PR8CJS" [pid 5830] ioctl(3, LOOP_CLR_FD [pid 5829] <... clone resumed>, child_tidptr=0x555562920690) = 5833 [pid 5833] set_robust_list(0x5555629206a0, 24 [pid 5831] <... chdir resumed>) = 0 [pid 5829] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] mkdir("./0", 0777 [pid 5830] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5833] <... set_robust_list resumed>) = 0 [pid 5832] <... mkdir resumed>) = 0 [pid 5833] mkdir("./syzkaller.bZ69W8", 0700 [pid 5832] chmod("./syzkaller.A9jiPQ", 0777 [pid 5830] close(3./strace-static-x86_64: Process 5834 attached [pid 5831] <... mkdir resumed>) = 0 [pid 5832] <... chmod resumed>) = 0 [pid 5829] <... clone resumed>, child_tidptr=0x555562920690) = 5834 [pid 5834] set_robust_list(0x5555629206a0, 24 [pid 5833] <... mkdir resumed>) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5830] <... close resumed>) = 0 [pid 5834] <... set_robust_list resumed>) = 0 [pid 5833] chmod("./syzkaller.bZ69W8", 0777 [pid 5832] chdir("./syzkaller.A9jiPQ") = 0 [pid 5832] mkdir("./0", 0777 [pid 5834] mkdir("./syzkaller.A3wL41", 0700 [pid 5833] <... chmod resumed>) = 0 [pid 5832] <... mkdir resumed>) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5836 attached [pid 5836] set_robust_list(0x5555629206a0, 24) = 0 [pid 5834] <... mkdir resumed>) = 0 [pid 5833] chdir("./syzkaller.bZ69W8" [pid 5832] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5831] <... openat resumed>) = 3 [pid 5830] <... clone resumed>, child_tidptr=0x555562920690) = 5836 [pid 5834] chmod("./syzkaller.A3wL41", 0777 [pid 5833] <... chdir resumed>) = 0 [pid 5832] <... openat resumed>) = 3 [pid 5836] chdir("./0" [pid 5833] mkdir("./0", 0777 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5832] ioctl(3, LOOP_CLR_FD [pid 5836] <... chdir resumed>) = 0 [pid 5834] <... chmod resumed>) = 0 [pid 5833] <... mkdir resumed>) = 0 [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5832] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5836] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5834] chdir("./syzkaller.A3wL41" [pid 5833] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5832] close(3 [pid 5831] close(3 [pid 5836] <... prctl resumed>) = 0 [pid 5834] <... chdir resumed>) = 0 [pid 5833] <... openat resumed>) = 3 [pid 5832] <... close resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 5836] setpgid(0, 0 [pid 5834] mkdir("./0", 0777 [pid 5836] <... setpgid resumed>) = 0 [pid 5836] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5834] <... mkdir resumed>) = 0 [pid 5832] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5837 attached [pid 5833] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5837] set_robust_list(0x5555629206a0, 24 [pid 5836] <... openat resumed>) = 3 [pid 5833] close(3 [pid 5836] write(3, "1000", 4 [pid 5834] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5833] <... close resumed>) = 0 [pid 5836] <... write resumed>) = 4 [pid 5833] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5838 attached ./strace-static-x86_64: Process 5839 attached [pid 5837] <... set_robust_list resumed>) = 0 [pid 5834] <... openat resumed>) = 3 [pid 5836] close(3) = 0 [pid 5837] chdir("./0" [pid 5836] symlink("/dev/binderfs", "./binderfs" [pid 5832] <... clone resumed>, child_tidptr=0x555562920690) = 5837 [pid 5838] set_robust_list(0x5555629206a0, 24 [pid 5837] <... chdir resumed>) = 0 [pid 5836] <... symlink resumed>) = 0 [pid 5834] ioctl(3, LOOP_CLR_FD [pid 5831] <... clone resumed>, child_tidptr=0x555562920690) = 5838 [pid 5837] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5834] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5834] close(3 [pid 5839] set_robust_list(0x5555629206a0, 24 [pid 5833] <... clone resumed>, child_tidptr=0x555562920690) = 5839 executing program [pid 5838] <... set_robust_list resumed>) = 0 [pid 5837] <... prctl resumed>) = 0 [pid 5834] <... close resumed>) = 0 [pid 5839] <... set_robust_list resumed>) = 0 [pid 5836] write(1, "executing program\n", 18 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5839] chdir("./0" [pid 5838] chdir("./0" [pid 5837] setpgid(0, 0 [pid 5836] <... write resumed>) = 18 [pid 5839] <... chdir resumed>) = 0 [pid 5838] <... chdir resumed>) = 0 [pid 5837] <... setpgid resumed>) = 0 [pid 5839] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 5840 attached [pid 5836] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000 [pid 5840] set_robust_list(0x5555629206a0, 24 [pid 5839] <... prctl resumed>) = 0 [pid 5838] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5837] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5836] <... futex resumed>) = 0 [pid 5834] <... clone resumed>, child_tidptr=0x555562920690) = 5840 [pid 5840] <... set_robust_list resumed>) = 0 [pid 5839] setpgid(0, 0 [pid 5837] <... openat resumed>) = 3 [pid 5836] rt_sigaction(SIGRT_1, {sa_handler=0x7fd6871ac020, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fd68719d1d0}, [pid 5840] chdir("./0" [pid 5839] <... setpgid resumed>) = 0 [pid 5838] <... prctl resumed>) = 0 [pid 5837] write(3, "1000", 4 [pid 5836] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5840] <... chdir resumed>) = 0 [pid 5839] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5836] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5837] <... write resumed>) = 4 [pid 5840] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5838] setpgid(0, 0 [pid 5837] close(3 [pid 5836] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5840] <... prctl resumed>) = 0 [pid 5838] <... setpgid resumed>) = 0 [pid 5837] <... close resumed>) = 0 [pid 5836] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5840] setpgid(0, 0 [pid 5837] symlink("/dev/binderfs", "./binderfs" [pid 5836] <... mmap resumed>) = 0x7fd68711c000 [pid 5840] <... setpgid resumed>) = 0 [pid 5836] mprotect(0x7fd68711d000, 131072, PROT_READ|PROT_WRITE [pid 5840] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5837] <... symlink resumed>) = 0 [pid 5836] <... mprotect resumed>) = 0 [pid 5838] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5836] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5840] <... openat resumed>) = 3 [pid 5839] <... openat resumed>) = 3 [pid 5838] <... openat resumed>) = 3 [pid 5837] write(1, "executing program\n", 18executing program [pid 5840] write(3, "1000", 4 [pid 5839] write(3, "1000", 4 [pid 5838] write(3, "1000", 4 [pid 5837] <... write resumed>) = 18 [pid 5836] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5840] <... write resumed>) = 4 [pid 5839] <... write resumed>) = 4 [pid 5838] <... write resumed>) = 4 [pid 5837] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000 [pid 5836] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7fd68713c990, parent_tid=0x7fd68713c990, exit_signal=0, stack=0x7fd68711c000, stack_size=0x20300, tls=0x7fd68713c6c0}./strace-static-x86_64: Process 5841 attached [pid 5840] close(3 [pid 5839] close(3 [pid 5838] close(3 [pid 5837] <... futex resumed>) = 0 [pid 5840] <... close resumed>) = 0 [pid 5838] <... close resumed>) = 0 [pid 5837] rt_sigaction(SIGRT_1, {sa_handler=0x7fd6871ac020, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fd68719d1d0}, [pid 5836] <... clone3 resumed> => {parent_tid=[5841]}, 88) = 5841 [pid 5840] symlink("/dev/binderfs", "./binderfs" [pid 5838] symlink("/dev/binderfs", "./binderfs" [pid 5837] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5836] rt_sigprocmask(SIG_SETMASK, [], [pid 5840] <... symlink resumed>) = 0 [pid 5838] <... symlink resumed>) = 0 [pid 5837] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5836] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5837] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5836] futex(0x7fd6872136a8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5841] rseq(0x7fd68713cfe0, 0x20, 0, 0x53053053 [pid 5839] <... close resumed>) = 0 [pid 5836] <... futex resumed>) = 0 [pid 5841] <... rseq resumed>) = 0 [pid 5840] write(1, "executing program\n", 18executing program [pid 5839] symlink("/dev/binderfs", "./binderfs" [pid 5838] write(1, "executing program\n", 18 executing program [pid 5837] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5836] futex(0x7fd6872136ac, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5841] set_robust_list(0x7fd68713c9a0, 24 [pid 5840] <... write resumed>) = 18 [pid 5839] <... symlink resumed>) = 0 [pid 5838] <... write resumed>) = 18 [pid 5841] <... set_robust_list resumed>) = 0 executing program [pid 5840] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000 [pid 5839] write(1, "executing program\n", 18 [pid 5837] <... mmap resumed>) = 0x7fd68711c000 [pid 5841] rt_sigprocmask(SIG_SETMASK, [], [pid 5840] <... futex resumed>) = 0 [pid 5839] <... write resumed>) = 18 [pid 5838] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000 [pid 5841] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5840] rt_sigaction(SIGRT_1, {sa_handler=0x7fd6871ac020, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fd68719d1d0}, [pid 5839] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000 [pid 5838] <... futex resumed>) = 0 [pid 5837] mprotect(0x7fd68711d000, 131072, PROT_READ|PROT_WRITE [pid 5841] memfd_create("syzkaller", 0 [pid 5839] <... futex resumed>) = 0 [pid 5838] rt_sigaction(SIGRT_1, {sa_handler=0x7fd6871ac020, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fd68719d1d0}, [pid 5837] <... mprotect resumed>) = 0 [pid 5840] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5839] rt_sigaction(SIGRT_1, {sa_handler=0x7fd6871ac020, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fd68719d1d0}, [pid 5838] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5837] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5841] <... memfd_create resumed>) = 3 [pid 5840] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5839] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5838] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5840] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5839] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5840] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5839] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5841] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5840] <... mmap resumed>) = 0x7fd68711c000 [pid 5839] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5838] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5837] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5841] <... mmap resumed>) = 0x7fd67ec00000 [pid 5840] mprotect(0x7fd68711d000, 131072, PROT_READ|PROT_WRITE [pid 5839] <... mmap resumed>) = 0x7fd68711c000 [pid 5838] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5837] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7fd68713c990, parent_tid=0x7fd68713c990, exit_signal=0, stack=0x7fd68711c000, stack_size=0x20300, tls=0x7fd68713c6c0}./strace-static-x86_64: Process 5843 attached [pid 5840] <... mprotect resumed>) = 0 [pid 5843] rseq(0x7fd68713cfe0, 0x20, 0, 0x53053053 [pid 5839] mprotect(0x7fd68711d000, 131072, PROT_READ|PROT_WRITE [pid 5838] <... mmap resumed>) = 0x7fd68711c000 [pid 5837] <... clone3 resumed> => {parent_tid=[5843]}, 88) = 5843 [pid 5843] <... rseq resumed>) = 0 [pid 5840] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5839] <... mprotect resumed>) = 0 [pid 5838] mprotect(0x7fd68711d000, 131072, PROT_READ|PROT_WRITE [pid 5837] rt_sigprocmask(SIG_SETMASK, [], [pid 5843] set_robust_list(0x7fd68713c9a0, 24 [pid 5840] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5839] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5837] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5838] <... mprotect resumed>) = 0 [pid 5843] <... set_robust_list resumed>) = 0 [pid 5840] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7fd68713c990, parent_tid=0x7fd68713c990, exit_signal=0, stack=0x7fd68711c000, stack_size=0x20300, tls=0x7fd68713c6c0} [pid 5839] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5837] futex(0x7fd6872136a8, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5844 attached [pid 5843] rt_sigprocmask(SIG_SETMASK, [], [pid 5839] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7fd68713c990, parent_tid=0x7fd68713c990, exit_signal=0, stack=0x7fd68711c000, stack_size=0x20300, tls=0x7fd68713c6c0} [pid 5838] rt_sigprocmask(SIG_BLOCK, ~[], ./strace-static-x86_64: Process 5845 attached [pid 5844] rseq(0x7fd68713cfe0, 0x20, 0, 0x53053053 [pid 5843] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5840] <... clone3 resumed> => {parent_tid=[5844]}, 88) = 5844 [pid 5838] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5837] <... futex resumed>) = 0 [pid 5845] rseq(0x7fd68713cfe0, 0x20, 0, 0x53053053 [pid 5844] <... rseq resumed>) = 0 [pid 5840] rt_sigprocmask(SIG_SETMASK, [], [pid 5839] <... clone3 resumed> => {parent_tid=[5845]}, 88) = 5845 [pid 5845] <... rseq resumed>) = 0 [pid 5844] set_robust_list(0x7fd68713c9a0, 24 [pid 5843] memfd_create("syzkaller", 0 [pid 5840] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5839] rt_sigprocmask(SIG_SETMASK, [], [pid 5838] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7fd68713c990, parent_tid=0x7fd68713c990, exit_signal=0, stack=0x7fd68711c000, stack_size=0x20300, tls=0x7fd68713c6c0} [pid 5837] futex(0x7fd6872136ac, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5845] set_robust_list(0x7fd68713c9a0, 24 [pid 5844] <... set_robust_list resumed>) = 0 [pid 5840] futex(0x7fd6872136a8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5839] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5845] <... set_robust_list resumed>) = 0 [pid 5844] rt_sigprocmask(SIG_SETMASK, [], [pid 5840] <... futex resumed>) = 0 [pid 5839] futex(0x7fd6872136a8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5845] rt_sigprocmask(SIG_SETMASK, [], [pid 5844] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5840] futex(0x7fd6872136ac, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5839] <... futex resumed>) = 0 [pid 5845] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5844] memfd_create("syzkaller", 0 [pid 5839] futex(0x7fd6872136ac, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5845] memfd_create("syzkaller", 0 [pid 5844] <... memfd_create resumed>) = 3 ./strace-static-x86_64: Process 5846 attached [pid 5845] <... memfd_create resumed>) = 3 [pid 5843] <... memfd_create resumed>) = 3 [pid 5846] rseq(0x7fd68713cfe0, 0x20, 0, 0x53053053 [pid 5844] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5843] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5838] <... clone3 resumed> => {parent_tid=[5846]}, 88) = 5846 [pid 5846] <... rseq resumed>) = 0 [pid 5844] <... mmap resumed>) = 0x7fd67ec00000 [pid 5843] <... mmap resumed>) = 0x7fd67ec00000 [pid 5838] rt_sigprocmask(SIG_SETMASK, [], [pid 5846] set_robust_list(0x7fd68713c9a0, 24 [pid 5845] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5838] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5838] futex(0x7fd6872136a8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5838] futex(0x7fd6872136ac, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5846] <... set_robust_list resumed>) = 0 [pid 5845] <... mmap resumed>) = 0x7fd67ec00000 [pid 5846] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5846] memfd_create("syzkaller", 0) = 3 [pid 5846] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd67ec00000 [pid 5841] 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"..., 16777216 [pid 5843] 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"..., 16777216 [pid 5845] 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"..., 16777216 [pid 5846] 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"..., 16777216 [pid 5844] 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"..., 16777216 [pid 5843] <... write resumed>) = 16777216 [pid 5843] munmap(0x7fd67ec00000, 138412032) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5843] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5841] <... write resumed>) = 16777216 [pid 5843] close(3 [pid 5841] munmap(0x7fd67ec00000, 138412032 [pid 5843] <... close resumed>) = 0 [pid 5843] close(4 [pid 5841] <... munmap resumed>) = 0 [pid 5843] <... close resumed>) = 0 [pid 5841] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5843] mkdir("./file0", 0777) = 0 [pid 5841] <... openat resumed>) = 4 [pid 5843] mount("/dev/loop2", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [ 60.556944][ T5843] loop2: detected capacity change from 0 to 32768 [pid 5841] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5841] close(3) = 0 [pid 5841] close(4) = 0 [pid 5841] mkdir("./file0", 0777 [pid 5846] <... write resumed>) = 16777216 [pid 5844] <... write resumed>) = 16777216 [pid 5846] munmap(0x7fd67ec00000, 138412032 [pid 5841] <... mkdir resumed>) = 0 [pid 5844] munmap(0x7fd67ec00000, 138412032 [pid 5845] <... write resumed>) = 16777216 [ 60.613486][ T5841] loop0: detected capacity change from 0 to 32768 [pid 5845] munmap(0x7fd67ec00000, 138412032 [pid 5844] <... munmap resumed>) = 0 [pid 5841] mount("/dev/loop0", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5845] <... munmap resumed>) = 0 [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5844] ioctl(4, LOOP_SET_FD, 3 [pid 5845] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5845] ioctl(4, LOOP_SET_FD, 3 [pid 5846] <... munmap resumed>) = 0 [pid 5844] <... ioctl resumed>) = 0 [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5844] close(3 [pid 5846] <... openat resumed>) = 4 [pid 5844] <... close resumed>) = 0 [pid 5846] ioctl(4, LOOP_SET_FD, 3 [pid 5844] close(4) = 0 [pid 5844] mkdir("./file0", 0777) = 0 [ 60.691397][ T5844] loop4: detected capacity change from 0 to 32768 [ 60.699587][ T5845] loop3: detected capacity change from 0 to 32768 [ 60.711064][ T5846] loop1: detected capacity change from 0 to 32768 [pid 5846] <... ioctl resumed>) = 0 [pid 5845] <... ioctl resumed>) = 0 [pid 5844] mount("/dev/loop4", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5846] close(3 [pid 5845] close(3) = 0 [pid 5845] close(4 [pid 5846] <... close resumed>) = 0 [pid 5846] close(4 [pid 5845] <... close resumed>) = 0 [pid 5846] <... close resumed>) = 0 [pid 5845] mkdir("./file0", 0777 [pid 5846] mkdir("./file0", 0777 [pid 5845] <... mkdir resumed>) = 0 [pid 5846] <... mkdir resumed>) = 0 [pid 5845] mount("/dev/loop3", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [ 60.722241][ T5843] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,fix_errors=ask,norecovery,nojournal_transaction_names,noexcl,reconstruct_alloc,nocow,no_data_io [ 60.765098][ T5843] bcachefs (loop2): recovering from clean shutdown, journal seq 3338 [ 60.780598][ T5843] bcachefs (loop2): Version upgrade required: [ 60.780598][ T5843] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 60.780598][ T5843] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.13: inode_has_child_snapshots [ 60.780598][ T5843] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 60.858092][ T5841] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 60.869212][ T5843] bcachefs (loop2): dropping and reconstructing all alloc info [ 60.880535][ T5841] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 60.935263][ T5843] bcachefs (loop2): accounting_read... [ 60.942553][ T5844] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 60.944619][ T5843] done [ 60.957830][ T5846] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 60.960139][ T5843] bcachefs (loop2): alloc_read... done [ 60.975320][ T5843] bcachefs (loop2): stripes_read... done [ 60.981418][ T5843] bcachefs (loop2): snapshots_read... done [ 60.987592][ T5843] bcachefs (loop2): check_allocations... [ 60.987718][ T5846] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 61.004053][ T5845] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 61.029688][ T5845] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 61.032590][ T5843] done [pid 5846] mount("/dev/loop1", "./file0", "bcachefs", MS_NOEXEC|MS_POSIXACL|MS_RELATIME, "\x62\x61\x63\x6b\x67\x72\x6f\x75\x6e\xfd\xff\x63\x6f\x6d\x70\x72\x65\x33\x73\x69\x6f\x6e\x3d\x6c\x7a\x34\x2c\x72\x65\x63\x6f\x6e\x73\x74\x72\x75\x63\x74\x5f\x61\x6c\x6c\x6f\x63\x2c\x6e\x6f\x63\x6f\x77\x2c\x6e\x6f\x65\x78\x63\x6c\x2c\x62\x74\x72\x65\x65\x5f\x6e\x6f\x64\x65\x5f\x70\x72\x65\x66\x65\x74\x63\x68\x2c\x6e\x6f\x72\x65\x63\x6f\x76\x65\x72\x79\x2c\x73\x68\x61\x72\x64\x5f\x69\x6e\x6f\x64\x65"... [pid 5843] <... mount resumed>) = 0 [pid 5841] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5843] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5841] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5843] <... openat resumed>) = 3 [pid 5841] <... openat resumed>) = 3 [pid 5843] chdir("./file0" [pid 5841] ioctl(3, LOOP_CLR_FD [pid 5843] <... chdir resumed>) = 0 [pid 5841] <... ioctl resumed>) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop2", O_RDWR [ 61.037923][ T5844] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 61.045768][ T5843] bcachefs (loop2): going read-write [ 61.049118][ T5841] bcachefs: bch2_fs_get_tree() error: EINVAL [ 61.071357][ T5843] bcachefs (loop2): done starting filesystem [pid 5841] close(3 [pid 5843] <... openat resumed>) = 4 [pid 5843] ioctl(4, LOOP_CLR_FD) = 0 [pid 5843] close(4) = 0 [pid 5843] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5837] <... futex resumed>) = 0 [pid 5843] futex(0x7fd6872136a8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5837] futex(0x7fd6872136a8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5843] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5837] <... futex resumed>) = 0 [pid 5843] openat(AT_FDCWD, "freezer.self_freezing", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5837] futex(0x7fd6872136ac, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5846] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5843] <... openat resumed>) = 4 [pid 5843] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5837] <... futex resumed>) = 0 [pid 5837] exit_group(0 [pid 5843] futex(0x7fd6872136a8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5846] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5843] <... futex resumed>) = ? [pid 5837] <... exit_group resumed>) = ? [pid 5843] +++ exited with 0 +++ [pid 5837] +++ exited with 0 +++ [pid 5846] ioctl(3, LOOP_CLR_FD [pid 5832] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5837, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=38 /* 0.38 s */} --- [pid 5832] restart_syscall(<... resuming interrupted clone ...> [pid 5846] <... ioctl resumed>) = 0 [pid 5846] close(3 [pid 5832] <... restart_syscall resumed>) = 0 [pid 5832] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5832] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 61.164549][ T5846] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5832] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5845] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5832] getdents64(3, 0x555562921730 /* 4 entries */, 32768) = 112 [pid 5845] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5832] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... openat resumed>) = 3 [pid 5832] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5845] ioctl(3, LOOP_CLR_FD [pid 5832] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5845] <... ioctl resumed>) = 0 [pid 5832] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5845] close(3 [pid 5832] unlink("./0/binderfs") = 0 [pid 5832] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5844] <... mount resumed>) = -1 EINVAL (Invalid argument) [pid 5844] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [ 61.226242][ T5845] bcachefs: bch2_fs_get_tree() error: EINVAL [ 61.232634][ T5844] bcachefs: bch2_fs_get_tree() error: EINVAL [pid 5844] ioctl(3, LOOP_CLR_FD) = 0 [ 61.287527][ T5832] bcachefs (loop2): shutting down [ 61.292854][ T5832] bcachefs (loop2): going read-only [pid 5844] close(3 [pid 5841] <... close resumed>) = 0 [pid 5841] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5841] futex(0x7fd6872136a8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5836] <... futex resumed>) = 0 [pid 5836] futex(0x7fd6872136a8, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5841] <... futex resumed>) = 0 [pid 5841] openat(AT_FDCWD, "freezer.self_freezing", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000) = 3 [pid 5841] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5841] futex(0x7fd6872136a8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5836] futex(0x7fd6872136ac, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 EAGAIN (Resource temporarily unavailable) [pid 5836] exit_group(0) = ? [pid 5841] <... futex resumed>) = ? [pid 5841] +++ exited with 0 +++ [pid 5836] +++ exited with 0 +++ [pid 5830] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5836, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=49 /* 0.49 s */} --- [pid 5830] restart_syscall(<... resuming interrupted clone ...>) = 0 [ 61.344620][ T5832] bcachefs (loop2): finished waiting for writes to stop [pid 5830] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5830] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(3, 0x555562921730 /* 5 entries */, 32768) = 160 [pid 5830] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] unlink("./0/binderfs") = 0 [pid 5830] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 61.385832][ T5832] bcachefs (loop2): flushing journal and stopping allocators, journal seq 3339 [pid 5830] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5830] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5830] getdents64(4, 0x555562929770 /* 2 entries */, 32768) = 48 [pid 5830] getdents64(4, 0x555562929770 /* 0 entries */, 32768) = 0 [pid 5830] close(4) = 0 [pid 5830] rmdir("./0/file0") = 0 [pid 5830] umount2("./0/freezer.self_freezing", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5830] newfstatat(AT_FDCWD, "./0/freezer.self_freezing", {st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5830] unlink("./0/freezer.self_freezing") = 0 [pid 5830] getdents64(3, 0x555562921730 /* 0 entries */, 32768) = 0 [pid 5830] close(3) = 0 [pid 5830] rmdir("./0") = 0 [pid 5830] mkdir("./1", 0777) = 0 [pid 5830] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5830] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5830] close(3) = 0 [pid 5846] <... close resumed>) = 0 [pid 5830] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555562920690) = 5886 ./strace-static-x86_64: Process 5886 attached [pid 5846] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5846] futex(0x7fd6872136a8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5886] set_robust_list(0x5555629206a0, 24 [pid 5838] <... futex resumed>) = 0 [pid 5886] <... set_robust_list resumed>) = 0 [pid 5838] futex(0x7fd6872136a8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5886] chdir("./1" [pid 5838] <... futex resumed>) = 1 [pid 5845] <... close resumed>) = 0 [pid 5886] <... chdir resumed>) = 0 [pid 5846] <... futex resumed>) = 0 [pid 5838] futex(0x7fd6872136ac, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5886] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5846] openat(AT_FDCWD, "freezer.self_freezing", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5886] <... prctl resumed>) = 0 [pid 5846] <... openat resumed>) = 3 [pid 5886] setpgid(0, 0 [pid 5846] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000 [pid 5886] <... setpgid resumed>) = 0 [pid 5846] <... futex resumed>) = 1 [pid 5838] <... futex resumed>) = 0 [pid 5886] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5846] futex(0x7fd6872136a8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5838] exit_group(0 [pid 5886] <... openat resumed>) = 3 [pid 5846] <... futex resumed>) = ? [pid 5838] <... exit_group resumed>) = ? [pid 5886] write(3, "1000", 4 [pid 5846] +++ exited with 0 +++ [pid 5845] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000 [pid 5838] +++ exited with 0 +++ [pid 5886] <... write resumed>) = 4 [pid 5886] close(3) = 0 [ 61.512473][ T5832] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 3340 [ 61.540061][ T35] bcachefs (loop2): bch2_write_super(): fatal error loop2: Superblock write was silently dropped! (seq 0 expected 53) [pid 5886] symlink("/dev/binderfs", "./binderfs"executing program ) = 0 [pid 5845] <... futex resumed>) = 1 [pid 5839] <... futex resumed>) = 0 [pid 5831] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5838, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=42 /* 0.42 s */} --- [pid 5886] write(1, "executing program\n", 18) = 18 [pid 5886] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5845] openat(AT_FDCWD, "freezer.self_freezing", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5839] futex(0x7fd6872136a8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5886] rt_sigaction(SIGRT_1, {sa_handler=0x7fd6871ac020, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fd68719d1d0}, NULL, 8) = 0 [pid 5886] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5886] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fd68711c000 [pid 5886] mprotect(0x7fd68711d000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5886] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5886] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7fd68713c990, parent_tid=0x7fd68713c990, exit_signal=0, stack=0x7fd68711c000, stack_size=0x20300, tls=0x7fd68713c6c0} => {parent_tid=[5887]}, 88) = 5887 [pid 5886] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5886] futex(0x7fd6872136a8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5886] futex(0x7fd6872136ac, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5839] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5887 attached [pid 5839] futex(0x7fd6872136ac, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5831] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5845] <... openat resumed>) = 3 [pid 5844] <... close resumed>) = 0 [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5844] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000 [pid 5887] rseq(0x7fd68713cfe0, 0x20, 0, 0x53053053 [pid 5845] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000 [pid 5831] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5844] <... futex resumed>) = 1 [pid 5844] futex(0x7fd6872136a8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5887] <... rseq resumed>) = 0 [pid 5845] <... futex resumed>) = 1 [pid 5840] <... futex resumed>) = 0 [pid 5839] <... futex resumed>) = 0 [pid 5831] <... openat resumed>) = 3 [pid 5845] futex(0x7fd6872136a8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5840] futex(0x7fd6872136a8, FUTEX_WAKE_PRIVATE, 1000000 [pid 5839] exit_group(0 [pid 5831] newfstatat(3, "", [pid 5845] <... futex resumed>) = ? [pid 5844] <... futex resumed>) = 0 [pid 5840] <... futex resumed>) = 1 [pid 5839] <... exit_group resumed>) = ? [pid 5831] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5887] set_robust_list(0x7fd68713c9a0, 24 [pid 5845] +++ exited with 0 +++ [pid 5844] openat(AT_FDCWD, "freezer.self_freezing", O_RDWR|O_CREAT|O_NOCTTY|O_TRUNC|O_APPEND|FASYNC|0x18, 000 [pid 5840] futex(0x7fd6872136ac, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5887] <... set_robust_list resumed>) = 0 [pid 5839] +++ exited with 0 +++ [pid 5831] getdents64(3, [pid 5833] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5839, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=42 /* 0.42 s */} --- [pid 5833] restart_syscall(<... resuming interrupted clone ...> [pid 5831] <... getdents64 resumed>0x555562921730 /* 5 entries */, 32768) = 160 [pid 5831] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] unlink("./0/binderfs") = 0 [pid 5831] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5831] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5831] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] getdents64(4, 0x555562929770 /* 2 entries */, 32768) = 48 [pid 5831] getdents64(4, 0x555562929770 /* 0 entries */, 32768) = 0 [ 61.559948][ T5832] bcachefs (loop2): unshutdown complete, journal seq 3341 [ 61.569314][ T35] bcachefs (loop2): fatal error - emergency read only [ 61.580945][ T35] ------------[ cut here ]------------ [ 61.589626][ T35] kernel BUG at fs/bcachefs/journal.h:375! [ 61.603356][ T35] Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI [pid 5831] close(4) = 0 [pid 5887] rt_sigprocmask(SIG_SETMASK, [], [pid 5844] <... openat resumed>) = 3 [pid 5833] <... restart_syscall resumed>) = 0 [pid 5831] rmdir("./0/file0" [pid 5887] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5844] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000 [pid 5831] <... rmdir resumed>) = 0 [pid 5844] <... futex resumed>) = 1 [pid 5840] <... futex resumed>) = 0 [pid 5887] memfd_create("syzkaller", 0 [pid 5844] futex(0x7fd6872136a8, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5840] exit_group(0 [pid 5844] <... futex resumed>) = ? [pid 5840] <... exit_group resumed>) = ? [pid 5831] umount2("./0/freezer.self_freezing", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5887] <... memfd_create resumed>) = 3 [pid 5844] +++ exited with 0 +++ [pid 5840] +++ exited with 0 +++ [pid 5833] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5840, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=39 /* 0.39 s */} --- [pid 5887] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5834] restart_syscall(<... resuming interrupted clone ...> [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] newfstatat(AT_FDCWD, "./0/freezer.self_freezing", [pid 5887] <... mmap resumed>) = 0x7fd67ec00000 [pid 5833] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] <... openat resumed>) = 3 [ 61.610380][ T35] CPU: 1 UID: 0 PID: 35 Comm: kworker/u8:2 Not tainted 6.12.0-rc6-syzkaller-00192-gf1dce1f09380 #0 [ 61.621072][ T35] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/30/2024 [ 61.631150][ T35] Workqueue: btree_update btree_interior_update_work [ 61.637877][ T35] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 61.644125][ T35] Code: fd 90 0f 0b e8 9f 76 78 fd 90 0f 0b e8 97 76 78 fd 90 0f 0b e8 8f 76 78 fd 90 0f 0b e8 87 76 78 fd 90 0f 0b e8 7f 76 78 fd 90 <0f> 0b e8 77 76 78 fd 90 0f 0b e8 6f 76 78 fd 90 0f 0b e8 67 76 78 [ 61.663773][ T35] RSP: 0018:ffffc90000ab76c0 EFLAGS: 00010293 [ 61.669863][ T35] RAX: ffffffff841c6381 RBX: 0000000000000000 RCX: ffff88801dea3c00 [ 61.677949][ T35] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 61.686020][ T35] RBP: ffffc90000ab7890 R08: ffffffff841c06b8 R09: 1ffff1100eb594a8 [ 61.694086][ T35] R10: dffffc0000000000 R11: ffffed100eb594a9 R12: ffff888075a80000 [ 61.702062][ T35] R13: ffff888075aca500 R14: 0000000000000044 R15: ffff88807da240d0 [ 61.710026][ T35] FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 61.718943][ T35] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 61.725514][ T35] CR2: 00007ffdaa8c5dec CR3: 000000007f95a000 CR4: 00000000003526f0 [ 61.733494][ T35] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 61.741542][ T35] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 61.749541][ T35] Call Trace: [ 61.752907][ T35] [ 61.755847][ T35] ? __die_body+0x5f/0xb0 [ 61.760186][ T35] ? die+0x9e/0xc0 [ 61.763911][ T35] ? do_trap+0x15a/0x3a0 [ 61.768246][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 61.773717][ T35] ? do_error_trap+0x1dc/0x2c0 [ 61.778649][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 61.784100][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 61.789557][ T35] ? __pfx_do_error_trap+0x10/0x10 [ 61.794682][ T35] ? report_bug+0x3e8/0x500 [ 61.799210][ T35] ? handle_invalid_op+0x34/0x40 [ 61.804149][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 61.809607][ T35] ? exc_invalid_op+0x38/0x50 [ 61.814285][ T35] ? asm_exc_invalid_op+0x1a/0x20 [ 61.819307][ T35] ? __bch2_trans_commit+0x3568/0x93c0 [ 61.824757][ T35] ? __bch2_trans_commit+0x9231/0x93c0 [ 61.830223][ T35] ? __bch2_trans_commit+0x9232/0x93c0 [ 61.835859][ T35] ? __pfx___bch2_trans_commit+0x10/0x10 [ 61.841491][ T35] ? bch2_dev_btree_bitmap_marked+0x2f/0xda0 [ 61.847501][ T35] ? __bch2_trans_jset_entry_alloc+0x2c7/0x4b0 [ 61.853652][ T35] ? btree_interior_update_work+0x117a/0x2b10 [ 61.859736][ T35] btree_interior_update_work+0x1492/0x2b10 [ 61.865639][ T35] ? __pfx_btree_interior_update_work+0x10/0x10 [ 61.871881][ T35] ? __pfx_lock_acquire+0x10/0x10 [ 61.876906][ T35] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 61.882886][ T35] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 [ 61.889213][ T35] ? process_scheduled_works+0x976/0x1850 [ 61.894928][ T35] process_scheduled_works+0xa63/0x1850 [ 61.900475][ T35] ? __pfx_process_scheduled_works+0x10/0x10 [ 61.906450][ T35] ? assign_work+0x364/0x3d0 [pid 5831] unlink("./0/freezer.self_freezing") = 0 [pid 5834] <... restart_syscall resumed>) = 0 [pid 5833] newfstatat(3, "", [pid 5831] getdents64(3, [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5831] <... getdents64 resumed>0x555562921730 /* 0 entries */, 32768) = 0 [pid 5831] close(3) = 0 [pid 5831] rmdir("./0") = 0 [pid 5831] mkdir("./1", 0777) = 0 [pid 5831] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5831] ioctl(3, LOOP_CLR_FD [pid 5834] umount2("./0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5831] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5831] close(3 [pid 5834] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5831] <... close resumed>) = 0 [pid 5834] <... openat resumed>) = 3 [pid 5831] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5834] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] getdents64(3, 0x555562921730 /* 5 entries */, 32768) = 160 [pid 5834] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5831] <... clone resumed>, child_tidptr=0x555562920690) = 5888 [pid 5834] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] unlink("./0/binderfs") = 0 [pid 5833] getdents64(3, [pid 5834] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] <... getdents64 resumed>0x555562921730 /* 5 entries */, 32768) = 160 [pid 5834] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] umount2("./0/binderfs", MNT_FORCE|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5833] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] unlink("./0/binderfs" [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] <... unlink resumed>) = 0 [pid 5834] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5833] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... openat resumed>) = 4 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] newfstatat(4, "", [pid 5833] newfstatat(AT_FDCWD, "./0/file0", [pid 5834] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] getdents64(4, [pid 5833] umount2("./0/file0", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... getdents64 resumed>0x555562929770 /* 2 entries */, 32768) = 48 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] getdents64(4, [pid 5833] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5834] <... getdents64 resumed>0x555562929770 /* 0 entries */, 32768) = 0 [pid 5833] <... openat resumed>) = 4 [pid 5834] close(4 [ 61.911047][ T35] worker_thread+0x870/0xd30 [ 61.915726][ T35] ? __kthread_parkme+0x169/0x1d0 [ 61.920772][ T35] ? __pfx_worker_thread+0x10/0x10 [ 61.925986][ T35] kthread+0x2f0/0x390 [ 61.930209][ T35] ? __pfx_worker_thread+0x10/0x10 [ 61.935323][ T35] ? __pfx_kthread+0x10/0x10 [ 61.939901][ T35] ret_from_fork+0x4b/0x80 [ 61.944315][ T35] ? __pfx_kthread+0x10/0x10 [ 61.948897][ T35] ret_from_fork_asm+0x1a/0x30 [ 61.953745][ T35] [ 61.956752][ T35] Modules linked in: [pid 5833] newfstatat(4, "", [pid 5834] <... close resumed>) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5834] rmdir("./0/file0" [pid 5833] getdents64(4, [pid 5834] <... rmdir resumed>) = 0 [pid 5833] <... getdents64 resumed>0x555562929770 /* 2 entries */, 32768) = 48 [pid 5833] getdents64(4, 0x555562929770 /* 0 entries */, 32768) = 0 [pid 5833] close(4) = 0 [pid 5834] umount2("./0/freezer.self_freezing", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5833] rmdir("./0/file0" [pid 5834] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5833] <... rmdir resumed>) = 0 [pid 5834] newfstatat(AT_FDCWD, "./0/freezer.self_freezing", [pid 5833] umount2("./0/freezer.self_freezing", MNT_FORCE|UMOUNT_NOFOLLOW [pid 5834] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5833] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5834] unlink("./0/freezer.self_freezing" [pid 5833] newfstatat(AT_FDCWD, "./0/freezer.self_freezing", [pid 5834] <... unlink resumed>) = 0 [pid 5833] <... newfstatat resumed>{st_mode=S_IFREG|000, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5834] getdents64(3, [pid 5833] unlink("./0/freezer.self_freezing" [pid 5834] <... getdents64 resumed>0x555562921730 /* 0 entries */, 32768) = 0 [pid 5833] <... unlink resumed>) = 0 [pid 5834] close(3 [pid 5833] getdents64(3, [pid 5834] <... close resumed>) = 0 [pid 5833] <... getdents64 resumed>0x555562921730 /* 0 entries */, 32768) = 0 [pid 5834] rmdir("./0" [pid 5833] close(3 [pid 5834] <... rmdir resumed>) = 0 [pid 5833] <... close resumed>) = 0 [pid 5833] rmdir("./0") = 0 [pid 5834] mkdir("./1", 0777 [pid 5833] mkdir("./1", 0777) = 0 [pid 5834] <... mkdir resumed>) = 0 [pid 5834] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5833] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5834] <... openat resumed>) = 3 [pid 5833] <... openat resumed>) = 3 [pid 5834] ioctl(3, LOOP_CLR_FD [pid 5833] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5833] close(3) = 0 [pid 5834] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5833] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5834] close(3) = 0 [pid 5834] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5833] <... clone resumed>, child_tidptr=0x555562920690) = 5889 [pid 5834] <... clone resumed>, child_tidptr=0x555562920690) = 5890 executing program ./strace-static-x86_64: Process 5890 attached ./strace-static-x86_64: Process 5889 attached ./strace-static-x86_64: Process 5888 attached [pid 5888] set_robust_list(0x5555629206a0, 24) = 0 [pid 5888] chdir("./1") = 0 [pid 5888] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5888] setpgid(0, 0) = 0 [pid 5888] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5888] write(3, "1000", 4) = 4 [pid 5888] close(3) = 0 [pid 5888] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5888] write(1, "executing program\n", 18) = 18 [pid 5888] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5888] rt_sigaction(SIGRT_1, {sa_handler=0x7fd6871ac020, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fd68719d1d0}, NULL, 8) = 0 [pid 5888] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5888] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fd68711c000 [pid 5888] mprotect(0x7fd68711d000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5888] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5888] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7fd68713c990, parent_tid=0x7fd68713c990, exit_signal=0, stack=0x7fd68711c000, stack_size=0x20300, tls=0x7fd68713c6c0}./strace-static-x86_64: Process 5891 attached => {parent_tid=[5891]}, 88) = 5891 [pid 5888] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5888] futex(0x7fd6872136a8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5888] futex(0x7fd6872136ac, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5891] rseq(0x7fd68713cfe0, 0x20, 0, 0x53053053) = 0 [pid 5891] set_robust_list(0x7fd68713c9a0, 24) = 0 [pid 5891] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5891] memfd_create("syzkaller", 0) = 3 [pid 5891] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd67ec00000 [pid 5887] 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"..., 16777216 [pid 5890] set_robust_list(0x5555629206a0, 24 [ 61.960863][ T35] ---[ end trace 0000000000000000 ]--- [pid 5889] set_robust_list(0x5555629206a0, 24) = 0 [pid 5889] chdir("./1") = 0 [pid 5889] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5889] setpgid(0, 0) = 0 [pid 5889] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5889] write(3, "1000", 4) = 4 [pid 5889] close(3executing program ) = 0 [pid 5889] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5889] write(1, "executing program\n", 18) = 18 [pid 5889] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5889] rt_sigaction(SIGRT_1, {sa_handler=0x7fd6871ac020, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fd68719d1d0}, NULL, 8) = 0 [pid 5889] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5889] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fd68711c000 [pid 5889] mprotect(0x7fd68711d000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5889] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5889] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7fd68713c990, parent_tid=0x7fd68713c990, exit_signal=0, stack=0x7fd68711c000, stack_size=0x20300, tls=0x7fd68713c6c0} => {parent_tid=[5892]}, 88) = 5892 [pid 5889] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 5892 attached NULL, 8) = 0 [pid 5889] futex(0x7fd6872136a8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 62.039797][ T35] RIP: 0010:__bch2_trans_commit+0x9232/0x93c0 [ 62.056095][ T35] Code: fd 90 0f 0b e8 9f 76 78 fd 90 0f 0b e8 97 76 78 fd 90 0f 0b e8 8f 76 78 fd 90 0f 0b e8 87 76 78 fd 90 0f 0b e8 7f 76 78 fd 90 <0f> 0b e8 77 76 78 fd 90 0f 0b e8 6f 76 78 fd 90 0f 0b e8 67 76 78 [ 62.076240][ T35] RSP: 0018:ffffc90000ab76c0 EFLAGS: 00010293 [pid 5889] futex(0x7fd6872136ac, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5892] rseq(0x7fd68713cfe0, 0x20, 0, 0x53053053 [pid 5890] <... set_robust_list resumed>) = 0 [pid 5892] <... rseq resumed>) = 0 [pid 5890] chdir("./1" [pid 5892] set_robust_list(0x7fd68713c9a0, 24 [pid 5890] <... chdir resumed>) = 0 [pid 5892] <... set_robust_list resumed>) = 0 [pid 5890] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5892] rt_sigprocmask(SIG_SETMASK, [], [pid 5890] <... prctl resumed>) = 0 [pid 5892] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5890] setpgid(0, 0 [pid 5892] memfd_create("syzkaller", 0 [pid 5890] <... setpgid resumed>) = 0 [pid 5892] <... memfd_create resumed>) = 3 [pid 5890] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5892] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fd67ec00000 [pid 5890] <... openat resumed>) = 3 [pid 5890] write(3, "1000", 4) = 4 [pid 5890] close(3) = 0 executing program [pid 5890] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5890] write(1, "executing program\n", 18) = 18 [pid 5890] futex(0x7fd6872136ac, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5890] rt_sigaction(SIGRT_1, {sa_handler=0x7fd6871ac020, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7fd68719d1d0}, NULL, 8) = 0 [pid 5890] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5890] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7fd68711c000 [ 62.082943][ T35] RAX: ffffffff841c6381 RBX: 0000000000000000 RCX: ffff88801dea3c00 [ 62.091293][ T35] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 62.099594][ T35] RBP: ffffc90000ab7890 R08: ffffffff841c06b8 R09: 1ffff1100eb594a8 [ 62.107747][ T35] R10: dffffc0000000000 R11: ffffed100eb594a9 R12: ffff888075a80000 [ 62.115977][ T35] R13: ffff888075aca500 R14: 0000000000000044 R15: ffff88807da240d0 [ 62.124479][ T35] FS: 0000000000000000(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 [ 62.133593][ T35] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [pid 5890] mprotect(0x7fd68711d000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5890] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5890] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7fd68713c990, parent_tid=0x7fd68713c990, exit_signal=0, stack=0x7fd68711c000, stack_size=0x20300, tls=0x7fd68713c6c0} => {parent_tid=[5893]}, 88) = 5893 [pid 5890] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5890] futex(0x7fd6872136a8, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5890] futex(0x7fd6872136ac, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5893 attached [pid 5893] rseq(0x7fd68713cfe0, 0x20, 0, 0x53053053) = 0 [ 62.140472][ T35] CR2: 00007ffd96b6ecf0 CR3: 00000000273e6000 CR4: 00000000003526f0 [ 62.149033][ T35] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 62.157299][ T35] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 62.165583][ T35] Kernel panic - not syncing: Fatal exception [ 62.171931][ T35] Kernel Offset: disabled [ 62.176283][ T35] Rebooting in 86400 seconds..