./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor895424329 <...> Warning: Permanently added '10.128.0.160' (ED25519) to the list of known hosts. execve("./syz-executor895424329", ["./syz-executor895424329"], 0x7ffe28074b90 /* 10 vars */) = 0 brk(NULL) = 0x5555559c4000 brk(0x5555559c4d00) = 0x5555559c4d00 arch_prctl(ARCH_SET_FS, 0x5555559c4380) = 0 set_tid_address(0x5555559c4650) = 5040 set_robust_list(0x5555559c4660, 24) = 0 rseq(0x5555559c4ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor895424329", 4096) = 27 getrandom("\x5f\xe3\x17\xd8\x91\x7b\xdc\x31", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x5555559c4d00 brk(0x5555559e5d00) = 0x5555559e5d00 brk(0x5555559e6000) = 0x5555559e6000 mprotect(0x7f05f7008000, 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 mkdir("/syzcgroup", 0777) = 0 mkdir("/syzcgroup/unified", 0777) = 0 mount("none", "/syzcgroup/unified", "cgroup2", 0, NULL) = 0 chmod("/syzcgroup/unified", 0777) = 0 openat(AT_FDCWD, "/syzcgroup/unified/cgroup.subtree_control", O_WRONLY) = 3 write(3, "+cpu", 4) = 4 write(3, "+io", 3) = 3 write(3, "+pids", 5) = 5 close(3) = 0 mkdir("/syzcgroup/net", 0777) = 0 mount("none", "/syzcgroup/net", "cgroup", 0, "net") = -1 EINVAL (Invalid argument) mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio") = 0 umount2("/syzcgroup/net", 0) = 0 mount("none", "/syzcgroup/net", "cgroup", 0, "devices") = 0 umount2("/syzcgroup/net", 0) = 0 mount("none", "/syzcgroup/net", "cgroup", 0, "blkio") = 0 umount2("/syzcgroup/net", 0) = 0 mount("none", "/syzcgroup/net", "cgroup", 0, "freezer") = 0 umount2("/syzcgroup/net", 0) = 0 mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio,devices,blkio,freezer") = ? ERESTARTNOINTR (To be restarted) [ 74.979558][ T5040] cgroup: Unknown subsys name 'net' mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio,devices,blkio,freezer") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio,devices,blkio,freezer") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio,devices,blkio,freezer") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/net", "cgroup", 0, "net_prio,devices,blkio,freezer") = 0 chmod("/syzcgroup/net", 0777) = 0 mkdir("/syzcgroup/cpu", 0777) = 0 mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuset") = 0 umount2("/syzcgroup/cpu", 0) = 0 mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuacct") = 0 umount2("/syzcgroup/cpu", 0) = 0 mount("none", "/syzcgroup/cpu", "cgroup", 0, "hugetlb") = 0 umount2("/syzcgroup/cpu", 0) = 0 mount("none", "/syzcgroup/cpu", "cgroup", 0, "rlimit") = -1 EINVAL (Invalid argument) mount("none", "/syzcgroup/cpu", "cgroup", 0, "memory") = 0 umount2("/syzcgroup/cpu", 0) = 0 mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuset,cpuacct,hugetlb,memory") = ? ERESTARTNOINTR (To be restarted) [ 75.121106][ T5040] cgroup: Unknown subsys name 'rlimit' mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuset,cpuacct,hugetlb,memory") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuset,cpuacct,hugetlb,memory") = ? ERESTARTNOINTR (To be restarted) mount("none", "/syzcgroup/cpu", "cgroup", 0, "cpuset,cpuacct,hugetlb,memory") = 0 chmod("/syzcgroup/cpu", 0777) = 0 openat(AT_FDCWD, "/syzcgroup/cpu/cgroup.clone_children", O_WRONLY|O_CLOEXEC) = 3 write(3, "1", 1) = 1 close(3) = 0 openat(AT_FDCWD, "/syzcgroup/cpu/cpuset.memory_pressure_enabled", O_WRONLY|O_CLOEXEC) = 3 write(3, "1", 1) = 1 close(3) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555559c4650) = 5041 ./strace-static-x86_64: Process 5041 attached [pid 5040] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5041] set_robust_list(0x5555559c4660, 24) = 0 [pid 5041] mkdir("./syzkaller.cQa1wk", 0700./strace-static-x86_64: Process 5042 attached [pid 5040] <... clone resumed>, child_tidptr=0x5555559c4650) = 5042 [pid 5040] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5042] set_robust_list(0x5555559c4660, 24 [pid 5041] <... mkdir resumed>) = 0 [pid 5042] <... set_robust_list resumed>) = 0 [pid 5042] mkdir("./syzkaller.8xkTug", 0700 [pid 5041] chmod("./syzkaller.cQa1wk", 0777) = 0 [pid 5041] chdir("./syzkaller.cQa1wk") = 0 [pid 5041] unshare(CLONE_NEWPID./strace-static-x86_64: Process 5043 attached [pid 5042] <... mkdir resumed>) = 0 [pid 5040] <... clone resumed>, child_tidptr=0x5555559c4650) = 5043 [pid 5043] set_robust_list(0x5555559c4660, 24 [pid 5040] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5043] <... set_robust_list resumed>) = 0 [pid 5042] chmod("./syzkaller.8xkTug", 0777 [pid 5043] mkdir("./syzkaller.gdbGjJ", 0700 [pid 5041] <... unshare resumed>) = 0 [pid 5040] <... clone resumed>, child_tidptr=0x5555559c4650) = 5044 [pid 5041] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5044 attached [pid 5043] <... mkdir resumed>) = 0 [pid 5042] <... chmod resumed>) = 0 [pid 5044] set_robust_list(0x5555559c4660, 24 [pid 5042] chdir("./syzkaller.8xkTug") = 0 [pid 5042] unshare(CLONE_NEWPID) = 0 [pid 5042] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5040] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5044] <... set_robust_list resumed>) = 0 [pid 5043] chmod("./syzkaller.gdbGjJ", 0777./strace-static-x86_64: Process 5046 attached ./strace-static-x86_64: Process 5045 attached [pid 5046] set_robust_list(0x5555559c4660, 24 [pid 5045] set_robust_list(0x5555559c4660, 24) = 0 [pid 5042] <... clone resumed>, child_tidptr=0x5555559c4650) = 5046 [pid 5046] <... set_robust_list resumed>) = 0 [pid 5045] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL [pid 5046] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL [pid 5045] <... mount resumed>) = -1 EBUSY (Device or resource busy) [pid 5044] mkdir("./syzkaller.sXlVWT", 0700 [pid 5043] <... chmod resumed>) = 0 [pid 5041] <... clone resumed>, child_tidptr=0x5555559c4650) = 5045 [pid 5046] <... mount resumed>) = -1 EBUSY (Device or resource busy) [pid 5045] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5045] setsid() = 1 [pid 5045] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5045] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5046] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5045] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, [pid 5046] <... prctl resumed>) = 0 [pid 5045] <... prlimit64 resumed>NULL) = 0 [pid 5046] setsid( [pid 5045] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, [pid 5046] <... setsid resumed>) = 1 [pid 5045] <... prlimit64 resumed>NULL) = 0 [pid 5046] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, [pid 5045] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, [pid 5046] <... prlimit64 resumed>NULL) = 0 [pid 5046] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, [pid 5045] <... prlimit64 resumed>NULL) = 0 [pid 5046] <... prlimit64 resumed>NULL) = 0 [pid 5045] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, [pid 5046] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, [pid 5045] <... prlimit64 resumed>NULL) = 0 [pid 5046] <... prlimit64 resumed>NULL) = 0 [pid 5045] unshare(CLONE_NEWNS [pid 5046] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5045] <... unshare resumed>) = 0 [pid 5046] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5046] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5046] unshare(CLONE_NEWNS [pid 5044] <... mkdir resumed>) = 0 [pid 5043] chdir("./syzkaller.gdbGjJ") = 0 [pid 5040] <... clone resumed>, child_tidptr=0x5555559c4650) = 5047 [pid 5043] unshare(CLONE_NEWPID [pid 5040] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5046] <... unshare resumed>) = 0 [pid 5045] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL [pid 5044] chmod("./syzkaller.sXlVWT", 0777 [pid 5043] <... unshare resumed>) = 0 ./strace-static-x86_64: Process 5047 attached [pid 5045] <... mount resumed>) = 0 [pid 5044] <... chmod resumed>) = 0 [pid 5046] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL [pid 5043] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5048 attached [pid 5046] <... mount resumed>) = 0 [pid 5040] <... clone resumed>, child_tidptr=0x5555559c4650) = 5048 [pid 5048] set_robust_list(0x5555559c4660, 24 [pid 5047] set_robust_list(0x5555559c4660, 24 [pid 5046] unshare(CLONE_NEWIPC [pid 5048] <... set_robust_list resumed>) = 0 [pid 5046] <... unshare resumed>) = 0 [pid 5048] mkdir("./syzkaller.GaawBR", 0700 [pid 5047] <... set_robust_list resumed>) = 0 [pid 5045] unshare(CLONE_NEWIPC [pid 5044] chdir("./syzkaller.sXlVWT" [pid 5046] unshare(CLONE_NEWCGROUP [pid 5044] <... chdir resumed>) = 0 [pid 5046] <... unshare resumed>) = 0 [pid 5044] unshare(CLONE_NEWPID [pid 5046] unshare(CLONE_NEWUTS) = 0 [pid 5046] unshare(CLONE_SYSVSEM [pid 5047] mkdir("./syzkaller.pMo97a", 0700 [pid 5046] <... unshare resumed>) = 0 [pid 5046] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC [pid 5044] <... unshare resumed>) = 0 [pid 5048] <... mkdir resumed>) = 0 [pid 5046] <... openat resumed>) = 3 [pid 5045] <... unshare resumed>) = 0 [pid 5044] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5048] chmod("./syzkaller.GaawBR", 0777 [pid 5046] write(3, "16777216", 8 [pid 5048] <... chmod resumed>) = 0 [pid 5047] <... mkdir resumed>) = 0 [pid 5046] <... write resumed>) = 8 [pid 5046] close(3) = 0 [pid 5046] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC [pid 5048] chdir("./syzkaller.GaawBR" [pid 5046] <... openat resumed>) = 3 [pid 5048] <... chdir resumed>) = 0 [pid 5048] unshare(CLONE_NEWPID) = 0 [pid 5048] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5046] write(3, "536870912", 9./strace-static-x86_64: Process 5050 attached ./strace-static-x86_64: Process 5049 attached ./strace-static-x86_64: Process 5051 attached [pid 5047] chmod("./syzkaller.pMo97a", 0777 [pid 5046] <... write resumed>) = 9 [pid 5045] unshare(CLONE_NEWCGROUP [pid 5051] set_robust_list(0x5555559c4660, 24 [pid 5048] <... clone resumed>, child_tidptr=0x5555559c4650) = 5051 [pid 5043] <... clone resumed>, child_tidptr=0x5555559c4650) = 5049 [pid 5051] <... set_robust_list resumed>) = 0 [pid 5051] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL [pid 5047] <... chmod resumed>) = 0 [pid 5046] close(3 [pid 5045] <... unshare resumed>) = 0 [pid 5044] <... clone resumed>, child_tidptr=0x5555559c4650) = 5050 [pid 5047] chdir("./syzkaller.pMo97a" [pid 5045] unshare(CLONE_NEWUTS [pid 5051] <... mount resumed>) = -1 EBUSY (Device or resource busy) [pid 5050] set_robust_list(0x5555559c4660, 24 [pid 5049] set_robust_list(0x5555559c4660, 24 [pid 5047] <... chdir resumed>) = 0 [pid 5045] <... unshare resumed>) = 0 [pid 5046] <... close resumed>) = 0 [pid 5045] unshare(CLONE_SYSVSEM [pid 5046] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC [pid 5045] <... unshare resumed>) = 0 [pid 5051] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5051] setsid() = 1 [pid 5045] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC [pid 5051] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5051] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5051] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, [pid 5050] <... set_robust_list resumed>) = 0 [pid 5045] <... openat resumed>) = 3 [pid 5051] <... prlimit64 resumed>NULL) = 0 [pid 5047] unshare(CLONE_NEWPID [pid 5051] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5051] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, NULL) = 0 [pid 5051] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, NULL) = 0 [pid 5051] unshare(CLONE_NEWNS) = 0 [pid 5050] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL [pid 5049] <... set_robust_list resumed>) = 0 [pid 5047] <... unshare resumed>) = 0 [pid 5046] <... openat resumed>) = 3 [pid 5045] write(3, "16777216", 8 [pid 5051] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL) = 0 [pid 5051] unshare(CLONE_NEWIPC [pid 5047] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5049] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL [pid 5051] <... unshare resumed>) = 0 [pid 5051] unshare(CLONE_NEWCGROUP) = 0 [pid 5051] unshare(CLONE_NEWUTS) = 0 [pid 5051] unshare(CLONE_SYSVSEM) = 0 [pid 5051] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5051] write(3, "16777216", 8) = 8 [pid 5051] close(3) = 0 [pid 5051] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC) = 3 [pid 5051] write(3, "536870912", 9) = 9 [pid 5051] close(3) = 0 [pid 5051] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5051] write(3, "1024", 4) = 4 [pid 5051] close(3 [pid 5045] <... write resumed>) = 8 [pid 5051] <... close resumed>) = 0 [pid 5051] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC [pid 5050] <... mount resumed>) = -1 EBUSY (Device or resource busy) [pid 5045] close(3) = 0 [pid 5049] <... mount resumed>) = -1 EBUSY (Device or resource busy) [pid 5046] write(3, "1024", 4 [pid 5045] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC [pid 5046] <... write resumed>) = 4 [pid 5051] <... openat resumed>) = 3 [pid 5051] write(3, "8192", 4) = 4 [pid 5045] <... openat resumed>) = 3 [pid 5046] close(3 [pid 5045] write(3, "536870912", 9 [pid 5046] <... close resumed>) = 0 [pid 5051] close(3 [pid 5046] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC [pid 5045] <... write resumed>) = 9 [pid 5051] <... close resumed>) = 0 [pid 5045] close(3 [pid 5051] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5046] <... openat resumed>) = 3 [pid 5051] write(3, "1024", 4) = 4 [pid 5051] close(3) = 0 [pid 5051] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC [pid 5050] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5045] <... close resumed>) = 0 [pid 5050] <... prctl resumed>) = 0 [pid 5049] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5050] setsid( [pid 5049] <... prctl resumed>) = 0 [pid 5046] write(3, "8192", 4 [pid 5045] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC [pid 5050] <... setsid resumed>) = 1 [pid 5049] setsid( [pid 5046] <... write resumed>) = 4 [pid 5050] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, [pid 5049] <... setsid resumed>) = 1 [pid 5050] <... prlimit64 resumed>NULL) = 0 [pid 5049] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, [pid 5050] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, [pid 5049] <... prlimit64 resumed>NULL) = 0 [pid 5050] <... prlimit64 resumed>NULL) = 0 [pid 5051] <... openat resumed>) = 3 [pid 5050] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, [pid 5049] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, [pid 5046] close(3 [pid 5045] <... openat resumed>) = 3 [pid 5051] write(3, "1024", 4) = 4 [pid 5049] <... prlimit64 resumed>NULL) = 0 [pid 5050] <... prlimit64 resumed>NULL) = 0 [pid 5046] <... close resumed>) = 0 [pid 5045] write(3, "1024", 4 [pid 5049] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, [pid 5050] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, [pid 5046] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC [pid 5049] <... prlimit64 resumed>NULL) = 0 [pid 5045] <... write resumed>) = 4 [pid 5050] <... prlimit64 resumed>NULL) = 0 [pid 5051] close(3 [pid 5050] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, [pid 5049] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, [pid 5045] close(3 [pid 5051] <... close resumed>) = 0 [pid 5050] <... prlimit64 resumed>NULL) = 0 [pid 5049] <... prlimit64 resumed>NULL) = 0 [pid 5051] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC [pid 5050] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, [pid 5049] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, [pid 5045] <... close resumed>) = 0 [pid 5051] <... openat resumed>) = 3 [pid 5050] <... prlimit64 resumed>NULL) = 0 [pid 5049] <... prlimit64 resumed>NULL) = 0 [pid 5046] <... openat resumed>) = 3 [pid 5045] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC [pid 5049] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, ./strace-static-x86_64: Process 5052 attached NULL) = 0 [pid 5052] set_robust_list(0x5555559c4660, 24 [pid 5051] write(3, "1024 1048576 500 1024", 21 [pid 5052] <... set_robust_list resumed>) = 0 [pid 5051] <... write resumed>) = 21 [pid 5049] unshare(CLONE_NEWNS [pid 5050] unshare(CLONE_NEWNS [pid 5047] <... clone resumed>, child_tidptr=0x5555559c4650) = 5052 [pid 5046] write(3, "1024", 4 [pid 5045] <... openat resumed>) = 3 [pid 5052] mount(NULL, "/sys/fs/fuse/connections", "fusectl", 0, NULL [pid 5051] close(3 [pid 5050] <... unshare resumed>) = 0 [pid 5046] <... write resumed>) = 4 [pid 5045] write(3, "8192", 4 [pid 5051] <... close resumed>) = 0 [pid 5051] getpid( [pid 5045] <... write resumed>) = 4 [pid 5051] <... getpid resumed>) = 1 [pid 5051] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, [pid 5046] close(3 [pid 5045] close(3 [pid 5051] <... capget resumed>{effective=1<) = -1 EBUSY (Device or resource busy) [pid 5051] capset({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [pid 5050] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL [pid 5049] <... unshare resumed>) = 0 [pid 5046] <... close resumed>) = 0 [pid 5045] <... close resumed>) = 0 [pid 5052] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5051] <... capset resumed>) = 0 [pid 5046] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC [pid 5052] <... prctl resumed>) = 0 [pid 5051] unshare(CLONE_NEWNET [pid 5050] <... mount resumed>) = 0 [pid 5049] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL [pid 5045] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC [pid 5052] setsid( [pid 5046] <... openat resumed>) = 3 [pid 5045] <... openat resumed>) = 3 [pid 5045] write(3, "1024", 4 [pid 5050] unshare(CLONE_NEWIPC [pid 5049] <... mount resumed>) = 0 [pid 5046] write(3, "1024", 4 [pid 5045] <... write resumed>) = 4 [pid 5046] <... write resumed>) = 4 [pid 5045] close(3 [pid 5052] <... setsid resumed>) = 1 [pid 5050] <... unshare resumed>) = 0 [pid 5049] unshare(CLONE_NEWIPC [pid 5045] <... close resumed>) = 0 [pid 5052] prlimit64(0, RLIMIT_AS, {rlim_cur=204800*1024, rlim_max=204800*1024}, NULL) = 0 [pid 5046] close(3 [pid 5045] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC [pid 5052] prlimit64(0, RLIMIT_MEMLOCK, {rlim_cur=32768*1024, rlim_max=32768*1024}, NULL) = 0 [pid 5049] <... unshare resumed>) = 0 [pid 5046] <... close resumed>) = 0 [pid 5045] <... openat resumed>) = 3 [pid 5052] prlimit64(0, RLIMIT_FSIZE, {rlim_cur=139264*1024, rlim_max=139264*1024}, [pid 5046] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC [pid 5052] <... prlimit64 resumed>NULL) = 0 [pid 5050] unshare(CLONE_NEWCGROUP [pid 5052] prlimit64(0, RLIMIT_STACK, {rlim_cur=1024*1024, rlim_max=1024*1024}, NULL) = 0 [pid 5050] <... unshare resumed>) = 0 [pid 5046] <... openat resumed>) = 3 [pid 5052] prlimit64(0, RLIMIT_CORE, {rlim_cur=131072*1024, rlim_max=131072*1024}, [pid 5050] unshare(CLONE_NEWUTS [pid 5049] unshare(CLONE_NEWCGROUP [pid 5052] <... prlimit64 resumed>NULL) = 0 [pid 5049] <... unshare resumed>) = 0 [pid 5045] write(3, "1024", 4 [pid 5052] prlimit64(0, RLIMIT_NOFILE, {rlim_cur=256, rlim_max=256}, [pid 5050] <... unshare resumed>) = 0 [pid 5049] unshare(CLONE_NEWUTS [pid 5052] <... prlimit64 resumed>NULL) = 0 [pid 5046] write(3, "1024 1048576 500 1024", 21 [pid 5045] <... write resumed>) = 4 [pid 5052] unshare(CLONE_NEWNS [pid 5050] unshare(CLONE_SYSVSEM [pid 5049] <... unshare resumed>) = 0 [pid 5046] <... write resumed>) = 21 [pid 5049] unshare(CLONE_SYSVSEM [pid 5050] <... unshare resumed>) = 0 [pid 5049] <... unshare resumed>) = 0 [pid 5049] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC [pid 5046] close(3 [pid 5045] close(3 [pid 5050] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC [pid 5045] <... close resumed>) = 0 [pid 5050] <... openat resumed>) = 3 [pid 5046] <... close resumed>) = 0 [pid 5045] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5046] getpid() = 1 [pid 5046] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, [pid 5052] <... unshare resumed>) = 0 [pid 5046] <... capget resumed>{effective=1< [pid 5050] write(3, "16777216", 8 [pid 5049] <... openat resumed>) = 3 [pid 5046] capset({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [pid 5052] mount(NULL, "/", NULL, MS_REC|MS_PRIVATE, NULL [pid 5050] <... write resumed>) = 8 [pid 5049] write(3, "16777216", 8 [pid 5052] <... mount resumed>) = 0 [pid 5050] close(3 [pid 5049] <... write resumed>) = 8 [pid 5046] <... capset resumed>) = 0 [pid 5045] <... write resumed>) = 21 [pid 5052] unshare(CLONE_NEWIPC [pid 5050] <... close resumed>) = 0 [pid 5049] close(3 [pid 5045] close(3) = 0 [pid 5045] getpid() = 1 [pid 5045] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [pid 5052] <... unshare resumed>) = 0 [pid 5050] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC [pid 5049] <... close resumed>) = 0 [pid 5046] unshare(CLONE_NEWNET [pid 5052] unshare(CLONE_NEWCGROUP [pid 5050] <... openat resumed>) = 3 [pid 5049] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC [pid 5052] <... unshare resumed>) = 0 [pid 5050] write(3, "536870912", 9 [pid 5052] unshare(CLONE_NEWUTS [pid 5050] <... write resumed>) = 9 [pid 5049] <... openat resumed>) = 3 [pid 5050] close(3 [pid 5052] <... unshare resumed>) = 0 [pid 5049] write(3, "536870912", 9 [pid 5050] <... close resumed>) = 0 [pid 5050] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC [pid 5049] <... write resumed>) = 9 [pid 5049] close(3) = 0 [pid 5049] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5050] <... openat resumed>) = 3 [pid 5049] write(3, "1024", 4 [pid 5052] unshare(CLONE_SYSVSEM [pid 5050] write(3, "1024", 4 [pid 5052] <... unshare resumed>) = 0 [pid 5050] <... write resumed>) = 4 [pid 5052] openat(AT_FDCWD, "/proc/sys/kernel/shmmax", O_WRONLY|O_CLOEXEC [pid 5050] close(3) = 0 [pid 5050] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC) = 3 [pid 5050] write(3, "8192", 4) = 4 [pid 5050] close(3) = 0 [pid 5050] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC [pid 5052] <... openat resumed>) = 3 [pid 5052] write(3, "16777216", 8) = 8 [pid 5050] <... openat resumed>) = 3 [pid 5052] close(3 [pid 5049] <... write resumed>) = 4 [pid 5049] close(3 [pid 5052] <... close resumed>) = 0 [pid 5050] write(3, "1024", 4 [pid 5052] openat(AT_FDCWD, "/proc/sys/kernel/shmall", O_WRONLY|O_CLOEXEC [pid 5049] <... close resumed>) = 0 [pid 5050] <... write resumed>) = 4 [pid 5049] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC [pid 5050] close(3) = 0 [pid 5050] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5050] write(3, "1024", 4) = 4 [pid 5052] <... openat resumed>) = 3 [pid 5050] close(3 [pid 5049] <... openat resumed>) = 3 [pid 5052] write(3, "536870912", 9 [pid 5050] <... close resumed>) = 0 [pid 5049] write(3, "8192", 4 [pid 5052] <... write resumed>) = 9 [pid 5050] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC [pid 5049] <... write resumed>) = 4 [pid 5049] close(3) = 0 [pid 5049] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5049] write(3, "1024", 4) = 4 [pid 5050] <... openat resumed>) = 3 [pid 5049] close(3) = 0 [pid 5049] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5049] write(3, "1024", 4) = 4 [pid 5052] close(3 [pid 5050] write(3, "1024 1048576 500 1024", 21 [pid 5049] close(3 [pid 5052] <... close resumed>) = 0 [pid 5050] <... write resumed>) = 21 [pid 5052] openat(AT_FDCWD, "/proc/sys/kernel/shmmni", O_WRONLY|O_CLOEXEC [pid 5050] close(3 [pid 5049] <... close resumed>) = 0 [pid 5050] <... close resumed>) = 0 [pid 5049] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC [pid 5052] <... openat resumed>) = 3 [pid 5050] getpid( [pid 5049] <... openat resumed>) = 3 [pid 5052] write(3, "1024", 4 [pid 5050] <... getpid resumed>) = 1 [pid 5049] write(3, "1024 1048576 500 1024", 21 [pid 5052] <... write resumed>) = 4 [pid 5050] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, [pid 5052] close(3 [pid 5049] <... write resumed>) = 21 [pid 5050] <... capget resumed>{effective=1<) = 0 [pid 5050] capset({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [pid 5049] close(3 [pid 5052] openat(AT_FDCWD, "/proc/sys/kernel/msgmax", O_WRONLY|O_CLOEXEC [pid 5050] <... capset resumed>) = 0 [pid 5049] <... close resumed>) = 0 [pid 5050] unshare(CLONE_NEWNET [pid 5049] getpid() = 1 [pid 5049] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, [pid 5052] <... openat resumed>) = 3 [pid 5049] <... capget resumed>{effective=1< [pid 5052] close(3) = 0 [pid 5052] openat(AT_FDCWD, "/proc/sys/kernel/msgmni", O_WRONLY|O_CLOEXEC) = 3 [pid 5052] write(3, "1024", 4) = 4 [pid 5052] close(3) = 0 [pid 5052] openat(AT_FDCWD, "/proc/sys/kernel/msgmnb", O_WRONLY|O_CLOEXEC) = 3 [pid 5052] write(3, "1024", 4) = 4 [pid 5052] close(3) = 0 [pid 5052] openat(AT_FDCWD, "/proc/sys/kernel/sem", O_WRONLY|O_CLOEXEC) = 3 [pid 5052] write(3, "1024 1048576 500 1024", 21) = 21 [pid 5052] close(3) = 0 [pid 5052] getpid() = 1 [pid 5052] capget({version=_LINUX_CAPABILITY_VERSION_3, pid=1}, {effective=1< [pid 5049] <... unshare resumed>) = 0 [pid 5049] openat(AT_FDCWD, "/proc/sys/net/ipv4/ping_group_range", O_WRONLY|O_CLOEXEC) = 3 [pid 5049] write(3, "0 65535", 7) = 7 [pid 5049] close(3) = 0 [pid 5049] mkdir("/dev/binderfs", 0777) = 0 [pid 5049] mount("binder", "/dev/binderfs", "binder", 0, NULL) = 0 [pid 5051] <... unshare resumed>) = 0 [pid 5049] getpid( [pid 5051] openat(AT_FDCWD, "/proc/sys/net/ipv4/ping_group_range", O_WRONLY|O_CLOEXEC) = 3 [pid 5049] <... getpid resumed>) = 1 [pid 5051] write(3, "0 65535", 7 [pid 5049] mkdir("/syzcgroup/unified/syz2", 0777 [pid 5051] <... write resumed>) = 7 [pid 5051] close(3) = 0 [pid 5051] mkdir("/dev/binderfs", 0777) = -1 EEXIST (File exists) [pid 5051] mount("binder", "/dev/binderfs", "binder", 0, NULL) = 0 [pid 5049] <... mkdir resumed>) = 0 [pid 5051] getpid() = 1 [pid 5051] mkdir("/syzcgroup/unified/syz5", 0777) = 0 [pid 5049] openat(AT_FDCWD, "/syzcgroup/unified/syz2/pids.max", O_WRONLY|O_CLOEXEC [pid 5051] openat(AT_FDCWD, "/syzcgroup/unified/syz5/pids.max", O_WRONLY|O_CLOEXEC [pid 5049] <... openat resumed>) = 3 [pid 5051] <... openat resumed>) = 3 [pid 5051] write(3, "32", 2) = 2 [pid 5051] close(3) = 0 [pid 5051] openat(AT_FDCWD, "/syzcgroup/unified/syz5/cgroup.procs", O_WRONLY|O_CLOEXEC) = 3 [pid 5051] write(3, "1", 1 [pid 5049] write(3, "32", 2) = 2 [pid 5049] close(3) = 0 [pid 5049] openat(AT_FDCWD, "/syzcgroup/unified/syz2/cgroup.procs", O_WRONLY|O_CLOEXEC [pid 5051] <... write resumed>) = 1 [pid 5049] <... openat resumed>) = 3 [pid 5049] write(3, "1", 1) = 1 [pid 5049] close(3) = 0 [pid 5049] mkdir("/syzcgroup/cpu/syz2", 0777 [pid 5051] close(3) = 0 [pid 5051] mkdir("/syzcgroup/cpu/syz5", 0777 [pid 5049] <... mkdir resumed>) = 0 [pid 5051] <... mkdir resumed>) = 0 [pid 5049] openat(AT_FDCWD, "/syzcgroup/cpu/syz2/cgroup.procs", O_WRONLY|O_CLOEXEC [pid 5045] <... unshare resumed>) = 0 [pid 5051] openat(AT_FDCWD, "/syzcgroup/cpu/syz5/cgroup.procs", O_WRONLY|O_CLOEXEC [pid 5049] <... openat resumed>) = 3 [pid 5051] <... openat resumed>) = 3 [pid 5049] write(3, "1", 1 [pid 5045] openat(AT_FDCWD, "/proc/sys/net/ipv4/ping_group_range", O_WRONLY|O_CLOEXEC) = 3 [pid 5045] write(3, "0 65535", 7) = 7 [pid 5045] close(3) = 0 [pid 5045] mkdir("/dev/binderfs", 0777) = -1 EEXIST (File exists) [pid 5045] mount("binder", "/dev/binderfs", "binder", 0, NULL) = 0 [pid 5045] getpid() = 1 [pid 5045] mkdir("/syzcgroup/unified/syz0", 0777) = 0 [pid 5045] openat(AT_FDCWD, "/syzcgroup/unified/syz0/pids.max", O_WRONLY|O_CLOEXEC) = 3 [pid 5045] write(3, "32", 2) = 2 [pid 5045] close(3) = 0 [pid 5045] openat(AT_FDCWD, "/syzcgroup/unified/syz0/cgroup.procs", O_WRONLY|O_CLOEXEC) = 3 [pid 5045] write(3, "1", 1) = 1 [pid 5045] close(3) = 0 [pid 5045] mkdir("/syzcgroup/cpu/syz0", 0777 [pid 5051] write(3, "1", 1 [pid 5045] <... mkdir resumed>) = 0 [pid 5045] openat(AT_FDCWD, "/syzcgroup/cpu/syz0/cgroup.procs", O_WRONLY|O_CLOEXEC) = 3 [pid 5045] write(3, "1", 1 [pid 5051] <... write resumed>) = 1 [pid 5051] close(3) = 0 [pid 5051] openat(AT_FDCWD, "/syzcgroup/cpu/syz5/memory.soft_limit_in_bytes", O_WRONLY|O_CLOEXEC) = 3 [pid 5051] write(3, "313524224", 9) = 9 [pid 5051] close(3) = 0 [pid 5051] openat(AT_FDCWD, "/syzcgroup/cpu/syz5/memory.limit_in_bytes", O_WRONLY|O_CLOEXEC) = 3 [pid 5051] write(3, "314572800", 9) = 9 [pid 5051] close(3) = 0 [pid 5051] mkdir("/syzcgroup/net/syz5", 0777 [pid 5049] <... write resumed>) = 1 [pid 5049] close(3) = 0 [pid 5049] openat(AT_FDCWD, "/syzcgroup/cpu/syz2/memory.soft_limit_in_bytes", O_WRONLY|O_CLOEXEC [pid 5050] <... unshare resumed>) = 0 [pid 5049] <... openat resumed>) = 3 [pid 5050] openat(AT_FDCWD, "/proc/sys/net/ipv4/ping_group_range", O_WRONLY|O_CLOEXEC) = 3 [pid 5050] write(3, "0 65535", 7) = 7 [pid 5050] close(3) = 0 [pid 5050] mkdir("/dev/binderfs", 0777) = -1 EEXIST (File exists) [pid 5050] mount("binder", "/dev/binderfs", "binder", 0, NULL) = 0 [pid 5050] getpid() = 1 [pid 5050] mkdir("/syzcgroup/unified/syz3", 0777 [pid 5049] write(3, "313524224", 9) = 9 [pid 5049] close(3) = 0 [pid 5049] openat(AT_FDCWD, "/syzcgroup/cpu/syz2/memory.limit_in_bytes", O_WRONLY|O_CLOEXEC) = 3 [pid 5049] write(3, "314572800", 9 [pid 5051] <... mkdir resumed>) = 0 [pid 5051] openat(AT_FDCWD, "/syzcgroup/net/syz5/cgroup.procs", O_WRONLY|O_CLOEXEC) = 3 [pid 5045] <... write resumed>) = 1 [pid 5049] <... write resumed>) = 9 [pid 5051] write(3, "1", 1 [pid 5045] close(3 [pid 5049] close(3) = 0 [pid 5049] mkdir("/syzcgroup/net/syz2", 0777 [pid 5045] <... close resumed>) = 0 [pid 5051] <... write resumed>) = 1 [pid 5045] openat(AT_FDCWD, "/syzcgroup/cpu/syz0/memory.soft_limit_in_bytes", O_WRONLY|O_CLOEXEC [pid 5051] close(3) = 0 [pid 5051] mkdir("./0", 0777 [pid 5045] <... openat resumed>) = 3 [pid 5051] <... mkdir resumed>) = 0 [pid 5046] <... unshare resumed>) = 0 [pid 5045] write(3, "313524224", 9) = 9 [pid 5045] close(3) = 0 [pid 5045] openat(AT_FDCWD, "/syzcgroup/cpu/syz0/memory.limit_in_bytes", O_WRONLY|O_CLOEXEC) = 3 [pid 5051] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5051] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5051] close(3) = 0 [pid 5051] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5046] openat(AT_FDCWD, "/proc/sys/net/ipv4/ping_group_range", O_WRONLY|O_CLOEXEC) = 3 [pid 5045] write(3, "314572800", 9) = 9 [pid 5045] close(3) = 0 [pid 5045] mkdir("/syzcgroup/net/syz0", 0777 [pid 5050] <... mkdir resumed>) = 0 [pid 5050] openat(AT_FDCWD, "/syzcgroup/unified/syz3/pids.max", O_WRONLY|O_CLOEXEC) = 3 [pid 5050] write(3, "32", 2) = 2 [pid 5050] close(3) = 0 [pid 5050] openat(AT_FDCWD, "/syzcgroup/unified/syz3/cgroup.procs", O_WRONLY|O_CLOEXEC) = 3 [pid 5046] write(3, "0 65535", 7 [pid 5050] write(3, "1", 1 [pid 5051] <... clone resumed>, child_tidptr=0x5555559c4650) = 2 [pid 5046] <... write resumed>) = 7 [pid 5046] close(3) = 0 [pid 5046] mkdir("/dev/binderfs", 0777) = -1 EEXIST (File exists) [pid 5046] mount("binder", "/dev/binderfs", "binder", 0, NULL) = 0 [pid 5046] getpid(./strace-static-x86_64: Process 5059 attached ) = 1 [pid 5046] mkdir("/syzcgroup/unified/syz1", 0777 [pid 5059] set_robust_list(0x5555559c4660, 24) = 0 [pid 5059] chdir("./0") = 0 [pid 5059] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5059] setpgid(0, 0) = 0 [pid 5059] symlink("/syzcgroup/unified/syz5", "./cgroup") = 0 [pid 5049] <... mkdir resumed>) = 0 [pid 5049] openat(AT_FDCWD, "/syzcgroup/net/syz2/cgroup.procs", O_WRONLY|O_CLOEXEC [pid 5059] symlink("/syzcgroup/cpu/syz5", "./cgroup.cpu") = 0 [pid 5059] symlink("/syzcgroup/net/syz5", "./cgroup.net") = 0 [pid 5059] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5059] write(3, "1000", 4) = 4 [pid 5059] close(3) = 0 [pid 5059] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5059] memfd_create("syzkaller", 0 [pid 5049] <... openat resumed>) = 3 [pid 5045] <... mkdir resumed>) = 0 [pid 5049] write(3, "1", 1 [pid 5045] openat(AT_FDCWD, "/syzcgroup/net/syz0/cgroup.procs", O_WRONLY|O_CLOEXEC) = 3 [pid 5049] <... write resumed>) = 1 [pid 5050] <... write resumed>) = 1 [pid 5045] write(3, "1", 1 [pid 5050] close(3) = 0 [pid 5049] close(3 [pid 5059] <... memfd_create resumed>) = 3 [pid 5052] <... unshare resumed>) = 0 [pid 5050] mkdir("/syzcgroup/cpu/syz3", 0777 [pid 5049] <... close resumed>) = 0 [pid 5046] <... mkdir resumed>) = 0 [pid 5045] <... write resumed>) = 1 [pid 5059] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5052] openat(AT_FDCWD, "/proc/sys/net/ipv4/ping_group_range", O_WRONLY|O_CLOEXEC [pid 5046] openat(AT_FDCWD, "/syzcgroup/unified/syz1/pids.max", O_WRONLY|O_CLOEXEC [pid 5059] <... mmap resumed>) = 0x7f05eeb4f000 [pid 5052] <... openat resumed>) = 3 [pid 5049] mkdir("./0", 0777 [pid 5046] <... openat resumed>) = 3 [pid 5045] close(3 [pid 5049] <... mkdir resumed>) = 0 [pid 5046] write(3, "32", 2 [pid 5045] <... close resumed>) = 0 [pid 5052] write(3, "0 65535", 7 [pid 5046] <... write resumed>) = 2 [pid 5052] <... write resumed>) = 7 [pid 5046] close(3 [pid 5052] close(3 [pid 5046] <... close resumed>) = 0 [pid 5052] <... close resumed>) = 0 [pid 5046] openat(AT_FDCWD, "/syzcgroup/unified/syz1/cgroup.procs", O_WRONLY|O_CLOEXEC [pid 5052] mkdir("/dev/binderfs", 0777) = -1 EEXIST (File exists) [pid 5050] <... mkdir resumed>) = 0 [pid 5049] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5046] <... openat resumed>) = 3 [pid 5045] mkdir("./0", 0777 [pid 5052] mount("binder", "/dev/binderfs", "binder", 0, NULL [pid 5045] <... mkdir resumed>) = 0 [pid 5049] <... openat resumed>) = 3 [pid 5049] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5049] close(3) = 0 [pid 5045] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5052] <... mount resumed>) = 0 [pid 5049] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5045] <... openat resumed>) = 3 [pid 5052] getpid( [pid 5046] write(3, "1", 1 [pid 5045] ioctl(3, LOOP_CLR_FD [pid 5052] <... getpid resumed>) = 1 [pid 5045] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5045] close(3 [pid 5052] mkdir("/syzcgroup/unified/syz4", 0777 [pid 5045] <... close resumed>) = 0 [pid 5050] openat(AT_FDCWD, "/syzcgroup/cpu/syz3/cgroup.procs", O_WRONLY|O_CLOEXEC [pid 5045] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5061 attached [ 75.730899][ T5059] syz-executor895[5059]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5052] <... mkdir resumed>) = 0 [pid 5050] <... openat resumed>) = 3 [pid 5046] <... write resumed>) = 1 [pid 5052] openat(AT_FDCWD, "/syzcgroup/unified/syz4/pids.max", O_WRONLY|O_CLOEXEC [pid 5050] write(3, "1", 1) = 1 [pid 5050] close(3 [pid 5052] <... openat resumed>) = 3 [pid 5050] <... close resumed>) = 0 [pid 5050] openat(AT_FDCWD, "/syzcgroup/cpu/syz3/memory.soft_limit_in_bytes", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 5062 attached [pid 5061] set_robust_list(0x5555559c4660, 24 [pid 5052] write(3, "32", 2 [pid 5050] <... openat resumed>) = 3 [pid 5046] close(3 [pid 5052] <... write resumed>) = 2 [pid 5050] write(3, "313524224", 9 [pid 5052] close(3 [pid 5061] <... set_robust_list resumed>) = 0 [pid 5050] <... write resumed>) = 9 [pid 5046] <... close resumed>) = 0 [pid 5050] close(3 [pid 5052] <... close resumed>) = 0 [pid 5050] <... close resumed>) = 0 [pid 5046] mkdir("/syzcgroup/cpu/syz1", 0777 [pid 5052] openat(AT_FDCWD, "/syzcgroup/unified/syz4/cgroup.procs", O_WRONLY|O_CLOEXEC [pid 5050] openat(AT_FDCWD, "/syzcgroup/cpu/syz3/memory.limit_in_bytes", O_WRONLY|O_CLOEXEC [pid 5052] <... openat resumed>) = 3 [pid 5050] <... openat resumed>) = 3 [pid 5050] write(3, "314572800", 9) = 9 [pid 5050] close(3) = 0 [pid 5050] mkdir("/syzcgroup/net/syz3", 0777 [pid 5061] chdir("./0" [pid 5052] write(3, "1", 1 [pid 5050] <... mkdir resumed>) = 0 [pid 5046] <... mkdir resumed>) = 0 [pid 5062] set_robust_list(0x5555559c4660, 24 [pid 5045] <... clone resumed>, child_tidptr=0x5555559c4650) = 2 [pid 5062] <... set_robust_list resumed>) = 0 [pid 5062] chdir("./0") = 0 [pid 5061] <... chdir resumed>) = 0 [pid 5052] <... write resumed>) = 1 [pid 5061] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5052] close(3 [pid 5061] <... prctl resumed>) = 0 [pid 5062] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5061] setpgid(0, 0 [pid 5062] setpgid(0, 0 [pid 5049] <... clone resumed>, child_tidptr=0x5555559c4650) = 2 [pid 5061] <... setpgid resumed>) = 0 [pid 5052] <... close resumed>) = 0 [pid 5062] <... setpgid resumed>) = 0 [pid 5052] mkdir("/syzcgroup/cpu/syz4", 0777 [pid 5062] symlink("/syzcgroup/unified/syz0", "./cgroup") = 0 [pid 5061] symlink("/syzcgroup/unified/syz2", "./cgroup" [pid 5052] <... mkdir resumed>) = 0 [pid 5062] symlink("/syzcgroup/cpu/syz0", "./cgroup.cpu") = 0 [pid 5062] symlink("/syzcgroup/net/syz0", "./cgroup.net") = 0 [pid 5062] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5062] write(3, "1000", 4) = 4 [pid 5062] close(3) = 0 [pid 5062] symlink("/dev/binderfs", "./binderfs" [pid 5061] <... symlink resumed>) = 0 [pid 5046] openat(AT_FDCWD, "/syzcgroup/cpu/syz1/cgroup.procs", O_WRONLY|O_CLOEXEC [pid 5061] symlink("/syzcgroup/cpu/syz2", "./cgroup.cpu" [pid 5062] <... symlink resumed>) = 0 [pid 5046] <... openat resumed>) = 3 [pid 5046] write(3, "1", 1 [pid 5061] <... symlink resumed>) = 0 [pid 5046] <... write resumed>) = 1 [pid 5061] symlink("/syzcgroup/net/syz2", "./cgroup.net" [pid 5052] openat(AT_FDCWD, "/syzcgroup/cpu/syz4/cgroup.procs", O_WRONLY|O_CLOEXEC [pid 5046] close(3 [pid 5062] memfd_create("syzkaller", 0 [pid 5046] <... close resumed>) = 0 [pid 5046] openat(AT_FDCWD, "/syzcgroup/cpu/syz1/memory.soft_limit_in_bytes", O_WRONLY|O_CLOEXEC [pid 5061] <... symlink resumed>) = 0 [pid 5052] <... openat resumed>) = 3 [pid 5046] <... openat resumed>) = 3 [pid 5061] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5052] write(3, "1", 1 [pid 5046] write(3, "313524224", 9 [pid 5050] openat(AT_FDCWD, "/syzcgroup/net/syz3/cgroup.procs", O_WRONLY|O_CLOEXEC [pid 5046] <... write resumed>) = 9 [pid 5052] <... write resumed>) = 1 [pid 5050] <... openat resumed>) = 3 [pid 5046] close(3 [pid 5052] close(3 [pid 5061] <... openat resumed>) = 3 [pid 5052] <... close resumed>) = 0 [pid 5046] <... close resumed>) = 0 [pid 5061] write(3, "1000", 4 [pid 5052] openat(AT_FDCWD, "/syzcgroup/cpu/syz4/memory.soft_limit_in_bytes", O_WRONLY|O_CLOEXEC [pid 5061] <... write resumed>) = 4 [pid 5046] openat(AT_FDCWD, "/syzcgroup/cpu/syz1/memory.limit_in_bytes", O_WRONLY|O_CLOEXEC [pid 5050] write(3, "1", 1) = 1 [pid 5046] <... openat resumed>) = 3 [pid 5050] close(3) = 0 [pid 5050] mkdir("./0", 0777 [pid 5052] <... openat resumed>) = 3 [pid 5061] close(3 [pid 5046] write(3, "314572800", 9 [pid 5052] write(3, "313524224", 9 [pid 5046] <... write resumed>) = 9 [pid 5061] <... close resumed>) = 0 [pid 5052] <... write resumed>) = 9 [pid 5050] <... mkdir resumed>) = 0 [pid 5046] close(3 [pid 5061] symlink("/dev/binderfs", "./binderfs" [pid 5052] close(3) = 0 [pid 5046] <... close resumed>) = 0 [pid 5052] openat(AT_FDCWD, "/syzcgroup/cpu/syz4/memory.limit_in_bytes", O_WRONLY|O_CLOEXEC [pid 5046] mkdir("/syzcgroup/net/syz1", 0777 [pid 5052] <... openat resumed>) = 3 [pid 5052] write(3, "314572800", 9) = 9 [pid 5052] close(3 [pid 5061] <... symlink resumed>) = 0 [pid 5061] memfd_create("syzkaller", 0 [pid 5052] <... close resumed>) = 0 [pid 5050] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5046] <... mkdir resumed>) = 0 [pid 5052] mkdir("/syzcgroup/net/syz4", 0777 [pid 5050] <... openat resumed>) = 3 [pid 5050] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5050] close(3) = 0 [pid 5050] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5064 attached , child_tidptr=0x5555559c4650) = 2 [pid 5062] <... memfd_create resumed>) = 3 [pid 5062] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [pid 5052] <... mkdir resumed>) = 0 [ 75.818854][ T5062] syz-executor895[5062]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5064] set_robust_list(0x5555559c4660, 24 [pid 5052] openat(AT_FDCWD, "/syzcgroup/net/syz4/cgroup.procs", O_WRONLY|O_CLOEXEC [pid 5046] openat(AT_FDCWD, "/syzcgroup/net/syz1/cgroup.procs", O_WRONLY|O_CLOEXEC [pid 5061] <... memfd_create resumed>) = 3 [pid 5046] <... openat resumed>) = 3 [pid 5061] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5046] write(3, "1", 1 [pid 5064] <... set_robust_list resumed>) = 0 [pid 5061] <... mmap resumed>) = 0x7f05eeb4f000 [pid 5052] <... openat resumed>) = 3 [pid 5064] chdir("./0" [pid 5046] <... write resumed>) = 1 [ 75.860045][ T5061] syz-executor895[5061]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5064] <... chdir resumed>) = 0 [pid 5052] write(3, "1", 1 [pid 5046] close(3 [pid 5064] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5064] setpgid(0, 0) = 0 [pid 5064] symlink("/syzcgroup/unified/syz3", "./cgroup") = 0 [pid 5064] symlink("/syzcgroup/cpu/syz3", "./cgroup.cpu" [pid 5046] <... close resumed>) = 0 [pid 5046] mkdir("./0", 0777 [pid 5052] <... write resumed>) = 1 [pid 5046] <... mkdir resumed>) = 0 [pid 5064] <... symlink resumed>) = 0 [pid 5052] close(3 [pid 5046] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5046] ioctl(3, LOOP_CLR_FD [pid 5052] <... close resumed>) = 0 [pid 5052] mkdir("./0", 0777) = 0 [pid 5064] symlink("/syzcgroup/net/syz3", "./cgroup.net" [pid 5052] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5046] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5064] <... symlink resumed>) = 0 [pid 5052] <... openat resumed>) = 3 [pid 5046] close(3 [pid 5064] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5052] ioctl(3, LOOP_CLR_FD [pid 5064] <... openat resumed>) = 3 [pid 5052] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5064] write(3, "1000", 4 [pid 5046] <... close resumed>) = 0 [pid 5064] <... write resumed>) = 4 [pid 5052] close(3 [pid 5046] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5064] close(3) = 0 [pid 5052] <... close resumed>) = 0 [pid 5064] symlink("/dev/binderfs", "./binderfs" [pid 5052] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5064] <... symlink resumed>) = 0 [pid 5064] memfd_create("syzkaller", 0./strace-static-x86_64: Process 5065 attached [pid 5065] set_robust_list(0x5555559c4660, 24) = 0 [pid 5065] chdir("./0") = 0 [pid 5065] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5065] setpgid(0, 0) = 0 [pid 5065] symlink("/syzcgroup/unified/syz4", "./cgroup") = 0 [pid 5065] symlink("/syzcgroup/cpu/syz4", "./cgroup.cpu") = 0 ./strace-static-x86_64: Process 5066 attached [pid 5046] <... clone resumed>, child_tidptr=0x5555559c4650) = 2 [pid 5065] symlink("/syzcgroup/net/syz4", "./cgroup.net" [pid 5052] <... clone resumed>, child_tidptr=0x5555559c4650) = 2 [pid 5065] <... symlink resumed>) = 0 [pid 5066] set_robust_list(0x5555559c4660, 24) = 0 [pid 5066] chdir("./0" [pid 5065] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5065] write(3, "1000", 4) = 4 [pid 5065] close(3) = 0 [pid 5065] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5066] <... chdir resumed>) = 0 [ 75.928702][ T5064] syz-executor895[5064]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5066] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5064] <... memfd_create resumed>) = 3 [pid 5064] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5065] memfd_create("syzkaller", 0 [pid 5064] <... mmap resumed>) = 0x7f05eeb4f000 [pid 5066] <... prctl resumed>) = 0 [pid 5066] setpgid(0, 0) = 0 [pid 5066] symlink("/syzcgroup/unified/syz1", "./cgroup") = 0 [pid 5066] symlink("/syzcgroup/cpu/syz1", "./cgroup.cpu") = 0 [pid 5066] symlink("/syzcgroup/net/syz1", "./cgroup.net") = 0 [pid 5066] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5066] write(3, "1000", 4) = 4 [pid 5066] close(3) = 0 [pid 5066] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5066] memfd_create("syzkaller", 0 [pid 5065] <... memfd_create resumed>) = 3 [pid 5065] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5066] <... memfd_create resumed>) = 3 [pid 5066] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [ 75.969649][ T5065] syz-executor895[5065]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [ 75.987041][ T5066] syz-executor895[5066]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5059] 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 5065] <... mmap resumed>) = 0x7f05eeb4f000 [pid 5062] 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 5061] 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 5064] 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 5066] 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 5065] 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 5059] <... write resumed>) = 16777216 [pid 5059] munmap(0x7f05eeb4f000, 16777216) = 0 [pid 5059] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5059] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5059] close(3) = 0 [pid 5059] mkdir("./file0", 0777) = 0 [ 76.588394][ T5059] loop5: detected capacity change from 0 to 32768 [ 76.619799][ T5059] BTRFS: device fsid e417788f-7a09-42b2-9266-8ddc5d5d35d2 devid 1 transid 8 /dev/loop5 scanned by syz-executor895 (5059) [pid 5059] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5061] <... write resumed>) = 16777216 [ 76.677526][ T5059] BTRFS info (device loop5): using xxhash64 (xxhash64-generic) checksum algorithm [ 76.700669][ T5059] BTRFS info (device loop5): force clearing of disk cache [pid 5061] munmap(0x7f05eeb4f000, 16777216) = 0 [pid 5061] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5061] ioctl(4, LOOP_SET_FD, 3 [pid 5062] <... write resumed>) = 16777216 [pid 5061] <... ioctl resumed>) = 0 [pid 5061] close(3) = 0 [pid 5061] mkdir("./file0", 0777) = 0 [ 76.729882][ T5059] BTRFS info (device loop5): setting nodatasum [ 76.733745][ T5061] loop2: detected capacity change from 0 to 32768 [ 76.743370][ T5059] BTRFS info (device loop5): allowing degraded mounts [ 76.766037][ T5059] BTRFS info (device loop5): enabling disk space caching [pid 5061] mount("/dev/loop2", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5064] <... write resumed>) = 16777216 [pid 5062] munmap(0x7f05eeb4f000, 16777216 [pid 5066] <... write resumed>) = 16777216 [pid 5062] <... munmap resumed>) = 0 [pid 5062] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5062] ioctl(4, LOOP_SET_FD, 3 [pid 5066] munmap(0x7f05eeb4f000, 16777216 [pid 5064] munmap(0x7f05eeb4f000, 16777216 [pid 5062] <... ioctl resumed>) = 0 [pid 5066] <... munmap resumed>) = 0 [pid 5064] <... munmap resumed>) = 0 [pid 5062] close(3 [pid 5061] <... mount resumed>) = -1 EEXIST (File exists) [pid 5062] <... close resumed>) = 0 [pid 5062] mkdir("./file0", 0777 [pid 5066] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5064] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5062] <... mkdir resumed>) = 0 [pid 5061] ioctl(4, LOOP_CLR_FD [pid 5062] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5066] <... openat resumed>) = 4 [pid 5064] <... openat resumed>) = 4 [ 76.766712][ T5061] BTRFS warning: duplicate device /dev/loop2 devid 1 generation 8 scanned by syz-executor895 (5061) [ 76.790432][ T5059] BTRFS info (device loop5): disk space caching is enabled [ 76.795724][ T5062] loop0: detected capacity change from 0 to 32768 [pid 5066] ioctl(4, LOOP_SET_FD, 3 [pid 5064] ioctl(4, LOOP_SET_FD, 3 [pid 5062] <... mount resumed>) = -1 EEXIST (File exists) [pid 5062] ioctl(4, LOOP_CLR_FD [pid 5066] <... ioctl resumed>) = 0 [pid 5064] <... ioctl resumed>) = 0 [pid 5066] close(3) = 0 [pid 5066] mkdir("./file0", 0777) = 0 [pid 5066] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5064] close(3) = 0 [pid 5064] mkdir("./file0", 0777) = 0 [ 76.826690][ T5062] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor895 (5062) [ 76.827043][ T5064] loop3: detected capacity change from 0 to 32768 [ 76.845276][ T5066] loop1: detected capacity change from 0 to 32768 [pid 5064] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5065] <... write resumed>) = 16777216 [pid 5064] <... mount resumed>) = -1 EEXIST (File exists) [ 76.903870][ T5064] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor895 (5064) [ 76.928600][ T5066] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor895 (5066) [pid 5064] ioctl(4, LOOP_CLR_FD [ 76.949639][ T5059] BTRFS info (device loop5): enabling ssd optimizations [pid 5065] munmap(0x7f05eeb4f000, 16777216 [pid 5066] <... mount resumed>) = -1 EEXIST (File exists) [pid 5065] <... munmap resumed>) = 0 [pid 5066] ioctl(4, LOOP_CLR_FD [pid 5065] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 76.982764][ T5059] BTRFS info (device loop5): auto enabling async discard [ 77.012874][ T5059] BTRFS info (device loop5): rebuilding free space tree [ 77.029836][ T5065] loop4: detected capacity change from 0 to 32768 [pid 5065] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5065] close(3) = 0 [pid 5065] mkdir("./file0", 0777) = 0 [pid 5065] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 77.086443][ T5059] BTRFS info (device loop5): disabling free space tree [ 77.100697][ T5065] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor895 (5065) [ 77.113548][ T5059] BTRFS info (device loop5): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1) [ 77.128036][ T5059] BTRFS info (device loop5): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2) [pid 5065] ioctl(4, LOOP_CLR_FD [pid 5059] <... mount resumed>) = 0 [pid 5059] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY) = 3 [pid 5059] chdir("./file0") = 0 [pid 5059] ioctl(4, LOOP_CLR_FD) = 0 [pid 5059] close(4 [pid 5062] <... ioctl resumed>) = 0 [pid 5059] <... close resumed>) = 0 [pid 5059] open("./file0", O_RDONLY) = 4 [pid 5059] ioctl(4, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 5059] ioctl(4, BTRFS_IOC_BALANCE_V2, {flags=BTRFS_BALANCE_DATA|BTRFS_BALANCE_METADATA, data={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}, meta={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}} [pid 5062] close(4) = 0 [pid 5062] open("./file0", O_RDONLY) = 3 [pid 5062] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5062] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0}) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5062] open(".", O_RDONLY) = 4 [ 77.164388][ T5059] BTRFS info (device loop5): checking UUID tree [ 77.215380][ T5059] BTRFS info (device loop5): balance: start -d -m [ 77.247783][ T5059] BTRFS info (device loop5): relocating block group 6881280 flags data|metadata [pid 5062] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0}) = 0 [pid 5062] close(3) = 0 [pid 5062] close(4) = 0 [pid 5062] close(5) = -1 EBADF (Bad file descriptor) [pid 5062] close(6) = -1 EBADF (Bad file descriptor) [pid 5062] close(7) = -1 EBADF (Bad file descriptor) [pid 5062] close(8) = -1 EBADF (Bad file descriptor) [pid 5062] close(9) = -1 EBADF (Bad file descriptor) [pid 5062] close(10) = -1 EBADF (Bad file descriptor) [pid 5062] close(11) = -1 EBADF (Bad file descriptor) [pid 5062] close(12) = -1 EBADF (Bad file descriptor) [pid 5062] close(13) = -1 EBADF (Bad file descriptor) [pid 5062] close(14) = -1 EBADF (Bad file descriptor) [pid 5062] close(15) = -1 EBADF (Bad file descriptor) [pid 5062] close(16) = -1 EBADF (Bad file descriptor) [pid 5062] close(17) = -1 EBADF (Bad file descriptor) [pid 5062] close(18) = -1 EBADF (Bad file descriptor) [pid 5062] close(19) = -1 EBADF (Bad file descriptor) [pid 5062] close(20) = -1 EBADF (Bad file descriptor) [pid 5062] close(21) = -1 EBADF (Bad file descriptor) [pid 5062] close(22) = -1 EBADF (Bad file descriptor) [pid 5062] close(23) = -1 EBADF (Bad file descriptor) [pid 5062] close(24) = -1 EBADF (Bad file descriptor) [pid 5062] close(25) = -1 EBADF (Bad file descriptor) [pid 5062] close(26) = -1 EBADF (Bad file descriptor) [pid 5062] close(27) = -1 EBADF (Bad file descriptor) [pid 5062] close(28) = -1 EBADF (Bad file descriptor) [pid 5062] close(29) = -1 EBADF (Bad file descriptor) [pid 5062] exit_group(0) = ? [pid 5062] +++ exited with 0 +++ [pid 5045] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=39 /* 0.39 s */} --- [pid 5045] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5045] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5045] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5045] getdents64(3, 0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5045] umount2("./0/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./0/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] unlink("./0/cgroup.cpu") = 0 [pid 5045] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] unlink("./0/binderfs") = 0 [pid 5045] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5045] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5045] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5045] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5045] close(4) = 0 [pid 5045] rmdir("./0/file0") = 0 [pid 5045] umount2("./0/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./0/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] unlink("./0/cgroup") = 0 [pid 5045] umount2("./0/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./0/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] unlink("./0/cgroup.net") = 0 [pid 5045] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5045] close(3) = 0 [pid 5045] rmdir("./0") = 0 [pid 5045] mkdir("./1", 0777) = 0 [pid 5045] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5045] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5045] close(3) = 0 [ 77.381533][ T5059] BTRFS info (device loop5): relocating block group 5242880 flags data|metadata [pid 5045] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5085 attached [pid 5085] set_robust_list(0x5555559c4660, 24) = 0 [pid 5085] chdir("./1") = 0 [pid 5085] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5085] setpgid(0, 0) = 0 [pid 5085] symlink("/syzcgroup/unified/syz0", "./cgroup" [pid 5045] <... clone resumed>, child_tidptr=0x5555559c4650) = 3 [pid 5085] <... symlink resumed>) = 0 [pid 5085] symlink("/syzcgroup/cpu/syz0", "./cgroup.cpu") = 0 [pid 5085] symlink("/syzcgroup/net/syz0", "./cgroup.net") = 0 [pid 5085] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5085] write(3, "1000", 4) = 4 [pid 5085] close(3) = 0 [pid 5085] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5064] <... ioctl resumed>) = 0 [pid 5085] memfd_create("syzkaller", 0 [pid 5061] <... ioctl resumed>) = 0 [pid 5064] close(4) = 0 [pid 5064] open("./file0", O_RDONLY) = 3 [pid 5064] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5064] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0}) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5064] open(".", O_RDONLY) = 4 [pid 5064] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0}) = 0 [pid 5064] close(3) = 0 [pid 5064] close(4) = 0 [pid 5064] close(5) = -1 EBADF (Bad file descriptor) [pid 5064] close(6) = -1 EBADF (Bad file descriptor) [pid 5064] close(7) = -1 EBADF (Bad file descriptor) [pid 5064] close(8) = -1 EBADF (Bad file descriptor) [pid 5064] close(9) = -1 EBADF (Bad file descriptor) [pid 5064] close(10) = -1 EBADF (Bad file descriptor) [pid 5064] close(11) = -1 EBADF (Bad file descriptor) [pid 5064] close(12) = -1 EBADF (Bad file descriptor) [pid 5064] close(13) = -1 EBADF (Bad file descriptor) [pid 5064] close(14) = -1 EBADF (Bad file descriptor) [pid 5064] close(15) = -1 EBADF (Bad file descriptor) [pid 5064] close(16) = -1 EBADF (Bad file descriptor) [pid 5064] close(17) = -1 EBADF (Bad file descriptor) [pid 5064] close(18) = -1 EBADF (Bad file descriptor) [pid 5064] close(19) = -1 EBADF (Bad file descriptor) [pid 5064] close(20) = -1 EBADF (Bad file descriptor) [pid 5064] close(21) = -1 EBADF (Bad file descriptor) [pid 5064] close(22) = -1 EBADF (Bad file descriptor) [pid 5064] close(23) = -1 EBADF (Bad file descriptor) [pid 5064] close(24) = -1 EBADF (Bad file descriptor) [pid 5064] close(25) = -1 EBADF (Bad file descriptor) [pid 5064] close(26) = -1 EBADF (Bad file descriptor) [pid 5064] close(27) = -1 EBADF (Bad file descriptor) [pid 5064] close(28) = -1 EBADF (Bad file descriptor) [pid 5064] close(29) = -1 EBADF (Bad file descriptor) [pid 5064] exit_group(0) = ? [pid 5064] +++ exited with 0 +++ [pid 5050] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=42 /* 0.42 s */} --- [pid 5085] <... memfd_create resumed>) = 3 [pid 5085] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5061] close(4 [pid 5050] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5050] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5050] getdents64(3, 0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5061] <... close resumed>) = 0 [pid 5050] umount2("./0/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5061] open("./file0", O_RDONLY [pid 5050] newfstatat(AT_FDCWD, "./0/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5085] <... mmap resumed>) = 0x7f05eeb4f000 [pid 5061] <... open resumed>) = 3 [pid 5050] unlink("./0/cgroup.cpu") = 0 [pid 5050] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [ 77.469926][ T5085] syz-executor895[5085]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5061] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5050] unlink("./0/binderfs" [pid 5061] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5061] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0} [pid 5050] <... unlink resumed>) = 0 [pid 5050] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5061] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5061] open(".", O_RDONLY [pid 5050] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5061] <... open resumed>) = 4 [pid 5061] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0} [pid 5050] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5061] <... ioctl resumed>) = 0 [pid 5050] <... openat resumed>) = 4 [pid 5061] close(3 [pid 5050] newfstatat(4, "", [pid 5061] <... close resumed>) = 0 [pid 5050] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5061] close(4 [pid 5050] getdents64(4, [pid 5061] <... close resumed>) = 0 [pid 5050] <... getdents64 resumed>0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5061] close(5 [pid 5050] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5050] close(4) = 0 [pid 5050] rmdir("./0/file0") = 0 [pid 5050] umount2("./0/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./0/cgroup", [pid 5061] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5050] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5050] unlink("./0/cgroup") = 0 [pid 5050] umount2("./0/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./0/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5050] unlink("./0/cgroup.net") = 0 [pid 5050] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5050] close(3) = 0 [pid 5050] rmdir("./0" [pid 5061] close(6 [pid 5050] <... rmdir resumed>) = 0 [pid 5061] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5061] close(7) = -1 EBADF (Bad file descriptor) [pid 5066] <... ioctl resumed>) = 0 [pid 5061] close(8 [pid 5050] mkdir("./1", 0777 [pid 5061] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5061] close(9) = -1 EBADF (Bad file descriptor) [pid 5066] close(4 [pid 5050] <... mkdir resumed>) = 0 [pid 5061] close(10) = -1 EBADF (Bad file descriptor) [pid 5066] <... close resumed>) = 0 [pid 5061] close(11) = -1 EBADF (Bad file descriptor) [pid 5061] close(12 [pid 5050] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5061] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5061] close(13 [pid 5050] <... openat resumed>) = 3 [pid 5061] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5061] close(14 [pid 5050] ioctl(3, LOOP_CLR_FD [pid 5061] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5061] close(15) = -1 EBADF (Bad file descriptor) [pid 5066] open("./file0", O_RDONLY [pid 5061] close(16 [pid 5050] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5061] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5066] <... open resumed>) = 3 [pid 5061] close(17) = -1 EBADF (Bad file descriptor) [pid 5061] close(18 [pid 5066] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5061] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5050] close(3 [pid 5061] close(19) = -1 EBADF (Bad file descriptor) [pid 5061] close(20) = -1 EBADF (Bad file descriptor) [pid 5050] <... close resumed>) = 0 [pid 5066] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5061] close(21 [pid 5050] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5066] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0}) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5066] open(".", O_RDONLY) = 4 [pid 5061] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5066] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0} [pid 5061] close(22) = -1 EBADF (Bad file descriptor) [pid 5061] close(23) = -1 EBADF (Bad file descriptor) [pid 5061] close(24) = -1 EBADF (Bad file descriptor) [pid 5061] close(25) = -1 EBADF (Bad file descriptor) [pid 5061] close(26) = -1 EBADF (Bad file descriptor) [pid 5061] close(27) = -1 EBADF (Bad file descriptor) [pid 5066] <... ioctl resumed>) = 0 [pid 5066] close(3 [pid 5061] close(28) = -1 EBADF (Bad file descriptor) [pid 5066] <... close resumed>) = 0 [pid 5061] close(29 [pid 5066] close(4 [pid 5061] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5066] <... close resumed>) = 0 [pid 5061] exit_group(0 [pid 5066] close(5 [pid 5061] <... exit_group resumed>) = ? [pid 5066] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5061] +++ exited with 0 +++ [pid 5066] close(6./strace-static-x86_64: Process 5086 attached ) = -1 EBADF (Bad file descriptor) [pid 5086] set_robust_list(0x5555559c4660, 24 [pid 5050] <... clone resumed>, child_tidptr=0x5555559c4650) = 3 [pid 5086] <... set_robust_list resumed>) = 0 [pid 5086] chdir("./1") = 0 [pid 5086] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5086] setpgid(0, 0) = 0 [pid 5086] symlink("/syzcgroup/unified/syz3", "./cgroup") = 0 [pid 5086] symlink("/syzcgroup/cpu/syz3", "./cgroup.cpu") = 0 [pid 5086] symlink("/syzcgroup/net/syz3", "./cgroup.net" [pid 5066] close(7 [pid 5086] <... symlink resumed>) = 0 [pid 5086] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5049] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=40 /* 0.40 s */} --- [pid 5086] write(3, "1000", 4 [pid 5049] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5086] <... write resumed>) = 4 [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5086] close(3 [pid 5066] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5049] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5066] close(8) = -1 EBADF (Bad file descriptor) [pid 5066] close(9) = -1 EBADF (Bad file descriptor) [pid 5086] <... close resumed>) = 0 [pid 5086] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5066] close(10 [pid 5049] <... openat resumed>) = 3 [pid 5066] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5066] close(11 [pid 5049] newfstatat(3, "", [pid 5066] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5066] close(12) = -1 EBADF (Bad file descriptor) [pid 5066] close(13) = -1 EBADF (Bad file descriptor) [pid 5066] close(14 [pid 5086] memfd_create("syzkaller", 0 [pid 5066] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5049] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5066] close(15 [pid 5049] getdents64(3, [pid 5066] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5066] close(16) = -1 EBADF (Bad file descriptor) [pid 5066] close(17 [pid 5049] <... getdents64 resumed>0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5086] <... memfd_create resumed>) = 3 [pid 5066] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5049] umount2("./0/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5066] close(18 [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5066] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5049] newfstatat(AT_FDCWD, "./0/cgroup.cpu", [pid 5066] close(19) = -1 EBADF (Bad file descriptor) [ 77.578899][ T5059] BTRFS info (device loop5): found 9 extents, stage: move data extents [ 77.617493][ T5086] syz-executor895[5086]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5066] close(20) = -1 EBADF (Bad file descriptor) [pid 5066] close(21 [pid 5086] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5066] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5066] close(22) = -1 EBADF (Bad file descriptor) [pid 5066] close(23) = -1 EBADF (Bad file descriptor) [pid 5066] close(24) = -1 EBADF (Bad file descriptor) [pid 5066] close(25) = -1 EBADF (Bad file descriptor) [pid 5066] close(26 [pid 5086] <... mmap resumed>) = 0x7f05eeb4f000 [pid 5066] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5066] close(27) = -1 EBADF (Bad file descriptor) [pid 5066] close(28) = -1 EBADF (Bad file descriptor) [pid 5066] close(29) = -1 EBADF (Bad file descriptor) [pid 5066] exit_group(0 [pid 5049] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5066] <... exit_group resumed>) = ? [pid 5049] unlink("./0/cgroup.cpu") = 0 [pid 5049] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5049] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5066] +++ exited with 0 +++ [pid 5049] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5049] unlink("./0/binderfs" [pid 5046] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=43 /* 0.43 s */} --- [pid 5049] <... unlink resumed>) = 0 [pid 5049] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5046] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5046] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5049] newfstatat(AT_FDCWD, "./0/file0", [pid 5046] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5049] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5049] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5049] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5046] <... openat resumed>) = 3 [pid 5049] newfstatat(4, "", [pid 5046] newfstatat(3, "", [pid 5049] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5046] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5046] getdents64(3, [pid 5049] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5049] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5046] <... getdents64 resumed>0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5049] close(4) = 0 [pid 5049] rmdir("./0/file0") = 0 [pid 5049] umount2("./0/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5046] umount2("./0/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5049] newfstatat(AT_FDCWD, "./0/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5049] unlink("./0/cgroup" [pid 5046] newfstatat(AT_FDCWD, "./0/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] unlink("./0/cgroup.cpu") = 0 [pid 5049] <... unlink resumed>) = 0 [pid 5046] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5049] umount2("./0/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5065] <... ioctl resumed>) = 0 [pid 5049] newfstatat(AT_FDCWD, "./0/cgroup.net", [pid 5046] newfstatat(AT_FDCWD, "./0/binderfs", [pid 5049] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] unlink("./0/binderfs" [pid 5049] unlink("./0/cgroup.net") = 0 [pid 5049] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5046] <... unlink resumed>) = 0 [pid 5049] close(3 [pid 5046] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5049] <... close resumed>) = 0 [pid 5049] rmdir("./0" [pid 5046] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5046] newfstatat(AT_FDCWD, "./0/file0", [pid 5049] <... rmdir resumed>) = 0 [pid 5046] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5049] mkdir("./1", 0777 [pid 5046] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5049] <... mkdir resumed>) = 0 [pid 5046] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5046] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5065] close(4 [pid 5049] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5046] getdents64(4, [pid 5065] <... close resumed>) = 0 [pid 5065] open("./file0", O_RDONLY) = 3 [pid 5049] <... openat resumed>) = 3 [pid 5065] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5049] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5065] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5065] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0} [pid 5049] close(3 [pid 5046] <... getdents64 resumed>0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5049] <... close resumed>) = 0 [pid 5046] getdents64(4, [pid 5065] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5046] <... getdents64 resumed>0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5046] close(4) = 0 [pid 5046] rmdir("./0/file0") = 0 [pid 5065] open(".", O_RDONLY [pid 5049] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5046] umount2("./0/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] newfstatat(AT_FDCWD, "./0/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] unlink("./0/cgroup") = 0 [pid 5046] umount2("./0/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5065] <... open resumed>) = 4 [pid 5046] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5065] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0}) = 0 [pid 5065] close(3) = 0 ./strace-static-x86_64: Process 5087 attached [pid 5065] close(4 [pid 5046] newfstatat(AT_FDCWD, "./0/cgroup.net", [pid 5087] set_robust_list(0x5555559c4660, 24 [pid 5049] <... clone resumed>, child_tidptr=0x5555559c4650) = 3 [pid 5087] <... set_robust_list resumed>) = 0 [pid 5046] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5087] chdir("./1" [pid 5046] unlink("./0/cgroup.net" [pid 5065] <... close resumed>) = 0 [pid 5087] <... chdir resumed>) = 0 [pid 5065] close(5 [pid 5046] <... unlink resumed>) = 0 [pid 5087] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5065] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5087] <... prctl resumed>) = 0 [pid 5087] setpgid(0, 0) = 0 [pid 5087] symlink("/syzcgroup/unified/syz2", "./cgroup" [pid 5065] close(6 [pid 5087] <... symlink resumed>) = 0 [pid 5087] symlink("/syzcgroup/cpu/syz2", "./cgroup.cpu" [pid 5065] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5046] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5065] close(7) = -1 EBADF (Bad file descriptor) [pid 5046] close(3 [pid 5065] close(8 [pid 5046] <... close resumed>) = 0 [pid 5065] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5046] rmdir("./0" [pid 5065] close(9) = -1 EBADF (Bad file descriptor) [pid 5065] close(10) = -1 EBADF (Bad file descriptor) [pid 5065] close(11) = -1 EBADF (Bad file descriptor) [pid 5065] close(12) = -1 EBADF (Bad file descriptor) [pid 5065] close(13 [pid 5087] <... symlink resumed>) = 0 [pid 5065] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5065] close(14) = -1 EBADF (Bad file descriptor) [pid 5065] close(15) = -1 EBADF (Bad file descriptor) [pid 5065] close(16) = -1 EBADF (Bad file descriptor) [pid 5065] close(17) = -1 EBADF (Bad file descriptor) [pid 5065] close(18) = -1 EBADF (Bad file descriptor) [pid 5046] <... rmdir resumed>) = 0 [pid 5065] close(19) = -1 EBADF (Bad file descriptor) [pid 5065] close(20) = -1 EBADF (Bad file descriptor) [ 77.755045][ T5059] BTRFS info (device loop5): found 1 extents, stage: update data pointers [pid 5065] close(21 [pid 5087] symlink("/syzcgroup/net/syz2", "./cgroup.net" [pid 5065] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5065] close(22 [pid 5046] mkdir("./1", 0777 [pid 5065] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5087] <... symlink resumed>) = 0 [pid 5065] close(23 [pid 5046] <... mkdir resumed>) = 0 [pid 5065] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5065] close(24) = -1 EBADF (Bad file descriptor) [pid 5065] close(25) = -1 EBADF (Bad file descriptor) [pid 5065] close(26) = -1 EBADF (Bad file descriptor) [pid 5065] close(27) = -1 EBADF (Bad file descriptor) [pid 5065] close(28) = -1 EBADF (Bad file descriptor) [pid 5087] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5065] close(29 [pid 5046] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5065] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5046] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5046] close(3) = 0 [pid 5046] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5065] exit_group(0) = ? ./strace-static-x86_64: Process 5088 attached [pid 5087] <... openat resumed>) = 3 [pid 5065] +++ exited with 0 +++ [pid 5088] set_robust_list(0x5555559c4660, 24) = 0 [pid 5087] write(3, "1000", 4 [pid 5046] <... clone resumed>, child_tidptr=0x5555559c4650) = 3 [pid 5087] <... write resumed>) = 4 [pid 5087] close(3) = 0 [pid 5087] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5088] chdir("./1") = 0 [pid 5088] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5087] memfd_create("syzkaller", 0 [pid 5052] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2, si_uid=0, si_status=0, si_utime=0, si_stime=33 /* 0.33 s */} --- [pid 5088] setpgid(0, 0) = 0 [pid 5052] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5085] 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 5052] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5088] symlink("/syzcgroup/unified/syz1", "./cgroup" [pid 5052] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5052] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5052] getdents64(3, [pid 5088] <... symlink resumed>) = 0 [pid 5052] <... getdents64 resumed>0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5088] symlink("/syzcgroup/cpu/syz1", "./cgroup.cpu" [pid 5052] umount2("./0/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] newfstatat(AT_FDCWD, "./0/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] unlink("./0/cgroup.cpu") = 0 [pid 5088] <... symlink resumed>) = 0 [pid 5052] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5088] symlink("/syzcgroup/net/syz1", "./cgroup.net" [pid 5052] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] unlink("./0/binderfs") = 0 [pid 5052] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5088] <... symlink resumed>) = 0 [pid 5052] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5088] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5052] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5052] newfstatat(4, "", [pid 5088] <... openat resumed>) = 3 [pid 5087] <... memfd_create resumed>) = 3 [pid 5052] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5088] write(3, "1000", 4 [pid 5087] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5088] <... write resumed>) = 4 [pid 5052] getdents64(4, [pid 5088] close(3 [pid 5087] <... mmap resumed>) = 0x7f05eeb4f000 [pid 5086] 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 5052] <... getdents64 resumed>0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5088] <... close resumed>) = 0 [pid 5052] getdents64(4, [pid 5088] symlink("/dev/binderfs", "./binderfs" [pid 5052] <... getdents64 resumed>0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5052] close(4) = 0 [pid 5052] rmdir("./0/file0") = 0 [pid 5088] <... symlink resumed>) = 0 [pid 5059] <... ioctl resumed> => {flags=BTRFS_BALANCE_DATA|BTRFS_BALANCE_METADATA, state=0, data={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}, meta={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}}) = 0 [pid 5052] umount2("./0/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5059] open(".", O_RDONLY) = 5 [pid 5052] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5059] ioctl(5, FITRIM, {start=0, len=4294967296, minlen=0} [ 77.858225][ T5059] BTRFS info (device loop5): balance: ended with status: 0 [ 77.874189][ T5087] syz-executor895[5087]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5052] newfstatat(AT_FDCWD, "./0/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] unlink("./0/cgroup") = 0 [pid 5052] umount2("./0/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] newfstatat(AT_FDCWD, "./0/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5088] memfd_create("syzkaller", 0 [pid 5052] unlink("./0/cgroup.net") = 0 [pid 5052] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5052] close(3) = 0 [pid 5052] rmdir("./0") = 0 [pid 5052] mkdir("./1", 0777) = 0 [pid 5052] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5052] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5052] close(3) = 0 [pid 5052] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5089 attached , child_tidptr=0x5555559c4650) = 3 [pid 5089] set_robust_list(0x5555559c4660, 24) = 0 [pid 5089] chdir("./1") = 0 [pid 5089] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5089] setpgid(0, 0) = 0 [pid 5089] symlink("/syzcgroup/unified/syz4", "./cgroup") = 0 [pid 5089] symlink("/syzcgroup/cpu/syz4", "./cgroup.cpu") = 0 [pid 5089] symlink("/syzcgroup/net/syz4", "./cgroup.net") = 0 [pid 5089] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 77.948264][ T5088] syz-executor895[5088]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5089] write(3, "1000", 4) = 4 [pid 5089] close(3) = 0 [pid 5089] symlink("/dev/binderfs", "./binderfs" [pid 5088] <... memfd_create resumed>) = 3 [pid 5089] <... symlink resumed>) = 0 [pid 5088] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5089] memfd_create("syzkaller", 0) = 3 [pid 5088] <... mmap resumed>) = 0x7f05eeb4f000 [pid 5089] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [pid 5059] <... ioctl resumed>) = 0 [pid 5059] close(3) = 0 [pid 5059] close(4) = 0 [pid 5059] close(5) = 0 [pid 5059] close(6) = -1 EBADF (Bad file descriptor) [pid 5059] close(7) = -1 EBADF (Bad file descriptor) [pid 5059] close(8) = -1 EBADF (Bad file descriptor) [pid 5059] close(9) = -1 EBADF (Bad file descriptor) [pid 5059] close(10) = -1 EBADF (Bad file descriptor) [pid 5059] close(11) = -1 EBADF (Bad file descriptor) [pid 5059] close(12) = -1 EBADF (Bad file descriptor) [pid 5059] close(13) = -1 EBADF (Bad file descriptor) [pid 5059] close(14) = -1 EBADF (Bad file descriptor) [pid 5059] close(15) = -1 EBADF (Bad file descriptor) [pid 5059] close(16) = -1 EBADF (Bad file descriptor) [pid 5059] close(17) = -1 EBADF (Bad file descriptor) [pid 5059] close(18) = -1 EBADF (Bad file descriptor) [pid 5059] close(19) = -1 EBADF (Bad file descriptor) [pid 5059] close(20) = -1 EBADF (Bad file descriptor) [pid 5059] close(21) = -1 EBADF (Bad file descriptor) [pid 5059] close(22) = -1 EBADF (Bad file descriptor) [pid 5059] close(23) = -1 EBADF (Bad file descriptor) [pid 5059] close(24) = -1 EBADF (Bad file descriptor) [pid 5059] close(25) = -1 EBADF (Bad file descriptor) [pid 5059] close(26) = -1 EBADF (Bad file descriptor) [pid 5059] close(27) = -1 EBADF (Bad file descriptor) [pid 5059] close(28) = -1 EBADF (Bad file descriptor) [pid 5059] close(29) = -1 EBADF (Bad file descriptor) [pid 5059] exit_group(0) = ? [pid 5059] +++ exited with 0 +++ [pid 5051] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=42 /* 0.42 s */} --- [pid 5051] umount2("./0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] openat(AT_FDCWD, "./0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5051] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5051] getdents64(3, 0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5051] umount2("./0/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] newfstatat(AT_FDCWD, "./0/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] unlink("./0/cgroup.cpu") = 0 [pid 5051] umount2("./0/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] newfstatat(AT_FDCWD, "./0/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] unlink("./0/binderfs") = 0 [pid 5051] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5087] 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 5089] 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 5051] <... umount2 resumed>) = 0 [pid 5051] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5088] 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 5051] newfstatat(AT_FDCWD, "./0/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] umount2("./0/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] openat(AT_FDCWD, "./0/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5051] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5051] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5051] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5051] close(4) = 0 [pid 5051] rmdir("./0/file0") = 0 [pid 5051] umount2("./0/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] newfstatat(AT_FDCWD, "./0/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] unlink("./0/cgroup") = 0 [pid 5051] umount2("./0/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] newfstatat(AT_FDCWD, "./0/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] unlink("./0/cgroup.net") = 0 [pid 5051] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5051] close(3) = 0 [pid 5051] rmdir("./0") = 0 [pid 5051] mkdir("./1", 0777) = 0 [pid 5051] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5051] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5051] close(3) = 0 [pid 5051] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5090 attached [pid 5090] set_robust_list(0x5555559c4660, 24) = 0 [pid 5090] chdir("./1") = 0 [pid 5090] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5090] setpgid(0, 0) = 0 [pid 5090] symlink("/syzcgroup/unified/syz5", "./cgroup") = 0 [pid 5090] symlink("/syzcgroup/cpu/syz5", "./cgroup.cpu") = 0 [pid 5090] symlink("/syzcgroup/net/syz5", "./cgroup.net") = 0 [pid 5090] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5051] <... clone resumed>, child_tidptr=0x5555559c4650) = 3 [pid 5090] <... openat resumed>) = 3 [pid 5090] write(3, "1000", 4) = 4 [pid 5090] close(3) = 0 [pid 5090] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5090] memfd_create("syzkaller", 0) = 3 [pid 5090] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [pid 5085] <... write resumed>) = 16777216 [pid 5085] munmap(0x7f05eeb4f000, 16777216) = 0 [pid 5085] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5085] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5085] close(3) = 0 [pid 5085] mkdir("./file0", 0777) = 0 [ 78.546567][ T5085] loop0: detected capacity change from 0 to 32768 [ 78.592204][ T5085] BTRFS: device fsid e417788f-7a09-42b2-9266-8ddc5d5d35d2 devid 1 transid 8 /dev/loop0 scanned by syz-executor895 (5085) [pid 5085] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5086] <... write resumed>) = 16777216 [pid 5086] munmap(0x7f05eeb4f000, 16777216) = 0 [pid 5086] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [ 78.655580][ T5085] BTRFS info (device loop0): using xxhash64 (xxhash64-generic) checksum algorithm [ 78.680778][ T5085] BTRFS info (device loop0): force clearing of disk cache [pid 5086] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5086] close(3) = 0 [pid 5086] mkdir("./file0", 0777) = 0 [pid 5086] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 78.702148][ T5086] loop3: detected capacity change from 0 to 32768 [ 78.709534][ T5085] BTRFS info (device loop0): setting nodatasum [ 78.737174][ T5085] BTRFS info (device loop0): allowing degraded mounts [ 78.744103][ T5086] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor895 (5086) [pid 5090] 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 5086] <... mount resumed>) = -1 EEXIST (File exists) [ 78.761576][ T5085] BTRFS info (device loop0): enabling disk space caching [ 78.779123][ T5085] BTRFS info (device loop0): disk space caching is enabled [pid 5086] ioctl(4, LOOP_CLR_FD [pid 5088] <... write resumed>) = 16777216 [pid 5088] munmap(0x7f05eeb4f000, 16777216 [pid 5089] <... write resumed>) = 16777216 [pid 5088] <... munmap resumed>) = 0 [pid 5089] munmap(0x7f05eeb4f000, 16777216 [pid 5088] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5088] ioctl(4, LOOP_SET_FD, 3 [pid 5089] <... munmap resumed>) = 0 [pid 5088] <... ioctl resumed>) = 0 [pid 5088] close(3) = 0 [pid 5089] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5088] mkdir("./file0", 0777 [pid 5089] <... openat resumed>) = 4 [pid 5088] <... mkdir resumed>) = 0 [pid 5089] ioctl(4, LOOP_SET_FD, 3 [pid 5088] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5087] <... write resumed>) = 16777216 [pid 5087] munmap(0x7f05eeb4f000, 16777216) = 0 [pid 5089] <... ioctl resumed>) = 0 [pid 5089] close(3 [pid 5088] <... mount resumed>) = -1 EEXIST (File exists) [pid 5089] <... close resumed>) = 0 [pid 5088] ioctl(4, LOOP_CLR_FD [pid 5089] mkdir("./file0", 0777) = 0 [ 78.858209][ T5088] loop1: detected capacity change from 0 to 32768 [ 78.882270][ T5089] loop4: detected capacity change from 0 to 32768 [ 78.894178][ T5088] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor895 (5088) [pid 5089] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5087] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5087] ioctl(4, LOOP_SET_FD, 3 [pid 5089] <... mount resumed>) = -1 EEXIST (File exists) [ 78.923209][ T5085] BTRFS info (device loop0): enabling ssd optimizations [ 78.932156][ T5089] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor895 (5089) [ 78.932637][ T5087] loop2: detected capacity change from 0 to 32768 [ 78.958977][ T5085] BTRFS info (device loop0): auto enabling async discard [pid 5089] ioctl(4, LOOP_CLR_FD [pid 5087] <... ioctl resumed>) = 0 [pid 5087] close(3) = 0 [pid 5087] mkdir("./file0", 0777) = 0 [ 78.981031][ T5085] BTRFS info (device loop0): rebuilding free space tree [pid 5087] mount("/dev/loop2", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 79.043677][ T5087] BTRFS warning: duplicate device /dev/loop2 devid 1 generation 8 scanned by syz-executor895 (5087) [ 79.070758][ T5085] BTRFS info (device loop0): disabling free space tree [ 79.099265][ T5085] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1) [ 79.137435][ T5085] BTRFS info (device loop0): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2) [pid 5087] ioctl(4, LOOP_CLR_FD [pid 5085] <... mount resumed>) = 0 [ 79.194455][ T5085] BTRFS info (device loop0): checking UUID tree [pid 5085] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5086] <... ioctl resumed>) = 0 [pid 5085] <... openat resumed>) = 3 [pid 5085] chdir("./file0") = 0 [pid 5085] ioctl(4, LOOP_CLR_FD) = 0 [pid 5085] close(4) = 0 [pid 5085] open("./file0", O_RDONLY) = 4 [pid 5085] ioctl(4, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 5085] ioctl(4, BTRFS_IOC_BALANCE_V2, {flags=BTRFS_BALANCE_DATA|BTRFS_BALANCE_METADATA, data={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}, meta={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}} [pid 5086] close(4) = 0 [pid 5086] open("./file0", O_RDONLY) = 3 [pid 5086] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5086] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0}) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5086] open(".", O_RDONLY) = 4 [pid 5086] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0}) = 0 [pid 5086] close(3) = 0 [pid 5086] close(4) = 0 [pid 5086] close(5) = -1 EBADF (Bad file descriptor) [pid 5086] close(6) = -1 EBADF (Bad file descriptor) [pid 5086] close(7) = -1 EBADF (Bad file descriptor) [pid 5086] close(8) = -1 EBADF (Bad file descriptor) [pid 5086] close(9 [pid 5088] <... ioctl resumed>) = 0 [pid 5086] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5086] close(10) = -1 EBADF (Bad file descriptor) [pid 5086] close(11 [pid 5088] close(4) = 0 [pid 5086] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5088] open("./file0", O_RDONLY [pid 5086] close(12) = -1 EBADF (Bad file descriptor) [pid 5086] close(13) = -1 EBADF (Bad file descriptor) [ 79.290212][ T5085] BTRFS info (device loop0): balance: start -d -m [ 79.321332][ T5085] BTRFS info (device loop0): relocating block group 6881280 flags data|metadata [pid 5088] <... open resumed>) = 3 [pid 5086] close(14) = -1 EBADF (Bad file descriptor) [pid 5086] close(15 [pid 5088] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5086] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5086] close(16) = -1 EBADF (Bad file descriptor) [pid 5086] close(17) = -1 EBADF (Bad file descriptor) [pid 5086] close(18 [pid 5088] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5086] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5086] close(19) = -1 EBADF (Bad file descriptor) [pid 5086] close(20) = -1 EBADF (Bad file descriptor) [pid 5088] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0} [pid 5086] close(21) = -1 EBADF (Bad file descriptor) [pid 5086] close(22) = -1 EBADF (Bad file descriptor) [pid 5088] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5086] close(23) = -1 EBADF (Bad file descriptor) [pid 5086] close(24) = -1 EBADF (Bad file descriptor) [pid 5086] close(25) = -1 EBADF (Bad file descriptor) [pid 5086] close(26) = -1 EBADF (Bad file descriptor) [pid 5086] close(27) = -1 EBADF (Bad file descriptor) [pid 5086] close(28) = -1 EBADF (Bad file descriptor) [pid 5086] close(29) = -1 EBADF (Bad file descriptor) [pid 5088] open(".", O_RDONLY) = 4 [pid 5086] exit_group(0 [pid 5088] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0}) = 0 [pid 5088] close(3) = 0 [pid 5088] close(4) = 0 [pid 5086] <... exit_group resumed>) = ? [pid 5088] close(5 [pid 5086] +++ exited with 0 +++ [pid 5088] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5088] close(6) = -1 EBADF (Bad file descriptor) [pid 5088] close(7) = -1 EBADF (Bad file descriptor) [pid 5088] close(8) = -1 EBADF (Bad file descriptor) [pid 5088] close(9 [pid 5050] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=34 /* 0.34 s */} --- [pid 5088] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5088] close(10) = -1 EBADF (Bad file descriptor) [pid 5088] close(11 [pid 5050] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5088] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5088] close(12) = -1 EBADF (Bad file descriptor) [pid 5088] close(13) = -1 EBADF (Bad file descriptor) [pid 5088] close(14 [pid 5050] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5088] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5088] close(15) = -1 EBADF (Bad file descriptor) [pid 5088] close(16) = -1 EBADF (Bad file descriptor) [pid 5088] close(17) = -1 EBADF (Bad file descriptor) [pid 5088] close(18) = -1 EBADF (Bad file descriptor) [pid 5088] close(19) = -1 EBADF (Bad file descriptor) [pid 5088] close(20) = -1 EBADF (Bad file descriptor) [pid 5088] close(21 [pid 5050] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5088] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5088] close(22 [pid 5050] <... openat resumed>) = 3 [pid 5088] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5050] newfstatat(3, "", [pid 5088] close(23) = -1 EBADF (Bad file descriptor) [pid 5088] close(24) = -1 EBADF (Bad file descriptor) [pid 5088] close(25) = -1 EBADF (Bad file descriptor) [pid 5088] close(26 [pid 5050] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5088] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5088] close(27) = -1 EBADF (Bad file descriptor) [pid 5088] close(28 [pid 5050] getdents64(3, [pid 5088] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5088] close(29 [pid 5050] <... getdents64 resumed>0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5088] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5088] exit_group(0 [pid 5050] umount2("./1/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5088] <... exit_group resumed>) = ? [pid 5088] +++ exited with 0 +++ [pid 5090] <... write resumed>) = 16777216 [pid 5050] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5090] munmap(0x7f05eeb4f000, 16777216 [pid 5046] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3, si_uid=0, si_status=0, si_utime=0, si_stime=44 /* 0.44 s */} --- [pid 5046] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [ 79.395795][ T5085] BTRFS info (device loop0): relocating block group 5242880 flags data|metadata [pid 5046] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5050] newfstatat(AT_FDCWD, "./1/cgroup.cpu", [pid 5046] getdents64(3, 0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5050] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] umount2("./1/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] unlink("./1/cgroup.cpu" [pid 5046] newfstatat(AT_FDCWD, "./1/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5050] <... unlink resumed>) = 0 [pid 5046] unlink("./1/cgroup.cpu" [pid 5050] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5046] <... unlink resumed>) = 0 [pid 5046] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5050] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5046] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5046] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5050] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5046] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] unlink("./1/binderfs") = 0 [pid 5050] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] unlink("./1/binderfs" [pid 5046] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5046] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5050] <... unlink resumed>) = 0 [pid 5046] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5050] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5046] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5046] close(4 [pid 5050] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./1/file0", [pid 5046] <... close resumed>) = 0 [pid 5046] rmdir("./1/file0") = 0 [pid 5050] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] umount2("./1/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5050] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5050] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5046] newfstatat(AT_FDCWD, "./1/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5050] <... openat resumed>) = 4 [pid 5046] unlink("./1/cgroup" [pid 5050] newfstatat(4, "", [pid 5046] <... unlink resumed>) = 0 [pid 5050] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5046] umount2("./1/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5050] getdents64(4, [pid 5046] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5046] newfstatat(AT_FDCWD, "./1/cgroup.net", [pid 5050] <... getdents64 resumed>0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5046] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] unlink("./1/cgroup.net") = 0 [pid 5050] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5046] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5090] <... munmap resumed>) = 0 [pid 5050] close(4 [pid 5046] close(3 [pid 5050] <... close resumed>) = 0 [pid 5046] <... close resumed>) = 0 [pid 5050] rmdir("./1/file0" [pid 5046] rmdir("./1") = 0 [pid 5090] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5050] <... rmdir resumed>) = 0 [pid 5050] umount2("./1/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5046] mkdir("./2", 0777 [pid 5050] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./1/cgroup", [pid 5046] <... mkdir resumed>) = 0 [pid 5090] <... openat resumed>) = 4 [pid 5050] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5090] ioctl(4, LOOP_SET_FD, 3 [pid 5046] <... openat resumed>) = 3 [pid 5046] ioctl(3, LOOP_CLR_FD [pid 5089] <... ioctl resumed>) = 0 [pid 5050] unlink("./1/cgroup" [pid 5046] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5046] close(3) = 0 [pid 5046] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5108 attached [pid 5089] close(4 [pid 5050] <... unlink resumed>) = 0 [pid 5108] set_robust_list(0x5555559c4660, 24 [pid 5089] <... close resumed>) = 0 [pid 5050] umount2("./1/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5046] <... clone resumed>, child_tidptr=0x5555559c4650) = 4 [pid 5050] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./1/cgroup.net", [pid 5108] <... set_robust_list resumed>) = 0 [ 79.538200][ T5090] loop5: detected capacity change from 0 to 32768 [ 79.543458][ T5085] BTRFS info (device loop0): found 9 extents, stage: move data extents [pid 5089] open("./file0", O_RDONLY [pid 5108] chdir("./2" [pid 5090] <... ioctl resumed>) = 0 [pid 5089] <... open resumed>) = 3 [pid 5050] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5090] close(3) = 0 [pid 5090] mkdir("./file0", 0777) = 0 [pid 5090] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5050] unlink("./1/cgroup.net" [pid 5108] <... chdir resumed>) = 0 [pid 5089] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5108] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5089] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5050] <... unlink resumed>) = 0 [pid 5108] setpgid(0, 0 [pid 5089] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0} [pid 5050] getdents64(3, [pid 5108] <... setpgid resumed>) = 0 [pid 5089] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5050] <... getdents64 resumed>0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5089] open(".", O_RDONLY [pid 5050] close(3 [pid 5108] symlink("/syzcgroup/unified/syz1", "./cgroup" [pid 5050] <... close resumed>) = 0 [pid 5050] rmdir("./1") = 0 [pid 5108] <... symlink resumed>) = 0 [pid 5089] <... open resumed>) = 4 [pid 5050] mkdir("./2", 0777) = 0 [pid 5108] symlink("/syzcgroup/cpu/syz1", "./cgroup.cpu" [pid 5089] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0} [pid 5050] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5089] <... ioctl resumed>) = 0 [pid 5050] <... openat resumed>) = 3 [pid 5089] close(3 [pid 5050] ioctl(3, LOOP_CLR_FD [pid 5108] <... symlink resumed>) = 0 [pid 5089] <... close resumed>) = 0 [pid 5050] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5050] close(3 [pid 5089] close(4) = 0 [pid 5050] <... close resumed>) = 0 [pid 5089] close(5 [pid 5050] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5089] <... close resumed>) = -1 EBADF (Bad file descriptor) [ 79.584897][ T5085] BTRFS info (device loop0): found 1 extents, stage: update data pointers [ 79.595325][ T5090] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor895 (5090) [pid 5089] close(6./strace-static-x86_64: Process 5109 attached [pid 5108] symlink("/syzcgroup/net/syz1", "./cgroup.net" [pid 5089] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5108] <... symlink resumed>) = 0 [pid 5108] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5089] close(7 [pid 5108] <... openat resumed>) = 3 [pid 5089] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5108] write(3, "1000", 4 [pid 5050] <... clone resumed>, child_tidptr=0x5555559c4650) = 4 [pid 5089] close(8) = -1 EBADF (Bad file descriptor) [pid 5089] close(9) = -1 EBADF (Bad file descriptor) [pid 5108] <... write resumed>) = 4 [pid 5089] close(10 [pid 5109] set_robust_list(0x5555559c4660, 24 [pid 5089] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5109] <... set_robust_list resumed>) = 0 [pid 5089] close(11 [pid 5108] close(3 [pid 5089] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5089] close(12 [pid 5108] <... close resumed>) = 0 [pid 5089] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5108] symlink("/dev/binderfs", "./binderfs" [pid 5109] chdir("./2" [pid 5108] <... symlink resumed>) = 0 [pid 5089] close(13) = -1 EBADF (Bad file descriptor) [pid 5089] close(14) = -1 EBADF (Bad file descriptor) [pid 5089] close(15 [pid 5108] memfd_create("syzkaller", 0 [pid 5109] <... chdir resumed>) = 0 [pid 5089] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5109] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5108] <... memfd_create resumed>) = 3 [pid 5090] <... mount resumed>) = -1 EEXIST (File exists) [pid 5089] close(16 [pid 5090] ioctl(4, LOOP_CLR_FD [pid 5089] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5109] <... prctl resumed>) = 0 [pid 5108] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5089] close(17 [pid 5108] <... mmap resumed>) = 0x7f05eeb4f000 [pid 5089] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5089] close(18) = -1 EBADF (Bad file descriptor) [pid 5109] setpgid(0, 0 [pid 5089] close(19) = -1 EBADF (Bad file descriptor) [pid 5089] close(20 [pid 5109] <... setpgid resumed>) = 0 [pid 5089] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5089] close(21 [pid 5109] symlink("/syzcgroup/unified/syz3", "./cgroup" [pid 5089] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5109] <... symlink resumed>) = 0 [pid 5089] close(22) = -1 EBADF (Bad file descriptor) [pid 5109] symlink("/syzcgroup/cpu/syz3", "./cgroup.cpu" [pid 5089] close(23 [pid 5109] <... symlink resumed>) = 0 [pid 5089] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5089] close(24 [pid 5109] symlink("/syzcgroup/net/syz3", "./cgroup.net" [pid 5089] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5089] close(25) = -1 EBADF (Bad file descriptor) [pid 5109] <... symlink resumed>) = 0 [pid 5089] close(26) = -1 EBADF (Bad file descriptor) [pid 5109] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5089] close(27) = -1 EBADF (Bad file descriptor) [pid 5089] close(28) = -1 EBADF (Bad file descriptor) [ 79.651931][ T5085] BTRFS info (device loop0): balance: ended with status: 0 [pid 5109] <... openat resumed>) = 3 [pid 5089] close(29 [pid 5085] <... ioctl resumed> => {flags=BTRFS_BALANCE_DATA|BTRFS_BALANCE_METADATA, state=0, data={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}, meta={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}}) = 0 [pid 5109] write(3, "1000", 4 [pid 5089] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5109] <... write resumed>) = 4 [pid 5085] open(".", O_RDONLY [pid 5109] close(3 [pid 5089] exit_group(0 [pid 5085] <... open resumed>) = 5 [pid 5109] <... close resumed>) = 0 [pid 5089] <... exit_group resumed>) = ? [pid 5109] symlink("/dev/binderfs", "./binderfs" [pid 5085] ioctl(5, FITRIM, {start=0, len=4294967296, minlen=0} [pid 5109] <... symlink resumed>) = 0 [pid 5109] memfd_create("syzkaller", 0) = 3 [pid 5089] +++ exited with 0 +++ [pid 5109] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [pid 5052] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=42 /* 0.42 s */} --- [pid 5052] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5052] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5052] getdents64(3, 0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5052] umount2("./1/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5087] <... ioctl resumed>) = 0 [pid 5052] newfstatat(AT_FDCWD, "./1/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] unlink("./1/cgroup.cpu") = 0 [pid 5052] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5087] close(4 [pid 5052] unlink("./1/binderfs") = 0 [pid 5087] <... close resumed>) = 0 [pid 5052] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5087] open("./file0", O_RDONLY) = 3 [pid 5087] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5052] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5087] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5052] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5087] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0} [pid 5052] newfstatat(4, "", [pid 5087] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5052] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5052] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5052] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5052] close(4) = 0 [pid 5052] rmdir("./1/file0") = 0 [pid 5087] open(".", O_RDONLY [pid 5052] umount2("./1/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5087] <... open resumed>) = 4 [pid 5052] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5087] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0} [pid 5052] newfstatat(AT_FDCWD, "./1/cgroup", [pid 5087] <... ioctl resumed>) = 0 [pid 5052] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5087] close(3 [pid 5052] unlink("./1/cgroup" [pid 5087] <... close resumed>) = 0 [pid 5052] <... unlink resumed>) = 0 [pid 5087] close(4 [pid 5052] umount2("./1/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] newfstatat(AT_FDCWD, "./1/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5087] <... close resumed>) = 0 [pid 5087] close(5) = -1 EBADF (Bad file descriptor) [pid 5087] close(6 [pid 5052] unlink("./1/cgroup.net") = 0 [pid 5052] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5087] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5052] close(3 [pid 5087] close(7 [pid 5085] <... ioctl resumed>) = 0 [pid 5052] <... close resumed>) = 0 [pid 5087] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5052] rmdir("./1" [pid 5087] close(8 [pid 5085] close(3 [pid 5052] <... rmdir resumed>) = 0 [pid 5087] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5087] close(9 [pid 5085] <... close resumed>) = 0 [pid 5087] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5085] close(4 [pid 5087] close(10) = -1 EBADF (Bad file descriptor) [pid 5087] close(11) = -1 EBADF (Bad file descriptor) [pid 5087] close(12) = -1 EBADF (Bad file descriptor) [pid 5087] close(13) = -1 EBADF (Bad file descriptor) [pid 5087] close(14) = -1 EBADF (Bad file descriptor) [pid 5087] close(15) = -1 EBADF (Bad file descriptor) [pid 5087] close(16) = -1 EBADF (Bad file descriptor) [pid 5087] close(17 [pid 5085] <... close resumed>) = 0 [pid 5087] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5087] close(18 [pid 5085] close(5 [pid 5087] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5087] close(19) = -1 EBADF (Bad file descriptor) [pid 5085] <... close resumed>) = 0 [pid 5052] mkdir("./2", 0777 [pid 5087] close(20 [pid 5085] close(6 [pid 5052] <... mkdir resumed>) = 0 [pid 5087] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5052] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5087] close(21 [pid 5085] close(7 [pid 5052] <... openat resumed>) = 3 [pid 5087] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5052] ioctl(3, LOOP_CLR_FD [pid 5087] close(22 [pid 5085] close(8 [pid 5052] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5087] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5052] close(3 [pid 5087] close(23 [pid 5085] close(9 [pid 5052] <... close resumed>) = 0 [pid 5087] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5087] close(24) = -1 EBADF (Bad file descriptor) [pid 5085] close(10 [pid 5087] close(25 [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5087] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5085] close(11 [pid 5052] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5087] close(26) = -1 EBADF (Bad file descriptor) [pid 5087] close(27) = -1 EBADF (Bad file descriptor) [pid 5087] close(28) = -1 EBADF (Bad file descriptor) [pid 5087] close(29) = -1 EBADF (Bad file descriptor) [pid 5087] exit_group(0) = ? [pid 5087] +++ exited with 0 +++ [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5049] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3, si_uid=0, si_status=0, si_utime=0, si_stime=34 /* 0.34 s */} --- [pid 5049] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5085] close(12 [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5049] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5085] close(13./strace-static-x86_64: Process 5110 attached [pid 5052] <... clone resumed>, child_tidptr=0x5555559c4650) = 4 [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5049] <... openat resumed>) = 3 [pid 5085] close(14 [pid 5049] newfstatat(3, "", [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5110] set_robust_list(0x5555559c4660, 24 [pid 5085] close(15 [pid 5049] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5049] getdents64(3, [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5085] close(16) = -1 EBADF (Bad file descriptor) [pid 5110] <... set_robust_list resumed>) = 0 [pid 5049] <... getdents64 resumed>0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5110] chdir("./2" [pid 5085] close(17 [pid 5049] umount2("./1/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5085] close(18 [pid 5110] <... chdir resumed>) = 0 [pid 5110] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5085] close(19 [pid 5049] newfstatat(AT_FDCWD, "./1/cgroup.cpu", [pid 5110] <... prctl resumed>) = 0 [pid 5049] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5110] setpgid(0, 0) = 0 [pid 5049] unlink("./1/cgroup.cpu" [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5110] symlink("/syzcgroup/unified/syz4", "./cgroup" [pid 5085] close(20 [pid 5049] <... unlink resumed>) = 0 [pid 5110] <... symlink resumed>) = 0 [pid 5110] symlink("/syzcgroup/cpu/syz4", "./cgroup.cpu") = 0 [pid 5110] symlink("/syzcgroup/net/syz4", "./cgroup.net" [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5049] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5110] <... symlink resumed>) = 0 [pid 5085] close(21 [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5049] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5110] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5049] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5110] <... openat resumed>) = 3 [pid 5085] close(22 [pid 5049] unlink("./1/binderfs" [pid 5110] write(3, "1000", 4 [pid 5049] <... unlink resumed>) = 0 [pid 5110] <... write resumed>) = 4 [pid 5110] close(3) = 0 [pid 5049] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5110] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5110] memfd_create("syzkaller", 0 [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5049] newfstatat(AT_FDCWD, "./1/file0", [pid 5085] close(23) = -1 EBADF (Bad file descriptor) [pid 5049] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5110] <... memfd_create resumed>) = 3 [pid 5085] close(24 [pid 5049] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5110] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5049] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5085] close(25) = -1 EBADF (Bad file descriptor) [pid 5049] <... openat resumed>) = 4 [pid 5085] close(26) = -1 EBADF (Bad file descriptor) [pid 5085] close(27) = -1 EBADF (Bad file descriptor) [pid 5085] close(28) = -1 EBADF (Bad file descriptor) [pid 5049] newfstatat(4, "", [pid 5085] close(29 [pid 5049] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5085] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5085] exit_group(0 [pid 5049] getdents64(4, [pid 5085] <... exit_group resumed>) = ? [pid 5085] +++ exited with 0 +++ [pid 5045] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=48 /* 0.48 s */} --- [pid 5049] <... getdents64 resumed>0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5049] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5049] close(4) = 0 [pid 5049] rmdir("./1/file0") = 0 [pid 5045] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5049] umount2("./1/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5108] 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 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5049] newfstatat(AT_FDCWD, "./1/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5049] unlink("./1/cgroup" [pid 5045] newfstatat(3, "", [pid 5049] <... unlink resumed>) = 0 [pid 5045] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5049] umount2("./1/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5045] getdents64(3, [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5045] <... getdents64 resumed>0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5049] newfstatat(AT_FDCWD, "./1/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] umount2("./1/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5049] unlink("./1/cgroup.net" [pid 5045] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./1/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] unlink("./1/cgroup.cpu" [pid 5049] <... unlink resumed>) = 0 [pid 5045] <... unlink resumed>) = 0 [pid 5049] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5045] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5049] close(3 [pid 5045] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5049] <... close resumed>) = 0 [pid 5045] newfstatat(AT_FDCWD, "./1/binderfs", [pid 5049] rmdir("./1" [pid 5045] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] unlink("./1/binderfs" [pid 5049] <... rmdir resumed>) = 0 [pid 5049] mkdir("./2", 0777 [pid 5045] <... unlink resumed>) = 0 [pid 5045] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5049] <... mkdir resumed>) = 0 [pid 5049] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5049] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5049] close(3) = 0 [pid 5049] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5111 attached , child_tidptr=0x5555559c4650) = 4 [pid 5111] set_robust_list(0x5555559c4660, 24 [pid 5109] 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 5111] <... set_robust_list resumed>) = 0 [pid 5111] chdir("./2") = 0 [pid 5111] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5111] setpgid(0, 0) = 0 [pid 5111] symlink("/syzcgroup/unified/syz2", "./cgroup") = 0 [pid 5111] symlink("/syzcgroup/cpu/syz2", "./cgroup.cpu") = 0 [pid 5111] symlink("/syzcgroup/net/syz2", "./cgroup.net") = 0 [pid 5111] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5111] write(3, "1000", 4) = 4 [pid 5111] close(3) = 0 [pid 5111] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5111] memfd_create("syzkaller", 0) = 3 [pid 5111] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [pid 5110] 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 5045] <... umount2 resumed>) = 0 [pid 5045] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5045] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5045] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5045] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5045] close(4) = 0 [pid 5045] rmdir("./1/file0") = 0 [pid 5045] umount2("./1/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./1/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] unlink("./1/cgroup") = 0 [pid 5045] umount2("./1/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./1/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] unlink("./1/cgroup.net") = 0 [pid 5045] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5045] close(3) = 0 [pid 5045] rmdir("./1") = 0 [pid 5045] mkdir("./2", 0777) = 0 [pid 5045] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5045] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5045] close(3) = 0 [pid 5045] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5112 attached , child_tidptr=0x5555559c4650) = 4 [pid 5112] set_robust_list(0x5555559c4660, 24) = 0 [pid 5112] chdir("./2") = 0 [pid 5112] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5112] setpgid(0, 0) = 0 [pid 5112] symlink("/syzcgroup/unified/syz0", "./cgroup") = 0 [pid 5112] symlink("/syzcgroup/cpu/syz0", "./cgroup.cpu") = 0 [pid 5112] symlink("/syzcgroup/net/syz0", "./cgroup.net") = 0 [pid 5112] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5112] write(3, "1000", 4) = 4 [pid 5112] close(3) = 0 [pid 5112] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5112] memfd_create("syzkaller", 0) = 3 [pid 5112] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5090] <... ioctl resumed>) = 0 [pid 5112] <... mmap resumed>) = 0x7f05eeb4f000 [pid 5090] close(4) = 0 [pid 5090] open("./file0", O_RDONLY) = 3 [pid 5090] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5090] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0}) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5090] open(".", O_RDONLY) = 4 [pid 5090] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0}) = 0 [pid 5090] close(3) = 0 [pid 5090] close(4) = 0 [pid 5090] close(5) = -1 EBADF (Bad file descriptor) [pid 5090] close(6) = -1 EBADF (Bad file descriptor) [pid 5090] close(7) = -1 EBADF (Bad file descriptor) [pid 5090] close(8) = -1 EBADF (Bad file descriptor) [pid 5090] close(9) = -1 EBADF (Bad file descriptor) [pid 5090] close(10) = -1 EBADF (Bad file descriptor) [pid 5090] close(11) = -1 EBADF (Bad file descriptor) [pid 5090] close(12) = -1 EBADF (Bad file descriptor) [pid 5090] close(13) = -1 EBADF (Bad file descriptor) [pid 5090] close(14) = -1 EBADF (Bad file descriptor) [pid 5090] close(15) = -1 EBADF (Bad file descriptor) [pid 5090] close(16) = -1 EBADF (Bad file descriptor) [pid 5090] close(17) = -1 EBADF (Bad file descriptor) [pid 5090] close(18) = -1 EBADF (Bad file descriptor) [pid 5090] close(19) = -1 EBADF (Bad file descriptor) [pid 5090] close(20) = -1 EBADF (Bad file descriptor) [pid 5090] close(21) = -1 EBADF (Bad file descriptor) [pid 5090] close(22) = -1 EBADF (Bad file descriptor) [pid 5090] close(23) = -1 EBADF (Bad file descriptor) [pid 5090] close(24) = -1 EBADF (Bad file descriptor) [pid 5090] close(25) = -1 EBADF (Bad file descriptor) [pid 5090] close(26) = -1 EBADF (Bad file descriptor) [pid 5090] close(27) = -1 EBADF (Bad file descriptor) [pid 5090] close(28) = -1 EBADF (Bad file descriptor) [pid 5090] close(29) = -1 EBADF (Bad file descriptor) [pid 5090] exit_group(0) = ? [pid 5090] +++ exited with 0 +++ [pid 5051] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=3, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=43 /* 0.43 s */} --- [pid 5051] umount2("./1", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] openat(AT_FDCWD, "./1", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5051] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5051] getdents64(3, 0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5051] umount2("./1/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] newfstatat(AT_FDCWD, "./1/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] unlink("./1/cgroup.cpu") = 0 [pid 5051] umount2("./1/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] newfstatat(AT_FDCWD, "./1/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] unlink("./1/binderfs") = 0 [pid 5051] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] newfstatat(AT_FDCWD, "./1/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] umount2("./1/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] openat(AT_FDCWD, "./1/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5051] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5051] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5051] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5051] close(4) = 0 [pid 5111] 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 5051] rmdir("./1/file0") = 0 [pid 5051] umount2("./1/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] newfstatat(AT_FDCWD, "./1/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] unlink("./1/cgroup") = 0 [pid 5051] umount2("./1/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] newfstatat(AT_FDCWD, "./1/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] unlink("./1/cgroup.net") = 0 [pid 5051] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5051] close(3) = 0 [pid 5051] rmdir("./1") = 0 [pid 5051] mkdir("./2", 0777) = 0 [pid 5051] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5051] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5051] close(3) = 0 [pid 5051] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x5555559c4650) = 4 ./strace-static-x86_64: Process 5113 attached [pid 5113] set_robust_list(0x5555559c4660, 24) = 0 [pid 5113] chdir("./2") = 0 [pid 5113] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5113] setpgid(0, 0) = 0 [pid 5113] symlink("/syzcgroup/unified/syz5", "./cgroup") = 0 [pid 5113] symlink("/syzcgroup/cpu/syz5", "./cgroup.cpu") = 0 [pid 5113] symlink("/syzcgroup/net/syz5", "./cgroup.net") = 0 [pid 5113] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5113] write(3, "1000", 4) = 4 [pid 5113] close(3) = 0 [pid 5113] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5113] memfd_create("syzkaller", 0) = 3 [pid 5113] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [pid 5112] 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 5108] <... write resumed>) = 16777216 [pid 5108] munmap(0x7f05eeb4f000, 16777216 [pid 5109] <... write resumed>) = 16777216 [pid 5108] <... munmap resumed>) = 0 [pid 5109] munmap(0x7f05eeb4f000, 16777216 [pid 5108] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5108] ioctl(4, LOOP_SET_FD, 3 [pid 5109] <... munmap resumed>) = 0 [pid 5109] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5109] ioctl(4, LOOP_SET_FD, 3 [pid 5108] <... ioctl resumed>) = 0 [pid 5108] close(3) = 0 [pid 5108] mkdir("./file0", 0777) = 0 [pid 5108] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5113] 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 5109] <... ioctl resumed>) = 0 [pid 5109] close(3) = 0 [pid 5109] mkdir("./file0", 0777) = 0 [ 80.741576][ T5108] loop1: detected capacity change from 0 to 32768 [ 80.768095][ T5109] loop3: detected capacity change from 0 to 32768 [ 80.778344][ T5108] BTRFS: device fsid e417788f-7a09-42b2-9266-8ddc5d5d35d2 devid 1 transid 8 /dev/loop1 scanned by syz-executor895 (5108) [pid 5109] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5110] <... write resumed>) = 16777216 [pid 5110] munmap(0x7f05eeb4f000, 16777216) = 0 [pid 5110] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 80.851616][ T5108] BTRFS info (device loop3): using xxhash64 (xxhash64-generic) checksum algorithm [ 80.872712][ T5108] BTRFS info (device loop3): force clearing of disk cache [ 80.888205][ T5110] loop4: detected capacity change from 0 to 32768 [pid 5110] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5110] close(3) = 0 [pid 5110] mkdir("./file0", 0777) = 0 [pid 5110] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 80.895834][ T5108] BTRFS info (device loop3): setting nodatasum [ 80.920173][ T5108] BTRFS info (device loop3): allowing degraded mounts [ 80.927717][ T5110] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor895 (5110) [ 80.939350][ T5108] BTRFS info (device loop3): enabling disk space caching [pid 5110] ioctl(4, LOOP_CLR_FD [pid 5111] <... write resumed>) = 16777216 [ 80.953084][ T5108] BTRFS info (device loop3): disk space caching is enabled [pid 5111] munmap(0x7f05eeb4f000, 16777216) = 0 [pid 5111] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5111] ioctl(4, LOOP_SET_FD, 3 [pid 5113] <... write resumed>) = 16777216 [pid 5111] <... ioctl resumed>) = 0 [pid 5111] close(3) = 0 [pid 5111] mkdir("./file0", 0777 [pid 5113] munmap(0x7f05eeb4f000, 16777216 [pid 5112] <... write resumed>) = 16777216 [ 81.073704][ T5111] loop2: detected capacity change from 0 to 32768 [ 81.112235][ T5108] BTRFS info (device loop3): enabling ssd optimizations [pid 5113] <... munmap resumed>) = 0 [pid 5112] munmap(0x7f05eeb4f000, 16777216 [pid 5111] <... mkdir resumed>) = 0 [pid 5113] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5112] <... munmap resumed>) = 0 [pid 5111] mount("/dev/loop2", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5113] <... openat resumed>) = 4 [pid 5112] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5113] ioctl(4, LOOP_SET_FD, 3 [pid 5112] <... openat resumed>) = 4 [ 81.124685][ T5108] BTRFS info (device loop3): auto enabling async discard [ 81.144631][ T5113] loop5: detected capacity change from 0 to 32768 [ 81.147142][ T5112] loop0: detected capacity change from 0 to 32768 [ 81.153147][ T5111] BTRFS warning: duplicate device /dev/loop2 devid 1 generation 8 scanned by syz-executor895 (5111) [ 81.159244][ T5108] BTRFS info (device loop3): rebuilding free space tree [pid 5112] ioctl(4, LOOP_SET_FD, 3 [pid 5113] <... ioctl resumed>) = 0 [pid 5112] <... ioctl resumed>) = 0 [pid 5113] close(3 [pid 5112] close(3 [pid 5113] <... close resumed>) = 0 [pid 5112] <... close resumed>) = 0 [pid 5113] mkdir("./file0", 0777 [pid 5112] mkdir("./file0", 0777) = 0 [pid 5111] <... mount resumed>) = -1 EEXIST (File exists) [pid 5113] <... mkdir resumed>) = 0 [pid 5112] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5113] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 81.186771][ T5108] BTRFS info (device loop3): disabling free space tree [ 81.196453][ T5108] BTRFS info (device loop3): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1) [ 81.196508][ T5112] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor895 (5112) [ 81.217455][ T5108] BTRFS info (device loop3): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2) [pid 5111] ioctl(4, LOOP_CLR_FD [pid 5113] <... mount resumed>) = -1 EEXIST (File exists) [pid 5113] ioctl(4, LOOP_CLR_FD [pid 5112] <... mount resumed>) = -1 EEXIST (File exists) [pid 5112] ioctl(4, LOOP_CLR_FD [pid 5108] <... mount resumed>) = 0 [pid 5109] <... mount resumed>) = 0 [pid 5110] <... ioctl resumed>) = 0 [pid 5109] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5108] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5110] close(4 [pid 5108] <... openat resumed>) = 3 [pid 5109] <... openat resumed>) = 3 [pid 5109] chdir("./file0") = 0 [pid 5109] ioctl(4, LOOP_CLR_FD) = 0 [pid 5109] close(4) = 0 [pid 5109] open("./file0", O_RDONLY) = 4 [pid 5109] ioctl(4, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 5109] ioctl(4, BTRFS_IOC_BALANCE_V2, {flags=BTRFS_BALANCE_DATA|BTRFS_BALANCE_METADATA, data={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}, meta={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}} [pid 5108] chdir("./file0") = 0 [pid 5108] ioctl(4, LOOP_CLR_FD [pid 5110] <... close resumed>) = 0 [ 81.238724][ T5108] BTRFS info (device loop3): checking UUID tree [ 81.245897][ T5113] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor895 (5113) [pid 5110] open("./file0", O_RDONLY) = 3 [pid 5110] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5110] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0}) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5110] open(".", O_RDONLY) = 4 [pid 5110] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0}) = 0 [pid 5110] close(3) = 0 [pid 5110] close(4) = 0 [pid 5110] close(5) = -1 EBADF (Bad file descriptor) [pid 5110] close(6) = -1 EBADF (Bad file descriptor) [pid 5110] close(7) = -1 EBADF (Bad file descriptor) [pid 5110] close(8) = -1 EBADF (Bad file descriptor) [pid 5110] close(9) = -1 EBADF (Bad file descriptor) [pid 5110] close(10) = -1 EBADF (Bad file descriptor) [pid 5110] close(11) = -1 EBADF (Bad file descriptor) [pid 5110] close(12) = -1 EBADF (Bad file descriptor) [pid 5110] close(13) = -1 EBADF (Bad file descriptor) [pid 5110] close(14) = -1 EBADF (Bad file descriptor) [pid 5110] close(15) = -1 EBADF (Bad file descriptor) [pid 5110] close(16) = -1 EBADF (Bad file descriptor) [pid 5110] close(17) = -1 EBADF (Bad file descriptor) [pid 5110] close(18) = -1 EBADF (Bad file descriptor) [pid 5110] close(19) = -1 EBADF (Bad file descriptor) [pid 5110] close(20) = -1 EBADF (Bad file descriptor) [pid 5110] close(21) = -1 EBADF (Bad file descriptor) [pid 5110] close(22) = -1 EBADF (Bad file descriptor) [pid 5110] close(23) = -1 EBADF (Bad file descriptor) [pid 5110] close(24) = -1 EBADF (Bad file descriptor) [pid 5110] close(25) = -1 EBADF (Bad file descriptor) [pid 5110] close(26) = -1 EBADF (Bad file descriptor) [pid 5110] close(27) = -1 EBADF (Bad file descriptor) [pid 5110] close(28) = -1 EBADF (Bad file descriptor) [pid 5110] close(29) = -1 EBADF (Bad file descriptor) [pid 5110] exit_group(0) = ? [pid 5110] +++ exited with 0 +++ [pid 5052] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=32 /* 0.32 s */} --- [pid 5052] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5052] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5052] getdents64(3, 0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5052] umount2("./2/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] newfstatat(AT_FDCWD, "./2/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] unlink("./2/cgroup.cpu") = 0 [pid 5052] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] unlink("./2/binderfs") = 0 [ 81.281619][ T5109] BTRFS info (device loop3): balance: start -d -m [ 81.307882][ T5109] BTRFS info (device loop3): relocating block group 6881280 flags data|metadata [pid 5052] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5052] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5052] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5052] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5052] close(4) = 0 [pid 5052] rmdir("./2/file0") = 0 [pid 5052] umount2("./2/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] newfstatat(AT_FDCWD, "./2/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] unlink("./2/cgroup") = 0 [pid 5052] umount2("./2/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] newfstatat(AT_FDCWD, "./2/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] unlink("./2/cgroup.net") = 0 [pid 5052] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5052] close(3) = 0 [pid 5052] rmdir("./2") = 0 [pid 5052] mkdir("./3", 0777) = 0 [pid 5052] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5052] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 81.424515][ T5109] BTRFS info (device loop3): relocating block group 5242880 flags data|metadata [pid 5052] close(3) = 0 [pid 5052] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5131 attached , child_tidptr=0x5555559c4650) = 5 [pid 5131] set_robust_list(0x5555559c4660, 24) = 0 [pid 5131] chdir("./3") = 0 [pid 5131] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5131] setpgid(0, 0) = 0 [pid 5131] symlink("/syzcgroup/unified/syz4", "./cgroup") = 0 [pid 5131] symlink("/syzcgroup/cpu/syz4", "./cgroup.cpu") = 0 [pid 5131] symlink("/syzcgroup/net/syz4", "./cgroup.net") = 0 [pid 5131] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5131] write(3, "1000", 4) = 4 [pid 5131] close(3) = 0 [pid 5131] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5131] memfd_create("syzkaller", 0) = 3 [pid 5131] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [ 81.554266][ T5131] __do_sys_memfd_create: 8 callbacks suppressed [ 81.554285][ T5131] syz-executor895[5131]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [ 81.621412][ T5109] BTRFS info (device loop3): found 9 extents, stage: move data extents [ 81.712408][ T5109] BTRFS info (device loop3): found 1 extents, stage: update data pointers [pid 5111] <... ioctl resumed>) = 0 [pid 5111] close(4) = 0 [pid 5111] open("./file0", O_RDONLY) = 3 [pid 5111] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5111] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0}) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5111] open(".", O_RDONLY) = 4 [pid 5111] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0}) = 0 [pid 5111] close(3) = 0 [pid 5111] close(4) = 0 [pid 5111] close(5) = -1 EBADF (Bad file descriptor) [pid 5111] close(6) = -1 EBADF (Bad file descriptor) [pid 5111] close(7) = -1 EBADF (Bad file descriptor) [pid 5111] close(8) = -1 EBADF (Bad file descriptor) [pid 5111] close(9) = -1 EBADF (Bad file descriptor) [pid 5111] close(10) = -1 EBADF (Bad file descriptor) [pid 5111] close(11) = -1 EBADF (Bad file descriptor) [pid 5111] close(12) = -1 EBADF (Bad file descriptor) [pid 5111] close(13) = -1 EBADF (Bad file descriptor) [pid 5111] close(14) = -1 EBADF (Bad file descriptor) [pid 5111] close(15) = -1 EBADF (Bad file descriptor) [pid 5111] close(16) = -1 EBADF (Bad file descriptor) [pid 5111] close(17) = -1 EBADF (Bad file descriptor) [pid 5111] close(18) = -1 EBADF (Bad file descriptor) [pid 5111] close(19) = -1 EBADF (Bad file descriptor) [pid 5111] close(20) = -1 EBADF (Bad file descriptor) [pid 5111] close(21) = -1 EBADF (Bad file descriptor) [pid 5111] close(22) = -1 EBADF (Bad file descriptor) [pid 5111] close(23) = -1 EBADF (Bad file descriptor) [pid 5111] close(24) = -1 EBADF (Bad file descriptor) [pid 5111] close(25) = -1 EBADF (Bad file descriptor) [pid 5111] close(26) = -1 EBADF (Bad file descriptor) [pid 5111] close(27) = -1 EBADF (Bad file descriptor) [pid 5111] close(28) = -1 EBADF (Bad file descriptor) [pid 5111] close(29 [pid 5109] <... ioctl resumed> => {flags=BTRFS_BALANCE_DATA|BTRFS_BALANCE_METADATA, state=0, data={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}, meta={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}}) = 0 [pid 5111] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5111] exit_group(0) = ? [ 81.801743][ T5109] BTRFS info (device loop3): balance: ended with status: 0 [pid 5113] <... ioctl resumed>) = 0 [pid 5112] <... ioctl resumed>) = 0 [pid 5111] +++ exited with 0 +++ [pid 5109] open(".", O_RDONLY) = 5 [pid 5109] ioctl(5, FITRIM, {start=0, len=4294967296, minlen=0} [pid 5113] close(4 [pid 5112] close(4 [pid 5049] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=37 /* 0.37 s */} --- [pid 5112] <... close resumed>) = 0 [pid 5112] open("./file0", O_RDONLY) = 3 [pid 5113] <... close resumed>) = 0 [pid 5112] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5049] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5112] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5112] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0} [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5049] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5049] newfstatat(3, "", [pid 5113] open("./file0", O_RDONLY [pid 5112] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5049] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5112] open(".", O_RDONLY) = 4 [pid 5112] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0}) = 0 [pid 5112] close(3) = 0 [pid 5112] close(4) = 0 [pid 5113] <... open resumed>) = 3 [pid 5112] close(5) = -1 EBADF (Bad file descriptor) [pid 5049] getdents64(3, [pid 5112] close(6) = -1 EBADF (Bad file descriptor) [pid 5112] close(7) = -1 EBADF (Bad file descriptor) [pid 5112] close(8) = -1 EBADF (Bad file descriptor) [pid 5112] close(9) = -1 EBADF (Bad file descriptor) [pid 5049] <... getdents64 resumed>0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5113] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5112] close(10) = -1 EBADF (Bad file descriptor) [pid 5112] close(11 [pid 5113] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5112] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5112] close(12) = -1 EBADF (Bad file descriptor) [pid 5113] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0} [pid 5112] close(13) = -1 EBADF (Bad file descriptor) [pid 5112] close(14) = -1 EBADF (Bad file descriptor) [pid 5112] close(15) = -1 EBADF (Bad file descriptor) [pid 5112] close(16) = -1 EBADF (Bad file descriptor) [pid 5112] close(17) = -1 EBADF (Bad file descriptor) [pid 5112] close(18) = -1 EBADF (Bad file descriptor) [pid 5112] close(19) = -1 EBADF (Bad file descriptor) [pid 5112] close(20) = -1 EBADF (Bad file descriptor) [pid 5112] close(21) = -1 EBADF (Bad file descriptor) [pid 5112] close(22) = -1 EBADF (Bad file descriptor) [pid 5113] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5112] close(23 [pid 5049] umount2("./2/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5113] open(".", O_RDONLY [pid 5112] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5112] close(24) = -1 EBADF (Bad file descriptor) [pid 5112] close(25) = -1 EBADF (Bad file descriptor) [pid 5112] close(26) = -1 EBADF (Bad file descriptor) [pid 5112] close(27 [pid 5113] <... open resumed>) = 4 [pid 5112] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5113] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0} [pid 5112] close(28) = -1 EBADF (Bad file descriptor) [pid 5112] close(29) = -1 EBADF (Bad file descriptor) [pid 5112] exit_group(0 [pid 5113] <... ioctl resumed>) = 0 [pid 5112] <... exit_group resumed>) = ? [pid 5113] close(3 [pid 5049] newfstatat(AT_FDCWD, "./2/cgroup.cpu", [pid 5112] +++ exited with 0 +++ [pid 5049] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5113] <... close resumed>) = 0 [pid 5049] unlink("./2/cgroup.cpu" [pid 5113] close(4 [pid 5108] <... ioctl resumed>) = 0 [pid 5049] <... unlink resumed>) = 0 [pid 5113] <... close resumed>) = 0 [pid 5049] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5113] close(5) = -1 EBADF (Bad file descriptor) [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5113] close(6 [pid 5049] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5113] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5108] close(4 [pid 5113] close(7) = -1 EBADF (Bad file descriptor) [pid 5113] close(8) = -1 EBADF (Bad file descriptor) [pid 5113] close(9) = -1 EBADF (Bad file descriptor) [pid 5049] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5113] close(10 [pid 5049] unlink("./2/binderfs" [pid 5113] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5113] close(11) = -1 EBADF (Bad file descriptor) [pid 5113] close(12) = -1 EBADF (Bad file descriptor) [pid 5113] close(13 [pid 5108] <... close resumed>) = 0 [pid 5049] <... unlink resumed>) = 0 [pid 5113] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5113] close(14) = -1 EBADF (Bad file descriptor) [pid 5113] close(15) = -1 EBADF (Bad file descriptor) [pid 5113] close(16 [pid 5049] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5113] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5108] open("./file0", O_RDONLY [pid 5113] close(17 [pid 5049] newfstatat(AT_FDCWD, "./2/file0", [pid 5113] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5113] close(18 [pid 5108] <... open resumed>) = 4 [pid 5049] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5113] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5113] close(19 [pid 5108] ioctl(4, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5049] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5113] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5113] close(20) = -1 EBADF (Bad file descriptor) [pid 5045] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=42 /* 0.42 s */} --- [pid 5113] close(21) = -1 EBADF (Bad file descriptor) [pid 5113] close(22 [pid 5108] <... ioctl resumed>) = 0 [pid 5113] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5113] close(23 [pid 5049] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5113] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5045] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5113] close(24) = -1 EBADF (Bad file descriptor) [pid 5113] close(25) = -1 EBADF (Bad file descriptor) [pid 5113] close(26) = -1 EBADF (Bad file descriptor) [pid 5113] close(27) = -1 EBADF (Bad file descriptor) [pid 5113] close(28) = -1 EBADF (Bad file descriptor) [pid 5113] close(29) = -1 EBADF (Bad file descriptor) [pid 5113] exit_group(0) = ? [pid 5113] +++ exited with 0 +++ [pid 5045] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5108] ioctl(4, BTRFS_IOC_BALANCE_V2, {flags=BTRFS_BALANCE_DATA|BTRFS_BALANCE_METADATA, data={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}, meta={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}} [pid 5049] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5045] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5051] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=31 /* 0.31 s */} --- [pid 5051] restart_syscall(<... resuming interrupted clone ...> [pid 5045] <... openat resumed>) = 3 [pid 5045] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5049] <... openat resumed>) = 4 [pid 5049] newfstatat(4, "", [pid 5045] getdents64(3, [pid 5051] <... restart_syscall resumed>) = 0 [pid 5045] <... getdents64 resumed>0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5045] umount2("./2/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5051] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5045] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5051] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./2/cgroup.cpu", [pid 5051] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5045] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] <... openat resumed>) = 3 [pid 5045] unlink("./2/cgroup.cpu" [pid 5049] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5049] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5049] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5049] close(4 [pid 5045] <... unlink resumed>) = 0 [pid 5049] <... close resumed>) = 0 [pid 5049] rmdir("./2/file0") = 0 [pid 5045] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5051] newfstatat(3, "", [pid 5049] umount2("./2/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5049] newfstatat(AT_FDCWD, "./2/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5049] unlink("./2/cgroup") = 0 [pid 5131] 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 5051] getdents64(3, [pid 5045] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5049] umount2("./2/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5049] newfstatat(AT_FDCWD, "./2/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] <... getdents64 resumed>0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5045] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5051] umount2("./2/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5049] unlink("./2/cgroup.net" [pid 5051] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5049] <... unlink resumed>) = 0 [pid 5045] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] newfstatat(AT_FDCWD, "./2/cgroup.cpu", [pid 5049] getdents64(3, [pid 5045] unlink("./2/binderfs" [pid 5051] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5049] <... getdents64 resumed>0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5051] unlink("./2/cgroup.cpu") = 0 [pid 5045] <... unlink resumed>) = 0 [pid 5049] close(3 [pid 5051] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5049] <... close resumed>) = 0 [pid 5045] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5049] rmdir("./2" [pid 5051] unlink("./2/binderfs" [pid 5045] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./2/file0", [pid 5051] <... unlink resumed>) = 0 [pid 5049] <... rmdir resumed>) = 0 [pid 5045] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5049] mkdir("./3", 0777 [pid 5051] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5049] <... mkdir resumed>) = 0 [pid 5045] newfstatat(4, "", [pid 5051] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5045] <... newfstatat resumed>{st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5049] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5051] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5049] <... openat resumed>) = 3 [pid 5045] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5051] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5045] getdents64(4, [pid 5051] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5045] <... getdents64 resumed>0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5045] close(4) = 0 [pid 5045] rmdir("./2/file0") = 0 [pid 5051] <... openat resumed>) = 4 [pid 5051] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5051] getdents64(4, [pid 5049] ioctl(3, LOOP_CLR_FD [pid 5051] <... getdents64 resumed>0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5045] umount2("./2/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5051] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5051] close(4 [pid 5049] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5045] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./2/cgroup", [pid 5051] <... close resumed>) = 0 [pid 5045] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] rmdir("./2/file0" [pid 5049] close(3 [pid 5045] unlink("./2/cgroup") = 0 [pid 5049] <... close resumed>) = 0 [pid 5049] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5051] <... rmdir resumed>) = 0 [pid 5045] umount2("./2/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./2/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] unlink("./2/cgroup.net") = 0 [pid 5051] umount2("./2/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5045] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5049] <... clone resumed>, child_tidptr=0x5555559c4650) = 5 [pid 5051] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5051] newfstatat(AT_FDCWD, "./2/cgroup", [pid 5045] close(3 [pid 5051] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] <... close resumed>) = 0 [pid 5045] rmdir("./2" [pid 5051] unlink("./2/cgroup" [pid 5045] <... rmdir resumed>) = 0 [pid 5051] <... unlink resumed>) = 0 [pid 5051] umount2("./2/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] newfstatat(AT_FDCWD, "./2/cgroup.net", [pid 5045] mkdir("./3", 0777./strace-static-x86_64: Process 5133 attached [pid 5133] set_robust_list(0x5555559c4660, 24) = 0 [pid 5051] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5133] chdir("./3") = 0 [pid 5133] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5045] <... mkdir resumed>) = 0 [pid 5051] unlink("./2/cgroup.net" [pid 5133] <... prctl resumed>) = 0 [pid 5051] <... unlink resumed>) = 0 [pid 5133] setpgid(0, 0) = 0 [pid 5133] symlink("/syzcgroup/unified/syz2", "./cgroup") = 0 [pid 5133] symlink("/syzcgroup/cpu/syz2", "./cgroup.cpu") = 0 [pid 5051] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5051] close(3) = 0 [pid 5051] rmdir("./2" [pid 5133] symlink("/syzcgroup/net/syz2", "./cgroup.net") = 0 [pid 5133] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5051] <... rmdir resumed>) = 0 [pid 5133] <... openat resumed>) = 3 [pid 5051] mkdir("./3", 0777 [pid 5045] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5133] write(3, "1000", 4) = 4 [pid 5045] <... openat resumed>) = 3 [pid 5133] close(3 [pid 5045] ioctl(3, LOOP_CLR_FD [pid 5133] <... close resumed>) = 0 [pid 5133] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5051] <... mkdir resumed>) = 0 [pid 5045] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5133] memfd_create("syzkaller", 0 [pid 5045] close(3) = 0 [pid 5045] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5051] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [ 82.020182][ T5108] BTRFS info (device loop3): balance: start -d -m [ 82.039203][ T5133] syz-executor895[5133]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5051] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5051] close(3) = 0 [pid 5051] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5134 attached [pid 5045] <... clone resumed>, child_tidptr=0x5555559c4650) = 5 [pid 5134] set_robust_list(0x5555559c4660, 24) = 0 [pid 5134] chdir("./3") = 0 [pid 5134] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5134] setpgid(0, 0./strace-static-x86_64: Process 5135 attached ) = 0 [pid 5051] <... clone resumed>, child_tidptr=0x5555559c4650) = 5 [pid 5135] set_robust_list(0x5555559c4660, 24) = 0 [pid 5135] chdir("./3" [pid 5134] symlink("/syzcgroup/unified/syz0", "./cgroup") = 0 [pid 5134] symlink("/syzcgroup/cpu/syz0", "./cgroup.cpu") = 0 [pid 5134] symlink("/syzcgroup/net/syz0", "./cgroup.net") = 0 [pid 5135] <... chdir resumed>) = 0 [pid 5135] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5134] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5133] <... memfd_create resumed>) = 3 [pid 5135] <... prctl resumed>) = 0 [pid 5134] <... openat resumed>) = 3 [pid 5133] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5135] setpgid(0, 0 [pid 5133] <... mmap resumed>) = 0x7f05eeb4f000 [pid 5135] <... setpgid resumed>) = 0 [pid 5135] symlink("/syzcgroup/unified/syz5", "./cgroup" [pid 5134] write(3, "1000", 4) = 4 [pid 5134] close(3) = 0 [pid 5134] symlink("/dev/binderfs", "./binderfs" [pid 5135] <... symlink resumed>) = 0 [pid 5134] <... symlink resumed>) = 0 [ 82.085823][ T5108] BTRFS info (device loop3): relocating block group 8519680 flags data|metadata [pid 5134] memfd_create("syzkaller", 0 [pid 5135] symlink("/syzcgroup/cpu/syz5", "./cgroup.cpu") = 0 [pid 5135] symlink("/syzcgroup/net/syz5", "./cgroup.net") = 0 [pid 5135] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5135] write(3, "1000", 4) = 4 [pid 5135] close(3) = 0 [pid 5135] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5134] <... memfd_create resumed>) = 3 [ 82.147502][ T5134] syz-executor895[5134]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5135] memfd_create("syzkaller", 0 [pid 5134] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [pid 5135] <... memfd_create resumed>) = 3 [pid 5135] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [ 82.209872][ T5135] syz-executor895[5135]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5109] <... ioctl resumed>) = 0 [pid 5109] close(3) = 0 [pid 5109] close(4) = 0 [pid 5109] close(5) = 0 [pid 5109] close(6) = -1 EBADF (Bad file descriptor) [pid 5109] close(7) = -1 EBADF (Bad file descriptor) [pid 5109] close(8) = -1 EBADF (Bad file descriptor) [pid 5109] close(9) = -1 EBADF (Bad file descriptor) [pid 5109] close(10) = -1 EBADF (Bad file descriptor) [pid 5109] close(11) = -1 EBADF (Bad file descriptor) [pid 5109] close(12) = -1 EBADF (Bad file descriptor) [pid 5109] close(13) = -1 EBADF (Bad file descriptor) [pid 5109] close(14) = -1 EBADF (Bad file descriptor) [pid 5109] close(15) = -1 EBADF (Bad file descriptor) [pid 5109] close(16) = -1 EBADF (Bad file descriptor) [pid 5109] close(17) = -1 EBADF (Bad file descriptor) [pid 5109] close(18) = -1 EBADF (Bad file descriptor) [pid 5109] close(19) = -1 EBADF (Bad file descriptor) [pid 5109] close(20) = -1 EBADF (Bad file descriptor) [pid 5109] close(21) = -1 EBADF (Bad file descriptor) [pid 5109] close(22) = -1 EBADF (Bad file descriptor) [pid 5133] 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 5109] close(23) = -1 EBADF (Bad file descriptor) [pid 5109] close(24) = -1 EBADF (Bad file descriptor) [pid 5109] close(25) = -1 EBADF (Bad file descriptor) [pid 5109] close(26) = -1 EBADF (Bad file descriptor) [pid 5109] close(27) = -1 EBADF (Bad file descriptor) [pid 5109] close(28) = -1 EBADF (Bad file descriptor) [pid 5109] close(29) = -1 EBADF (Bad file descriptor) [pid 5109] exit_group(0) = ? [pid 5109] +++ exited with 0 +++ [pid 5050] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=36 /* 0.36 s */} --- [pid 5050] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5050] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5050] getdents64(3, 0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5050] umount2("./2/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./2/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5050] unlink("./2/cgroup.cpu") = 0 [pid 5050] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./2/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5050] unlink("./2/binderfs") = 0 [pid 5050] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = 0 [pid 5050] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5050] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5050] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5050] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5050] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5050] close(4) = 0 [pid 5050] rmdir("./2/file0") = 0 [pid 5050] umount2("./2/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./2/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5050] unlink("./2/cgroup") = 0 [pid 5050] umount2("./2/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./2/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5050] unlink("./2/cgroup.net") = 0 [ 82.397838][ T5108] BTRFS info (device loop3): found 5 extents, stage: move data extents [pid 5050] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5050] close(3) = 0 [pid 5050] rmdir("./2") = 0 [pid 5135] 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 5050] mkdir("./3", 0777) = 0 [pid 5050] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5050] ioctl(3, LOOP_CLR_FD) = 0 [pid 5050] close(3) = 0 [pid 5050] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5136 attached [pid 5134] 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 5136] set_robust_list(0x5555559c4660, 24 [pid 5050] <... clone resumed>, child_tidptr=0x5555559c4650) = 5 [pid 5136] <... set_robust_list resumed>) = 0 [pid 5136] chdir("./3") = 0 [pid 5136] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5136] setpgid(0, 0) = 0 [pid 5136] symlink("/syzcgroup/unified/syz3", "./cgroup") = 0 [pid 5136] symlink("/syzcgroup/cpu/syz3", "./cgroup.cpu") = 0 [pid 5136] symlink("/syzcgroup/net/syz3", "./cgroup.net") = 0 [pid 5136] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5136] write(3, "1000", 4) = 4 [pid 5136] close(3) = 0 [pid 5136] symlink("/dev/binderfs", "./binderfs") = 0 [ 82.534528][ T5108] BTRFS info (device loop3): found 1 extents, stage: update data pointers [ 82.569526][ T5136] syz-executor895[5136]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5136] memfd_create("syzkaller", 0) = 3 [pid 5136] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [ 82.643058][ T5108] BTRFS info (device loop3): balance: ended with status: 0 [pid 5108] <... ioctl resumed> => {flags=BTRFS_BALANCE_DATA|BTRFS_BALANCE_METADATA, state=0, data={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}, meta={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}}) = 0 [pid 5108] open(".", O_RDONLY) = 5 [pid 5108] ioctl(5, FITRIM, {start=0, len=4294967296, minlen=0}) = 0 [pid 5108] close(3) = 0 [pid 5108] close(4) = 0 [pid 5108] close(5 [pid 5131] <... write resumed>) = 16777216 [pid 5108] <... close resumed>) = 0 [pid 5131] munmap(0x7f05eeb4f000, 16777216 [pid 5108] close(6) = -1 EBADF (Bad file descriptor) [pid 5108] close(7) = -1 EBADF (Bad file descriptor) [pid 5108] close(8) = -1 EBADF (Bad file descriptor) [pid 5108] close(9) = -1 EBADF (Bad file descriptor) [pid 5108] close(10) = -1 EBADF (Bad file descriptor) [pid 5108] close(11) = -1 EBADF (Bad file descriptor) [pid 5108] close(12) = -1 EBADF (Bad file descriptor) [pid 5108] close(13) = -1 EBADF (Bad file descriptor) [pid 5108] close(14) = -1 EBADF (Bad file descriptor) [pid 5108] close(15) = -1 EBADF (Bad file descriptor) [pid 5108] close(16) = -1 EBADF (Bad file descriptor) [pid 5108] close(17) = -1 EBADF (Bad file descriptor) [pid 5108] close(18) = -1 EBADF (Bad file descriptor) [pid 5108] close(19) = -1 EBADF (Bad file descriptor) [pid 5108] close(20) = -1 EBADF (Bad file descriptor) [pid 5108] close(21) = -1 EBADF (Bad file descriptor) [pid 5108] close(22) = -1 EBADF (Bad file descriptor) [pid 5108] close(23) = -1 EBADF (Bad file descriptor) [pid 5108] close(24) = -1 EBADF (Bad file descriptor) [pid 5108] close(25) = -1 EBADF (Bad file descriptor) [pid 5108] close(26) = -1 EBADF (Bad file descriptor) [pid 5108] close(27) = -1 EBADF (Bad file descriptor) [pid 5108] close(28) = -1 EBADF (Bad file descriptor) [pid 5108] close(29) = -1 EBADF (Bad file descriptor) [pid 5108] exit_group(0) = ? [pid 5131] <... munmap resumed>) = 0 [pid 5108] +++ exited with 0 +++ [pid 5046] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=4, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=57 /* 0.57 s */} --- [pid 5046] umount2("./2", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] openat(AT_FDCWD, "./2", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5046] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5046] getdents64(3, 0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5046] umount2("./2/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] newfstatat(AT_FDCWD, "./2/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] unlink("./2/cgroup.cpu") = 0 [pid 5046] umount2("./2/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5131] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5046] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5131] <... openat resumed>) = 4 [pid 5046] newfstatat(AT_FDCWD, "./2/binderfs", [pid 5131] ioctl(4, LOOP_SET_FD, 3 [pid 5046] <... newfstatat resumed>{st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] unlink("./2/binderfs") = 0 [pid 5046] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5131] <... ioctl resumed>) = 0 [pid 5131] close(3) = 0 [pid 5131] mkdir("./file0", 0777) = 0 [ 82.802769][ T5131] loop4: detected capacity change from 0 to 32768 [ 82.841846][ T5131] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor895 (5131) [pid 5131] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [pid 5131] ioctl(4, LOOP_CLR_FD [pid 5136] 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 5046] <... umount2 resumed>) = 0 [pid 5046] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] newfstatat(AT_FDCWD, "./2/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] umount2("./2/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] openat(AT_FDCWD, "./2/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5046] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5046] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5046] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5046] close(4) = 0 [pid 5046] rmdir("./2/file0") = 0 [pid 5046] umount2("./2/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] newfstatat(AT_FDCWD, "./2/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] unlink("./2/cgroup") = 0 [pid 5046] umount2("./2/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] newfstatat(AT_FDCWD, "./2/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] unlink("./2/cgroup.net") = 0 [pid 5046] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5046] close(3) = 0 [pid 5046] rmdir("./2") = 0 [pid 5046] mkdir("./3", 0777) = 0 [pid 5046] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5046] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5046] close(3) = 0 [pid 5046] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5138 attached [pid 5138] set_robust_list(0x5555559c4660, 24 [pid 5046] <... clone resumed>, child_tidptr=0x5555559c4650) = 5 [pid 5138] <... set_robust_list resumed>) = 0 [pid 5138] chdir("./3") = 0 [pid 5138] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5138] setpgid(0, 0) = 0 [pid 5138] symlink("/syzcgroup/unified/syz1", "./cgroup") = 0 [pid 5138] symlink("/syzcgroup/cpu/syz1", "./cgroup.cpu") = 0 [pid 5138] symlink("/syzcgroup/net/syz1", "./cgroup.net") = 0 [pid 5138] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5138] write(3, "1000", 4) = 4 [pid 5138] close(3) = 0 [pid 5138] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5138] memfd_create("syzkaller", 0 [pid 5133] <... write resumed>) = 16777216 [pid 5133] munmap(0x7f05eeb4f000, 16777216) = 0 [pid 5138] <... memfd_create resumed>) = 3 [pid 5135] <... write resumed>) = 16777216 [pid 5133] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5138] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5135] munmap(0x7f05eeb4f000, 16777216 [pid 5138] <... mmap resumed>) = 0x7f05eeb4f000 [pid 5133] <... openat resumed>) = 4 [ 83.129006][ T5138] syz-executor895[5138]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5133] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5135] <... munmap resumed>) = 0 [pid 5135] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5134] <... write resumed>) = 16777216 [pid 5133] close(3 [pid 5135] <... openat resumed>) = 4 [pid 5133] <... close resumed>) = 0 [pid 5135] ioctl(4, LOOP_SET_FD, 3 [pid 5134] munmap(0x7f05eeb4f000, 16777216 [ 83.188032][ T5133] loop2: detected capacity change from 0 to 32768 [pid 5133] mkdir("./file0", 0777 [pid 5135] <... ioctl resumed>) = 0 [pid 5133] <... mkdir resumed>) = 0 [pid 5133] mount("/dev/loop2", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5135] close(3) = 0 [pid 5135] mkdir("./file0", 0777 [pid 5134] <... munmap resumed>) = 0 [pid 5135] <... mkdir resumed>) = 0 [pid 5134] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5135] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 83.239329][ T5135] loop5: detected capacity change from 0 to 32768 [ 83.249533][ T5133] BTRFS: device fsid e417788f-7a09-42b2-9266-8ddc5d5d35d2 devid 1 transid 8 /dev/loop2 scanned by syz-executor895 (5133) [pid 5134] <... openat resumed>) = 4 [pid 5134] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5134] close(3) = 0 [pid 5134] mkdir("./file0", 0777) = 0 [ 83.288210][ T5134] loop0: detected capacity change from 0 to 32768 [ 83.317520][ T5135] BTRFS info (device loop5): using xxhash64 (xxhash64-generic) checksum algorithm [pid 5134] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [pid 5134] ioctl(4, LOOP_CLR_FD [ 83.330971][ T5134] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor895 (5134) [ 83.343537][ T5135] BTRFS info (device loop5): force clearing of disk cache [ 83.366966][ T5135] BTRFS info (device loop5): setting nodatasum [ 83.373540][ T5135] BTRFS info (device loop5): allowing degraded mounts [ 83.381175][ T5135] BTRFS info (device loop5): enabling disk space caching [pid 5138] 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 5136] <... write resumed>) = 16777216 [ 83.407016][ T5135] BTRFS info (device loop5): disk space caching is enabled [pid 5136] munmap(0x7f05eeb4f000, 16777216) = 0 [pid 5136] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5136] ioctl(4, LOOP_SET_FD, 3 [pid 5131] <... ioctl resumed>) = 0 [pid 5131] close(4) = 0 [pid 5131] open("./file0", O_RDONLY) = 3 [pid 5136] <... ioctl resumed>) = 0 [pid 5131] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5136] close(3) = 0 [pid 5131] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5136] mkdir("./file0", 0777 [pid 5131] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0} [pid 5136] <... mkdir resumed>) = 0 [pid 5131] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5136] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5131] open(".", O_RDONLY) = 4 [pid 5131] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0}) = 0 [pid 5131] close(3) = 0 [pid 5131] close(4) = 0 [pid 5131] close(5) = -1 EBADF (Bad file descriptor) [pid 5131] close(6) = -1 EBADF (Bad file descriptor) [pid 5131] close(7) = -1 EBADF (Bad file descriptor) [pid 5131] close(8 [pid 5136] <... mount resumed>) = -1 EEXIST (File exists) [pid 5131] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5131] close(9) = -1 EBADF (Bad file descriptor) [pid 5131] close(10) = -1 EBADF (Bad file descriptor) [pid 5131] close(11) = -1 EBADF (Bad file descriptor) [pid 5131] close(12) = -1 EBADF (Bad file descriptor) [pid 5131] close(13) = -1 EBADF (Bad file descriptor) [pid 5131] close(14) = -1 EBADF (Bad file descriptor) [pid 5131] close(15) = -1 EBADF (Bad file descriptor) [pid 5131] close(16) = -1 EBADF (Bad file descriptor) [pid 5131] close(17 [pid 5136] ioctl(4, LOOP_CLR_FD [pid 5131] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5131] close(18) = -1 EBADF (Bad file descriptor) [pid 5131] close(19) = -1 EBADF (Bad file descriptor) [pid 5131] close(20) = -1 EBADF (Bad file descriptor) [pid 5131] close(21) = -1 EBADF (Bad file descriptor) [pid 5131] close(22) = -1 EBADF (Bad file descriptor) [ 83.493978][ T5136] loop3: detected capacity change from 0 to 32768 [ 83.516374][ T5136] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor895 (5136) [pid 5131] close(23) = -1 EBADF (Bad file descriptor) [pid 5131] close(24) = -1 EBADF (Bad file descriptor) [pid 5131] close(25) = -1 EBADF (Bad file descriptor) [pid 5131] close(26) = -1 EBADF (Bad file descriptor) [pid 5131] close(27) = -1 EBADF (Bad file descriptor) [pid 5131] close(28) = -1 EBADF (Bad file descriptor) [pid 5131] close(29) = -1 EBADF (Bad file descriptor) [pid 5131] exit_group(0) = ? [pid 5131] +++ exited with 0 +++ [pid 5052] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=44 /* 0.44 s */} --- [pid 5052] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5052] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5052] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5052] getdents64(3, 0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5052] umount2("./3/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] newfstatat(AT_FDCWD, "./3/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] unlink("./3/cgroup.cpu") = 0 [pid 5052] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] unlink("./3/binderfs") = 0 [pid 5052] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5134] <... ioctl resumed>) = 0 [pid 5052] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5052] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5052] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5134] close(4 [pid 5052] close(4) = 0 [pid 5052] rmdir("./3/file0") = 0 [pid 5052] umount2("./3/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5052] newfstatat(AT_FDCWD, "./3/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] unlink("./3/cgroup") = 0 [pid 5052] umount2("./3/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5134] <... close resumed>) = 0 [pid 5052] <... umount2 resumed>) = -1 EINVAL (Invalid argument) [pid 5134] open("./file0", O_RDONLY [pid 5052] newfstatat(AT_FDCWD, "./3/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5052] unlink("./3/cgroup.net" [pid 5134] <... open resumed>) = 3 [pid 5052] <... unlink resumed>) = 0 [pid 5134] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5052] getdents64(3, [pid 5134] <... ioctl resumed>) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5134] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0}) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5052] <... getdents64 resumed>0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5052] close(3 [pid 5134] open(".", O_RDONLY [pid 5052] <... close resumed>) = 0 [pid 5052] rmdir("./3" [pid 5134] <... open resumed>) = 4 [pid 5052] <... rmdir resumed>) = 0 [ 83.606532][ T5135] BTRFS info (device loop5): enabling ssd optimizations [ 83.639058][ T5135] BTRFS info (device loop5): auto enabling async discard [pid 5134] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0}) = 0 [pid 5134] close(3 [pid 5052] mkdir("./4", 0777 [pid 5134] <... close resumed>) = 0 [pid 5134] close(4) = 0 [pid 5052] <... mkdir resumed>) = 0 [pid 5134] close(5 [pid 5052] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5134] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5134] close(6 [pid 5052] <... openat resumed>) = 3 [pid 5134] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5134] close(7 [pid 5052] ioctl(3, LOOP_CLR_FD [pid 5134] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5134] close(8 [pid 5052] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5134] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5052] close(3 [pid 5134] close(9) = -1 EBADF (Bad file descriptor) [pid 5052] <... close resumed>) = 0 [pid 5052] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5154 attached [pid 5154] set_robust_list(0x5555559c4660, 24 [pid 5052] <... clone resumed>, child_tidptr=0x5555559c4650) = 6 [pid 5154] <... set_robust_list resumed>) = 0 [pid 5154] chdir("./4") = 0 [pid 5154] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5154] setpgid(0, 0) = 0 [pid 5154] symlink("/syzcgroup/unified/syz4", "./cgroup") = 0 [pid 5134] close(10 [pid 5154] symlink("/syzcgroup/cpu/syz4", "./cgroup.cpu" [pid 5134] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5134] close(11) = -1 EBADF (Bad file descriptor) [pid 5134] close(12) = -1 EBADF (Bad file descriptor) [pid 5134] close(13) = -1 EBADF (Bad file descriptor) [pid 5134] close(14) = -1 EBADF (Bad file descriptor) [pid 5134] close(15) = -1 EBADF (Bad file descriptor) [pid 5134] close(16) = -1 EBADF (Bad file descriptor) [pid 5134] close(17) = -1 EBADF (Bad file descriptor) [pid 5134] close(18) = -1 EBADF (Bad file descriptor) [pid 5134] close(19) = -1 EBADF (Bad file descriptor) [pid 5134] close(20) = -1 EBADF (Bad file descriptor) [pid 5134] close(21) = -1 EBADF (Bad file descriptor) [pid 5134] close(22) = -1 EBADF (Bad file descriptor) [pid 5134] close(23) = -1 EBADF (Bad file descriptor) [pid 5134] close(24) = -1 EBADF (Bad file descriptor) [pid 5154] <... symlink resumed>) = 0 [pid 5154] symlink("/syzcgroup/net/syz4", "./cgroup.net" [pid 5134] close(25) = -1 EBADF (Bad file descriptor) [pid 5134] close(26 [pid 5154] <... symlink resumed>) = 0 [pid 5134] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5154] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [ 83.694987][ T5135] BTRFS info (device loop5): rebuilding free space tree [pid 5134] close(27 [pid 5154] <... openat resumed>) = 3 [pid 5134] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5154] write(3, "1000", 4 [pid 5134] close(28 [pid 5154] <... write resumed>) = 4 [pid 5134] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5154] close(3 [pid 5134] close(29 [pid 5154] <... close resumed>) = 0 [pid 5134] <... close resumed>) = -1 EBADF (Bad file descriptor) [pid 5154] symlink("/dev/binderfs", "./binderfs" [pid 5134] exit_group(0) = ? [pid 5154] <... symlink resumed>) = 0 [pid 5134] +++ exited with 0 +++ [ 83.764443][ T5154] syz-executor895[5154]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [ 83.764915][ T5135] BTRFS info (device loop5): disabling free space tree [pid 5154] memfd_create("syzkaller", 0) = 3 [pid 5045] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=38 /* 0.38 s */} --- [pid 5154] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5045] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY [pid 5154] <... mmap resumed>) = 0x7f05eeb4f000 [pid 5045] <... openat resumed>) = 3 [pid 5045] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5045] getdents64(3, 0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5045] umount2("./3/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./3/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] unlink("./3/cgroup.cpu") = 0 [pid 5045] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] unlink("./3/binderfs") = 0 [pid 5045] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5045] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5045] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5045] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5045] close(4) = 0 [pid 5045] rmdir("./3/file0") = 0 [pid 5045] umount2("./3/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./3/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] unlink("./3/cgroup") = 0 [pid 5045] umount2("./3/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5045] newfstatat(AT_FDCWD, "./3/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5045] unlink("./3/cgroup.net") = 0 [pid 5045] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5045] close(3) = 0 [pid 5045] rmdir("./3") = 0 [pid 5045] mkdir("./4", 0777) = 0 [pid 5045] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5045] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5045] close(3) = 0 [pid 5045] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5138] <... write resumed>) = 16777216 [ 83.807390][ T5135] BTRFS info (device loop5): clearing compat-ro feature flag for FREE_SPACE_TREE (0x1) [pid 5138] munmap(0x7f05eeb4f000, 16777216./strace-static-x86_64: Process 5155 attached ) = 0 [pid 5045] <... clone resumed>, child_tidptr=0x5555559c4650) = 6 [pid 5138] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5138] ioctl(4, LOOP_SET_FD, 3 [pid 5155] set_robust_list(0x5555559c4660, 24) = 0 [pid 5155] chdir("./4") = 0 [pid 5155] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5155] setpgid(0, 0) = 0 [pid 5155] symlink("/syzcgroup/unified/syz0", "./cgroup") = 0 [pid 5155] symlink("/syzcgroup/cpu/syz0", "./cgroup.cpu" [pid 5138] <... ioctl resumed>) = 0 [pid 5155] <... symlink resumed>) = 0 [pid 5138] close(3 [pid 5155] symlink("/syzcgroup/net/syz0", "./cgroup.net" [pid 5138] <... close resumed>) = 0 [pid 5135] <... mount resumed>) = 0 [pid 5133] <... mount resumed>) = 0 [pid 5155] <... symlink resumed>) = 0 [pid 5138] mkdir("./file0", 0777 [pid 5135] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5133] openat(AT_FDCWD, "./file0", O_RDONLY|O_DIRECTORY [pid 5155] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5138] <... mkdir resumed>) = 0 [pid 5135] <... openat resumed>) = 3 [pid 5155] <... openat resumed>) = 3 [pid 5135] chdir("./file0" [pid 5133] <... openat resumed>) = 3 [pid 5135] <... chdir resumed>) = 0 [pid 5133] chdir("./file0" [pid 5135] ioctl(4, LOOP_CLR_FD [pid 5155] write(3, "1000", 4 [pid 5135] <... ioctl resumed>) = 0 [pid 5133] <... chdir resumed>) = 0 [pid 5155] <... write resumed>) = 4 [pid 5138] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5135] close(4 [pid 5133] ioctl(4, LOOP_CLR_FD [pid 5155] close(3 [pid 5135] <... close resumed>) = 0 [pid 5155] <... close resumed>) = 0 [pid 5135] open("./file0", O_RDONLY [pid 5155] symlink("/dev/binderfs", "./binderfs" [pid 5135] <... open resumed>) = 4 [pid 5155] <... symlink resumed>) = 0 [ 83.859955][ T5135] BTRFS info (device loop5): clearing compat-ro feature flag for FREE_SPACE_TREE_VALID (0x2) [ 83.874062][ T5138] loop1: detected capacity change from 0 to 32768 [ 83.893642][ T5135] BTRFS info (device loop5): checking UUID tree [pid 5135] ioctl(4, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5155] memfd_create("syzkaller", 0 [pid 5135] <... ioctl resumed>) = 0 [pid 5135] ioctl(4, BTRFS_IOC_BALANCE_V2, {flags=BTRFS_BALANCE_DATA|BTRFS_BALANCE_METADATA, data={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}, meta={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}} [pid 5138] <... mount resumed>) = -1 EEXIST (File exists) [ 83.931329][ T5138] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor895 (5138) [ 83.943601][ T5155] syz-executor895[5155]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [ 83.960421][ T5135] BTRFS info (device loop5): balance: start -d -m [pid 5138] ioctl(4, LOOP_CLR_FD [pid 5155] <... memfd_create resumed>) = 3 [pid 5154] 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 5155] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [ 83.983268][ T5135] BTRFS info (device loop5): relocating block group 6881280 flags data|metadata [pid 5136] <... ioctl resumed>) = 0 [pid 5136] close(4) = 0 [pid 5136] open("./file0", O_RDONLY) = 3 [pid 5136] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5136] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0}) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5136] open(".", O_RDONLY) = 4 [pid 5136] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0}) = 0 [pid 5136] close(3) = 0 [pid 5136] close(4) = 0 [pid 5136] close(5) = -1 EBADF (Bad file descriptor) [pid 5136] close(6) = -1 EBADF (Bad file descriptor) [pid 5136] close(7) = -1 EBADF (Bad file descriptor) [pid 5136] close(8) = -1 EBADF (Bad file descriptor) [pid 5136] close(9) = -1 EBADF (Bad file descriptor) [pid 5136] close(10) = -1 EBADF (Bad file descriptor) [pid 5136] close(11) = -1 EBADF (Bad file descriptor) [pid 5136] close(12) = -1 EBADF (Bad file descriptor) [pid 5136] close(13) = -1 EBADF (Bad file descriptor) [pid 5136] close(14) = -1 EBADF (Bad file descriptor) [pid 5136] close(15) = -1 EBADF (Bad file descriptor) [pid 5136] close(16) = -1 EBADF (Bad file descriptor) [pid 5136] close(17) = -1 EBADF (Bad file descriptor) [pid 5136] close(18) = -1 EBADF (Bad file descriptor) [pid 5136] close(19) = -1 EBADF (Bad file descriptor) [pid 5136] close(20) = -1 EBADF (Bad file descriptor) [pid 5136] close(21) = -1 EBADF (Bad file descriptor) [pid 5136] close(22) = -1 EBADF (Bad file descriptor) [pid 5136] close(23) = -1 EBADF (Bad file descriptor) [pid 5136] close(24) = -1 EBADF (Bad file descriptor) [pid 5136] close(25) = -1 EBADF (Bad file descriptor) [ 84.096852][ T5135] BTRFS info (device loop5): relocating block group 5242880 flags data|metadata [pid 5136] close(26) = -1 EBADF (Bad file descriptor) [pid 5136] close(27) = -1 EBADF (Bad file descriptor) [pid 5136] close(28) = -1 EBADF (Bad file descriptor) [pid 5136] close(29) = -1 EBADF (Bad file descriptor) [pid 5136] exit_group(0) = ? [pid 5136] +++ exited with 0 +++ [pid 5050] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=37 /* 0.37 s */} --- [pid 5050] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5050] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5050] getdents64(3, 0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5050] umount2("./3/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./3/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5050] unlink("./3/cgroup.cpu") = 0 [pid 5050] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5050] unlink("./3/binderfs") = 0 [pid 5050] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5050] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5050] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5050] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5050] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5050] close(4) = 0 [pid 5050] rmdir("./3/file0") = 0 [pid 5050] umount2("./3/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./3/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5050] unlink("./3/cgroup") = 0 [pid 5050] umount2("./3/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5050] newfstatat(AT_FDCWD, "./3/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5050] unlink("./3/cgroup.net") = 0 [pid 5050] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5050] close(3) = 0 [pid 5050] rmdir("./3") = 0 [pid 5050] mkdir("./4", 0777) = 0 [pid 5050] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5050] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5050] close(3) = 0 [pid 5050] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5158 attached [pid 5158] set_robust_list(0x5555559c4660, 24) = 0 [pid 5158] chdir("./4") = 0 [pid 5158] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5050] <... clone resumed>, child_tidptr=0x5555559c4650) = 6 [pid 5158] <... prctl resumed>) = 0 [pid 5158] setpgid(0, 0) = 0 [pid 5158] symlink("/syzcgroup/unified/syz3", "./cgroup") = 0 [pid 5158] symlink("/syzcgroup/cpu/syz3", "./cgroup.cpu") = 0 [pid 5158] symlink("/syzcgroup/net/syz3", "./cgroup.net") = 0 [pid 5158] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5158] write(3, "1000", 4) = 4 [pid 5158] close(3) = 0 [pid 5158] symlink("/dev/binderfs", "./binderfs") = 0 [pid 5158] memfd_create("syzkaller", 0 [pid 5155] 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 5158] <... memfd_create resumed>) = 3 [pid 5158] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [ 84.321239][ T5158] syz-executor895[5158]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [ 84.340691][ T5135] BTRFS info (device loop5): found 9 extents, stage: move data extents [ 84.480494][ T5135] BTRFS info (device loop5): found 1 extents, stage: update data pointers [ 84.560206][ T5135] BTRFS info (device loop5): balance: ended with status: 0 [pid 5138] <... ioctl resumed>) = 0 [pid 5135] <... ioctl resumed> => {flags=BTRFS_BALANCE_DATA|BTRFS_BALANCE_METADATA, state=0, data={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}, meta={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}}) = 0 [pid 5133] <... ioctl resumed>) = 0 [pid 5138] close(4 [pid 5135] open(".", O_RDONLY [pid 5133] close(4) = 0 [pid 5133] open("./file0", O_RDONLY) = 4 [pid 5133] ioctl(4, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 5133] ioctl(4, BTRFS_IOC_BALANCE_V2, {flags=BTRFS_BALANCE_DATA|BTRFS_BALANCE_METADATA, data={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}, meta={profiles=0, usage=0, devid=makedev(0, 0), pstart=0, pend=0, vstart=0, vend=0, target=0, flags=0}} [pid 5135] <... open resumed>) = 5 [pid 5135] ioctl(5, FITRIM, {start=0, len=4294967296, minlen=0} [pid 5138] <... close resumed>) = 0 [pid 5138] open("./file0", O_RDONLY) = 3 [pid 5138] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5138] ioctl(3, BTRFS_IOC_BALANCE_V2, {flags=0}) = -1 ENOTTY (Inappropriate ioctl for device) [pid 5158] 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 5138] open(".", O_RDONLY) = 4 [pid 5138] ioctl(4, FITRIM, {start=0, len=4294967296, minlen=0}) = 0 [pid 5138] close(3) = 0 [pid 5138] close(4) = 0 [pid 5138] close(5) = -1 EBADF (Bad file descriptor) [pid 5138] close(6) = -1 EBADF (Bad file descriptor) [pid 5138] close(7) = -1 EBADF (Bad file descriptor) [pid 5138] close(8) = -1 EBADF (Bad file descriptor) [pid 5138] close(9) = -1 EBADF (Bad file descriptor) [pid 5138] close(10) = -1 EBADF (Bad file descriptor) [pid 5138] close(11) = -1 EBADF (Bad file descriptor) [pid 5138] close(12) = -1 EBADF (Bad file descriptor) [pid 5138] close(13) = -1 EBADF (Bad file descriptor) [pid 5138] close(14) = -1 EBADF (Bad file descriptor) [pid 5138] close(15) = -1 EBADF (Bad file descriptor) [pid 5138] close(16) = -1 EBADF (Bad file descriptor) [pid 5138] close(17) = -1 EBADF (Bad file descriptor) [pid 5138] close(18) = -1 EBADF (Bad file descriptor) [pid 5138] close(19) = -1 EBADF (Bad file descriptor) [pid 5138] close(20) = -1 EBADF (Bad file descriptor) [pid 5138] close(21) = -1 EBADF (Bad file descriptor) [pid 5138] close(22) = -1 EBADF (Bad file descriptor) [pid 5138] close(23) = -1 EBADF (Bad file descriptor) [pid 5138] close(24) = -1 EBADF (Bad file descriptor) [pid 5138] close(25) = -1 EBADF (Bad file descriptor) [pid 5138] close(26) = -1 EBADF (Bad file descriptor) [pid 5138] close(27) = -1 EBADF (Bad file descriptor) [pid 5138] close(28) = -1 EBADF (Bad file descriptor) [pid 5138] close(29) = -1 EBADF (Bad file descriptor) [pid 5138] exit_group(0) = ? [pid 5138] +++ exited with 0 +++ [pid 5046] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=42 /* 0.42 s */} --- [pid 5046] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5046] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5046] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5046] getdents64(3, 0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5046] umount2("./3/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] newfstatat(AT_FDCWD, "./3/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] unlink("./3/cgroup.cpu") = 0 [pid 5046] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [ 84.704657][ T5133] BTRFS info (device loop5): balance: start -d -m [ 84.730554][ T5133] BTRFS info (device loop5): relocating block group 8519680 flags data|metadata [pid 5046] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] unlink("./3/binderfs") = 0 [pid 5046] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] newfstatat(AT_FDCWD, "./3/file0", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] openat(AT_FDCWD, "./3/file0", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 4 [pid 5046] newfstatat(4, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [pid 5046] getdents64(4, 0x5555559cd730 /* 2 entries */, 32768) = 48 [pid 5046] getdents64(4, 0x5555559cd730 /* 0 entries */, 32768) = 0 [pid 5046] close(4) = 0 [pid 5046] rmdir("./3/file0") = 0 [pid 5046] umount2("./3/cgroup", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] newfstatat(AT_FDCWD, "./3/cgroup", {st_mode=S_IFLNK|0777, st_size=23, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] unlink("./3/cgroup") = 0 [pid 5046] umount2("./3/cgroup.net", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5046] newfstatat(AT_FDCWD, "./3/cgroup.net", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5046] unlink("./3/cgroup.net") = 0 [pid 5046] getdents64(3, 0x5555559c56f0 /* 0 entries */, 32768) = 0 [pid 5046] close(3) = 0 [pid 5046] rmdir("./3") = 0 [pid 5154] <... write resumed>) = 16777216 [pid 5046] mkdir("./4", 0777) = 0 [pid 5046] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5046] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5046] close(3) = 0 [ 84.786274][ T11] BTRFS warning (device loop5): Skipping commit of aborted transaction. [ 84.819248][ T11] ------------[ cut here ]------------ [ 84.824789][ T11] BTRFS: Transaction aborted (error -28) [pid 5046] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5159 attached [pid 5135] <... ioctl resumed>) = 0 [pid 5135] close(3) = 0 [pid 5135] close(4) = 0 [pid 5135] close(5) = 0 [pid 5135] close(6) = -1 EBADF (Bad file descriptor) [pid 5135] close(7) = -1 EBADF (Bad file descriptor) [pid 5135] close(8) = -1 EBADF (Bad file descriptor) [pid 5135] close(9) = -1 EBADF (Bad file descriptor) [pid 5135] close(10) = -1 EBADF (Bad file descriptor) [pid 5135] close(11) = -1 EBADF (Bad file descriptor) [pid 5135] close(12) = -1 EBADF (Bad file descriptor) [pid 5135] close(13) = -1 EBADF (Bad file descriptor) [pid 5135] close(14) = -1 EBADF (Bad file descriptor) [pid 5135] close(15) = -1 EBADF (Bad file descriptor) [pid 5135] close(16) = -1 EBADF (Bad file descriptor) [pid 5135] close(17) = -1 EBADF (Bad file descriptor) [pid 5135] close(18) = -1 EBADF (Bad file descriptor) [pid 5135] close(19) = -1 EBADF (Bad file descriptor) [pid 5135] close(20) = -1 EBADF (Bad file descriptor) [pid 5135] close(21) = -1 EBADF (Bad file descriptor) [pid 5135] close(22) = -1 EBADF (Bad file descriptor) [pid 5135] close(23) = -1 EBADF (Bad file descriptor) [pid 5135] close(24) = -1 EBADF (Bad file descriptor) [pid 5135] close(25) = -1 EBADF (Bad file descriptor) [pid 5135] close(26) = -1 EBADF (Bad file descriptor) [pid 5135] close(27) = -1 EBADF (Bad file descriptor) [pid 5135] close(28) = -1 EBADF (Bad file descriptor) [pid 5135] close(29) = -1 EBADF (Bad file descriptor) [pid 5135] exit_group(0) = ? [pid 5135] +++ exited with 0 +++ [pid 5046] <... clone resumed>, child_tidptr=0x5555559c4650) = 6 [pid 5051] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5, si_uid=0, si_status=0, si_utime=0, si_stime=50 /* 0.50 s */} --- [pid 5051] umount2("./3", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] openat(AT_FDCWD, "./3", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 3 [pid 5051] newfstatat(3, "", {st_mode=S_IFDIR|0700, st_size=4096, ...}, AT_EMPTY_PATH) = 0 [ 84.836158][ T11] WARNING: CPU: 0 PID: 11 at fs/btrfs/transaction.c:1999 btrfs_commit_transaction+0x31f3/0x3ed0 [ 84.846730][ T11] Modules linked in: [ 84.850751][ T11] CPU: 0 PID: 11 Comm: kworker/u4:0 Not tainted 6.5.0-rc6-next-20230816-syzkaller #0 [ 84.861260][ T11] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 [ 84.873492][ T11] Workqueue: events_unbound btrfs_async_reclaim_metadata_space [pid 5051] getdents64(3, 0x5555559c56f0 /* 7 entries */, 32768) = 208 [pid 5051] umount2("./3/cgroup.cpu", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] newfstatat(AT_FDCWD, "./3/cgroup.cpu", {st_mode=S_IFLNK|0777, st_size=19, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] unlink("./3/cgroup.cpu") = 0 [pid 5051] umount2("./3/binderfs", MNT_DETACH|UMOUNT_NOFOLLOW) = -1 EINVAL (Invalid argument) [pid 5051] newfstatat(AT_FDCWD, "./3/binderfs", {st_mode=S_IFLNK|0777, st_size=13, ...}, AT_SYMLINK_NOFOLLOW) = 0 [pid 5051] unlink("./3/binderfs") = 0 [ 84.881189][ T11] RIP: 0010:btrfs_commit_transaction+0x31f3/0x3ed0 [ 84.887892][ T11] Code: fe be 02 00 00 00 4c 89 f7 e8 19 72 ad 00 e9 45 d3 ff ff e8 2f 80 11 fe 8b b5 18 ff ff ff 48 c7 c7 a0 6a d6 8a e8 2d 90 d7 fd <0f> 0b e9 75 f5 ff ff e8 11 80 11 fe f0 83 44 24 fc 00 49 8d bc 24 [ 84.908304][ T11] RSP: 0018:ffffc90000107968 EFLAGS: 00010286 [ 84.914415][ T11] RAX: 0000000000000000 RBX: ffff88802a8d1000 RCX: 0000000000000000 [ 84.922471][ T11] RDX: ffff88801526bb80 RSI: ffffffff814dc276 RDI: 0000000000000001 [pid 5051] umount2("./3/file0", MNT_DETACH|UMOUNT_NOFOLLOW [pid 5159] set_robust_list(0x5555559c4660, 24) = 0 [pid 5159] chdir("./4") = 0 [pid 5159] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5159] setpgid(0, 0) = 0 [pid 5159] symlink("/syzcgroup/unified/syz1", "./cgroup") = 0 [pid 5159] symlink("/syzcgroup/cpu/syz1", "./cgroup.cpu") = 0 [pid 5159] symlink("/syzcgroup/net/syz1", "./cgroup.net") = 0 [pid 5159] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5159] write(3, "1000", 4) = 4 [pid 5159] close(3) = 0 [pid 5159] symlink("/dev/binderfs", "./binderfs") = 0 [ 84.930623][ T11] RBP: ffffc90000107ad8 R08: 0000000000000001 R09: 0000000000000000 [ 84.939086][ T11] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 [ 84.947149][ T11] R13: ffff888073ced528 R14: ffff888073ced6d0 R15: ffff888027494000 [ 84.955155][ T11] FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 84.965921][ T11] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 84.969377][ T5159] syz-executor895[5159]: memfd_create() called without MFD_EXEC or MFD_NOEXEC_SEAL set [pid 5159] memfd_create("syzkaller", 0) = 3 [pid 5159] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f05eeb4f000 [ 84.972667][ T11] CR2: 00005555559c4650 CR3: 0000000078eb1000 CR4: 00000000003506f0 [ 84.990382][ T11] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 84.998425][ T11] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 85.006461][ T11] Call Trace: [ 85.009810][ T11] [ 85.013281][ T11] ? show_regs+0x8f/0xa0 [ 85.017606][ T11] ? __warn+0xe6/0x380 [ 85.021714][ T11] ? preempt_schedule_notrace+0x5f/0xe0 [ 85.027352][ T11] ? btrfs_commit_transaction+0x31f3/0x3ed0 [ 85.033281][ T11] ? report_bug+0x3bc/0x580 [ 85.037938][ T11] ? handle_bug+0x3c/0x70 [ 85.042301][ T11] ? exc_invalid_op+0x17/0x40 [ 85.047057][ T11] ? asm_exc_invalid_op+0x1a/0x20 [ 85.052130][ T11] ? __warn_printk+0x1a6/0x350 [ 85.056965][ T11] ? btrfs_commit_transaction+0x31f3/0x3ed0 [ 85.062892][ T11] ? btrfs_commit_transaction+0x31f3/0x3ed0 [ 85.069062][ T11] ? create_pending_snapshots+0x2d0/0x2d0 [ 85.074820][ T11] ? start_transaction+0x2a2/0x14d0 [ 85.080104][ T11] flush_space+0x1e7/0xe30 [ 85.084558][ T11] ? reacquire_held_locks+0x4b0/0x4b0 [ 85.090075][ T11] ? do_raw_spin_lock+0x12e/0x2b0 [ 85.095139][ T11] ? rcu_is_watching+0x12/0xb0 [ 85.100069][ T11] ? lock_release+0x4bf/0x680 [ 85.104871][ T11] ? btrfs_space_info_update_bytes_may_use+0x410/0x410 [ 85.111824][ T11] ? reacquire_held_locks+0x4b0/0x4b0 [ 85.117710][ T11] ? _raw_spin_unlock+0x28/0x40 [ 85.122595][ T11] ? btrfs_get_alloc_profile+0x2da/0x850 [ 85.128337][ T11] btrfs_async_reclaim_metadata_space+0x51c/0xa90 [ 85.134806][ T11] process_one_work+0x887/0x15d0 [ 85.140025][ T11] ? lock_sync+0x190/0x190 [ 85.144825][ T11] ? init_worker_pool+0x770/0x770 [ 85.150164][ T11] ? assign_work+0x1a0/0x240 [ 85.155226][ T11] worker_thread+0x8bb/0x1290 [ 85.159983][ T11] ? process_one_work+0x15d0/0x15d0 [ 85.165466][ T11] kthread+0x33a/0x430 [ 85.169746][ T11] ? kthread_complete_and_exit+0x40/0x40 [ 85.175419][ T11] ret_from_fork+0x45/0x80 [ 85.179913][ T11] ? kthread_complete_and_exit+0x40/0x40 [ 85.185677][ T11] ret_from_fork_asm+0x11/0x20 [ 85.190852][ T11] [ 85.193988][ T11] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 85.201296][ T11] CPU: 0 PID: 11 Comm: kworker/u4:0 Not tainted 6.5.0-rc6-next-20230816-syzkaller #0 [ 85.210788][ T11] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023 [ 85.220954][ T11] Workqueue: events_unbound btrfs_async_reclaim_metadata_space [ 85.228560][ T11] Call Trace: [ 85.232026][ T11] [pid 5158] <... write resumed>) = 16777216 [pid 5159] 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 5158] munmap(0x7f05eeb4f000, 16777216 [pid 5154] munmap(0x7f05eeb4f000, 16777216 [pid 5158] <... munmap resumed>) = 0 [pid 5154] <... munmap resumed>) = 0 [ 85.234976][ T11] dump_stack_lvl+0xd9/0x1b0 [ 85.239608][ T11] panic+0x6a6/0x750 [ 85.243537][ T11] ? panic_smp_self_stop+0xa0/0xa0 [ 85.248780][ T11] ? btrfs_commit_transaction+0x31f3/0x3ed0 [ 85.254711][ T11] check_panic_on_warn+0xab/0xb0 [ 85.259694][ T11] __warn+0xf2/0x380 [ 85.266066][ T11] ? preempt_schedule_notrace+0x5f/0xe0 [ 85.271953][ T11] ? btrfs_commit_transaction+0x31f3/0x3ed0 [ 85.277898][ T11] report_bug+0x3bc/0x580 [ 85.282274][ T11] handle_bug+0x3c/0x70 [pid 5154] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5154] ioctl(4, LOOP_SET_FD, 3) = 0 [ 85.286479][ T11] exc_invalid_op+0x17/0x40 [ 85.291069][ T11] asm_exc_invalid_op+0x1a/0x20 [ 85.295800][ T5154] loop4: detected capacity change from 0 to 32768 [ 85.302381][ T11] RIP: 0010:btrfs_commit_transaction+0x31f3/0x3ed0 [ 85.308914][ T11] Code: fe be 02 00 00 00 4c 89 f7 e8 19 72 ad 00 e9 45 d3 ff ff e8 2f 80 11 fe 8b b5 18 ff ff ff 48 c7 c7 a0 6a d6 8a e8 2d 90 d7 fd <0f> 0b e9 75 f5 ff ff e8 11 80 11 fe f0 83 44 24 fc 00 49 8d bc 24 [ 85.328725][ T11] RSP: 0018:ffffc90000107968 EFLAGS: 00010286 [ 85.334891][ T11] RAX: 0000000000000000 RBX: ffff88802a8d1000 RCX: 0000000000000000 [ 85.343063][ T11] RDX: ffff88801526bb80 RSI: ffffffff814dc276 RDI: 0000000000000001 [ 85.351156][ T11] RBP: ffffc90000107ad8 R08: 0000000000000001 R09: 0000000000000000 [ 85.359235][ T11] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 [ 85.367384][ T11] R13: ffff888073ced528 R14: ffff888073ced6d0 R15: ffff888027494000 [ 85.375444][ T11] ? __warn_printk+0x1a6/0x350 [ 85.380333][ T11] ? btrfs_commit_transaction+0x31f3/0x3ed0 [ 85.386278][ T11] ? create_pending_snapshots+0x2d0/0x2d0 [ 85.392050][ T11] ? start_transaction+0x2a2/0x14d0 [ 85.397287][ T11] flush_space+0x1e7/0xe30 [ 85.401733][ T11] ? reacquire_held_locks+0x4b0/0x4b0 [ 85.407323][ T11] ? do_raw_spin_lock+0x12e/0x2b0 [ 85.412632][ T11] ? rcu_is_watching+0x12/0xb0 [ 85.417407][ T11] ? lock_release+0x4bf/0x680 [ 85.422525][ T11] ? btrfs_space_info_update_bytes_may_use+0x410/0x410 [ 85.429401][ T11] ? reacquire_held_locks+0x4b0/0x4b0 [ 85.434793][ T11] ? _raw_spin_unlock+0x28/0x40 [ 85.439742][ T11] ? btrfs_get_alloc_profile+0x2da/0x850 [ 85.445403][ T11] btrfs_async_reclaim_metadata_space+0x51c/0xa90 [ 85.451850][ T11] process_one_work+0x887/0x15d0 [ 85.456804][ T11] ? lock_sync+0x190/0x190 [ 85.461236][ T11] ? init_worker_pool+0x770/0x770 [ 85.466367][ T11] ? assign_work+0x1a0/0x240 [ 85.470970][ T11] worker_thread+0x8bb/0x1290 [ 85.475712][ T11] ? process_one_work+0x15d0/0x15d0 [ 85.481103][ T11] kthread+0x33a/0x430 [ 85.485182][ T11] ? kthread_complete_and_exit+0x40/0x40 [ 85.490826][ T11] ret_from_fork+0x45/0x80 [ 85.495255][ T11] ? kthread_complete_and_exit+0x40/0x40 [ 85.500899][ T11] ret_from_fork_asm+0x11/0x20 [ 85.505686][ T11] [ 85.509417][ T11] Kernel Offset: disabled [ 85.513772][ T11] Rebooting in 86400 seconds..