./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor544810300 <...> 686] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5701] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5701] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5701] open("./file0", O_RDONLY) = 4 [pid 5701] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5685] <... futex resumed>) = 0 [pid 5685] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5701] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5685] <... futex resumed>) = 0 [pid 5701] <... ioctl resumed>) = 0 [pid 5685] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5701] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5685] <... futex resumed>) = 0 [pid 5701] <... futex resumed>) = 1 [ 99.906320][ T5686] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 99.943285][ T5686] BTRFS info (device loop2): 2 enospc errors during balance [pid 5701] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5693] <... ioctl resumed>) = 0 [pid 5693] close(4) = 0 [pid 5693] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5690] <... futex resumed>) = 0 [pid 5686] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5686] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5690] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5686] <... futex resumed>) = 0 [pid 5685] exit_group(0 [pid 5701] <... futex resumed>) = ? [pid 5693] open("./file0", O_RDONLY [pid 5690] <... futex resumed>) = 0 [pid 5685] <... exit_group resumed>) = ? [pid 5701] +++ exited with 0 +++ [pid 5690] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5686] +++ exited with 0 +++ [pid 5685] +++ exited with 0 +++ [pid 5693] <... open resumed>) = 3 [pid 5695] <... ioctl resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5685, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- [pid 5693] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [ 99.988666][ T5686] BTRFS info (device loop2): balance: ended with status: -28 [pid 5695] close(4) = 0 [pid 5693] <... futex resumed>) = 1 [pid 5690] <... futex resumed>) = 0 [pid 5027] <... openat resumed>) = 3 [pid 5689] <... ioctl resumed>) = 0 [pid 5695] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5693] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5690] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5695] <... futex resumed>) = 1 [pid 5692] <... futex resumed>) = 0 [pid 5693] <... ioctl resumed>) = 0 [pid 5692] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5690] <... futex resumed>) = 0 [pid 5695] open("./file0", O_RDONLY [pid 5693] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5692] <... futex resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5695] <... open resumed>) = 3 [pid 5693] <... futex resumed>) = 0 [pid 5692] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5690] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5695] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5693] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5692] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5027] close(3 [pid 5690] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5692] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5027] <... close resumed>) = 0 [pid 5695] <... futex resumed>) = 0 [pid 5690] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5692] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5689] close(4) = 0 [pid 5689] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5695] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5690] <... futex resumed>) = 1 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5695] <... ioctl resumed>) = 0 [pid 5694] <... ioctl resumed>) = 0 [pid 5693] <... futex resumed>) = 0 [pid 5690] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5687] <... futex resumed>) = 0 [pid 5695] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5693] ioctl(3, 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 5689] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) [pid 5687] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 5702 [pid 5695] <... futex resumed>) = 1 [pid 5689] open("./file0", O_RDONLY) = 3 ./strace-static-x86_64: Process 5702 attached [pid 5689] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5702] set_robust_list(0x5555558636a0, 24 [pid 5692] <... futex resumed>) = 0 [pid 5689] <... futex resumed>) = 0 [pid 5687] <... futex resumed>) = 0 [pid 5702] <... set_robust_list resumed>) = 0 [pid 5695] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5692] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5689] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5687] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5702] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5695] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5692] <... futex resumed>) = 0 [pid 5702] <... prctl resumed>) = 0 [pid 5702] setpgid(0, 0) = 0 [pid 5702] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5702] write(3, "1000", 4) = 4 [pid 5702] close(3) = 0 [pid 5702] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5702] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5702] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5702] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5702] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5702] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5694] close(4 [pid 5702] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5694] <... close resumed>) = 0 [pid 5702] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5694] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5691] <... futex resumed>) = 0 [pid 5702] <... clone3 resumed> => {parent_tid=[5703]}, 88) = 5703 [pid 5694] open("./file0", O_RDONLY [pid 5691] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5702] rt_sigprocmask(SIG_SETMASK, [], [pid 5694] <... open resumed>) = 3 [pid 5691] <... futex resumed>) = 0 [pid 5702] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5694] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5691] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5702] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5694] <... futex resumed>) = 0 [pid 5691] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5702] <... futex resumed>) = 0 [pid 5694] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5691] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5702] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5694] <... ioctl resumed>) = 0 [pid 5691] <... futex resumed>) = 0 [pid 5694] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5691] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5694] <... futex resumed>) = 0 [pid 5691] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5694] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5691] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5694] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5691] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5703 attached [pid 5694] ioctl(3, 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 5691] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5703] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5694] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5703] <... rseq resumed>) = 0 [pid 5694] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5703] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5694] <... futex resumed>) = 1 [pid 5691] <... futex resumed>) = 0 [pid 5703] <... set_robust_list resumed>) = 0 [pid 5694] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5691] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5703] rt_sigprocmask(SIG_SETMASK, [], [pid 5694] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5691] <... futex resumed>) = 0 [pid 5687] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5692] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5703] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5695] ioctl(3, 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 5694] open("./file0", O_RDONLY [pid 5691] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5703] memfd_create("syzkaller", 0 [pid 5695] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5694] <... open resumed>) = 4 [pid 5687] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5703] <... memfd_create resumed>) = 3 [pid 5694] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5703] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5694] <... futex resumed>) = 1 [pid 5691] <... futex resumed>) = 0 [pid 5703] <... mmap resumed>) = 0x7f4e2554e000 [pid 5694] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5691] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5695] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5694] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5691] <... futex resumed>) = 0 [pid 5689] <... futex resumed>) = 0 [pid 5687] <... futex resumed>) = 1 [pid 5694] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5691] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5689] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5695] <... futex resumed>) = 1 [pid 5689] <... ioctl resumed>) = 0 [pid 5687] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5695] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5692] <... futex resumed>) = 0 [pid 5689] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5687] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5692] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5689] <... futex resumed>) = 0 [pid 5695] <... futex resumed>) = 0 [pid 5692] <... futex resumed>) = 1 [pid 5689] ioctl(3, 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 5687] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5695] open("./file0", O_RDONLY [pid 5692] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5689] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5689] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5687] <... futex resumed>) = 0 [pid 5695] <... open resumed>) = 4 [pid 5689] <... futex resumed>) = 0 [pid 5687] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5695] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5689] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5687] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5690] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5687] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5695] <... futex resumed>) = 1 [pid 5692] <... futex resumed>) = 0 [pid 5694] <... ioctl resumed>) = 0 [pid 5692] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5690] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5689] <... futex resumed>) = 0 [pid 5695] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5687] <... futex resumed>) = 1 [pid 5694] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5692] <... futex resumed>) = 0 [pid 5690] <... futex resumed>) = 0 [pid 5689] open("./file0", O_RDONLY [pid 5694] <... futex resumed>) = 1 [pid 5692] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5691] <... futex resumed>) = 0 [pid 5690] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5689] <... open resumed>) = 4 [pid 5687] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5694] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5691] exit_group(0 [pid 5689] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5694] <... futex resumed>) = ? [pid 5691] <... exit_group resumed>) = ? [pid 5690] <... mmap resumed>) = 0x7f4e2652d000 [pid 5689] <... futex resumed>) = 0 [pid 5687] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5695] <... ioctl resumed>) = 0 [pid 5694] +++ exited with 0 +++ [pid 5691] +++ exited with 0 +++ [pid 5690] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5689] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5687] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5690] <... mprotect resumed>) = 0 [pid 5689] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5687] <... futex resumed>) = 0 [pid 5695] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5691, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- [pid 5695] <... futex resumed>) = 1 [pid 5692] <... futex resumed>) = 0 [pid 5690] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5689] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [ 100.086850][ T5693] BTRFS info (device loop2): balance: start -d -m [ 100.093748][ T5693] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5687] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5695] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5692] exit_group(0 [pid 5690] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5689] <... ioctl resumed>) = 0 [pid 5689] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5695] <... futex resumed>) = ? [pid 5692] <... exit_group resumed>) = ? [pid 5690] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5689] <... futex resumed>) = 1 [pid 5687] <... futex resumed>) = 0 [pid 5020] <... openat resumed>) = 3 [pid 5695] +++ exited with 0 +++ [pid 5689] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3 [pid 5692] +++ exited with 0 +++ [pid 5687] exit_group(0 [pid 5020] <... close resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5705 ./strace-static-x86_64: Process 5705 attached [pid 5705] set_robust_list(0x5555558636a0, 24) = 0 [pid 5705] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5705] setpgid(0, 0) = 0 [pid 5705] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 ./strace-static-x86_64: Process 5704 attached [pid 5690] <... clone3 resumed> => {parent_tid=[5704]}, 88) = 5704 [pid 5689] <... futex resumed>) = ? [pid 5687] <... exit_group resumed>) = ? [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5692, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- [pid 5705] write(3, "1000", 4 [pid 5690] rt_sigprocmask(SIG_SETMASK, [], [pid 5689] +++ exited with 0 +++ [pid 5687] +++ exited with 0 +++ [pid 5690] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5705] <... write resumed>) = 4 [pid 5690] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5687, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=31 /* 0.31 s */} --- [pid 5705] close(3 [pid 5693] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5690] <... futex resumed>) = 0 [pid 5705] <... close resumed>) = 0 [pid 5690] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5705] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5705] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5693] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5705] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5705] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5026] <... openat resumed>) = 3 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5705] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5704] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5025] <... openat resumed>) = 3 [pid 5705] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5704] <... rseq resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5705] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5704] set_robust_list(0x7f4e2654d9a0, 24 [pid 5693] <... futex resumed>) = 0 [pid 5026] close(3 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5705] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5704] <... set_robust_list resumed>) = 0 [pid 5693] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5026] <... close resumed>) = 0 [pid 5025] close(3 [pid 5705] <... mprotect resumed>) = 0 [pid 5704] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5025] <... close resumed>) = 0 [pid 5705] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5704] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 5706 attached [pid 5705] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5704] open("./file0", O_RDONLY [ 100.143129][ T5693] BTRFS info (device loop2): 2 enospc errors during balance [ 100.166014][ T5693] BTRFS info (device loop2): balance: ended with status: -28 [pid 5700] 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 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5706] set_robust_list(0x5555558636a0, 24 [pid 5705] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5704] <... open resumed>) = 4 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 5706 [pid 5706] <... set_robust_list resumed>) = 0 [pid 5704] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5707 ./strace-static-x86_64: Process 5707 attached [pid 5706] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5705] <... clone3 resumed> => {parent_tid=[5708]}, 88) = 5708 [pid 5704] <... futex resumed>) = 1 [pid 5690] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5708 attached [pid 5707] set_robust_list(0x5555558636a0, 24 [pid 5706] <... prctl resumed>) = 0 [pid 5705] rt_sigprocmask(SIG_SETMASK, [], [pid 5704] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5690] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5708] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5707] <... set_robust_list resumed>) = 0 [pid 5706] setpgid(0, 0 [pid 5705] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5693] <... futex resumed>) = 0 [pid 5690] <... futex resumed>) = 1 [pid 5708] <... rseq resumed>) = 0 [pid 5707] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5706] <... setpgid resumed>) = 0 [pid 5705] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5693] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5690] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5708] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5707] <... prctl resumed>) = 0 [pid 5706] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5705] <... futex resumed>) = 0 [pid 5693] <... ioctl resumed>) = 0 [pid 5708] <... set_robust_list resumed>) = 0 [pid 5707] setpgid(0, 0 [pid 5706] <... openat resumed>) = 3 [pid 5705] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5693] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5708] rt_sigprocmask(SIG_SETMASK, [], [pid 5707] <... setpgid resumed>) = 0 [pid 5706] write(3, "1000", 4 [pid 5693] <... futex resumed>) = 1 [pid 5690] <... futex resumed>) = 0 [pid 5708] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5707] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5706] <... write resumed>) = 4 [pid 5693] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5690] exit_group(0 [pid 5708] memfd_create("syzkaller", 0 [pid 5707] <... openat resumed>) = 3 [pid 5706] close(3 [pid 5690] <... exit_group resumed>) = ? [pid 5708] <... memfd_create resumed>) = 3 [pid 5707] write(3, "1000", 4 [pid 5706] <... close resumed>) = 0 [pid 5704] <... futex resumed>) = ? [pid 5693] <... futex resumed>) = ? [pid 5708] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5707] <... write resumed>) = 4 [pid 5706] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5704] +++ exited with 0 +++ [pid 5706] <... futex resumed>) = 0 [pid 5706] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5693] +++ exited with 0 +++ [pid 5690] +++ exited with 0 +++ [pid 5708] <... mmap resumed>) = 0x7f4e2554e000 [pid 5707] close(3 [pid 5706] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5690, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=22 /* 0.22 s */} --- [pid 5706] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5706] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5706] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5706] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5706] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5709]}, 88) = 5709 [pid 5706] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5706] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5706] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5707] <... close resumed>) = 0 [pid 5707] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5707] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5707] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5707] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5707] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5707] <... mprotect resumed>) = 0 [pid 5707] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5021] <... openat resumed>) = 3 [pid 5707] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5707] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 5709 attached [pid 5707] <... clone3 resumed> => {parent_tid=[5710]}, 88) = 5710 [pid 5021] close(3 [pid 5709] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5707] rt_sigprocmask(SIG_SETMASK, [], [pid 5709] <... rseq resumed>) = 0 [pid 5707] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5703] 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 5021] <... close resumed>) = 0 [pid 5709] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5707] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5709] <... set_robust_list resumed>) = 0 [pid 5707] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5710 attached [pid 5709] rt_sigprocmask(SIG_SETMASK, [], [pid 5707] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5709] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 5711 [pid 5709] memfd_create("syzkaller", 0 [pid 5710] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5709] <... memfd_create resumed>) = 3 ./strace-static-x86_64: Process 5711 attached [pid 5710] <... rseq resumed>) = 0 [pid 5709] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5710] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5709] <... mmap resumed>) = 0x7f4e2554e000 [pid 5711] set_robust_list(0x5555558636a0, 24 [pid 5710] <... set_robust_list resumed>) = 0 [pid 5710] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5710] memfd_create("syzkaller", 0) = 3 [pid 5710] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5711] <... set_robust_list resumed>) = 0 [pid 5711] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5711] setpgid(0, 0) = 0 [pid 5711] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5711] write(3, "1000", 4) = 4 [pid 5711] close(3) = 0 [pid 5711] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5711] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5711] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5711] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5711] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5711] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5711] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5712]}, 88) = 5712 [pid 5711] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5711] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5711] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5712 attached [pid 5712] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5712] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5712] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5712] memfd_create("syzkaller", 0) = 3 [pid 5712] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5700] <... write resumed>) = 16777216 [pid 5708] 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 5700] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5700] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5700] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5700] ioctl(4, LOOP_CLR_FD) = 0 [pid 5700] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5700] close(4 [pid 5709] 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 5700] <... close resumed>) = 0 [pid 5700] close(3 [pid 5710] 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 5703] <... write resumed>) = 16777216 [pid 5703] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5703] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5703] ioctl(4, LOOP_SET_FD, 3 [pid 5712] 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 5703] <... ioctl resumed>) = 0 [pid 5703] close(3) = 0 [pid 5703] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 100.714056][ T5703] loop5: detected capacity change from 0 to 32768 [pid 5703] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 100.754912][ T5703] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5703) [pid 5703] ioctl(4, LOOP_CLR_FD [pid 5700] <... close resumed>) = 0 [pid 5700] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5698] <... futex resumed>) = 0 [pid 5698] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5698] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5700] <... futex resumed>) = 1 [pid 5700] open("./file0", O_RDONLY) = 3 [pid 5700] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5698] <... futex resumed>) = 0 [pid 5700] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5698] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5700] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5698] <... futex resumed>) = 0 [pid 5700] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5698] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5700] <... ioctl resumed>) = 0 [pid 5700] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5698] <... futex resumed>) = 0 [pid 5700] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5698] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5700] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5698] <... futex resumed>) = 0 [pid 5700] ioctl(3, 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}} [ 100.878971][ T5700] BTRFS info (device loop2): balance: start -d -m [ 100.885782][ T5700] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5698] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 5698] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5698] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5698] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5698] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5708] <... write resumed>) = 16777216 [pid 5698] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5708] munmap(0x7f4e2554e000, 16777216 [pid 5698] <... clone3 resumed> => {parent_tid=[5714]}, 88) = 5714 [pid 5698] rt_sigprocmask(SIG_SETMASK, [], [pid 5708] <... munmap resumed>) = 0 [pid 5698] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5708] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5698] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5708] <... openat resumed>) = 4 [pid 5698] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5714 attached [pid 5708] ioctl(4, LOOP_SET_FD, 3 [pid 5698] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5714] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5714] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5714] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5714] open("./file0", O_RDONLY) = 4 [pid 5714] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5698] <... futex resumed>) = 0 [pid 5714] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5698] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5714] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5698] <... futex resumed>) = 0 [pid 5714] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5709] <... write resumed>) = 16777216 [pid 5698] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5714] <... ioctl resumed>) = 0 [pid 5708] <... ioctl resumed>) = 0 [pid 5714] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5708] close(3 [pid 5714] <... futex resumed>) = 1 [pid 5709] munmap(0x7f4e2554e000, 16777216 [pid 5708] <... close resumed>) = 0 [pid 5698] <... futex resumed>) = 0 [pid 5714] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5708] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5708] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5709] <... munmap resumed>) = 0 [ 100.960488][ T5700] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 100.974544][ T5708] loop0: detected capacity change from 0 to 32768 [pid 5709] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5709] ioctl(4, LOOP_SET_FD, 3 [pid 5710] <... write resumed>) = 16777216 [pid 5710] munmap(0x7f4e2554e000, 16777216 [pid 5708] <... mount resumed>) = -1 EEXIST (File exists) [pid 5708] ioctl(4, LOOP_CLR_FD [pid 5709] <... ioctl resumed>) = 0 [ 101.016718][ T5708] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5708) [ 101.032931][ T5709] loop4: detected capacity change from 0 to 32768 [ 101.040033][ T5700] BTRFS info (device loop2): 2 enospc errors during balance [pid 5709] close(3) = 0 [pid 5709] mkdir("./file0", 0777 [pid 5703] <... ioctl resumed>) = 0 [pid 5710] <... munmap resumed>) = 0 [pid 5709] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5703] close(4 [pid 5700] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5710] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5709] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5703] <... close resumed>) = 0 [pid 5710] <... openat resumed>) = 4 [pid 5710] ioctl(4, LOOP_SET_FD, 3 [pid 5712] <... write resumed>) = 16777216 [pid 5703] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5700] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5698] exit_group(0 [pid 5714] <... futex resumed>) = ? [pid 5698] <... exit_group resumed>) = ? [pid 5714] +++ exited with 0 +++ [pid 5710] <... ioctl resumed>) = 0 [pid 5710] close(3) = 0 [pid 5703] <... futex resumed>) = 1 [pid 5702] <... futex resumed>) = 0 [pid 5710] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5710] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 101.067243][ T5700] BTRFS info (device loop2): balance: ended with status: -28 [ 101.082001][ T5710] loop3: detected capacity change from 0 to 32768 [ 101.088713][ T5709] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5709) [pid 5712] munmap(0x7f4e2554e000, 16777216 [pid 5709] <... mount resumed>) = -1 EEXIST (File exists) [pid 5703] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5702] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5700] <... futex resumed>) = ? [pid 5712] <... munmap resumed>) = 0 [pid 5709] ioctl(4, LOOP_CLR_FD [pid 5703] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5702] <... futex resumed>) = 0 [pid 5700] +++ exited with 0 +++ [pid 5698] +++ exited with 0 +++ [pid 5712] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5703] open("./file0", O_RDONLY [pid 5702] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5712] <... openat resumed>) = 4 [pid 5703] <... open resumed>) = 3 [pid 5712] ioctl(4, LOOP_SET_FD, 3 [pid 5703] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5702] <... futex resumed>) = 0 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5698, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 5703] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5702] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5703] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5702] <... futex resumed>) = 0 [pid 5703] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5702] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5703] <... ioctl resumed>) = 0 [pid 5703] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5702] <... futex resumed>) = 0 [pid 5703] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5702] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5703] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5702] <... futex resumed>) = 0 [pid 5703] ioctl(3, 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 5702] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5710] <... mount resumed>) = -1 EEXIST (File exists) [pid 5712] <... ioctl resumed>) = 0 [pid 5710] ioctl(4, LOOP_CLR_FD [ 101.115294][ T5710] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5710) [ 101.118840][ T5712] loop1: detected capacity change from 0 to 32768 [ 101.137962][ T5703] BTRFS info (device loop2): balance: start -d -m [ 101.144663][ T5703] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 5712] close(3) = 0 [pid 5712] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5712] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5022] <... ioctl resumed>) = 0 [pid 5022] close(3 [pid 5708] <... ioctl resumed>) = 0 [pid 5702] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5022] <... close resumed>) = 0 [pid 5702] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5702] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5708] close(4 [pid 5702] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5702] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5702] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5708] <... close resumed>) = 0 [pid 5708] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 5716 [pid 5702] <... clone3 resumed> => {parent_tid=[5715]}, 88) = 5715 [pid 5702] rt_sigprocmask(SIG_SETMASK, [], [pid 5708] <... futex resumed>) = 1 [pid 5705] <... futex resumed>) = 0 [pid 5702] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5708] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5705] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5702] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5708] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5705] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5702] <... futex resumed>) = 0 [pid 5708] open("./file0", O_RDONLY [pid 5702] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5708] <... open resumed>) = 3 [ 101.167499][ T5703] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 101.181801][ T5712] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5712) [ 101.201968][ T5703] BTRFS info (device loop2): 2 enospc errors during balance [pid 5708] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5705] <... futex resumed>) = 0 [pid 5705] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5705] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5716 attached [pid 5716] set_robust_list(0x5555558636a0, 24) = 0 [pid 5716] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5708] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5716] <... prctl resumed>) = 0 [pid 5708] <... ioctl resumed>) = 0 [pid 5708] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5716] setpgid(0, 0 [pid 5708] <... futex resumed>) = 1 [pid 5705] <... futex resumed>) = 0 [pid 5708] ioctl(3, 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 5705] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5705] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5716] <... setpgid resumed>) = 0 [pid 5716] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 ./strace-static-x86_64: Process 5715 attached [pid 5715] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5715] set_robust_list(0x7f4e2654d9a0, 24 [pid 5716] write(3, "1000", 4 [pid 5715] <... set_robust_list resumed>) = 0 [pid 5716] <... write resumed>) = 4 [pid 5715] rt_sigprocmask(SIG_SETMASK, [], [pid 5716] close(3 [pid 5715] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5716] <... close resumed>) = 0 [pid 5715] open("./file0", O_RDONLY [pid 5716] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5715] <... open resumed>) = 4 [pid 5708] <... 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}}) = 8 [pid 5703] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5716] <... futex resumed>) = 0 [pid 5715] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5716] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5715] <... futex resumed>) = 1 [pid 5702] <... futex resumed>) = 0 [pid 5716] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5715] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5702] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5716] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5702] <... futex resumed>) = 0 [pid 5716] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5702] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5716] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5716] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5716] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5716] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5717]}, 88) = 5717 [pid 5716] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5716] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5716] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5708] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5703] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5708] <... futex resumed>) = 1 [pid 5705] <... futex resumed>) = 0 [pid 5708] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5705] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5715] <... ioctl resumed>) = 0 [pid 5708] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5705] <... futex resumed>) = 0 [pid 5703] <... futex resumed>) = 0 [pid 5715] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5705] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5715] <... futex resumed>) = 1 [pid 5702] <... futex resumed>) = 0 [pid 5715] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5702] exit_group(0 [pid 5715] <... futex resumed>) = ? [pid 5708] open("./file0", O_RDONLY [pid 5702] <... exit_group resumed>) = ? [pid 5715] +++ exited with 0 +++ [pid 5708] <... open resumed>) = 4 [pid 5708] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5717 attached [pid 5712] <... mount resumed>) = -1 EEXIST (File exists) [pid 5708] <... futex resumed>) = 1 [pid 5705] <... futex resumed>) = 0 [pid 5703] +++ exited with 0 +++ [pid 5702] +++ exited with 0 +++ [pid 5717] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5705] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5717] <... rseq resumed>) = 0 [pid 5705] <... futex resumed>) = 0 [pid 5717] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5705] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5717] <... set_robust_list resumed>) = 0 [pid 5708] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5702, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=27 /* 0.27 s */} --- [pid 5717] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 101.214918][ T5703] BTRFS info (device loop2): balance: ended with status: -28 [pid 5717] memfd_create("syzkaller", 0) = 3 [pid 5717] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5712] ioctl(4, LOOP_CLR_FD [pid 5708] <... ioctl resumed>) = 0 [pid 5708] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... openat resumed>) = 3 [pid 5708] <... futex resumed>) = 1 [pid 5705] <... futex resumed>) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5705] exit_group(0) = ? [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5708] +++ exited with 0 +++ [pid 5705] +++ exited with 0 +++ [pid 5027] close(3 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5705, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=19 /* 0.19 s */} --- [pid 5027] <... close resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5719 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ./strace-static-x86_64: Process 5719 attached [pid 5719] set_robust_list(0x5555558636a0, 24) = 0 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5719] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5719] setpgid(0, 0) = 0 [pid 5719] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5020] close(3 [pid 5719] <... openat resumed>) = 3 [pid 5020] <... close resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5720 attached [pid 5719] write(3, "1000", 4 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 5720 [pid 5719] <... write resumed>) = 4 [pid 5719] close(3) = 0 [pid 5719] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5719] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5719] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5719] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5720] set_robust_list(0x5555558636a0, 24) = 0 [pid 5719] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5720] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5719] <... mprotect resumed>) = 0 [pid 5719] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5719] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5721]}, 88) = 5721 [pid 5719] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5719] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5719] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5720] <... prctl resumed>) = 0 ./strace-static-x86_64: Process 5721 attached [pid 5720] setpgid(0, 0 [pid 5721] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5720] <... setpgid resumed>) = 0 [pid 5721] <... rseq resumed>) = 0 [pid 5721] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5721] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5720] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5721] memfd_create("syzkaller", 0 [pid 5720] <... openat resumed>) = 3 [pid 5720] write(3, "1000", 4) = 4 [pid 5720] close(3 [pid 5721] <... memfd_create resumed>) = 3 [pid 5720] <... close resumed>) = 0 [pid 5720] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5721] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5720] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5721] <... mmap resumed>) = 0x7f4e2554e000 [pid 5720] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5720] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5720] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5720] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5720] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5720] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5722]}, 88) = 5722 [pid 5720] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5720] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5720] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5722 attached [pid 5710] <... ioctl resumed>) = 0 [pid 5722] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5722] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5722] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5722] memfd_create("syzkaller", 0 [pid 5709] <... ioctl resumed>) = 0 [pid 5722] <... memfd_create resumed>) = 3 [pid 5709] close(4 [pid 5722] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5710] close(4 [pid 5722] <... mmap resumed>) = 0x7f4e2554e000 [pid 5710] <... close resumed>) = 0 [pid 5709] <... close resumed>) = 0 [pid 5709] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5709] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5710] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5707] <... futex resumed>) = 0 [pid 5706] <... futex resumed>) = 0 [pid 5707] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5706] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5710] open("./file0", O_RDONLY [pid 5707] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5706] <... futex resumed>) = 1 [pid 5709] <... futex resumed>) = 0 [pid 5709] open("./file0", O_RDONLY [pid 5710] <... open resumed>) = 3 [pid 5709] <... open resumed>) = 3 [pid 5706] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5710] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5709] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5707] <... futex resumed>) = 0 [pid 5710] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5709] <... futex resumed>) = 1 [pid 5707] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5706] <... futex resumed>) = 0 [pid 5710] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5709] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5707] <... futex resumed>) = 0 [pid 5706] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5710] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5709] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5707] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5706] <... futex resumed>) = 0 [pid 5710] <... ioctl resumed>) = 0 [pid 5709] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5706] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5710] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5709] <... ioctl resumed>) = 0 [pid 5710] <... futex resumed>) = 1 [pid 5709] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5707] <... futex resumed>) = 0 [pid 5710] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5709] <... futex resumed>) = 1 [pid 5707] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5706] <... futex resumed>) = 0 [pid 5710] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5709] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5707] <... futex resumed>) = 0 [pid 5706] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5710] ioctl(3, 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 5709] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5707] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5706] <... futex resumed>) = 0 [pid 5709] ioctl(3, 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 5706] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5709] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5709] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5706] <... futex resumed>) = 0 [pid 5709] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5706] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5709] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5706] <... futex resumed>) = 0 [pid 5709] open("./file0", O_RDONLY [pid 5706] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5709] <... open resumed>) = 4 [pid 5709] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5706] <... futex resumed>) = 0 [pid 5709] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5706] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5709] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5706] <... futex resumed>) = 0 [pid 5709] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5706] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5709] <... ioctl resumed>) = 0 [pid 5709] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5706] <... futex resumed>) = 0 [pid 5709] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5706] exit_group(0 [pid 5709] <... futex resumed>) = ? [pid 5706] <... exit_group resumed>) = ? [pid 5709] +++ exited with 0 +++ [pid 5706] +++ exited with 0 +++ [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5706, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- [pid 5026] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5026] close(3) = 0 [pid 5707] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5707] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5707] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5707] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5707] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5707] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5724]}, 88) = 5724 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 5723 [pid 5707] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5707] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 101.451997][ T5710] BTRFS info (device loop2): balance: start -d -m [ 101.477549][ T5710] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5707] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5724 attached [pid 5724] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5724] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5724] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5724] open("./file0", O_RDONLY) = 4 [pid 5724] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5707] <... futex resumed>) = 0 [pid 5707] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5707] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5724] <... futex resumed>) = 1 [pid 5724] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0}) = 0 [pid 5724] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5707] <... futex resumed>) = 0 [pid 5724] <... futex resumed>) = 1 [pid 5724] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL./strace-static-x86_64: Process 5723 attached [pid 5723] set_robust_list(0x5555558636a0, 24) = 0 [pid 5723] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5723] setpgid(0, 0) = 0 [pid 5723] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5712] <... ioctl resumed>) = 0 [pid 5723] write(3, "1000", 4 [ 101.510424][ T5710] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5712] close(4 [pid 5723] <... write resumed>) = 4 [pid 5712] <... close resumed>) = 0 [pid 5723] close(3 [pid 5712] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5723] <... close resumed>) = 0 [pid 5712] <... futex resumed>) = 1 [pid 5711] <... futex resumed>) = 0 [pid 5723] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5712] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5711] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5723] <... futex resumed>) = 0 [pid 5712] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5711] <... futex resumed>) = 0 [pid 5723] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5712] open("./file0", O_RDONLY [pid 5711] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5723] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5712] <... open resumed>) = 3 [pid 5723] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5712] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5723] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5712] <... futex resumed>) = 1 [pid 5711] <... futex resumed>) = 0 [pid 5723] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5712] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5711] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5723] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5712] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5711] <... futex resumed>) = 0 [pid 5723] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5712] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5711] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5723] <... mprotect resumed>) = 0 [pid 5712] <... ioctl resumed>) = 0 [pid 5723] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5712] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5723] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5712] <... futex resumed>) = 1 [pid 5711] <... futex resumed>) = 0 [pid 5723] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5712] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5711] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5712] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5711] <... futex resumed>) = 0 [pid 5723] <... clone3 resumed> => {parent_tid=[5725]}, 88) = 5725 [pid 5712] ioctl(3, 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 5711] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5723] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5723] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5723] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5725 attached [pid 5725] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5725] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5725] rt_sigprocmask(SIG_SETMASK, [], [pid 5712] <... 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}}) = 8 [pid 5710] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5725] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5712] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5710] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5725] memfd_create("syzkaller", 0 [pid 5712] <... futex resumed>) = 1 [pid 5711] <... futex resumed>) = 0 [pid 5710] <... futex resumed>) = 0 [pid 5725] <... memfd_create resumed>) = 3 [pid 5712] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5711] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5710] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5725] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5712] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5711] <... futex resumed>) = 0 [pid 5707] exit_group(0 [pid 5725] <... mmap resumed>) = 0x7f4e2554e000 [pid 5724] <... futex resumed>) = ? [pid 5712] open("./file0", O_RDONLY [pid 5711] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5710] <... futex resumed>) = ? [pid 5707] <... exit_group resumed>) = ? [pid 5724] +++ exited with 0 +++ [pid 5712] <... open resumed>) = 4 [pid 5710] +++ exited with 0 +++ [pid 5712] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5711] <... futex resumed>) = 0 [pid 5707] +++ exited with 0 +++ [pid 5712] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5711] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5707, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=27 /* 0.27 s */} --- [pid 5712] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5711] <... futex resumed>) = 0 [ 101.563761][ T5710] BTRFS info (device loop2): 2 enospc errors during balance [ 101.582029][ T5710] BTRFS info (device loop2): balance: ended with status: -28 [pid 5712] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5711] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5712] <... ioctl resumed>) = 0 [pid 5712] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5711] <... futex resumed>) = 0 [pid 5712] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5711] exit_group(0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5712] <... futex resumed>) = ? [pid 5711] <... exit_group resumed>) = ? [pid 5025] <... openat resumed>) = 3 [pid 5712] +++ exited with 0 +++ [pid 5711] +++ exited with 0 +++ [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5711, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=16 /* 0.16 s */} --- [pid 5025] <... close resumed>) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] <... openat resumed>) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5726 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5727 ./strace-static-x86_64: Process 5726 attached [pid 5726] set_robust_list(0x5555558636a0, 24) = 0 [pid 5726] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5726] setpgid(0, 0) = 0 [pid 5726] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5726] write(3, "1000", 4) = 4 [pid 5726] close(3) = 0 [pid 5726] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 5727 attached [pid 5726] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5727] set_robust_list(0x5555558636a0, 24 [pid 5726] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5727] <... set_robust_list resumed>) = 0 [pid 5726] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5727] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5726] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5727] <... prctl resumed>) = 0 [pid 5726] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5727] setpgid(0, 0 [pid 5726] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5727] <... setpgid resumed>) = 0 [pid 5726] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5727] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5726] <... mprotect resumed>) = 0 [pid 5727] <... openat resumed>) = 3 [pid 5726] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5727] write(3, "1000", 4 [pid 5726] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5727] <... write resumed>) = 4 [pid 5726] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5717] 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 5727] close(3) = 0 [pid 5726] <... clone3 resumed> => {parent_tid=[5728]}, 88) = 5728 [pid 5727] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5726] rt_sigprocmask(SIG_SETMASK, [], [pid 5727] <... futex resumed>) = 0 [pid 5726] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5727] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5726] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5728 attached [pid 5727] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5726] <... futex resumed>) = 0 [pid 5728] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5727] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5726] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5728] <... rseq resumed>) = 0 [pid 5727] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5728] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5727] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5728] <... set_robust_list resumed>) = 0 [pid 5727] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5728] rt_sigprocmask(SIG_SETMASK, [], [pid 5727] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5728] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5727] <... mprotect resumed>) = 0 [pid 5728] memfd_create("syzkaller", 0 [pid 5727] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5728] <... memfd_create resumed>) = 3 [pid 5727] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5728] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5727] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5728] <... mmap resumed>) = 0x7f4e2554e000 [pid 5727] <... clone3 resumed> => {parent_tid=[5729]}, 88) = 5729 [pid 5721] 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./strace-static-x86_64: Process 5729 attached [pid 5727] rt_sigprocmask(SIG_SETMASK, [], [pid 5729] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5727] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5729] <... rseq resumed>) = 0 [pid 5727] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5729] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5727] <... futex resumed>) = 0 [pid 5729] <... set_robust_list resumed>) = 0 [pid 5727] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5729] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5729] memfd_create("syzkaller", 0) = 3 [pid 5729] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5722] 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 5725] 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 5728] 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 5729] 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 5717] <... write resumed>) = 16777216 [pid 5717] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5717] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5717] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5717] ioctl(4, LOOP_CLR_FD) = 0 [pid 5717] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5717] close(4) = 0 [pid 5717] close(3 [pid 5721] <... write resumed>) = 16777216 [pid 5721] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5721] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5721] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5721] close(3) = 0 [pid 5721] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5721] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5722] <... write resumed>) = 16777216 [pid 5722] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5721] <... mount resumed>) = -1 EEXIST (File exists) [pid 5722] openat(AT_FDCWD, "/dev/loop0", O_RDWR [ 102.198144][ T5721] loop5: detected capacity change from 0 to 32768 [ 102.231427][ T5721] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5721) [pid 5721] ioctl(4, LOOP_CLR_FD [pid 5722] <... openat resumed>) = 4 [pid 5722] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5722] close(3) = 0 [pid 5722] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5722] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5725] <... write resumed>) = 16777216 [pid 5717] <... close resumed>) = 0 [pid 5717] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5716] <... futex resumed>) = 0 [pid 5717] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5716] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5717] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5716] <... futex resumed>) = 0 [pid 5717] open("./file0", O_RDONLY [pid 5716] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5717] <... open resumed>) = 3 [pid 5717] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5716] <... futex resumed>) = 0 [pid 5717] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5716] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5717] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5716] <... futex resumed>) = 0 [pid 5717] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5716] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5725] munmap(0x7f4e2554e000, 16777216 [pid 5717] <... ioctl resumed>) = 0 [pid 5725] <... munmap resumed>) = 0 [pid 5717] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5716] <... futex resumed>) = 0 [pid 5717] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5716] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5717] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5716] <... futex resumed>) = 0 [ 102.286163][ T5722] loop0: detected capacity change from 0 to 32768 [ 102.315699][ T5722] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5722) [pid 5717] ioctl(3, 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 5716] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5722] <... mount resumed>) = -1 EEXIST (File exists) [pid 5722] ioctl(4, LOOP_CLR_FD [pid 5725] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5725] ioctl(4, LOOP_SET_FD, 3 [pid 5728] <... write resumed>) = 16777216 [pid 5725] <... ioctl resumed>) = 0 [pid 5728] munmap(0x7f4e2554e000, 16777216 [pid 5725] close(3 [pid 5716] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5725] <... close resumed>) = 0 [pid 5725] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 102.370210][ T5717] BTRFS info (device loop2): balance: start -d -m [ 102.378909][ T5725] loop4: detected capacity change from 0 to 32768 [ 102.396621][ T5717] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5725] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5728] <... munmap resumed>) = 0 [pid 5716] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5728] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5716] <... futex resumed>) = 0 [pid 5728] <... openat resumed>) = 4 [pid 5716] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5728] ioctl(4, LOOP_SET_FD, 3 [pid 5716] <... mmap resumed>) = 0x7f4e2652d000 [pid 5728] <... ioctl resumed>) = 0 [pid 5716] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5716] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5728] close(3 [ 102.440889][ T5725] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5725) [ 102.446184][ T5717] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 102.468306][ T5728] loop3: detected capacity change from 0 to 32768 [pid 5716] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5728] <... close resumed>) = 0 [pid 5721] <... ioctl resumed>) = 0 [pid 5725] <... mount resumed>) = -1 EEXIST (File exists) [pid 5725] ioctl(4, LOOP_CLR_FD [pid 5716] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5728] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5728] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5721] close(4 [pid 5716] <... clone3 resumed> => {parent_tid=[5731]}, 88) = 5731 [pid 5716] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5716] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5721] <... close resumed>) = 0 [pid 5716] <... futex resumed>) = 0 [pid 5716] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5721] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5731 attached [pid 5729] <... write resumed>) = 16777216 [pid 5721] <... futex resumed>) = 1 [pid 5719] <... futex resumed>) = 0 [pid 5731] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5721] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5719] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5729] munmap(0x7f4e2554e000, 16777216 [pid 5731] <... rseq resumed>) = 0 [pid 5721] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5719] <... futex resumed>) = 0 [pid 5731] set_robust_list(0x7f4e2654d9a0, 24 [pid 5721] open("./file0", O_RDONLY [pid 5719] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5728] <... mount resumed>) = -1 EEXIST (File exists) [pid 5731] <... set_robust_list resumed>) = 0 [pid 5721] <... open resumed>) = 3 [pid 5728] ioctl(4, LOOP_CLR_FD [pid 5731] rt_sigprocmask(SIG_SETMASK, [], [pid 5729] <... munmap resumed>) = 0 [pid 5721] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5717] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5731] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5721] <... futex resumed>) = 1 [pid 5719] <... futex resumed>) = 0 [pid 5729] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [ 102.494197][ T5717] BTRFS info (device loop2): 2 enospc errors during balance [ 102.503644][ T5728] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5728) [ 102.532299][ T5717] BTRFS info (device loop2): balance: ended with status: -28 [pid 5729] ioctl(4, LOOP_SET_FD, 3 [pid 5731] open("./file0", O_RDONLY [pid 5721] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5719] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5717] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5716] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5731] <... open resumed>) = 4 [pid 5722] <... ioctl resumed>) = 0 [pid 5721] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5719] <... futex resumed>) = 0 [pid 5717] <... futex resumed>) = 0 [pid 5716] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5731] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5721] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5719] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5717] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5716] <... futex resumed>) = 0 [pid 5716] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5729] <... ioctl resumed>) = 0 [pid 5729] close(3) = 0 [pid 5729] mkdir("./file0", 0777 [pid 5731] <... futex resumed>) = 0 [pid 5729] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5729] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5721] <... ioctl resumed>) = 0 [pid 5731] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5717] <... ioctl resumed>) = 0 [pid 5722] close(4 [pid 5721] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5717] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5722] <... close resumed>) = 0 [pid 5721] <... futex resumed>) = 1 [pid 5719] <... futex resumed>) = 0 [pid 5717] <... futex resumed>) = 1 [pid 5716] <... futex resumed>) = 0 [pid 5722] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5721] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5719] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5717] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5716] exit_group(0 [pid 5731] <... futex resumed>) = ? [pid 5722] <... futex resumed>) = 1 [pid 5721] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5720] <... futex resumed>) = 0 [pid 5719] <... futex resumed>) = 0 [pid 5717] <... futex resumed>) = ? [pid 5716] <... exit_group resumed>) = ? [pid 5731] +++ exited with 0 +++ [pid 5722] open("./file0", O_RDONLY [pid 5721] ioctl(3, 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 5720] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5719] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5717] +++ exited with 0 +++ [pid 5716] +++ exited with 0 +++ [pid 5722] <... open resumed>) = 3 [pid 5720] <... futex resumed>) = 0 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5716, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=28 /* 0.28 s */} --- [pid 5722] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [ 102.565610][ T5729] loop1: detected capacity change from 0 to 32768 [ 102.595846][ T5729] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5729) [pid 5720] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 EAGAIN (Resource temporarily unavailable) [pid 5720] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5720] <... futex resumed>) = 0 [pid 5022] <... openat resumed>) = 3 [pid 5720] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5732 [pid 5722] <... futex resumed>) = 1 [pid 5720] <... futex resumed>) = 0 [pid 5722] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5720] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=41000000} [pid 5722] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 5732 attached [pid 5722] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5732] set_robust_list(0x5555558636a0, 24 [pid 5722] <... futex resumed>) = 1 [pid 5720] <... futex resumed>) = 0 [pid 5732] <... set_robust_list resumed>) = 0 [pid 5722] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5720] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5732] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5722] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5720] <... futex resumed>) = 0 [pid 5732] <... prctl resumed>) = 0 [pid 5722] ioctl(3, 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 5720] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5732] setpgid(0, 0 [pid 5722] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5732] <... setpgid resumed>) = 0 [pid 5729] <... mount resumed>) = -1 EEXIST (File exists) [pid 5732] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5729] ioctl(4, LOOP_CLR_FD [pid 5732] <... openat resumed>) = 3 [pid 5732] write(3, "1000", 4) = 4 [pid 5732] close(3) = 0 [pid 5732] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5732] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5722] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5732] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5722] <... futex resumed>) = 1 [pid 5720] <... futex resumed>) = 0 [pid 5732] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5722] open("./file0", O_RDONLY [pid 5720] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5732] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5722] <... open resumed>) = 4 [pid 5720] <... futex resumed>) = 0 [pid 5732] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5722] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5720] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5719] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5732] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5722] <... futex resumed>) = 0 [pid 5720] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5719] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5732] <... mprotect resumed>) = 0 [pid 5722] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5720] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5719] <... futex resumed>) = 0 [pid 5732] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5722] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5720] <... futex resumed>) = 0 [pid 5719] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5732] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5722] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5720] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5719] <... mmap resumed>) = 0x7f4e2652d000 [pid 5732] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5719] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5732] <... clone3 resumed> => {parent_tid=[5734]}, 88) = 5734 [pid 5722] <... ioctl resumed>) = 0 [pid 5719] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5732] rt_sigprocmask(SIG_SETMASK, [], [pid 5722] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5719] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5732] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5722] <... futex resumed>) = 1 [pid 5720] <... futex resumed>) = 0 [pid 5719] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5732] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5722] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5720] exit_group(0./strace-static-x86_64: Process 5734 attached [pid 5732] <... futex resumed>) = 0 [ 102.625583][ T5721] BTRFS info (device loop2): balance: start -d -m [ 102.650917][ T5721] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5722] <... futex resumed>) = ? [pid 5720] <... exit_group resumed>) = ? [pid 5719] <... clone3 resumed> => {parent_tid=[5735]}, 88) = 5735 [pid 5734] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5732] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5734] <... rseq resumed>) = 0 [pid 5734] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5734] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5734] memfd_create("syzkaller", 0./strace-static-x86_64: Process 5735 attached ) = 3 [pid 5735] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5734] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5735] <... rseq resumed>) = 0 [pid 5734] <... mmap resumed>) = 0x7f4e2554e000 [pid 5735] set_robust_list(0x7f4e2654d9a0, 24 [pid 5722] +++ exited with 0 +++ [pid 5720] +++ exited with 0 +++ [pid 5719] rt_sigprocmask(SIG_SETMASK, [], [pid 5735] <... set_robust_list resumed>) = 0 [pid 5735] rt_sigprocmask(SIG_SETMASK, [], [pid 5719] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5720, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=20 /* 0.20 s */} --- [pid 5735] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5719] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5735] open("./file0", O_RDONLY [pid 5719] <... futex resumed>) = 0 [pid 5735] <... open resumed>) = 4 [pid 5719] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5735] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5719] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5735] <... futex resumed>) = 0 [ 102.694463][ T5721] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5719] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5735] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5719] <... futex resumed>) = 0 [pid 5719] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5735] <... ioctl resumed>) = 0 [pid 5735] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5735] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5719] <... futex resumed>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 5725] <... ioctl resumed>) = 0 [pid 5725] close(4 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5020] close(3) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5725] <... close resumed>) = 0 [pid 5725] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5723] <... futex resumed>) = 0 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 5736 [pid 5725] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5723] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5723] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5725] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5725] open("./file0", O_RDONLY) = 3 [pid 5725] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5723] <... futex resumed>) = 0 [pid 5725] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5723] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5723] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5736 attached [pid 5725] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5721] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5736] set_robust_list(0x5555558636a0, 24 [pid 5725] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5736] <... set_robust_list resumed>) = 0 [pid 5728] <... ioctl resumed>) = 0 [pid 5721] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5736] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5725] <... ioctl resumed>) = 0 [pid 5721] <... futex resumed>) = 0 [pid 5719] exit_group(0 [pid 5736] <... prctl resumed>) = 0 [pid 5735] <... futex resumed>) = ? [pid 5728] close(4 [pid 5725] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5719] <... exit_group resumed>) = ? [pid 5736] setpgid(0, 0 [pid 5735] +++ exited with 0 +++ [pid 5728] <... close resumed>) = 0 [pid 5725] <... futex resumed>) = 1 [pid 5721] +++ exited with 0 +++ [pid 5736] <... setpgid resumed>) = 0 [pid 5728] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5725] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5723] <... futex resumed>) = 0 [pid 5719] +++ exited with 0 +++ [pid 5736] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5728] <... futex resumed>) = 1 [pid 5726] <... futex resumed>) = 0 [pid 5723] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5736] <... openat resumed>) = 3 [pid 5728] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5726] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5725] <... futex resumed>) = 0 [pid 5723] <... futex resumed>) = 1 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5719, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=25 /* 0.25 s */} --- [pid 5736] write(3, "1000", 4 [pid 5728] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5726] <... futex resumed>) = 0 [pid 5725] ioctl(3, 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 5723] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 102.742320][ T5721] BTRFS info (device loop2): 2 enospc errors during balance [ 102.761101][ T5721] BTRFS info (device loop2): balance: ended with status: -28 [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 5736] <... write resumed>) = 4 [pid 5728] open("./file0", O_RDONLY [pid 5726] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] <... restart_syscall resumed>) = 0 [pid 5728] <... open resumed>) = 3 [pid 5728] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5726] <... futex resumed>) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5728] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5726] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... openat resumed>) = 3 [pid 5728] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5726] <... futex resumed>) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5728] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5726] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5736] close(3 [pid 5728] <... ioctl resumed>) = 0 [pid 5027] close(3 [pid 5736] <... close resumed>) = 0 [pid 5728] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... close resumed>) = 0 [pid 5736] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5728] <... futex resumed>) = 1 [pid 5726] <... futex resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5736] <... futex resumed>) = 0 [pid 5728] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5726] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5736] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5728] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5726] <... futex resumed>) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 5737 ./strace-static-x86_64: Process 5737 attached [pid 5736] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5728] ioctl(3, 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 5726] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5737] set_robust_list(0x5555558636a0, 24 [pid 5736] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5728] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5737] <... set_robust_list resumed>) = 0 [pid 5736] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5728] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5737] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5736] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5728] <... futex resumed>) = 1 [pid 5726] <... futex resumed>) = 0 [pid 5737] <... prctl resumed>) = 0 [pid 5728] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5726] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5736] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5728] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5726] <... futex resumed>) = 0 [pid 5737] setpgid(0, 0 [pid 5736] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5728] open("./file0", O_RDONLY [pid 5726] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5737] <... setpgid resumed>) = 0 [pid 5736] <... mprotect resumed>) = 0 [pid 5728] <... open resumed>) = 4 [pid 5737] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5736] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5728] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5737] <... openat resumed>) = 3 [pid 5736] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5728] <... futex resumed>) = 1 [pid 5726] <... futex resumed>) = 0 [pid 5737] write(3, "1000", 4 [pid 5736] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [ 102.826358][ T5725] BTRFS info (device loop2): balance: start -d -m [ 102.833683][ T5725] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5728] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5726] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5738 attached [pid 5737] <... write resumed>) = 4 [pid 5728] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5726] <... futex resumed>) = 0 [pid 5723] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5728] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5726] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5728] <... ioctl resumed>) = 0 [pid 5728] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5726] <... futex resumed>) = 0 [pid 5728] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5726] exit_group(0 [pid 5728] <... futex resumed>) = ? [pid 5726] <... exit_group resumed>) = ? [pid 5738] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5737] close(3 [pid 5736] <... clone3 resumed> => {parent_tid=[5738]}, 88) = 5738 [pid 5728] +++ exited with 0 +++ [pid 5726] +++ exited with 0 +++ [pid 5723] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5726, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=24 /* 0.24 s */} --- [pid 5738] <... rseq resumed>) = 0 [pid 5737] <... close resumed>) = 0 [pid 5736] rt_sigprocmask(SIG_SETMASK, [], [pid 5723] <... futex resumed>) = 0 [pid 5738] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5737] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5736] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5723] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5738] <... set_robust_list resumed>) = 0 [pid 5737] <... futex resumed>) = 0 [pid 5736] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5723] <... mmap resumed>) = 0x7f4e2652d000 [pid 5738] rt_sigprocmask(SIG_SETMASK, [], [pid 5737] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5736] <... futex resumed>) = 0 [pid 5723] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5738] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5737] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5736] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5725] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5723] <... mprotect resumed>) = 0 [pid 5738] memfd_create("syzkaller", 0 [pid 5737] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5725] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5723] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5738] <... memfd_create resumed>) = 3 [pid 5737] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5725] <... futex resumed>) = 0 [pid 5723] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5025] <... openat resumed>) = 3 [pid 5738] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5737] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5725] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5723] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5738] <... mmap resumed>) = 0x7f4e2554e000 [pid 5737] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] close(3 [pid 5737] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5723] <... clone3 resumed> => {parent_tid=[5739]}, 88) = 5739 [pid 5025] <... close resumed>) = 0 [pid 5737] <... mprotect resumed>) = 0 [pid 5723] rt_sigprocmask(SIG_SETMASK, [], [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5737] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5723] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 102.870838][ T5725] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 102.901007][ T5725] BTRFS info (device loop2): 2 enospc errors during balance [ 102.909497][ T5725] BTRFS info (device loop2): balance: ended with status: -28 [pid 5737] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5723] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5740 ./strace-static-x86_64: Process 5739 attached [pid 5737] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5723] <... futex resumed>) = 0 [pid 5739] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5723] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5741 attached [pid 5739] <... rseq resumed>) = 0 [pid 5737] <... clone3 resumed> => {parent_tid=[5741]}, 88) = 5741 ./strace-static-x86_64: Process 5740 attached [pid 5741] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5739] set_robust_list(0x7f4e2654d9a0, 24 [pid 5737] rt_sigprocmask(SIG_SETMASK, [], [pid 5741] <... rseq resumed>) = 0 [pid 5740] set_robust_list(0x5555558636a0, 24 [pid 5739] <... set_robust_list resumed>) = 0 [pid 5737] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5741] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5740] <... set_robust_list resumed>) = 0 [pid 5739] rt_sigprocmask(SIG_SETMASK, [], [pid 5737] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5741] <... set_robust_list resumed>) = 0 [pid 5740] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5739] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5737] <... futex resumed>) = 0 [pid 5741] rt_sigprocmask(SIG_SETMASK, [], [pid 5740] <... prctl resumed>) = 0 [pid 5739] open("./file0", O_RDONLY [pid 5737] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5741] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5740] setpgid(0, 0 [pid 5739] <... open resumed>) = 4 [pid 5741] memfd_create("syzkaller", 0 [pid 5740] <... setpgid resumed>) = 0 [pid 5739] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5741] <... memfd_create resumed>) = 3 [pid 5740] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5739] <... futex resumed>) = 1 [pid 5723] <... futex resumed>) = 0 [pid 5741] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5740] <... openat resumed>) = 3 [pid 5739] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5723] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5741] <... mmap resumed>) = 0x7f4e2554e000 [pid 5740] write(3, "1000", 4 [pid 5725] <... futex resumed>) = 0 [pid 5723] <... futex resumed>) = 1 [pid 5740] <... write resumed>) = 4 [pid 5740] close(3) = 0 [pid 5740] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5725] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5723] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5740] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5725] <... ioctl resumed>) = 0 [pid 5740] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5725] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5740] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5725] <... futex resumed>) = 1 [pid 5723] <... futex resumed>) = 0 [pid 5740] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5725] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5723] exit_group(0 [pid 5740] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5739] <... futex resumed>) = ? [pid 5729] <... ioctl resumed>) = 0 [pid 5725] <... futex resumed>) = ? [pid 5723] <... exit_group resumed>) = ? [pid 5740] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5739] +++ exited with 0 +++ [pid 5725] +++ exited with 0 +++ [pid 5740] <... mprotect resumed>) = 0 [pid 5723] +++ exited with 0 +++ [pid 5740] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5723, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=29 /* 0.29 s */} --- [pid 5740] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 5740] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5026] <... restart_syscall resumed>) = 0 [pid 5740] <... clone3 resumed> => {parent_tid=[5742]}, 88) = 5742 [pid 5740] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5740] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] <... openat resumed>) = 3 [pid 5740] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5740] <... futex resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5740] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5026] close(3) = 0 ./strace-static-x86_64: Process 5742 attached [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5743 attached [pid 5742] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 5743 [pid 5742] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5742] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5742] memfd_create("syzkaller", 0) = 3 [pid 5742] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5743] set_robust_list(0x5555558636a0, 24) = 0 [pid 5743] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5743] setpgid(0, 0 [pid 5729] close(4 [pid 5743] <... setpgid resumed>) = 0 [pid 5729] <... close resumed>) = 0 [pid 5743] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5729] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5743] <... openat resumed>) = 3 [pid 5729] <... futex resumed>) = 1 [pid 5727] <... futex resumed>) = 0 [pid 5743] write(3, "1000", 4 [pid 5729] open("./file0", O_RDONLY [pid 5727] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5743] <... write resumed>) = 4 [pid 5729] <... open resumed>) = 3 [pid 5727] <... futex resumed>) = 0 [pid 5743] close(3 [pid 5729] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5727] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5743] <... close resumed>) = 0 [pid 5729] <... futex resumed>) = 0 [pid 5727] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5743] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5729] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5727] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5743] <... futex resumed>) = 0 [pid 5729] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5727] <... futex resumed>) = 0 [pid 5734] 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 5743] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5729] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5727] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5743] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5729] <... ioctl resumed>) = 0 [pid 5743] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5729] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5743] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5729] <... futex resumed>) = 1 [pid 5727] <... futex resumed>) = 0 [pid 5743] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5729] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5727] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5743] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5729] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5727] <... futex resumed>) = 0 [pid 5743] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5729] ioctl(3, 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 5727] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5743] <... mprotect resumed>) = 0 [pid 5743] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5743] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5744]}, 88) = 5744 [pid 5743] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5743] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5744 attached ) = 0 [pid 5744] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5743] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5744] <... rseq resumed>) = 0 [pid 5744] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5744] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5744] memfd_create("syzkaller", 0) = 3 [pid 5744] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 103.078240][ T5729] BTRFS info (device loop2): balance: start -d -m [ 103.084996][ T5729] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5727] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5727] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5727] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5727] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5727] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5727] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5745]}, 88) = 5745 [pid 5727] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5727] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5727] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5745 attached [pid 5745] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5745] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5745] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5745] open("./file0", O_RDONLY) = 4 [pid 5745] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5727] <... futex resumed>) = 0 [pid 5745] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [ 103.134161][ T5729] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 103.173955][ T5729] BTRFS info (device loop2): 2 enospc errors during balance [pid 5727] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5745] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5727] <... futex resumed>) = 0 [pid 5745] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5727] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5745] <... ioctl resumed>) = 0 [pid 5745] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5727] <... futex resumed>) = 0 [pid 5745] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5729] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5729] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5729] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5738] 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 5727] exit_group(0 [pid 5745] <... futex resumed>) = ? [pid 5729] <... futex resumed>) = ? [pid 5727] <... exit_group resumed>) = ? [pid 5745] +++ exited with 0 +++ [pid 5729] +++ exited with 0 +++ [pid 5727] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5727, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=33 /* 0.33 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 103.219506][ T5729] BTRFS info (device loop2): balance: ended with status: -28 [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5741] 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 5021] <... clone resumed>, child_tidptr=0x555555863690) = 5746 ./strace-static-x86_64: Process 5746 attached [pid 5746] set_robust_list(0x5555558636a0, 24) = 0 [pid 5746] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5746] setpgid(0, 0) = 0 [pid 5746] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5746] write(3, "1000", 4) = 4 [pid 5746] close(3) = 0 [pid 5746] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5746] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5746] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5746] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5746] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5746] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5746] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5747]}, 88) = 5747 [pid 5746] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5746] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5746] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5747 attached [pid 5747] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5747] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5747] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5747] memfd_create("syzkaller", 0) = 3 [pid 5747] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5742] 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 5734] <... write resumed>) = 16777216 [pid 5744] 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 5734] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5734] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5734] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5734] ioctl(4, LOOP_CLR_FD) = 0 [pid 5734] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5734] close(4) = 0 [pid 5734] close(3 [pid 5738] <... write resumed>) = 16777216 [pid 5738] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5738] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5738] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5738] close(3) = 0 [pid 5734] <... close resumed>) = 0 [pid 5738] mkdir("./file0", 0777 [pid 5734] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5738] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5734] <... futex resumed>) = 1 [pid 5732] <... futex resumed>) = 0 [pid 5747] 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 5741] <... write resumed>) = 16777216 [pid 5738] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5734] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5732] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5741] munmap(0x7f4e2554e000, 16777216 [pid 5734] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 103.658094][ T5738] loop0: detected capacity change from 0 to 32768 [pid 5732] <... futex resumed>) = 0 [pid 5741] <... munmap resumed>) = 0 [pid 5734] open("./file0", O_RDONLY [pid 5732] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5734] <... open resumed>) = 3 [pid 5734] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5732] <... futex resumed>) = 0 [pid 5734] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5732] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5734] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5732] <... futex resumed>) = 0 [pid 5734] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5732] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5741] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5734] <... ioctl resumed>) = 0 [pid 5741] <... openat resumed>) = 4 [pid 5738] <... mount resumed>) = -1 EEXIST (File exists) [pid 5734] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5741] ioctl(4, LOOP_SET_FD, 3 [ 103.716853][ T5738] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5738) [pid 5738] ioctl(4, LOOP_CLR_FD [pid 5734] <... futex resumed>) = 1 [pid 5732] <... futex resumed>) = 0 [pid 5741] <... ioctl resumed>) = 0 [pid 5734] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5744] <... write resumed>) = 16777216 [pid 5732] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5744] munmap(0x7f4e2554e000, 16777216 [pid 5734] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5732] <... futex resumed>) = 0 [pid 5741] close(3) = 0 [pid 5741] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5741] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5744] <... munmap resumed>) = 0 [pid 5734] ioctl(3, 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 5732] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5744] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5742] <... write resumed>) = 16777216 [ 103.759206][ T5741] loop5: detected capacity change from 0 to 32768 [ 103.778235][ T5734] BTRFS info (device loop2): balance: start -d -m [ 103.784985][ T5741] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5741) [ 103.785231][ T5734] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5744] ioctl(4, LOOP_SET_FD, 3 [pid 5742] munmap(0x7f4e2554e000, 16777216 [pid 5744] <... ioctl resumed>) = 0 [pid 5732] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5744] close(3 [pid 5732] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5744] <... close resumed>) = 0 [pid 5732] <... futex resumed>) = 0 [pid 5744] mkdir("./file0", 0777 [pid 5732] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5744] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5744] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5742] <... munmap resumed>) = 0 [pid 5741] <... mount resumed>) = -1 EEXIST (File exists) [pid 5732] <... mmap resumed>) = 0x7f4e2652d000 [pid 5742] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5741] ioctl(4, LOOP_CLR_FD [pid 5742] <... openat resumed>) = 4 [pid 5742] ioctl(4, LOOP_SET_FD, 3 [ 103.811405][ T5744] loop4: detected capacity change from 0 to 32768 [ 103.844332][ T5744] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5744) [ 103.846978][ T5742] loop3: detected capacity change from 0 to 32768 [pid 5732] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5732] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5744] <... mount resumed>) = -1 EEXIST (File exists) [pid 5732] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5744] ioctl(4, LOOP_CLR_FD [pid 5732] <... clone3 resumed> => {parent_tid=[5749]}, 88) = 5749 [pid 5732] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5732] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5732] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5749 attached [pid 5749] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5749] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5749] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5749] open("./file0", O_RDONLY) = 4 [pid 5732] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5749] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5732] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5749] <... futex resumed>) = 0 [pid 5742] <... ioctl resumed>) = 0 [pid 5734] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5732] <... futex resumed>) = 0 [ 103.862914][ T5734] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 103.887067][ T5734] BTRFS info (device loop2): 2 enospc errors during balance [ 103.894589][ T5734] BTRFS info (device loop2): balance: ended with status: -28 [pid 5749] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5742] close(3 [pid 5734] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5732] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5749] <... ioctl resumed>) = 0 [pid 5742] <... close resumed>) = 0 [pid 5734] <... futex resumed>) = 0 [pid 5749] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5742] mkdir("./file0", 0777 [pid 5734] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5749] <... futex resumed>) = 1 [pid 5742] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5732] <... futex resumed>) = 0 [pid 5749] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5742] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5732] exit_group(0 [pid 5749] <... futex resumed>) = ? [pid 5734] <... futex resumed>) = ? [pid 5732] <... exit_group resumed>) = ? [pid 5749] +++ exited with 0 +++ [pid 5734] +++ exited with 0 +++ [pid 5732] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5732, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=30 /* 0.30 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5742] <... mount resumed>) = -1 EEXIST (File exists) [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5750 attached [pid 5747] <... write resumed>) = 16777216 [pid 5742] ioctl(4, LOOP_CLR_FD [pid 5750] set_robust_list(0x5555558636a0, 24 [pid 5747] munmap(0x7f4e2554e000, 16777216 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 5750 [pid 5750] <... set_robust_list resumed>) = 0 [pid 5750] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5747] <... munmap resumed>) = 0 [pid 5744] <... ioctl resumed>) = 0 [pid 5750] <... prctl resumed>) = 0 [pid 5747] openat(AT_FDCWD, "/dev/loop1", O_RDWR [ 103.969373][ T5742] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5742) [pid 5744] close(4 [pid 5750] setpgid(0, 0 [pid 5747] <... openat resumed>) = 4 [pid 5744] <... close resumed>) = 0 [pid 5750] <... setpgid resumed>) = 0 [pid 5747] ioctl(4, LOOP_SET_FD, 3 [pid 5744] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5750] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5744] <... futex resumed>) = 1 [pid 5744] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5743] <... futex resumed>) = 0 [pid 5750] <... openat resumed>) = 3 [pid 5744] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5743] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5750] write(3, "1000", 4 [pid 5744] open("./file0", O_RDONLY [pid 5743] <... futex resumed>) = 0 [pid 5750] <... write resumed>) = 4 [pid 5750] close(3 [pid 5744] <... open resumed>) = 3 [pid 5743] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5750] <... close resumed>) = 0 [pid 5747] <... ioctl resumed>) = 0 [pid 5744] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5743] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5750] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5747] close(3 [pid 5744] <... futex resumed>) = 0 [pid 5743] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5750] <... futex resumed>) = 0 [pid 5747] <... close resumed>) = 0 [pid 5744] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5743] <... futex resumed>) = 0 [pid 5750] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5747] mkdir("./file0", 0777 [pid 5744] <... ioctl resumed>) = 0 [pid 5743] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5750] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5747] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5744] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5743] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5750] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5747] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5744] <... futex resumed>) = 0 [pid 5743] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5738] <... ioctl resumed>) = 0 [pid 5750] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5750] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5744] ioctl(3, 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 5743] <... futex resumed>) = 0 [pid 5750] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5743] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5738] close(4 [pid 5750] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5738] <... close resumed>) = 0 [pid 5750] <... mprotect resumed>) = 0 [pid 5738] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5750] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5738] <... futex resumed>) = 1 [pid 5736] <... futex resumed>) = 0 [pid 5750] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5738] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 104.042804][ T5747] loop1: detected capacity change from 0 to 32768 [ 104.072546][ T5747] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5747) [ 104.085439][ T5744] BTRFS info (device loop2): balance: start -d -m [pid 5736] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5750] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5738] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5736] <... futex resumed>) = 0 [pid 5747] <... mount resumed>) = -1 EEXIST (File exists) [pid 5741] <... ioctl resumed>) = 0 [pid 5738] open("./file0", O_RDONLY [pid 5736] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5750] <... clone3 resumed> => {parent_tid=[5751]}, 88) = 5751 [pid 5747] ioctl(4, LOOP_CLR_FD [pid 5741] close(4 [pid 5738] <... open resumed>) = 3 [pid 5750] rt_sigprocmask(SIG_SETMASK, [], [pid 5741] <... close resumed>) = 0 [pid 5738] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5750] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5741] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5738] <... futex resumed>) = 1 [pid 5736] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5751 attached [pid 5750] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5741] <... futex resumed>) = 1 [pid 5738] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5737] <... futex resumed>) = 0 [pid 5736] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5751] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5750] <... futex resumed>) = 0 [pid 5743] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5741] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5738] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5737] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5736] <... futex resumed>) = 0 [pid 5751] <... rseq resumed>) = 0 [pid 5750] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5743] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5741] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5738] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5737] <... futex resumed>) = 0 [pid 5736] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5751] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5743] <... futex resumed>) = 0 [pid 5741] open("./file0", O_RDONLY [pid 5738] <... ioctl resumed>) = 0 [pid 5737] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5751] <... set_robust_list resumed>) = 0 [pid 5743] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5741] <... open resumed>) = 3 [pid 5751] rt_sigprocmask(SIG_SETMASK, [], [pid 5743] <... mmap resumed>) = 0x7f4e2652d000 [pid 5741] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5738] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5751] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5743] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5741] <... futex resumed>) = 1 [pid 5738] <... futex resumed>) = 1 [pid 5737] <... futex resumed>) = 0 [pid 5736] <... futex resumed>) = 0 [pid 5751] memfd_create("syzkaller", 0 [pid 5743] <... mprotect resumed>) = 0 [pid 5741] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5738] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5737] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5736] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5751] <... memfd_create resumed>) = 3 [pid 5743] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5741] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 104.097932][ T5744] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 104.123512][ T5744] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5738] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5737] <... futex resumed>) = 0 [pid 5736] <... futex resumed>) = 0 [pid 5751] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5741] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5751] <... mmap resumed>) = 0x7f4e2554e000 [pid 5741] <... ioctl resumed>) = 0 [pid 5743] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5741] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5738] ioctl(3, 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 5737] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5736] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5743] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5741] <... futex resumed>) = 0 [pid 5738] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5737] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5741] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5738] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5737] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5743] <... clone3 resumed> => {parent_tid=[5752]}, 88) = 5752 [pid 5741] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5738] <... futex resumed>) = 1 [pid 5737] <... futex resumed>) = 0 [pid 5736] <... futex resumed>) = 0 [pid 5743] rt_sigprocmask(SIG_SETMASK, [], [pid 5741] ioctl(3, 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 5738] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5737] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5736] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5743] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5738] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) ./strace-static-x86_64: Process 5752 attached [pid 5743] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5738] open("./file0", O_RDONLY [pid 5736] <... futex resumed>) = 0 [pid 5752] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5743] <... futex resumed>) = 0 [pid 5738] <... open resumed>) = 4 [pid 5736] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5752] <... rseq resumed>) = 0 [pid 5743] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5738] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5736] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5752] set_robust_list(0x7f4e2654d9a0, 24 [pid 5738] <... futex resumed>) = 0 [pid 5736] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5752] <... set_robust_list resumed>) = 0 [pid 5738] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5736] <... futex resumed>) = 0 [pid 5752] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5736] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5752] open("./file0", O_RDONLY) = 4 [pid 5752] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5743] <... futex resumed>) = 0 [pid 5738] <... ioctl resumed>) = 0 [pid 5752] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5743] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5738] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5752] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5743] <... futex resumed>) = 0 [pid 5738] <... futex resumed>) = 1 [pid 5736] <... futex resumed>) = 0 [ 104.154079][ T5744] BTRFS info (device loop2): 2 enospc errors during balance [ 104.171458][ T5744] BTRFS info (device loop2): balance: ended with status: -28 [pid 5752] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5743] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5738] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5736] exit_group(0 [pid 5752] <... ioctl resumed>) = 0 [pid 5744] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5741] <... 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}}) = 8 [pid 5738] <... futex resumed>) = ? [pid 5736] <... exit_group resumed>) = ? [pid 5752] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5741] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5738] +++ exited with 0 +++ [pid 5752] <... futex resumed>) = 1 [pid 5743] <... futex resumed>) = 0 [pid 5741] <... futex resumed>) = 1 [pid 5736] +++ exited with 0 +++ [pid 5752] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5744] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5743] exit_group(0 [pid 5742] <... ioctl resumed>) = 0 [pid 5741] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5737] <... futex resumed>) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5736, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=22 /* 0.22 s */} --- [pid 5752] <... futex resumed>) = ? [pid 5744] <... futex resumed>) = ? [pid 5743] <... exit_group resumed>) = ? [pid 5742] close(4 [pid 5737] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5752] +++ exited with 0 +++ [pid 5744] +++ exited with 0 +++ [pid 5743] +++ exited with 0 +++ [pid 5742] <... close resumed>) = 0 [pid 5741] <... futex resumed>) = 0 [pid 5737] <... futex resumed>) = 1 [pid 5742] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5741] open("./file0", O_RDONLY [pid 5737] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5742] <... futex resumed>) = 1 [pid 5741] <... open resumed>) = 4 [pid 5740] <... futex resumed>) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5743, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- [pid 5020] <... openat resumed>) = 3 [pid 5742] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5741] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5740] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 5020] ioctl(3, LOOP_CLR_FD [pid 5742] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5741] <... futex resumed>) = 1 [pid 5740] <... futex resumed>) = 0 [pid 5737] <... futex resumed>) = 0 [pid 5026] <... restart_syscall resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5742] open("./file0", O_RDONLY [pid 5741] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5740] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5737] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] close(3 [pid 5742] <... open resumed>) = 3 [pid 5741] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5737] <... futex resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 5742] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5741] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5737] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5747] <... ioctl resumed>) = 0 [pid 5742] <... futex resumed>) = 1 [pid 5741] <... ioctl resumed>) = 0 [pid 5740] <... futex resumed>) = 0 [pid 5026] <... openat resumed>) = 3 [pid 5741] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5740] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 5753 [pid 5741] <... futex resumed>) = 1 [pid 5740] <... futex resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5741] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5740] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] close(3./strace-static-x86_64: Process 5753 attached [pid 5747] close(4 [pid 5742] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5737] <... futex resumed>) = 0 [pid 5026] <... close resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5753] set_robust_list(0x5555558636a0, 24 [pid 5747] <... close resumed>) = 0 [pid 5742] <... ioctl resumed>) = 0 [pid 5737] exit_group(0 [pid 5753] <... set_robust_list resumed>) = 0 [pid 5747] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5742] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5741] <... futex resumed>) = ? [pid 5737] <... exit_group resumed>) = ? [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 5754 [pid 5753] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5747] <... futex resumed>) = 1 [pid 5746] <... futex resumed>) = 0 [pid 5742] <... futex resumed>) = 1 [pid 5741] +++ exited with 0 +++ [pid 5740] <... futex resumed>) = 0 [pid 5737] +++ exited with 0 +++ [pid 5746] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5740] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5737, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=20 /* 0.20 s */} --- ./strace-static-x86_64: Process 5754 attached [pid 5753] <... prctl resumed>) = 0 [pid 5747] open("./file0", O_RDONLY [pid 5746] <... futex resumed>) = 0 [pid 5742] ioctl(3, 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 5740] <... futex resumed>) = 0 [pid 5753] setpgid(0, 0 [pid 5747] <... open resumed>) = 3 [pid 5746] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5740] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5753] <... setpgid resumed>) = 0 [pid 5747] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5754] set_robust_list(0x5555558636a0, 24 [pid 5753] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5747] <... futex resumed>) = 1 [pid 5746] <... futex resumed>) = 0 [pid 5027] <... openat resumed>) = 3 [pid 5746] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5746] <... futex resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5746] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] close(3) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5755 ./strace-static-x86_64: Process 5755 attached [pid 5755] set_robust_list(0x5555558636a0, 24) = 0 [pid 5747] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5753] <... openat resumed>) = 3 [pid 5747] <... ioctl resumed>) = 0 [pid 5754] <... set_robust_list resumed>) = 0 [pid 5753] write(3, "1000", 4 [pid 5747] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5755] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5755] setpgid(0, 0) = 0 [pid 5755] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5753] <... write resumed>) = 4 [pid 5747] <... futex resumed>) = 1 [pid 5754] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5746] <... futex resumed>) = 0 [pid 5755] <... openat resumed>) = 3 [pid 5754] <... prctl resumed>) = 0 [pid 5753] close(3 [pid 5747] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5746] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5755] write(3, "1000", 4 [pid 5746] <... futex resumed>) = 0 [pid 5755] <... write resumed>) = 4 [pid 5746] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5755] close(3 [pid 5754] setpgid(0, 0 [pid 5753] <... close resumed>) = 0 [pid 5747] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5755] <... close resumed>) = 0 [pid 5755] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5755] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5755] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5747] ioctl(3, 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 5755] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5754] <... setpgid resumed>) = 0 [pid 5753] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5747] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5755] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5754] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5753] <... futex resumed>) = 0 [pid 5747] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5755] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5754] <... openat resumed>) = 3 [pid 5753] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5747] <... futex resumed>) = 1 [pid 5746] <... futex resumed>) = 0 [pid 5755] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5754] write(3, "1000", 4 [pid 5753] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5747] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5746] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5755] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5754] <... write resumed>) = 4 [pid 5753] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5747] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5746] <... futex resumed>) = 0 [pid 5755] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5754] close(3 [pid 5753] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5747] open("./file0", O_RDONLY [pid 5746] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5754] <... close resumed>) = 0 [pid 5753] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5747] <... open resumed>) = 4 [pid 5755] <... clone3 resumed> => {parent_tid=[5756]}, 88) = 5756 [pid 5754] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5753] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5747] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5755] rt_sigprocmask(SIG_SETMASK, [], [pid 5754] <... futex resumed>) = 0 [pid 5753] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5747] <... futex resumed>) = 1 [pid 5746] <... futex resumed>) = 0 [pid 5755] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5754] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5753] <... mprotect resumed>) = 0 [pid 5747] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5746] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5755] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5754] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5753] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5747] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5746] <... futex resumed>) = 0 [pid 5755] <... futex resumed>) = 0 [pid 5754] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5753] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5747] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5746] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5756 attached [ 104.305641][ T5742] BTRFS info (device loop2): balance: start -d -m [ 104.328581][ T5742] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5755] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5754] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5753] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5740] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5756] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5754] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5751] 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./strace-static-x86_64: Process 5757 attached [pid 5756] <... rseq resumed>) = 0 [pid 5754] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5753] <... clone3 resumed> => {parent_tid=[5757]}, 88) = 5757 [pid 5747] <... ioctl resumed>) = 0 [pid 5740] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5756] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5754] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5753] rt_sigprocmask(SIG_SETMASK, [], [pid 5756] <... set_robust_list resumed>) = 0 [pid 5754] <... mprotect resumed>) = 0 [pid 5753] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5757] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5756] rt_sigprocmask(SIG_SETMASK, [], [pid 5754] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5753] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5747] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5740] <... futex resumed>) = 0 [pid 5756] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5754] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5753] <... futex resumed>) = 0 [pid 5747] <... futex resumed>) = 1 [pid 5746] <... futex resumed>) = 0 [pid 5756] memfd_create("syzkaller", 0 [pid 5754] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5753] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5747] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5746] exit_group(0 [pid 5757] <... rseq resumed>) = 0 [pid 5756] <... memfd_create resumed>) = 3 [pid 5747] <... futex resumed>) = ? [pid 5746] <... exit_group resumed>) = ? [pid 5740] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5757] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5756] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5754] <... clone3 resumed> => {parent_tid=[5758]}, 88) = 5758 [pid 5747] +++ exited with 0 +++ [pid 5746] +++ exited with 0 +++ [pid 5740] <... mmap resumed>) = 0x7f4e2652d000 ./strace-static-x86_64: Process 5758 attached [pid 5757] <... set_robust_list resumed>) = 0 [pid 5756] <... mmap resumed>) = 0x7f4e2554e000 [pid 5754] rt_sigprocmask(SIG_SETMASK, [], [pid 5742] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5740] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5746, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=24 /* 0.24 s */} --- [pid 5758] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5757] rt_sigprocmask(SIG_SETMASK, [], [pid 5754] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5742] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5740] <... mprotect resumed>) = 0 [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 5758] <... rseq resumed>) = 0 [pid 5757] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5754] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5742] <... futex resumed>) = 0 [pid 5740] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5021] <... restart_syscall resumed>) = 0 [pid 5758] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5757] memfd_create("syzkaller", 0 [pid 5754] <... futex resumed>) = 0 [pid 5742] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5740] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5758] <... set_robust_list resumed>) = 0 [pid 5757] <... memfd_create resumed>) = 3 [pid 5754] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5740] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5758] rt_sigprocmask(SIG_SETMASK, [], [pid 5757] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5758] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5758] memfd_create("syzkaller", 0 [pid 5757] <... mmap resumed>) = 0x7f4e2554e000 [pid 5740] <... clone3 resumed> => {parent_tid=[5759]}, 88) = 5759 [pid 5021] <... openat resumed>) = 3 [pid 5758] <... memfd_create resumed>) = 3 [pid 5740] rt_sigprocmask(SIG_SETMASK, [], [pid 5758] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5758] <... mmap resumed>) = 0x7f4e2554e000 [pid 5740] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 5759 attached [pid 5759] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5740] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] close(3 [pid 5759] set_robust_list(0x7f4e2654d9a0, 24 [pid 5740] <... futex resumed>) = 0 [pid 5021] <... close resumed>) = 0 [pid 5759] <... set_robust_list resumed>) = 0 [pid 5759] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5759] open("./file0", O_RDONLY) = 4 [pid 5759] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5759] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5740] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5740] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5740] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 5760 [pid 5742] <... futex resumed>) = 0 [pid 5740] <... futex resumed>) = 1 [pid 5742] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [ 104.359260][ T5742] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 104.374865][ T5742] BTRFS info (device loop2): 2 enospc errors during balance [ 104.382902][ T5742] BTRFS info (device loop2): balance: ended with status: -28 [pid 5740] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5742] <... ioctl resumed>) = 0 [pid 5742] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5740] <... futex resumed>) = 0 [pid 5742] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5740] exit_group(0 [pid 5759] <... futex resumed>) = ? [pid 5742] <... futex resumed>) = ? [pid 5740] <... exit_group resumed>) = ? [pid 5759] +++ exited with 0 +++ [pid 5742] +++ exited with 0 +++ [pid 5740] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5740, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=28 /* 0.28 s */} --- [pid 5025] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR./strace-static-x86_64: Process 5760 attached ) = 3 [pid 5760] set_robust_list(0x5555558636a0, 24 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5760] <... set_robust_list resumed>) = 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5760] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5025] close(3 [pid 5760] <... prctl resumed>) = 0 [pid 5025] <... close resumed>) = 0 [pid 5760] setpgid(0, 0) = 0 [pid 5760] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5760] write(3, "1000", 4) = 4 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5760] close(3) = 0 [pid 5760] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5761 [pid 5760] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5760] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], ./strace-static-x86_64: Process 5761 attached NULL, 8) = 0 [pid 5760] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5761] set_robust_list(0x5555558636a0, 24 [pid 5760] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5761] <... set_robust_list resumed>) = 0 [pid 5760] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5761] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5760] <... mprotect resumed>) = 0 [pid 5761] <... prctl resumed>) = 0 [pid 5760] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5761] setpgid(0, 0 [pid 5760] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5761] <... setpgid resumed>) = 0 [pid 5760] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5761] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5760] <... clone3 resumed> => {parent_tid=[5762]}, 88) = 5762 [pid 5761] write(3, "1000", 4 [pid 5760] rt_sigprocmask(SIG_SETMASK, [], [pid 5761] <... write resumed>) = 4 [pid 5760] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5761] close(3 [pid 5760] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5762 attached [pid 5761] <... close resumed>) = 0 [pid 5760] <... futex resumed>) = 0 [pid 5762] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5761] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5760] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5762] <... rseq resumed>) = 0 [pid 5761] <... futex resumed>) = 0 [pid 5762] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5761] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5762] <... set_robust_list resumed>) = 0 [pid 5761] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5762] rt_sigprocmask(SIG_SETMASK, [], [pid 5761] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5762] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5761] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5762] memfd_create("syzkaller", 0 [pid 5761] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5762] <... memfd_create resumed>) = 3 [pid 5761] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5762] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5761] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5762] <... mmap resumed>) = 0x7f4e2554e000 [pid 5761] <... mprotect resumed>) = 0 [pid 5761] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5761] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5763]}, 88) = 5763 [pid 5761] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5761] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 5763 attached [pid 5761] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5763] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5763] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5763] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5763] memfd_create("syzkaller", 0) = 3 [pid 5763] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5756] 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 5758] 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 5757] 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 5751] <... write resumed>) = 16777216 [pid 5751] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5751] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5751] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5751] ioctl(4, LOOP_CLR_FD) = 0 [pid 5751] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5751] close(4) = 0 [pid 5751] close(3 [pid 5762] 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 5763] 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 5751] <... close resumed>) = 0 [pid 5751] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5750] <... futex resumed>) = 0 [pid 5750] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5751] open("./file0", O_RDONLY [pid 5750] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5751] <... open resumed>) = 3 [pid 5751] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5750] <... futex resumed>) = 0 [pid 5750] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5751] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5750] <... futex resumed>) = 0 [pid 5750] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5751] <... ioctl resumed>) = 0 [pid 5751] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5750] <... futex resumed>) = 0 [pid 5750] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5751] ioctl(3, 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 5750] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5758] <... write resumed>) = 16777216 [pid 5758] munmap(0x7f4e2554e000, 16777216 [pid 5756] <... write resumed>) = 16777216 [pid 5756] munmap(0x7f4e2554e000, 16777216 [pid 5758] <... munmap resumed>) = 0 [pid 5757] <... write resumed>) = 16777216 [pid 5757] munmap(0x7f4e2554e000, 16777216 [pid 5750] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5750] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5750] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5758] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5750] <... mmap resumed>) = 0x7f4e2652d000 [pid 5758] ioctl(4, LOOP_SET_FD, 3 [ 105.098820][ T5751] BTRFS info (device loop2): balance: start -d -m [ 105.112111][ T5751] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5750] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5757] <... munmap resumed>) = 0 [pid 5756] <... munmap resumed>) = 0 [pid 5750] <... mprotect resumed>) = 0 [pid 5757] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5750] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5750] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5756] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5757] ioctl(4, LOOP_SET_FD, 3 [pid 5756] <... openat resumed>) = 4 [pid 5756] ioctl(4, LOOP_SET_FD, 3 [pid 5750] <... clone3 resumed> => {parent_tid=[5765]}, 88) = 5765 [pid 5750] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 5765 attached [pid 5765] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5765] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5765] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5765] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5756] <... ioctl resumed>) = 0 [pid 5750] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5758] <... ioctl resumed>) = 0 [pid 5758] close(3) = 0 [pid 5758] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 105.152686][ T5758] loop4: detected capacity change from 0 to 32768 [ 105.169356][ T5751] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 105.169850][ T5757] loop0: detected capacity change from 0 to 32768 [ 105.186740][ T5756] loop5: detected capacity change from 0 to 32768 [pid 5758] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5756] close(3 [pid 5750] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5756] <... close resumed>) = 0 [pid 5765] <... futex resumed>) = 0 [pid 5750] <... futex resumed>) = 1 [pid 5765] open("./file0", O_RDONLY) = 4 [pid 5756] mkdir("./file0", 0777 [pid 5750] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5765] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5765] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5756] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5750] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5756] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5757] <... ioctl resumed>) = 0 [pid 5757] close(3) = 0 [pid 5757] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5750] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5757] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5765] <... futex resumed>) = 0 [pid 5750] <... futex resumed>) = 1 [pid 5765] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5750] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5765] <... ioctl resumed>) = 0 [pid 5762] <... write resumed>) = 16777216 [pid 5765] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5765] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5758] <... mount resumed>) = -1 EEXIST (File exists) [pid 5758] ioctl(4, LOOP_CLR_FD [pid 5750] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5763] <... write resumed>) = 16777216 [pid 5763] munmap(0x7f4e2554e000, 16777216 [pid 5762] munmap(0x7f4e2554e000, 16777216 [pid 5763] <... munmap resumed>) = 0 [pid 5763] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [ 105.198288][ T5758] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5758) [ 105.214761][ T5751] BTRFS info (device loop2): 2 enospc errors during balance [ 105.229684][ T5751] BTRFS info (device loop2): balance: ended with status: -28 [ 105.238877][ T5756] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5756) [pid 5763] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5762] <... munmap resumed>) = 0 [pid 5756] <... mount resumed>) = -1 EEXIST (File exists) [pid 5762] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5756] ioctl(4, LOOP_CLR_FD [pid 5762] <... openat resumed>) = 4 [pid 5763] close(3 [pid 5762] ioctl(4, LOOP_SET_FD, 3 [pid 5763] <... close resumed>) = 0 [pid 5757] <... mount resumed>) = -1 EEXIST (File exists) [pid 5757] ioctl(4, LOOP_CLR_FD [pid 5751] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5751] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5751] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5750] exit_group(0 [pid 5765] <... futex resumed>) = ? [pid 5751] <... futex resumed>) = ? [pid 5750] <... exit_group resumed>) = ? [pid 5765] +++ exited with 0 +++ [pid 5751] +++ exited with 0 +++ [pid 5750] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5750, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=27 /* 0.27 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 5763] mkdir("./file0", 0777 [pid 5022] <... restart_syscall resumed>) = 0 [pid 5763] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5762] <... ioctl resumed>) = 0 [pid 5763] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5762] close(3 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5762] <... close resumed>) = 0 [pid 5762] mkdir("./file0", 0777 [pid 5022] <... openat resumed>) = 3 [pid 5762] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5022] ioctl(3, LOOP_CLR_FD [pid 5762] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5022] <... ioctl resumed>) = 0 [pid 5022] close(3) = 0 [ 105.261467][ T5763] loop3: detected capacity change from 0 to 32768 [ 105.268278][ T5757] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5757) [ 105.278729][ T5762] loop1: detected capacity change from 0 to 32768 [ 105.289508][ T5763] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5763) [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5766 [pid 5763] <... mount resumed>) = -1 EEXIST (File exists) [pid 5763] ioctl(4, LOOP_CLR_FD./strace-static-x86_64: Process 5766 attached [pid 5766] set_robust_list(0x5555558636a0, 24) = 0 [pid 5766] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5766] setpgid(0, 0 [pid 5762] <... mount resumed>) = -1 EEXIST (File exists) [pid 5766] <... setpgid resumed>) = 0 [pid 5762] ioctl(4, LOOP_CLR_FD [pid 5766] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5766] write(3, "1000", 4) = 4 [pid 5766] close(3) = 0 [pid 5766] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5766] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5766] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5766] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5766] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [ 105.306699][ T5762] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5762) [pid 5766] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5766] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5768]}, 88) = 5768 [pid 5766] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5766] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5766] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5768 attached [pid 5768] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5768] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5768] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5768] memfd_create("syzkaller", 0) = 3 [pid 5768] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5756] <... ioctl resumed>) = 0 [pid 5756] close(4 [pid 5758] <... ioctl resumed>) = 0 [pid 5756] <... close resumed>) = 0 [pid 5756] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5756] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5755] <... futex resumed>) = 0 [pid 5755] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5756] <... futex resumed>) = 0 [pid 5755] <... futex resumed>) = 1 [pid 5756] open("./file0", O_RDONLY) = 3 [pid 5755] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5756] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5756] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5755] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5755] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5755] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5756] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5756] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 5756] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5755] <... futex resumed>) = 0 [pid 5756] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) [pid 5755] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5756] ioctl(3, 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 5755] <... futex resumed>) = 0 [pid 5758] close(4 [pid 5755] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5758] <... close resumed>) = 0 [pid 5757] <... ioctl resumed>) = 0 [pid 5758] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5757] close(4 [pid 5758] <... futex resumed>) = 1 [pid 5757] <... close resumed>) = 0 [pid 5754] <... futex resumed>) = 0 [pid 5758] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5757] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5754] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5758] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5757] <... futex resumed>) = 1 [pid 5754] <... futex resumed>) = 0 [pid 5753] <... futex resumed>) = 0 [pid 5753] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5753] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5758] open("./file0", O_RDONLY [pid 5757] open("./file0", O_RDONLY [pid 5754] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5763] <... ioctl resumed>) = 0 [pid 5758] <... open resumed>) = 3 [pid 5757] <... open resumed>) = 3 [pid 5758] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [ 105.516318][ T5756] BTRFS info (device loop2): balance: start -d -m [ 105.523125][ T5756] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5757] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5758] <... futex resumed>) = 1 [pid 5757] <... futex resumed>) = 1 [pid 5754] <... futex resumed>) = 0 [pid 5753] <... futex resumed>) = 0 [pid 5758] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5757] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5754] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5753] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5753] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5758] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5757] <... ioctl resumed>) = 0 [pid 5754] <... futex resumed>) = 0 [pid 5758] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5757] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5754] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5758] <... ioctl resumed>) = 0 [pid 5757] <... futex resumed>) = 1 [pid 5753] <... futex resumed>) = 0 [pid 5753] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5757] ioctl(3, 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 5758] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5757] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5754] <... futex resumed>) = 0 [pid 5753] <... futex resumed>) = 0 [pid 5758] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5757] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5754] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5753] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5758] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5757] <... futex resumed>) = 0 [pid 5754] <... futex resumed>) = 0 [pid 5753] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5758] ioctl(3, 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 5757] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5754] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5753] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5758] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5757] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5755] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5753] <... futex resumed>) = 0 [pid 5758] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5757] open("./file0", O_RDONLY [pid 5755] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5753] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5758] <... futex resumed>) = 1 [pid 5757] <... open resumed>) = 4 [pid 5754] <... futex resumed>) = 0 [pid 5755] <... futex resumed>) = 0 [pid 5758] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5757] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5755] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5754] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5758] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5757] <... futex resumed>) = 1 [pid 5755] <... mmap resumed>) = 0x7f4e2652d000 [pid 5753] <... futex resumed>) = 0 [pid 5758] open("./file0", O_RDONLY [pid 5757] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5755] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5754] <... futex resumed>) = 0 [pid 5753] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5753] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5758] <... open resumed>) = 4 [pid 5755] <... mprotect resumed>) = 0 [pid 5754] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5758] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5755] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5758] <... futex resumed>) = 1 [pid 5754] <... futex resumed>) = 0 [pid 5763] close(4 [pid 5762] <... ioctl resumed>) = 0 [pid 5758] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5757] <... ioctl resumed>) = 0 [pid 5755] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5754] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5763] <... close resumed>) = 0 [pid 5762] close(4 [pid 5758] <... ioctl resumed>) = 0 [pid 5757] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5755] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5754] <... futex resumed>) = 0 [pid 5763] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5762] <... close resumed>) = 0 [pid 5758] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5757] <... futex resumed>) = 1 [pid 5754] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5758] <... futex resumed>) = 0 [pid 5763] <... futex resumed>) = 1 [pid 5761] <... futex resumed>) = 0 [pid 5757] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5755] <... clone3 resumed> => {parent_tid=[5769]}, 88) = 5769 [pid 5758] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5754] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5762] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5763] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5762] <... futex resumed>) = 1 [pid 5761] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5760] <... futex resumed>) = 0 [pid 5755] rt_sigprocmask(SIG_SETMASK, [], [pid 5754] exit_group(0 [pid 5753] <... futex resumed>) = 0 [pid 5763] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5762] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5761] <... futex resumed>) = 0 [pid 5760] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5758] <... futex resumed>) = ? [pid 5755] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5754] <... exit_group resumed>) = ? [pid 5753] exit_group(0 [pid 5763] open("./file0", O_RDONLY [pid 5762] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5761] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5760] <... futex resumed>) = 0 [pid 5758] +++ exited with 0 +++ [pid 5753] <... exit_group resumed>) = ? [pid 5760] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5754] +++ exited with 0 +++ [pid 5757] <... futex resumed>) = ? [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5754, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- [pid 5757] +++ exited with 0 +++ [pid 5753] +++ exited with 0 +++ [pid 5763] <... open resumed>) = 3 [pid 5762] open("./file0", O_RDONLY [pid 5755] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5769 attached [pid 5763] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5755] <... futex resumed>) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5755] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5753, si_uid=0, si_status=0, si_utime=0, si_stime=25 /* 0.25 s */} --- [pid 5763] <... futex resumed>) = 1 [pid 5762] <... open resumed>) = 3 [pid 5761] <... futex resumed>) = 0 [pid 5026] <... openat resumed>) = 3 [pid 5763] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5762] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5761] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5763] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5762] <... futex resumed>) = 1 [pid 5761] <... futex resumed>) = 0 [pid 5760] <... futex resumed>) = 0 [pid 5763] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5762] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5761] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5760] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5020] <... openat resumed>) = 3 [pid 5763] <... ioctl resumed>) = 0 [pid 5762] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5760] <... futex resumed>) = 0 [pid 5026] close(3 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 5763] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5762] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5760] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] <... close resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5763] <... futex resumed>) = 1 [pid 5762] <... ioctl resumed>) = 0 [pid 5761] <... futex resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5020] close(3 [pid 5763] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5762] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5761] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5769] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5769] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5769] rt_sigprocmask(SIG_SETMASK, [], [pid 5020] <... close resumed>) = 0 [pid 5763] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5761] <... futex resumed>) = 0 [pid 5763] ioctl(3, 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 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5762] <... futex resumed>) = 1 [pid 5761] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5760] <... futex resumed>) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 5770 [pid 5763] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5769] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5769] open("./file0", O_RDONLY) = 4 [pid 5769] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5755] <... futex resumed>) = 0 [pid 5760] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5755] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5763] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5762] ioctl(3, 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 5760] <... futex resumed>) = 0 [pid 5755] <... futex resumed>) = 0 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 5771 [pid 5763] <... futex resumed>) = 1 [pid 5762] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5761] <... futex resumed>) = 0 [pid 5760] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5755] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5763] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5762] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5761] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5760] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5763] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5762] <... futex resumed>) = 0 [pid 5761] <... futex resumed>) = 0 [pid 5760] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5763] open("./file0", O_RDONLY [pid 5762] open("./file0", O_RDONLY [pid 5761] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5760] <... futex resumed>) = 0 [pid 5763] <... open resumed>) = 4 [pid 5762] <... open resumed>) = 4 [pid 5760] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5763] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5762] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5761] <... futex resumed>) = 0 [pid 5763] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5762] <... futex resumed>) = 1 [pid 5761] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5760] <... futex resumed>) = 0 [pid 5763] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5762] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5761] <... futex resumed>) = 0 [pid 5760] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5771 attached [pid 5763] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5762] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 105.606182][ T5756] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 105.634057][ T5756] BTRFS info (device loop2): 2 enospc errors during balance [pid 5761] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5760] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5770 attached [pid 5771] set_robust_list(0x5555558636a0, 24 [pid 5769] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5763] <... ioctl resumed>) = 0 [pid 5762] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5760] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5756] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5771] <... set_robust_list resumed>) = 0 [pid 5770] set_robust_list(0x5555558636a0, 24 [pid 5769] <... ioctl resumed>) = 0 [pid 5763] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5756] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5771] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5770] <... set_robust_list resumed>) = 0 [pid 5769] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5763] <... futex resumed>) = 1 [pid 5762] <... ioctl resumed>) = 0 [pid 5761] <... futex resumed>) = 0 [pid 5756] <... futex resumed>) = 0 [pid 5771] <... prctl resumed>) = 0 [pid 5770] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5769] <... futex resumed>) = 1 [pid 5763] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5762] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5761] exit_group(0 [pid 5756] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5755] <... futex resumed>) = 0 [pid 5771] setpgid(0, 0 [pid 5770] <... prctl resumed>) = 0 [pid 5769] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5763] <... futex resumed>) = ? [pid 5762] <... futex resumed>) = 1 [pid 5761] <... exit_group resumed>) = ? [pid 5760] <... futex resumed>) = 0 [pid 5755] exit_group(0 [pid 5771] <... setpgid resumed>) = 0 [pid 5770] setpgid(0, 0 [pid 5769] <... futex resumed>) = ? [pid 5763] +++ exited with 0 +++ [pid 5762] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5761] +++ exited with 0 +++ [pid 5760] exit_group(0 [pid 5756] <... futex resumed>) = ? [pid 5755] <... exit_group resumed>) = ? [pid 5771] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5770] <... setpgid resumed>) = 0 [pid 5769] +++ exited with 0 +++ [pid 5762] <... futex resumed>) = ? [pid 5760] <... exit_group resumed>) = ? [pid 5756] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5761, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=24 /* 0.24 s */} --- [pid 5771] <... openat resumed>) = 3 [pid 5770] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5762] +++ exited with 0 +++ [pid 5760] +++ exited with 0 +++ [pid 5755] +++ exited with 0 +++ [pid 5771] write(3, "1000", 4 [pid 5770] <... openat resumed>) = 3 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5755, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=32 /* 0.32 s */} --- [pid 5771] <... write resumed>) = 4 [pid 5770] write(3, "1000", 4 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5760, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=28 /* 0.28 s */} --- [pid 5771] close(3 [pid 5770] <... write resumed>) = 4 [pid 5025] <... openat resumed>) = 3 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5771] <... close resumed>) = 0 [pid 5770] close(3 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5021] <... openat resumed>) = 3 [pid 5771] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5770] <... close resumed>) = 0 [pid 5027] <... openat resumed>) = 3 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5771] <... futex resumed>) = 0 [pid 5770] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5025] close(3 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5771] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5770] <... futex resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] <... close resumed>) = 0 [pid 5021] close(3 [pid 5771] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5770] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5027] close(3 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] <... close resumed>) = 0 [pid 5771] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5770] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5027] <... close resumed>) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5771] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5770] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5772 [pid 5771] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5770] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 5773 [pid 5771] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5770] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 5774 [pid 5771] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5770] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5771] <... mprotect resumed>) = 0 [pid 5770] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5771] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5770] <... mprotect resumed>) = 0 ./strace-static-x86_64: Process 5773 attached [pid 5771] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5770] rt_sigprocmask(SIG_BLOCK, ~[], ./strace-static-x86_64: Process 5774 attached ./strace-static-x86_64: Process 5772 attached [pid 5773] set_robust_list(0x5555558636a0, 24 [pid 5771] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5770] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5774] set_robust_list(0x5555558636a0, 24 [pid 5773] <... set_robust_list resumed>) = 0 [pid 5772] set_robust_list(0x5555558636a0, 24 [pid 5770] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5774] <... set_robust_list resumed>) = 0 [pid 5772] <... set_robust_list resumed>) = 0 [pid 5771] <... clone3 resumed> => {parent_tid=[5775]}, 88) = 5775 [pid 5774] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5773] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5772] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5771] rt_sigprocmask(SIG_SETMASK, [], [pid 5770] <... clone3 resumed> => {parent_tid=[5776]}, 88) = 5776 [ 105.655075][ T5756] BTRFS info (device loop2): balance: ended with status: -28 ./strace-static-x86_64: Process 5775 attached [pid 5774] <... prctl resumed>) = 0 [pid 5773] <... prctl resumed>) = 0 [pid 5772] <... prctl resumed>) = 0 [pid 5771] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5770] rt_sigprocmask(SIG_SETMASK, [], [pid 5775] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5774] setpgid(0, 0 [pid 5773] setpgid(0, 0 [pid 5772] setpgid(0, 0 [pid 5771] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5770] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5775] <... rseq resumed>) = 0 [pid 5774] <... setpgid resumed>) = 0 [pid 5773] <... setpgid resumed>) = 0 [pid 5772] <... setpgid resumed>) = 0 [pid 5771] <... futex resumed>) = 0 [pid 5770] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5775] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5774] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5772] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5771] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5775] <... set_robust_list resumed>) = 0 [pid 5774] <... openat resumed>) = 3 [pid 5772] <... openat resumed>) = 3 [pid 5775] rt_sigprocmask(SIG_SETMASK, [], [pid 5774] write(3, "1000", 4 [pid 5773] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5772] write(3, "1000", 4 [pid 5770] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5776 attached [pid 5775] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5774] <... write resumed>) = 4 [pid 5773] <... openat resumed>) = 3 [pid 5772] <... write resumed>) = 4 [pid 5770] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5776] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5775] memfd_create("syzkaller", 0 [pid 5774] close(3 [pid 5773] write(3, "1000", 4 [pid 5772] close(3 [pid 5776] <... rseq resumed>) = 0 [pid 5775] <... memfd_create resumed>) = 3 [pid 5774] <... close resumed>) = 0 [pid 5773] <... write resumed>) = 4 [pid 5772] <... close resumed>) = 0 [pid 5776] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5775] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5774] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5773] close(3 [pid 5772] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5776] <... set_robust_list resumed>) = 0 [pid 5775] <... mmap resumed>) = 0x7f4e2554e000 [pid 5774] <... futex resumed>) = 0 [pid 5773] <... close resumed>) = 0 [pid 5772] <... futex resumed>) = 0 [pid 5776] rt_sigprocmask(SIG_SETMASK, [], [pid 5774] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5773] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5772] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5776] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5774] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5773] <... futex resumed>) = 0 [pid 5772] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5776] memfd_create("syzkaller", 0 [pid 5774] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5773] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5772] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5776] <... memfd_create resumed>) = 3 [pid 5774] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5773] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5772] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5776] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5774] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5773] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5772] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5776] <... mmap resumed>) = 0x7f4e2554e000 [pid 5774] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5773] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5772] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5774] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5773] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5772] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5774] <... mprotect resumed>) = 0 [pid 5773] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5772] <... mprotect resumed>) = 0 [pid 5774] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5773] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5772] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5774] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5773] <... mprotect resumed>) = 0 [pid 5772] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5774] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5773] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5772] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5773] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5774] <... clone3 resumed> => {parent_tid=[5777]}, 88) = 5777 [pid 5773] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5772] <... clone3 resumed> => {parent_tid=[5778]}, 88) = 5778 [pid 5774] rt_sigprocmask(SIG_SETMASK, [], [pid 5772] rt_sigprocmask(SIG_SETMASK, [], [pid 5774] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5773] <... clone3 resumed> => {parent_tid=[5779]}, 88) = 5779 [pid 5772] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 5778 attached [pid 5774] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5773] rt_sigprocmask(SIG_SETMASK, [], [pid 5772] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5777 attached [pid 5778] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5774] <... futex resumed>) = 0 [pid 5773] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5772] <... futex resumed>) = 0 [pid 5778] <... rseq resumed>) = 0 [pid 5777] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5774] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5773] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5772] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5779 attached [pid 5778] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5777] <... rseq resumed>) = 0 [pid 5773] <... futex resumed>) = 0 [pid 5779] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5778] <... set_robust_list resumed>) = 0 [pid 5777] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5773] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5779] <... rseq resumed>) = 0 [pid 5778] rt_sigprocmask(SIG_SETMASK, [], [pid 5777] <... set_robust_list resumed>) = 0 [pid 5778] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5777] rt_sigprocmask(SIG_SETMASK, [], [pid 5778] memfd_create("syzkaller", 0 [pid 5777] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5778] <... memfd_create resumed>) = 3 [pid 5777] memfd_create("syzkaller", 0 [pid 5778] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5777] <... memfd_create resumed>) = 3 [pid 5779] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5778] <... mmap resumed>) = 0x7f4e2554e000 [pid 5777] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5779] <... set_robust_list resumed>) = 0 [pid 5777] <... mmap resumed>) = 0x7f4e2554e000 [pid 5779] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5779] memfd_create("syzkaller", 0) = 3 [pid 5779] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5768] 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 5776] 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 5779] 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 5775] 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 5777] 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 5778] 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 5768] <... write resumed>) = 16777216 [pid 5768] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5768] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5768] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5768] ioctl(4, LOOP_CLR_FD) = 0 [pid 5768] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5768] close(4) = 0 [pid 5768] close(3 [pid 5776] <... write resumed>) = 16777216 [pid 5779] <... write resumed>) = 16777216 [pid 5776] munmap(0x7f4e2554e000, 16777216 [pid 5768] <... close resumed>) = 0 [pid 5779] munmap(0x7f4e2554e000, 16777216 [pid 5776] <... munmap resumed>) = 0 [pid 5768] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5779] <... munmap resumed>) = 0 [pid 5776] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5768] <... futex resumed>) = 1 [pid 5779] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5776] <... openat resumed>) = 4 [pid 5768] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5766] <... futex resumed>) = 0 [pid 5779] <... openat resumed>) = 4 [pid 5776] ioctl(4, LOOP_SET_FD, 3 [pid 5766] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5779] ioctl(4, LOOP_SET_FD, 3 [pid 5766] <... futex resumed>) = 1 [pid 5766] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5768] <... futex resumed>) = 0 [pid 5768] open("./file0", O_RDONLY [pid 5776] <... ioctl resumed>) = 0 [pid 5775] <... write resumed>) = 16777216 [pid 5768] <... open resumed>) = 3 [pid 5776] close(3 [pid 5768] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5776] <... close resumed>) = 0 [pid 5768] <... futex resumed>) = 1 [pid 5766] <... futex resumed>) = 0 [pid 5779] <... ioctl resumed>) = 0 [pid 5776] mkdir("./file0", 0777 [pid 5775] munmap(0x7f4e2554e000, 16777216 [pid 5768] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5766] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5779] close(3 [pid 5777] <... write resumed>) = 16777216 [pid 5776] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5775] <... munmap resumed>) = 0 [pid 5768] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5766] <... futex resumed>) = 0 [pid 5779] <... close resumed>) = 0 [pid 5776] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5768] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5766] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5779] mkdir("./file0", 0777 [pid 5768] <... ioctl resumed>) = 0 [pid 5775] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 106.473863][ T5776] loop4: detected capacity change from 0 to 32768 [ 106.481109][ T5779] loop1: detected capacity change from 0 to 32768 [ 106.513492][ T5776] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5776) [pid 5775] ioctl(4, LOOP_SET_FD, 3 [pid 5779] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5768] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5779] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5768] <... futex resumed>) = 1 [pid 5766] <... futex resumed>) = 0 [pid 5777] munmap(0x7f4e2554e000, 16777216 [pid 5768] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5766] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5778] <... write resumed>) = 16777216 [pid 5777] <... munmap resumed>) = 0 [pid 5777] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5777] ioctl(4, LOOP_SET_FD, 3 [pid 5778] munmap(0x7f4e2554e000, 16777216 [pid 5776] <... mount resumed>) = -1 EEXIST (File exists) [pid 5768] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5766] <... futex resumed>) = 0 [pid 5779] <... mount resumed>) = -1 EEXIST (File exists) [pid 5768] ioctl(3, 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 5766] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5776] ioctl(4, LOOP_CLR_FD [pid 5779] ioctl(4, LOOP_CLR_FD [pid 5778] <... munmap resumed>) = 0 [pid 5777] <... ioctl resumed>) = 0 [pid 5775] <... ioctl resumed>) = 0 [pid 5778] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5778] ioctl(4, LOOP_SET_FD, 3 [pid 5777] close(3 [ 106.518945][ T5775] loop0: detected capacity change from 0 to 32768 [ 106.535080][ T5779] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5779) [ 106.543768][ T5777] loop5: detected capacity change from 0 to 32768 [ 106.557313][ T5768] BTRFS info (device loop2): balance: start -d -m [ 106.564108][ T5768] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5775] close(3) = 0 [pid 5775] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5775] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5777] <... close resumed>) = 0 [pid 5777] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5777] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5778] <... ioctl resumed>) = 0 [pid 5778] close(3) = 0 [pid 5778] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5778] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5775] <... mount resumed>) = -1 EEXIST (File exists) [pid 5777] <... mount resumed>) = -1 EEXIST (File exists) [pid 5775] ioctl(4, LOOP_CLR_FD [pid 5766] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5766] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5766] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5766] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5766] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5766] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5781]}, 88) = 5781 [pid 5766] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5766] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5766] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 106.570592][ T5778] loop3: detected capacity change from 0 to 32768 [ 106.582636][ T5775] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5775) [ 106.594362][ T5777] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5777) [ 106.594536][ T5768] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5777] ioctl(4, LOOP_CLR_FD./strace-static-x86_64: Process 5781 attached [pid 5781] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5781] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5766] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5781] rt_sigprocmask(SIG_SETMASK, [], [pid 5778] <... mount resumed>) = -1 EEXIST (File exists) [pid 5766] futex(0x7f4e2da3d62c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5781] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5778] ioctl(4, LOOP_CLR_FD [pid 5766] <... futex resumed>) = 0 [pid 5781] open("./file0", O_RDONLY [ 106.636235][ T5778] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5778) [ 106.660909][ T5768] BTRFS info (device loop2): 2 enospc errors during balance [pid 5766] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5781] <... open resumed>) = 4 [pid 5766] <... mmap resumed>) = 0x7f4e2650c000 [pid 5766] mprotect(0x7f4e2650d000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5781] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5766] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5781] <... futex resumed>) = 0 [pid 5766] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5781] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5766] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2652c990, parent_tid=0x7f4e2652c990, exit_signal=0, stack=0x7f4e2650c000, stack_size=0x20300, tls=0x7f4e2652c6c0} => {parent_tid=[5782]}, 88) = 5782 [pid 5766] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5766] futex(0x7f4e2da3d628, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 5782 attached [pid 5766] futex(0x7f4e2da3d62c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5782] rseq(0x7f4e2652cfe0, 0x20, 0, 0x53053053) = 0 [pid 5768] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5782] set_robust_list(0x7f4e2652c9a0, 24) = 0 [pid 5782] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5782] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0}) = 0 [pid 5782] futex(0x7f4e2da3d62c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5766] <... futex resumed>) = 0 [pid 5782] futex(0x7f4e2da3d628, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5768] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5766] exit_group(0 [pid 5782] <... futex resumed>) = ? [pid 5781] <... futex resumed>) = ? [pid 5766] <... exit_group resumed>) = ? [pid 5782] +++ exited with 0 +++ [ 106.701324][ T5768] BTRFS info (device loop2): balance: ended with status: -28 [pid 5781] +++ exited with 0 +++ [pid 5768] +++ exited with 0 +++ [pid 5766] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5766, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=29 /* 0.29 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5783 ./strace-static-x86_64: Process 5783 attached [pid 5783] set_robust_list(0x5555558636a0, 24) = 0 [pid 5783] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5783] setpgid(0, 0) = 0 [pid 5783] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5783] write(3, "1000", 4) = 4 [pid 5783] close(3) = 0 [pid 5783] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5783] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5783] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5783] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5783] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5783] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5783] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5785]}, 88) = 5785 [pid 5783] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5783] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5783] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5785 attached [pid 5785] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5785] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5776] <... ioctl resumed>) = 0 [pid 5785] <... set_robust_list resumed>) = 0 [pid 5785] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5785] memfd_create("syzkaller", 0) = 3 [pid 5785] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5779] <... ioctl resumed>) = 0 [pid 5779] close(4 [pid 5776] close(4) = 0 [pid 5776] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5779] <... close resumed>) = 0 [pid 5779] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5776] <... futex resumed>) = 1 [pid 5770] <... futex resumed>) = 0 [pid 5779] <... futex resumed>) = 1 [pid 5776] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5773] <... futex resumed>) = 0 [pid 5770] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5779] open("./file0", O_RDONLY [pid 5776] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5773] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5770] <... futex resumed>) = 0 [pid 5779] <... open resumed>) = 3 [pid 5776] open("./file0", O_RDONLY [pid 5773] <... futex resumed>) = 0 [pid 5770] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5779] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5776] <... open resumed>) = 3 [pid 5773] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5779] <... futex resumed>) = 0 [pid 5776] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5773] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5779] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5776] <... futex resumed>) = 1 [pid 5773] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5770] <... futex resumed>) = 0 [pid 5779] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5776] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5773] <... futex resumed>) = 0 [pid 5770] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5779] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5776] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5773] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5770] <... futex resumed>) = 0 [pid 5779] <... ioctl resumed>) = 0 [pid 5776] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5770] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5779] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5776] <... ioctl resumed>) = 0 [pid 5779] <... futex resumed>) = 1 [pid 5776] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5773] <... futex resumed>) = 0 [pid 5779] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5776] <... futex resumed>) = 1 [pid 5773] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5770] <... futex resumed>) = 0 [pid 5779] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5776] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5773] <... futex resumed>) = 0 [pid 5770] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5776] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5775] <... ioctl resumed>) = 0 [pid 5770] <... futex resumed>) = 0 [pid 5776] ioctl(3, 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 5770] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5779] ioctl(3, 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 5773] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5775] close(4) = 0 [pid 5779] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5775] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5779] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5775] <... futex resumed>) = 1 [pid 5771] <... futex resumed>) = 0 [pid 5779] <... futex resumed>) = 1 [pid 5775] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5773] <... futex resumed>) = 0 [pid 5771] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5779] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5775] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5773] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5771] <... futex resumed>) = 0 [pid 5779] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5775] open("./file0", O_RDONLY [pid 5773] <... futex resumed>) = 0 [pid 5771] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5779] open("./file0", O_RDONLY [pid 5775] <... open resumed>) = 3 [pid 5773] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5779] <... open resumed>) = 4 [pid 5775] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5779] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5775] <... futex resumed>) = 1 [pid 5771] <... futex resumed>) = 0 [pid 5779] <... futex resumed>) = 1 [pid 5775] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5773] <... futex resumed>) = 0 [pid 5771] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5779] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5775] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5773] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5771] <... futex resumed>) = 0 [pid 5779] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5775] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5773] <... futex resumed>) = 0 [pid 5771] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5779] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5777] <... ioctl resumed>) = 0 [pid 5775] <... ioctl resumed>) = 0 [pid 5773] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5779] <... ioctl resumed>) = 0 [pid 5777] close(4 [pid 5775] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5779] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5777] <... close resumed>) = 0 [pid 5775] <... futex resumed>) = 1 [pid 5771] <... futex resumed>) = 0 [pid 5779] <... futex resumed>) = 1 [pid 5777] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5775] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5773] <... futex resumed>) = 0 [pid 5771] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5779] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5777] <... futex resumed>) = 1 [pid 5775] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5774] <... futex resumed>) = 0 [pid 5773] exit_group(0 [pid 5771] <... futex resumed>) = 0 [pid 5779] <... futex resumed>) = ? [pid 5777] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5775] ioctl(3, 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 5774] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5773] <... exit_group resumed>) = ? [pid 5771] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5779] +++ exited with 0 +++ [pid 5777] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5775] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5774] <... futex resumed>) = 0 [pid 5777] open("./file0", O_RDONLY [pid 5775] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5774] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5773] +++ exited with 0 +++ [pid 5770] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5777] <... open resumed>) = 3 [pid 5775] <... futex resumed>) = 1 [pid 5771] <... futex resumed>) = 0 [pid 5770] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5773, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- [pid 5777] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5775] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5771] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5770] <... futex resumed>) = 0 [ 106.904537][ T5776] BTRFS info (device loop2): balance: start -d -m [ 106.914973][ T5776] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5777] <... futex resumed>) = 1 [pid 5775] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5774] <... futex resumed>) = 0 [pid 5771] <... futex resumed>) = 0 [pid 5770] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5777] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5775] open("./file0", O_RDONLY [pid 5774] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5771] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5770] <... mmap resumed>) = 0x7f4e2652d000 [pid 5778] <... ioctl resumed>) = 0 [pid 5777] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5775] <... open resumed>) = 4 [pid 5774] <... futex resumed>) = 0 [pid 5770] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5777] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5775] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5774] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5770] <... mprotect resumed>) = 0 [pid 5777] <... ioctl resumed>) = 0 [pid 5775] <... futex resumed>) = 1 [pid 5771] <... futex resumed>) = 0 [pid 5770] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5777] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5775] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5771] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5770] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5777] <... futex resumed>) = 1 [pid 5775] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5774] <... futex resumed>) = 0 [pid 5771] <... futex resumed>) = 0 [pid 5770] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5777] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5775] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5774] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5771] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5786 attached [pid 5777] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5775] <... ioctl resumed>) = 0 [pid 5774] <... futex resumed>) = 0 [pid 5770] <... clone3 resumed> => {parent_tid=[5786]}, 88) = 5786 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5786] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5777] ioctl(3, 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 5775] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5774] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5770] rt_sigprocmask(SIG_SETMASK, [], [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5786] <... rseq resumed>) = 0 [pid 5777] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5775] <... futex resumed>) = 1 [pid 5771] <... futex resumed>) = 0 [pid 5770] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5021] close(3 [pid 5786] set_robust_list(0x7f4e2654d9a0, 24 [pid 5778] close(4 [pid 5777] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5775] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5771] exit_group(0 [pid 5770] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] <... close resumed>) = 0 [pid 5786] <... set_robust_list resumed>) = 0 [pid 5778] <... close resumed>) = 0 [pid 5777] <... futex resumed>) = 1 [pid 5775] <... futex resumed>) = ? [pid 5774] <... futex resumed>) = 0 [pid 5771] <... exit_group resumed>) = ? [pid 5770] <... futex resumed>) = 0 [pid 5778] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5775] +++ exited with 0 +++ [pid 5771] +++ exited with 0 +++ [pid 5770] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5778] <... futex resumed>) = 1 [pid 5772] <... futex resumed>) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5771, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=29 /* 0.29 s */} --- [pid 5786] rt_sigprocmask(SIG_SETMASK, [], [pid 5778] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5777] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5774] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [ 106.961382][ T5776] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5772] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 5786] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5778] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5777] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5774] <... futex resumed>) = 0 [pid 5772] <... futex resumed>) = 0 [pid 5020] <... restart_syscall resumed>) = 0 [pid 5786] open("./file0", O_RDONLY [pid 5778] open("./file0", O_RDONLY [pid 5777] open("./file0", O_RDONLY [pid 5774] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5772] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5778] <... open resumed>) = 3 [pid 5778] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5778] <... futex resumed>) = 1 [pid 5772] <... futex resumed>) = 0 [pid 5020] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5787 attached [pid 5778] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5772] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 5787] set_robust_list(0x5555558636a0, 24 [pid 5778] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5772] <... futex resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5787] <... set_robust_list resumed>) = 0 [pid 5778] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5772] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] close(3 [pid 5787] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5778] <... ioctl resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 5787] <... prctl resumed>) = 0 [pid 5786] <... open resumed>) = 4 [pid 5778] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5777] <... open resumed>) = 4 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 5787 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5787] setpgid(0, 0 [pid 5778] <... futex resumed>) = 1 [pid 5772] <... futex resumed>) = 0 [pid 5787] <... setpgid resumed>) = 0 [pid 5778] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5772] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 5788 [pid 5787] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5778] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5772] <... futex resumed>) = 0 [pid 5787] <... openat resumed>) = 3 [pid 5778] ioctl(3, 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 5772] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5787] write(3, "1000", 4 [pid 5777] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5787] <... write resumed>) = 4 [pid 5786] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5777] <... futex resumed>) = 1 [pid 5774] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5788 attached [pid 5787] close(3 [pid 5786] <... futex resumed>) = 1 [pid 5777] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5774] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5770] <... futex resumed>) = 0 [pid 5788] set_robust_list(0x5555558636a0, 24 [pid 5787] <... close resumed>) = 0 [pid 5786] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5777] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5774] <... futex resumed>) = 0 [pid 5770] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5788] <... set_robust_list resumed>) = 0 [pid 5787] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5786] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5777] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5774] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5770] <... futex resumed>) = 0 [pid 5788] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5787] <... futex resumed>) = 0 [pid 5788] <... prctl resumed>) = 0 [pid 5787] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5788] setpgid(0, 0 [pid 5787] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5788] <... setpgid resumed>) = 0 [pid 5787] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5788] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5787] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5788] <... openat resumed>) = 3 [pid 5787] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5786] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5770] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5788] write(3, "1000", 4 [pid 5787] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5786] <... ioctl resumed>) = 0 [pid 5777] <... ioctl resumed>) = 0 [pid 5788] <... write resumed>) = 4 [pid 5787] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5786] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5777] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5788] close(3 [pid 5787] <... mprotect resumed>) = 0 [pid 5786] <... futex resumed>) = 1 [pid 5777] <... futex resumed>) = 1 [pid 5774] <... futex resumed>) = 0 [pid 5770] <... futex resumed>) = 0 [pid 5788] <... close resumed>) = 0 [pid 5787] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5786] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5777] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5774] exit_group(0 [pid 5788] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5787] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5777] <... futex resumed>) = ? [pid 5774] <... exit_group resumed>) = ? [pid 5788] <... futex resumed>) = 0 [pid 5787] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5777] +++ exited with 0 +++ [pid 5788] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5778] <... 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}}) = 8 [pid 5776] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5774] +++ exited with 0 +++ [pid 5788] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5787] <... clone3 resumed> => {parent_tid=[5789]}, 88) = 5789 [pid 5778] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5776] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5788] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5787] rt_sigprocmask(SIG_SETMASK, [], [pid 5778] <... futex resumed>) = 1 [pid 5776] <... futex resumed>) = 0 [pid 5772] <... futex resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5774, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=24 /* 0.24 s */} --- [pid 5788] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5787] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5778] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5776] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5772] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5770] exit_group(0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR./strace-static-x86_64: Process 5789 attached [pid 5788] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5787] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5778] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5772] <... futex resumed>) = 0 [pid 5027] <... openat resumed>) = 3 [pid 5789] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5788] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5787] <... futex resumed>) = 0 [pid 5778] open("./file0", O_RDONLY [pid 5772] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5789] <... rseq resumed>) = 0 [pid 5788] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5787] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5778] <... open resumed>) = 4 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5789] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5788] <... mprotect resumed>) = 0 [pid 5786] <... futex resumed>) = ? [pid 5778] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5776] <... futex resumed>) = ? [pid 5770] <... exit_group resumed>) = ? [pid 5027] close(3 [pid 5789] <... set_robust_list resumed>) = 0 [pid 5788] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5786] +++ exited with 0 +++ [pid 5778] <... futex resumed>) = 1 [pid 5776] +++ exited with 0 +++ [pid 5772] <... futex resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 5789] rt_sigprocmask(SIG_SETMASK, [], [pid 5788] <... rt_sigprocmask resumed>[], 8) = 0 [ 107.027243][ T5776] BTRFS info (device loop2): 2 enospc errors during balance [ 107.035105][ T5776] BTRFS info (device loop2): balance: ended with status: -28 [pid 5778] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5772] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5770] +++ exited with 0 +++ [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5789] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5788] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5778] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5772] <... futex resumed>) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5770, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=32 /* 0.32 s */} --- [pid 5789] memfd_create("syzkaller", 0 [pid 5778] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5772] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 5790 [pid 5789] <... memfd_create resumed>) = 3 [pid 5788] <... clone3 resumed> => {parent_tid=[5791]}, 88) = 5791 [pid 5778] <... ioctl resumed>) = 0 [pid 5789] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5788] rt_sigprocmask(SIG_SETMASK, [], [pid 5778] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR./strace-static-x86_64: Process 5790 attached [pid 5789] <... mmap resumed>) = 0x7f4e2554e000 [pid 5788] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5778] <... futex resumed>) = 1 [pid 5772] <... futex resumed>) = 0 [pid 5026] <... openat resumed>) = 3 [pid 5790] set_robust_list(0x5555558636a0, 24 [pid 5788] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5778] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5772] exit_group(0 [pid 5026] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5791 attached [pid 5790] <... set_robust_list resumed>) = 0 [pid 5788] <... futex resumed>) = 0 [pid 5778] <... futex resumed>) = ? [pid 5772] <... exit_group resumed>) = ? [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5791] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5790] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5788] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5778] +++ exited with 0 +++ [pid 5772] +++ exited with 0 +++ [pid 5026] close(3 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5772, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=23 /* 0.23 s */} --- [pid 5791] <... rseq resumed>) = 0 [pid 5790] <... prctl resumed>) = 0 [pid 5026] <... close resumed>) = 0 [pid 5791] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5791] <... set_robust_list resumed>) = 0 [pid 5791] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 5792 [pid 5791] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5791] memfd_create("syzkaller", 0) = 3 [pid 5791] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5790] setpgid(0, 0) = 0 [pid 5790] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 ./strace-static-x86_64: Process 5792 attached [pid 5790] write(3, "1000", 4 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5792] set_robust_list(0x5555558636a0, 24) = 0 [pid 5792] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5790] <... write resumed>) = 4 [pid 5025] <... openat resumed>) = 3 [pid 5792] <... prctl resumed>) = 0 [pid 5790] close(3 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5792] setpgid(0, 0 [pid 5790] <... close resumed>) = 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5792] <... setpgid resumed>) = 0 [pid 5790] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] close(3 [pid 5792] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5790] <... futex resumed>) = 0 [pid 5025] <... close resumed>) = 0 [pid 5792] <... openat resumed>) = 3 [pid 5790] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5792] write(3, "1000", 4 [pid 5790] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5792] <... write resumed>) = 4 [pid 5790] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5792] close(3 [pid 5790] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5792] <... close resumed>) = 0 [pid 5790] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5793 [pid 5792] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5790] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5792] <... futex resumed>) = 0 [pid 5790] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE./strace-static-x86_64: Process 5793 attached [pid 5792] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5790] <... mprotect resumed>) = 0 [pid 5792] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5790] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5793] set_robust_list(0x5555558636a0, 24 [pid 5792] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5790] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5793] <... set_robust_list resumed>) = 0 [pid 5792] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5790] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5793] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5792] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5792] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5792] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 ./strace-static-x86_64: Process 5794 attached [pid 5793] <... prctl resumed>) = 0 [pid 5792] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5790] <... clone3 resumed> => {parent_tid=[5794]}, 88) = 5794 [pid 5794] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5793] setpgid(0, 0 [pid 5790] rt_sigprocmask(SIG_SETMASK, [], [pid 5794] <... rseq resumed>) = 0 [pid 5793] <... setpgid resumed>) = 0 [pid 5792] <... clone3 resumed> => {parent_tid=[5795]}, 88) = 5795 [pid 5790] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5794] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5793] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5792] rt_sigprocmask(SIG_SETMASK, [], [pid 5790] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5795 attached [pid 5794] <... set_robust_list resumed>) = 0 [pid 5793] <... openat resumed>) = 3 [pid 5792] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5790] <... futex resumed>) = 0 [pid 5795] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5794] rt_sigprocmask(SIG_SETMASK, [], [pid 5793] write(3, "1000", 4 [pid 5792] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5790] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5795] <... rseq resumed>) = 0 [pid 5794] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5793] <... write resumed>) = 4 [pid 5792] <... futex resumed>) = 0 [pid 5795] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5794] memfd_create("syzkaller", 0 [pid 5793] close(3 [pid 5792] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5795] <... set_robust_list resumed>) = 0 [pid 5794] <... memfd_create resumed>) = 3 [pid 5793] <... close resumed>) = 0 [pid 5785] 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 5795] rt_sigprocmask(SIG_SETMASK, [], [pid 5794] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5793] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5795] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5794] <... mmap resumed>) = 0x7f4e2554e000 [pid 5795] memfd_create("syzkaller", 0 [pid 5793] <... futex resumed>) = 0 [pid 5793] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5795] <... memfd_create resumed>) = 3 [pid 5793] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5795] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5793] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5795] <... mmap resumed>) = 0x7f4e2554e000 [pid 5793] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5793] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5793] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5793] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5793] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5796]}, 88) = 5796 [pid 5793] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5793] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5793] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5796 attached [pid 5796] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5796] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5796] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5796] memfd_create("syzkaller", 0) = 3 [pid 5796] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5789] 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 5791] 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 5794] 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 5795] 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 5796] 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 5785] <... write resumed>) = 16777216 [pid 5785] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5785] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5785] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5785] ioctl(4, LOOP_CLR_FD) = 0 [pid 5785] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5785] close(4) = 0 [pid 5785] close(3 [pid 5789] <... write resumed>) = 16777216 [pid 5789] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5789] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5789] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5789] close(3) = 0 [pid 5789] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5791] <... write resumed>) = 16777216 [pid 5789] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5791] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5785] <... close resumed>) = 0 [pid 5794] <... write resumed>) = 16777216 [pid 5791] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5785] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5794] munmap(0x7f4e2554e000, 16777216 [pid 5791] <... openat resumed>) = 4 [pid 5785] <... futex resumed>) = 1 [pid 5783] <... futex resumed>) = 0 [pid 5791] ioctl(4, LOOP_SET_FD, 3 [pid 5785] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 107.817560][ T5789] loop1: detected capacity change from 0 to 32768 [ 107.849473][ T5789] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5789) [pid 5783] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5783] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5794] <... munmap resumed>) = 0 [pid 5791] <... ioctl resumed>) = 0 [pid 5785] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5794] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5791] close(3 [pid 5785] open("./file0", O_RDONLY [pid 5794] <... openat resumed>) = 4 [pid 5791] <... close resumed>) = 0 [pid 5785] <... open resumed>) = 3 [pid 5794] ioctl(4, LOOP_SET_FD, 3 [pid 5791] mkdir("./file0", 0777 [pid 5785] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5783] <... futex resumed>) = 0 [pid 5791] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5785] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5783] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5796] <... write resumed>) = 16777216 [pid 5794] <... ioctl resumed>) = 0 [pid 5791] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5789] <... mount resumed>) = -1 EEXIST (File exists) [pid 5785] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5783] <... futex resumed>) = 0 [pid 5796] munmap(0x7f4e2554e000, 16777216 [pid 5795] <... write resumed>) = 16777216 [pid 5794] close(3 [pid 5789] ioctl(4, LOOP_CLR_FD [pid 5785] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5796] <... munmap resumed>) = 0 [pid 5795] munmap(0x7f4e2554e000, 16777216 [pid 5794] <... close resumed>) = 0 [pid 5785] <... ioctl resumed>) = 0 [pid 5783] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5796] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5795] <... munmap resumed>) = 0 [pid 5794] mkdir("./file0", 0777 [pid 5785] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5796] <... openat resumed>) = 4 [pid 5794] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5785] <... futex resumed>) = 0 [ 107.871202][ T5791] loop0: detected capacity change from 0 to 32768 [ 107.891363][ T5794] loop5: detected capacity change from 0 to 32768 [ 107.905609][ T5791] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5791) [pid 5796] ioctl(4, LOOP_SET_FD, 3 [pid 5794] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5785] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5791] <... mount resumed>) = -1 EEXIST (File exists) [pid 5783] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5795] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5795] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5796] <... ioctl resumed>) = 0 [pid 5796] close(3) = 0 [pid 5796] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5796] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5791] ioctl(4, LOOP_CLR_FD [pid 5783] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5785] <... futex resumed>) = 0 [pid 5783] <... futex resumed>) = 1 [pid 5785] ioctl(3, 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}} [ 107.929639][ T5796] loop3: detected capacity change from 0 to 32768 [ 107.937232][ T5794] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5794) [ 107.949254][ T5795] loop4: detected capacity change from 0 to 32768 [ 107.963873][ T5785] BTRFS info (device loop2): balance: start -d -m [pid 5783] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5794] <... mount resumed>) = -1 EEXIST (File exists) [pid 5794] ioctl(4, LOOP_CLR_FD [pid 5795] close(3) = 0 [pid 5795] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5795] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5796] <... mount resumed>) = -1 EEXIST (File exists) [ 107.978225][ T5785] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 107.987375][ T5796] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5796) [ 108.004433][ T5785] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5796] ioctl(4, LOOP_CLR_FD [pid 5783] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5783] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5783] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5783] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5783] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5783] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5798]}, 88) = 5798 [pid 5783] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5783] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5783] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5798 attached [pid 5798] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5798] set_robust_list(0x7f4e2654d9a0, 24 [pid 5789] <... ioctl resumed>) = 0 [pid 5795] <... mount resumed>) = -1 EEXIST (File exists) [pid 5798] <... set_robust_list resumed>) = 0 [pid 5795] ioctl(4, LOOP_CLR_FD [pid 5798] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5798] open("./file0", O_RDONLY [pid 5789] close(4 [pid 5785] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5789] <... close resumed>) = 0 [pid 5789] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5785] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5789] <... futex resumed>) = 1 [pid 5785] <... futex resumed>) = 0 [pid 5789] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5785] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5791] <... ioctl resumed>) = 0 [pid 5791] close(4) = 0 [pid 5791] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5788] <... futex resumed>) = 0 [pid 5791] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5798] <... open resumed>) = 4 [pid 5787] <... futex resumed>) = 0 [pid 5787] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5788] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5789] <... futex resumed>) = 0 [pid 5788] <... futex resumed>) = 1 [pid 5787] <... futex resumed>) = 1 [pid 5798] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5791] <... futex resumed>) = 0 [pid 5789] open("./file0", O_RDONLY [pid 5798] <... futex resumed>) = 1 [pid 5791] open("./file0", O_RDONLY [pid 5789] <... open resumed>) = 3 [pid 5788] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5787] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5783] <... futex resumed>) = 0 [pid 5798] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5791] <... open resumed>) = 3 [pid 5789] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5783] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5787] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5783] <... futex resumed>) = 1 [pid 5787] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5783] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5787] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5791] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5789] <... futex resumed>) = 1 [pid 5787] <... futex resumed>) = 0 [pid 5785] <... futex resumed>) = 0 [pid 5791] <... futex resumed>) = 1 [pid 5789] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5788] <... futex resumed>) = 0 [pid 5787] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=48000000} [pid 5785] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5791] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5789] <... ioctl resumed>) = 0 [pid 5788] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5785] <... ioctl resumed>) = 0 [pid 5791] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5789] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5788] <... futex resumed>) = 0 [pid 5785] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5791] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5789] <... futex resumed>) = 1 [pid 5785] <... futex resumed>) = 1 [pid 5791] <... ioctl resumed>) = 0 [pid 5789] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5788] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5787] <... futex resumed>) = 0 [pid 5785] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5783] <... futex resumed>) = 0 [pid 5791] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 108.019654][ T5795] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5795) [ 108.033044][ T5785] BTRFS info (device loop2): 2 enospc errors during balance [ 108.057528][ T5785] BTRFS info (device loop2): balance: ended with status: -28 [pid 5791] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5788] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5787] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5783] exit_group(0 [pid 5798] <... futex resumed>) = ? [pid 5789] <... futex resumed>) = 0 [pid 5788] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5787] <... futex resumed>) = 1 [pid 5785] <... futex resumed>) = ? [pid 5783] <... exit_group resumed>) = ? [pid 5789] ioctl(3, 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 5785] +++ exited with 0 +++ [pid 5798] +++ exited with 0 +++ [pid 5791] <... futex resumed>) = 0 [pid 5788] <... futex resumed>) = 1 [pid 5787] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5791] ioctl(3, 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 5783] +++ exited with 0 +++ [pid 5788] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5791] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5783, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=29 /* 0.29 s */} --- [pid 5791] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5791] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5788] <... futex resumed>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5788] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... openat resumed>) = 3 [pid 5791] <... futex resumed>) = 0 [pid 5788] <... futex resumed>) = 1 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 5791] open("./file0", O_RDONLY) = 4 [pid 5022] <... ioctl resumed>) = 0 [pid 5791] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5788] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5791] <... futex resumed>) = 0 [pid 5791] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5788] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5022] close(3 [pid 5788] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... close resumed>) = 0 [pid 5791] <... futex resumed>) = 0 [pid 5788] <... futex resumed>) = 1 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5791] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5788] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5800 attached [pid 5791] <... ioctl resumed>) = 0 [pid 5791] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5791] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5788] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5800] set_robust_list(0x5555558636a0, 24 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 5800 [pid 5788] exit_group(0 [pid 5800] <... set_robust_list resumed>) = 0 [pid 5791] <... futex resumed>) = ? [pid 5788] <... exit_group resumed>) = ? [pid 5791] +++ exited with 0 +++ [pid 5800] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5788] +++ exited with 0 +++ [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5788, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=21 /* 0.21 s */} --- [pid 5800] <... prctl resumed>) = 0 [pid 5800] setpgid(0, 0) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5800] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5020] ioctl(3, LOOP_CLR_FD [pid 5800] <... openat resumed>) = 3 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5020] close(3 [pid 5800] write(3, "1000", 4 [pid 5020] <... close resumed>) = 0 [pid 5800] <... write resumed>) = 4 [pid 5787] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5800] close(3 [pid 5787] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5787] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5800] <... close resumed>) = 0 [pid 5787] <... mmap resumed>) = 0x7f4e2652d000 [pid 5800] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5787] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 5801 [pid 5800] <... futex resumed>) = 0 [pid 5787] <... mprotect resumed>) = 0 [pid 5800] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5787] rt_sigprocmask(SIG_BLOCK, ~[], ./strace-static-x86_64: Process 5801 attached [pid 5800] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5787] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5801] set_robust_list(0x5555558636a0, 24 [pid 5800] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5787] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5801] <... set_robust_list resumed>) = 0 [pid 5801] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5800] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5800] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5787] <... clone3 resumed> => {parent_tid=[5802]}, 88) = 5802 [ 108.137441][ T5789] BTRFS info (device loop2): balance: start -d -m [ 108.164804][ T5789] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata ./strace-static-x86_64: Process 5802 attached [pid 5800] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5796] <... ioctl resumed>) = 0 [pid 5787] rt_sigprocmask(SIG_SETMASK, [], [pid 5801] <... prctl resumed>) = 0 [pid 5801] setpgid(0, 0) = 0 [pid 5801] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5801] write(3, "1000", 4) = 4 [pid 5801] close(3) = 0 [pid 5801] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5801] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5801] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5801] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5801] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5801] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5801] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5803]}, 88) = 5803 [pid 5801] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5801] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5801] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5787] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5787] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5787] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5803 attached [pid 5803] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5803] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5802] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5800] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5796] close(4 [pid 5802] <... rseq resumed>) = 0 [pid 5802] set_robust_list(0x7f4e2654d9a0, 24 [pid 5800] <... mprotect resumed>) = 0 [pid 5796] <... close resumed>) = 0 [pid 5803] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5803] memfd_create("syzkaller", 0) = 3 [pid 5803] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5802] <... set_robust_list resumed>) = 0 [pid 5800] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5796] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5802] rt_sigprocmask(SIG_SETMASK, [], [pid 5800] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5796] <... futex resumed>) = 1 [pid 5793] <... futex resumed>) = 0 [pid 5802] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5800] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5796] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5793] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5802] open("./file0", O_RDONLY [pid 5796] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5793] <... futex resumed>) = 0 [pid 5802] <... open resumed>) = 4 [pid 5800] <... clone3 resumed> => {parent_tid=[5804]}, 88) = 5804 [pid 5796] open("./file0", O_RDONLY [pid 5793] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5802] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5800] rt_sigprocmask(SIG_SETMASK, [], [pid 5802] <... futex resumed>) = 1 [pid 5796] <... open resumed>) = 3 [pid 5802] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5800] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5796] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5787] <... futex resumed>) = 0 [ 108.220773][ T5789] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 108.255631][ T5789] BTRFS info (device loop2): 2 enospc errors during balance ./strace-static-x86_64: Process 5804 attached [pid 5804] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5804] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5804] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5804] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5800] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5796] <... futex resumed>) = 1 [pid 5787] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5793] <... futex resumed>) = 0 [pid 5787] <... futex resumed>) = 1 [pid 5800] <... futex resumed>) = 1 [pid 5796] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5793] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5787] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5800] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5796] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5793] <... futex resumed>) = 0 [pid 5796] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5793] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5804] <... futex resumed>) = 0 [pid 5796] <... ioctl resumed>) = 0 [pid 5802] <... futex resumed>) = 0 [pid 5796] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5789] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5802] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5796] <... futex resumed>) = 1 [pid 5793] <... futex resumed>) = 0 [pid 5789] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5796] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5793] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5789] <... futex resumed>) = 0 [pid 5793] <... futex resumed>) = 0 [pid 5796] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5789] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5796] ioctl(3, 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 5793] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5804] memfd_create("syzkaller", 0) = 3 [pid 5804] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5802] <... ioctl resumed>) = 0 [pid 5802] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5787] <... futex resumed>) = 0 [pid 5802] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5787] exit_group(0 [pid 5802] <... futex resumed>) = ? [ 108.276188][ T5789] BTRFS info (device loop2): balance: ended with status: -28 [ 108.293874][ T5796] BTRFS info (device loop2): balance: start -d -m [pid 5789] <... futex resumed>) = ? [pid 5787] <... exit_group resumed>) = ? [pid 5802] +++ exited with 0 +++ [pid 5789] +++ exited with 0 +++ [pid 5787] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5787, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=24 /* 0.24 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5794] <... ioctl resumed>) = 0 [pid 5793] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5793] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5793] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5793] <... mmap resumed>) = 0x7f4e2652d000 [pid 5021] close(3 [pid 5793] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5021] <... close resumed>) = 0 [pid 5793] <... mprotect resumed>) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5793] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5793] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 5805 ./strace-static-x86_64: Process 5805 attached [pid 5793] <... clone3 resumed> => {parent_tid=[5806]}, 88) = 5806 [pid 5793] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5793] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5805] set_robust_list(0x5555558636a0, 24 [pid 5793] <... futex resumed>) = 0 [pid 5805] <... set_robust_list resumed>) = 0 [pid 5793] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5805] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5794] close(4) = 0 [pid 5794] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5790] <... futex resumed>) = 0 [pid 5790] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5790] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5794] <... futex resumed>) = 1 [pid 5794] open("./file0", O_RDONLY [pid 5805] <... prctl resumed>) = 0 [pid 5795] <... ioctl resumed>) = 0 [pid 5794] <... open resumed>) = 3 [ 108.317148][ T5796] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 108.334970][ T5796] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5805] setpgid(0, 0./strace-static-x86_64: Process 5806 attached [pid 5794] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5806] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5794] <... futex resumed>) = 1 [pid 5790] <... futex resumed>) = 0 [pid 5806] <... rseq resumed>) = 0 [pid 5794] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5790] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5806] set_robust_list(0x7f4e2654d9a0, 24 [pid 5794] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5790] <... futex resumed>) = 0 [pid 5790] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5794] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5806] <... set_robust_list resumed>) = 0 [pid 5794] <... ioctl resumed>) = 0 [pid 5806] rt_sigprocmask(SIG_SETMASK, [], [pid 5794] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5806] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5794] <... futex resumed>) = 1 [pid 5790] <... futex resumed>) = 0 [pid 5806] open("./file0", O_RDONLY [pid 5794] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5805] <... setpgid resumed>) = 0 [pid 5790] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5806] <... open resumed>) = 4 [pid 5794] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5790] <... futex resumed>) = 0 [pid 5806] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5805] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5794] ioctl(3, 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 5790] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5806] <... futex resumed>) = 1 [pid 5805] <... openat resumed>) = 3 [pid 5794] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5793] <... futex resumed>) = 0 [pid 5806] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5805] write(3, "1000", 4 [pid 5794] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5793] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5806] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5805] <... write resumed>) = 4 [pid 5795] close(4 [pid 5794] <... futex resumed>) = 1 [pid 5793] <... futex resumed>) = 0 [pid 5790] <... futex resumed>) = 0 [pid 5806] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5795] <... close resumed>) = 0 [pid 5794] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5793] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5790] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5806] <... ioctl resumed>) = 0 [pid 5805] close(3 [pid 5795] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5794] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5790] <... futex resumed>) = 0 [pid 5806] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5805] <... close resumed>) = 0 [pid 5795] <... futex resumed>) = 1 [pid 5794] open("./file0", O_RDONLY [pid 5792] <... futex resumed>) = 0 [pid 5790] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5806] <... futex resumed>) = 1 [pid 5805] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5795] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5794] <... open resumed>) = 4 [pid 5793] <... futex resumed>) = 0 [pid 5792] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5806] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5805] <... futex resumed>) = 0 [pid 5795] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5794] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5792] <... futex resumed>) = 0 [pid 5805] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5795] open("./file0", O_RDONLY [pid 5794] <... futex resumed>) = 1 [pid 5790] <... futex resumed>) = 0 [pid 5792] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5805] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5796] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5795] <... open resumed>) = 3 [pid 5794] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5790] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5805] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5796] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5795] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5794] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5793] exit_group(0 [pid 5790] <... futex resumed>) = 0 [pid 5806] <... futex resumed>) = ? [pid 5805] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5796] <... futex resumed>) = ? [pid 5795] <... futex resumed>) = 1 [pid 5794] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5793] <... exit_group resumed>) = ? [pid 5792] <... futex resumed>) = 0 [pid 5790] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5806] +++ exited with 0 +++ [pid 5805] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5796] +++ exited with 0 +++ [pid 5795] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5794] <... ioctl resumed>) = 0 [pid 5793] +++ exited with 0 +++ [pid 5792] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5805] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5795] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5794] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5792] <... futex resumed>) = 0 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5793, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- [pid 5805] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5795] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5794] <... futex resumed>) = 1 [pid 5792] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5790] <... futex resumed>) = 0 [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 5805] <... mprotect resumed>) = 0 [pid 5795] <... ioctl resumed>) = 0 [pid 5794] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5790] exit_group(0 [pid 5025] <... restart_syscall resumed>) = 0 [pid 5805] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5795] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5794] <... futex resumed>) = ? [pid 5790] <... exit_group resumed>) = ? [pid 5805] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5795] <... futex resumed>) = 1 [pid 5794] +++ exited with 0 +++ [pid 5792] <... futex resumed>) = 0 [pid 5790] +++ exited with 0 +++ [pid 5805] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5795] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5792] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5795] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5792] <... futex resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5790, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- [pid 5805] <... clone3 resumed> => {parent_tid=[5807]}, 88) = 5807 [ 108.384963][ T5796] BTRFS info (device loop2): 2 enospc errors during balance [ 108.406112][ T5796] BTRFS info (device loop2): balance: ended with status: -28 [pid 5795] ioctl(3, 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 5792] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 5025] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5807 attached [pid 5805] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] <... restart_syscall resumed>) = 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5807] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5805] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5807] <... rseq resumed>) = 0 [pid 5805] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5807] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5805] <... futex resumed>) = 0 [pid 5025] close(3 [pid 5807] <... set_robust_list resumed>) = 0 [pid 5805] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5025] <... close resumed>) = 0 [pid 5807] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5027] <... openat resumed>) = 3 [pid 5807] memfd_create("syzkaller", 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5807] <... memfd_create resumed>) = 3 [pid 5807] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5808 [pid 5807] <... mmap resumed>) = 0x7f4e2554e000 [pid 5027] close(3) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5809 ./strace-static-x86_64: Process 5808 attached [pid 5808] set_robust_list(0x5555558636a0, 24) = 0 [pid 5808] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 ./strace-static-x86_64: Process 5809 attached [pid 5809] set_robust_list(0x5555558636a0, 24 [pid 5808] setpgid(0, 0 [pid 5809] <... set_robust_list resumed>) = 0 [pid 5808] <... setpgid resumed>) = 0 [pid 5792] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 108.457293][ T5795] BTRFS info (device loop2): balance: start -d -m [ 108.464062][ T5795] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 108.495033][ T5795] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5809] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5808] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5792] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5809] <... prctl resumed>) = 0 [pid 5808] <... openat resumed>) = 3 [pid 5792] <... futex resumed>) = 0 [pid 5809] setpgid(0, 0 [pid 5808] write(3, "1000", 4 [pid 5792] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5809] <... setpgid resumed>) = 0 [pid 5808] <... write resumed>) = 4 [pid 5809] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5792] <... mmap resumed>) = 0x7f4e2652d000 [pid 5809] <... openat resumed>) = 3 [pid 5808] close(3 [pid 5792] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5809] write(3, "1000", 4 [pid 5808] <... close resumed>) = 0 [pid 5809] <... write resumed>) = 4 [pid 5808] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5792] <... mprotect resumed>) = 0 [pid 5809] close(3 [pid 5808] <... futex resumed>) = 0 [pid 5792] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5809] <... close resumed>) = 0 [pid 5808] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5792] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5809] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5808] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5792] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5809] <... futex resumed>) = 0 [pid 5808] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5809] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5808] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5792] <... clone3 resumed> => {parent_tid=[5810]}, 88) = 5810 [pid 5809] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5808] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5792] rt_sigprocmask(SIG_SETMASK, [], [pid 5809] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5808] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5792] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5809] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5808] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5792] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5810 attached [pid 5809] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5808] <... mprotect resumed>) = 0 [pid 5792] <... futex resumed>) = 0 [pid 5810] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5809] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5808] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5792] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5810] <... rseq resumed>) = 0 [pid 5809] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5808] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5810] set_robust_list(0x7f4e2654d9a0, 24 [pid 5809] <... mprotect resumed>) = 0 [pid 5808] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5810] <... set_robust_list resumed>) = 0 [pid 5809] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5808] <... clone3 resumed> => {parent_tid=[5811]}, 88) = 5811 [pid 5808] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5810] rt_sigprocmask(SIG_SETMASK, [], [pid 5809] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5808] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5810] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5809] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5808] <... futex resumed>) = 0 [pid 5810] open("./file0", O_RDONLY [pid 5808] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5810] <... open resumed>) = 4 [pid 5809] <... clone3 resumed> => {parent_tid=[5812]}, 88) = 5812 [pid 5810] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5809] rt_sigprocmask(SIG_SETMASK, [], [pid 5810] <... futex resumed>) = 1 [pid 5809] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5792] <... futex resumed>) = 0 [pid 5810] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5809] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5792] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5810] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5809] <... futex resumed>) = 0 [pid 5792] <... futex resumed>) = 0 [pid 5810] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5809] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5792] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5812 attached ./strace-static-x86_64: Process 5811 attached [pid 5810] <... ioctl resumed>) = 0 [pid 5803] 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 5812] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5811] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5810] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5792] <... futex resumed>) = 0 [pid 5812] <... rseq resumed>) = 0 [pid 5811] <... rseq resumed>) = 0 [pid 5812] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5811] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5810] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5812] <... set_robust_list resumed>) = 0 [pid 5811] <... set_robust_list resumed>) = 0 [pid 5812] rt_sigprocmask(SIG_SETMASK, [], [pid 5811] rt_sigprocmask(SIG_SETMASK, [], [pid 5812] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5811] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5812] memfd_create("syzkaller", 0 [pid 5811] memfd_create("syzkaller", 0 [pid 5812] <... memfd_create resumed>) = 3 [pid 5811] <... memfd_create resumed>) = 3 [pid 5812] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5811] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5812] <... mmap resumed>) = 0x7f4e2554e000 [pid 5811] <... mmap resumed>) = 0x7f4e2554e000 [pid 5795] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5795] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5795] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5792] exit_group(0) = ? [pid 5810] <... futex resumed>) = ? [pid 5795] <... futex resumed>) = ? [pid 5810] +++ exited with 0 +++ [pid 5795] +++ exited with 0 +++ [pid 5792] +++ exited with 0 +++ [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5792, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=32 /* 0.32 s */} --- [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5026] close(3) = 0 [ 108.565373][ T5795] BTRFS info (device loop2): 2 enospc errors during balance [ 108.605245][ T5795] BTRFS info (device loop2): balance: ended with status: -28 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5813 ./strace-static-x86_64: Process 5813 attached [pid 5813] set_robust_list(0x5555558636a0, 24) = 0 [pid 5813] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5804] 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 5813] <... prctl resumed>) = 0 [pid 5813] setpgid(0, 0) = 0 [pid 5813] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5813] write(3, "1000", 4) = 4 [pid 5813] close(3) = 0 [pid 5813] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5813] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5813] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5813] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5813] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5813] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5813] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5814]}, 88) = 5814 [pid 5813] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5813] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5813] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5814 attached [pid 5814] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5814] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5814] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5814] memfd_create("syzkaller", 0) = 3 [pid 5814] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5807] 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 5812] 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 5811] 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 5804] <... write resumed>) = 16777216 [pid 5804] munmap(0x7f4e2554e000, 16777216 [pid 5803] <... write resumed>) = 16777216 [pid 5803] munmap(0x7f4e2554e000, 16777216 [pid 5804] <... munmap resumed>) = 0 [pid 5803] <... munmap resumed>) = 0 [pid 5803] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5803] ioctl(4, LOOP_SET_FD, 3 [pid 5804] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5804] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5804] ioctl(4, LOOP_CLR_FD) = 0 [pid 5804] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5804] close(4) = 0 [pid 5804] close(3 [pid 5814] 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 5803] <... ioctl resumed>) = 0 [pid 5803] close(3) = 0 [pid 5803] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 109.028561][ T5803] loop0: detected capacity change from 0 to 32768 [pid 5803] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 109.077728][ T5803] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5803) [pid 5803] ioctl(4, LOOP_CLR_FD [pid 5807] <... write resumed>) = 16777216 [pid 5807] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5807] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5807] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5807] close(3) = 0 [pid 5807] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5807] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5811] <... write resumed>) = 16777216 [pid 5804] <... close resumed>) = 0 [pid 5804] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5800] <... futex resumed>) = 0 [pid 5804] <... futex resumed>) = 1 [pid 5800] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5804] open("./file0", O_RDONLY [pid 5800] <... futex resumed>) = 0 [pid 5804] <... open resumed>) = 3 [pid 5800] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5804] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5800] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5804] <... futex resumed>) = 0 [pid 5800] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5804] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5800] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5804] <... ioctl resumed>) = 0 [pid 5804] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5800] <... futex resumed>) = 0 [pid 5804] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5800] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5804] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5800] <... futex resumed>) = 0 [pid 5804] ioctl(3, 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}} [ 109.229283][ T5807] loop1: detected capacity change from 0 to 32768 [ 109.257423][ T5807] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5807) [pid 5800] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5812] <... write resumed>) = 16777216 [pid 5807] <... mount resumed>) = -1 EEXIST (File exists) [pid 5807] ioctl(4, LOOP_CLR_FD [pid 5811] munmap(0x7f4e2554e000, 16777216 [pid 5812] munmap(0x7f4e2554e000, 16777216 [pid 5800] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5800] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 109.297675][ T5804] BTRFS info (device loop2): balance: start -d -m [ 109.317655][ T5804] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5800] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5812] <... munmap resumed>) = 0 [pid 5811] <... munmap resumed>) = 0 [pid 5803] <... ioctl resumed>) = 0 [pid 5800] <... mmap resumed>) = 0x7f4e2652d000 [pid 5812] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5811] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5803] close(4 [pid 5800] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5812] <... openat resumed>) = 4 [pid 5811] <... openat resumed>) = 4 [pid 5803] <... close resumed>) = 0 [pid 5812] ioctl(4, LOOP_SET_FD, 3 [pid 5811] ioctl(4, LOOP_SET_FD, 3 [pid 5803] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5812] <... ioctl resumed>) = 0 [pid 5803] <... futex resumed>) = 1 [pid 5801] <... futex resumed>) = 0 [pid 5803] open("./file0", O_RDONLY [pid 5801] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5803] <... open resumed>) = 3 [pid 5801] <... futex resumed>) = 0 [pid 5803] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5800] <... mprotect resumed>) = 0 [pid 5803] <... futex resumed>) = 0 [pid 5803] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5801] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5800] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5812] close(3) = 0 [pid 5811] <... ioctl resumed>) = 0 [pid 5800] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5801] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5812] mkdir("./file0", 0777 [pid 5811] close(3 [pid 5801] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5812] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5811] <... close resumed>) = 0 [pid 5804] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5803] <... futex resumed>) = 0 [pid 5801] <... futex resumed>) = 1 [pid 5800] <... clone3 resumed> => {parent_tid=[5816]}, 88) = 5816 [pid 5812] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5811] mkdir("./file0", 0777 [pid 5804] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5803] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5801] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5800] rt_sigprocmask(SIG_SETMASK, [], [pid 5811] <... mkdir resumed>) = -1 EEXIST (File exists) [ 109.365253][ T5804] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 109.380853][ T5804] BTRFS info (device loop2): 2 enospc errors during balance [ 109.388438][ T5804] BTRFS info (device loop2): balance: ended with status: -28 [ 109.397618][ T5812] loop5: detected capacity change from 0 to 32768 [ 109.404261][ T5811] loop3: detected capacity change from 0 to 32768 [pid 5804] <... futex resumed>) = 0 [pid 5803] <... ioctl resumed>) = 0 [pid 5800] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5800] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5800] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5816 attached [pid 5816] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5811] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5804] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5803] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5801] <... futex resumed>) = 0 [pid 5803] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5801] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5803] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5801] <... futex resumed>) = 0 [pid 5803] ioctl(3, 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 5801] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5816] <... rseq resumed>) = 0 [pid 5816] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5816] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5816] open("./file0", O_RDONLY) = 4 [pid 5816] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5800] <... futex resumed>) = 0 [pid 5816] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5800] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5800] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5814] <... write resumed>) = 16777216 [pid 5814] munmap(0x7f4e2554e000, 16777216 [pid 5804] <... futex resumed>) = 0 [pid 5804] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0}) = 0 [pid 5804] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5800] <... futex resumed>) = 0 [pid 5800] exit_group(0 [pid 5816] <... futex resumed>) = ? [pid 5800] <... exit_group resumed>) = ? [pid 5816] +++ exited with 0 +++ [pid 5804] +++ exited with 0 +++ [pid 5800] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5800, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=27 /* 0.27 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5814] <... munmap resumed>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5814] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5022] ioctl(3, LOOP_CLR_FD [pid 5814] <... openat resumed>) = 4 [ 109.418225][ T5812] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5812) [ 109.435449][ T5803] BTRFS info (device loop2): balance: start -d -m [ 109.448918][ T5803] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5814] ioctl(4, LOOP_SET_FD, 3 [pid 5022] <... ioctl resumed>) = 0 [pid 5812] <... mount resumed>) = -1 EEXIST (File exists) [pid 5812] ioctl(4, LOOP_CLR_FD [pid 5801] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5801] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5801] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5022] close(3 [pid 5801] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5801] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5801] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5817]}, 88) = 5817 [pid 5801] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5801] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... close resumed>) = 0 [pid 5801] <... futex resumed>) = 0 [pid 5801] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5814] <... ioctl resumed>) = 0 [pid 5814] close(3) = 0 [pid 5814] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5814] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,"./strace-static-x86_64: Process 5817 attached [pid 5817] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5817] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5817] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5817] open("./file0", O_RDONLY) = 4 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5817] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5801] <... futex resumed>) = 0 [pid 5817] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5801] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 5818 [ 109.469499][ T5814] loop4: detected capacity change from 0 to 32768 [ 109.474392][ T5803] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 109.485851][ T5811] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5811) [pid 5801] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5818 attached [pid 5811] <... mount resumed>) = -1 EEXIST (File exists) [pid 5807] <... ioctl resumed>) = 0 [pid 5818] set_robust_list(0x5555558636a0, 24 [pid 5811] ioctl(4, LOOP_CLR_FD [pid 5807] close(4 [pid 5818] <... set_robust_list resumed>) = 0 [pid 5817] <... ioctl resumed>) = 0 [pid 5807] <... close resumed>) = 0 [pid 5818] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5817] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5807] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5818] <... prctl resumed>) = 0 [pid 5814] <... mount resumed>) = -1 EEXIST (File exists) [pid 5807] <... futex resumed>) = 1 [pid 5805] <... futex resumed>) = 0 [pid 5818] setpgid(0, 0 [pid 5807] open("./file0", O_RDONLY [pid 5805] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5818] <... setpgid resumed>) = 0 [pid 5817] <... futex resumed>) = 1 [pid 5807] <... open resumed>) = 3 [pid 5805] <... futex resumed>) = 0 [pid 5801] <... futex resumed>) = 0 [pid 5818] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5814] ioctl(4, LOOP_CLR_FD [pid 5807] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5805] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5818] <... openat resumed>) = 3 [pid 5807] <... futex resumed>) = 0 [pid 5805] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5818] write(3, "1000", 4 [pid 5807] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5805] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5818] <... write resumed>) = 4 [pid 5807] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5805] <... futex resumed>) = 0 [pid 5818] close(3 [pid 5807] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5805] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5818] <... close resumed>) = 0 [pid 5807] <... ioctl resumed>) = 0 [pid 5818] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5807] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5818] <... futex resumed>) = 0 [pid 5807] <... futex resumed>) = 1 [pid 5805] <... futex resumed>) = 0 [pid 5818] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5817] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5807] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5805] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5818] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5807] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5805] <... futex resumed>) = 0 [pid 5818] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5807] ioctl(3, 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 5805] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5818] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5818] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5818] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5818] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5818] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5820]}, 88) = 5820 [pid 5818] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5818] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5818] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5820 attached [pid 5820] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5820] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5820] rt_sigprocmask(SIG_SETMASK, [], [pid 5807] <... 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}}) = 8 [pid 5803] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5807] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5805] <... futex resumed>) = 0 [pid 5803] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5820] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5807] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5805] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5803] <... futex resumed>) = 0 [pid 5820] memfd_create("syzkaller", 0 [pid 5807] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5805] <... futex resumed>) = 0 [pid 5803] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5820] <... memfd_create resumed>) = 3 [pid 5807] open("./file0", O_RDONLY [pid 5805] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5801] exit_group(0 [pid 5820] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5817] <... futex resumed>) = ? [pid 5807] <... open resumed>) = 4 [pid 5803] <... futex resumed>) = ? [pid 5801] <... exit_group resumed>) = ? [pid 5820] <... mmap resumed>) = 0x7f4e2554e000 [pid 5817] +++ exited with 0 +++ [pid 5807] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5803] +++ exited with 0 +++ [pid 5807] <... futex resumed>) = 1 [pid 5805] <... futex resumed>) = 0 [pid 5801] +++ exited with 0 +++ [pid 5807] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5805] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5801, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=32 /* 0.32 s */} --- [pid 5807] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5805] <... futex resumed>) = 0 [pid 5807] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5805] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5807] <... ioctl resumed>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [ 109.516838][ T5814] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5814) [ 109.534996][ T5803] BTRFS info (device loop2): 2 enospc errors during balance [ 109.546752][ T5803] BTRFS info (device loop2): balance: ended with status: -28 [pid 5807] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... openat resumed>) = 3 [pid 5807] <... futex resumed>) = 1 [pid 5805] <... futex resumed>) = 0 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 5807] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5805] exit_group(0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5807] <... futex resumed>) = ? [pid 5805] <... exit_group resumed>) = ? [pid 5020] close(3 [pid 5807] +++ exited with 0 +++ [pid 5805] +++ exited with 0 +++ [pid 5020] <... close resumed>) = 0 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5805, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=23 /* 0.23 s */} --- [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5821 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5822 ./strace-static-x86_64: Process 5821 attached [pid 5821] set_robust_list(0x5555558636a0, 24./strace-static-x86_64: Process 5822 attached ) = 0 [pid 5822] set_robust_list(0x5555558636a0, 24 [pid 5821] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5822] <... set_robust_list resumed>) = 0 [pid 5821] <... prctl resumed>) = 0 [pid 5822] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5821] setpgid(0, 0 [pid 5822] <... prctl resumed>) = 0 [pid 5821] <... setpgid resumed>) = 0 [pid 5822] setpgid(0, 0 [pid 5821] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5822] <... setpgid resumed>) = 0 [pid 5821] <... openat resumed>) = 3 [pid 5822] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5821] write(3, "1000", 4 [pid 5822] <... openat resumed>) = 3 [pid 5821] <... write resumed>) = 4 [pid 5822] write(3, "1000", 4 [pid 5821] close(3 [pid 5822] <... write resumed>) = 4 [pid 5821] <... close resumed>) = 0 [pid 5822] close(3 [pid 5821] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5822] <... close resumed>) = 0 [pid 5821] <... futex resumed>) = 0 [pid 5822] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5821] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5822] <... futex resumed>) = 0 [pid 5821] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5822] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5821] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5822] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5821] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5822] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5821] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5822] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5821] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5822] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5821] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5822] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5821] <... mprotect resumed>) = 0 [pid 5822] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5821] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5822] <... mprotect resumed>) = 0 [pid 5821] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5822] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5821] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5822] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5822] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5821] <... clone3 resumed> => {parent_tid=[5823]}, 88) = 5823 [pid 5821] rt_sigprocmask(SIG_SETMASK, [], [pid 5822] <... clone3 resumed> => {parent_tid=[5824]}, 88) = 5824 [pid 5821] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5822] rt_sigprocmask(SIG_SETMASK, [], [pid 5821] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5822] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5821] <... futex resumed>) = 0 [pid 5822] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5821] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5823 attached [pid 5822] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5824 attached [pid 5823] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5822] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5824] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5823] <... rseq resumed>) = 0 [pid 5824] <... rseq resumed>) = 0 [pid 5823] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5824] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5823] <... set_robust_list resumed>) = 0 [pid 5824] <... set_robust_list resumed>) = 0 [pid 5823] rt_sigprocmask(SIG_SETMASK, [], [pid 5824] rt_sigprocmask(SIG_SETMASK, [], [pid 5823] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5824] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5823] memfd_create("syzkaller", 0 [pid 5824] memfd_create("syzkaller", 0 [pid 5823] <... memfd_create resumed>) = 3 [pid 5824] <... memfd_create resumed>) = 3 [pid 5823] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5824] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5823] <... mmap resumed>) = 0x7f4e2554e000 [pid 5824] <... mmap resumed>) = 0x7f4e2554e000 [pid 5812] <... ioctl resumed>) = 0 [pid 5811] <... ioctl resumed>) = 0 [pid 5811] close(4) = 0 [pid 5811] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5808] <... futex resumed>) = 0 [pid 5811] open("./file0", O_RDONLY [pid 5808] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5812] close(4) = 0 [pid 5812] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5808] <... futex resumed>) = 0 [pid 5812] <... futex resumed>) = 1 [pid 5811] <... open resumed>) = 3 [pid 5809] <... futex resumed>) = 0 [pid 5808] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5812] open("./file0", O_RDONLY [pid 5811] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5809] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5808] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5812] <... open resumed>) = 3 [pid 5809] <... futex resumed>) = 0 [pid 5812] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5809] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5812] <... futex resumed>) = 0 [pid 5809] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5812] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5809] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5812] <... ioctl resumed>) = 0 [pid 5809] <... futex resumed>) = 0 [pid 5808] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5812] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5809] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5812] <... futex resumed>) = 0 [pid 5809] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5808] <... futex resumed>) = 0 [pid 5812] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5809] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5808] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5812] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5809] <... futex resumed>) = 0 [pid 5812] ioctl(3, 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 5809] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5814] <... ioctl resumed>) = 0 [pid 5811] <... futex resumed>) = 1 [pid 5808] <... futex resumed>) = 0 [pid 5811] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5808] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=30000000} [pid 5814] close(4 [pid 5811] <... ioctl resumed>) = 0 [pid 5814] <... close resumed>) = 0 [pid 5811] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5814] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5811] <... futex resumed>) = 1 [pid 5811] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5808] <... futex resumed>) = 0 [pid 5813] <... futex resumed>) = 0 [pid 5814] <... futex resumed>) = 1 [pid 5813] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5808] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5811] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5814] open("./file0", O_RDONLY) = 3 [pid 5813] <... futex resumed>) = 0 [pid 5811] ioctl(3, 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 5808] <... futex resumed>) = 0 [pid 5814] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5813] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5811] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5808] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5814] <... futex resumed>) = 0 [pid 5814] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5813] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5811] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5808] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5813] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5811] <... futex resumed>) = 0 [pid 5808] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5813] <... futex resumed>) = 1 [pid 5811] open("./file0", O_RDONLY [pid 5808] <... futex resumed>) = 0 [pid 5814] <... futex resumed>) = 0 [pid 5811] <... open resumed>) = 4 [pid 5808] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5813] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5814] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5811] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5814] <... ioctl resumed>) = 0 [pid 5811] <... futex resumed>) = 1 [pid 5808] <... futex resumed>) = 0 [pid 5814] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5811] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 109.826096][ T5812] BTRFS info (device loop2): balance: start -d -m [ 109.832919][ T5812] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5808] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5814] <... futex resumed>) = 1 [pid 5813] <... futex resumed>) = 0 [pid 5811] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5808] <... futex resumed>) = 0 [pid 5814] ioctl(3, 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 5813] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5811] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5808] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5814] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5813] <... futex resumed>) = 0 [pid 5814] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5813] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5814] <... futex resumed>) = 0 [pid 5813] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5814] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5813] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5814] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5813] <... futex resumed>) = 0 [pid 5814] open("./file0", O_RDONLY [pid 5813] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5814] <... open resumed>) = 4 [pid 5814] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5811] <... ioctl resumed>) = 0 [pid 5809] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5814] <... futex resumed>) = 1 [pid 5813] <... futex resumed>) = 0 [pid 5811] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5809] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5814] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5813] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5811] <... futex resumed>) = 1 [pid 5809] <... futex resumed>) = 0 [pid 5808] <... futex resumed>) = 0 [pid 5809] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5809] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5814] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5813] <... futex resumed>) = 0 [pid 5811] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5809] <... mprotect resumed>) = 0 [pid 5814] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5813] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5809] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5808] exit_group(0 [pid 5809] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5809] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5811] <... futex resumed>) = ? [pid 5808] <... exit_group resumed>) = ? [pid 5809] <... clone3 resumed> => {parent_tid=[5825]}, 88) = 5825 [pid 5809] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5809] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5809] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5825 attached [pid 5825] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5811] +++ exited with 0 +++ [pid 5825] <... rseq resumed>) = 0 [pid 5808] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5808, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 5825] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5025] <... restart_syscall resumed>) = 0 [pid 5825] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5825] open("./file0", O_RDONLY [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5825] <... open resumed>) = 4 [pid 5814] <... ioctl resumed>) = 0 [pid 5025] <... openat resumed>) = 3 [pid 5825] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5814] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5825] <... futex resumed>) = 1 [pid 5809] <... futex resumed>) = 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5825] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5809] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] close(3 [pid 5814] <... futex resumed>) = 1 [pid 5813] <... futex resumed>) = 0 [pid 5809] <... futex resumed>) = 0 [pid 5025] <... close resumed>) = 0 [pid 5809] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5814] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5813] exit_group(0 [pid 5825] <... ioctl resumed>) = 0 [pid 5814] <... futex resumed>) = ? [pid 5813] <... exit_group resumed>) = ? [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5826 [pid 5825] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5809] <... futex resumed>) = 0 [pid 5825] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5814] +++ exited with 0 +++ [pid 5813] +++ exited with 0 +++ ./strace-static-x86_64: Process 5826 attached [pid 5826] set_robust_list(0x5555558636a0, 24) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5813, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=26 /* 0.26 s */} --- [pid 5826] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5826] <... prctl resumed>) = 0 [pid 5826] setpgid(0, 0) = 0 [pid 5026] <... openat resumed>) = 3 [pid 5826] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5826] <... openat resumed>) = 3 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5826] write(3, "1000", 4) = 4 [pid 5026] close(3 [pid 5826] close(3) = 0 [pid 5826] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... close resumed>) = 0 [pid 5826] <... futex resumed>) = 0 [pid 5826] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5826] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5826] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5826] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5826] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5826] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5826] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 5827 [pid 5826] <... clone3 resumed> => {parent_tid=[5828]}, 88) = 5828 [pid 5826] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5826] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5827 attached ) = 0 [pid 5826] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5828 attached [pid 5828] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5828] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5828] rt_sigprocmask(SIG_SETMASK, [], [pid 5827] set_robust_list(0x5555558636a0, 24 [pid 5828] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5827] <... set_robust_list resumed>) = 0 [ 109.924200][ T5812] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 109.953949][ T5812] BTRFS info (device loop2): 2 enospc errors during balance [pid 5828] memfd_create("syzkaller", 0 [pid 5827] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5828] <... memfd_create resumed>) = 3 [pid 5820] 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 5828] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5827] <... prctl resumed>) = 0 [pid 5828] <... mmap resumed>) = 0x7f4e2554e000 [pid 5827] setpgid(0, 0) = 0 [pid 5827] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5827] write(3, "1000", 4) = 4 [pid 5827] close(3) = 0 [pid 5827] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5827] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5827] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5827] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5827] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5827] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5827] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5829]}, 88) = 5829 [pid 5827] rt_sigprocmask(SIG_SETMASK, [], [pid 5812] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5812] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5812] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5827] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5827] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5809] exit_group(0 [pid 5825] <... futex resumed>) = ? [pid 5812] <... futex resumed>) = ? [pid 5809] <... exit_group resumed>) = ? [pid 5827] <... futex resumed>) = 0 [pid 5825] +++ exited with 0 +++ [pid 5812] +++ exited with 0 +++ [pid 5809] +++ exited with 0 +++ [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5809, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=21 /* 0.21 s */} --- [pid 5827] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5829 attached [pid 5824] 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 5829] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [ 109.989886][ T5812] BTRFS info (device loop2): balance: ended with status: -28 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5829] <... rseq resumed>) = 0 [pid 5027] <... openat resumed>) = 3 [pid 5829] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5829] <... set_robust_list resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5829] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] close(3 [pid 5829] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] <... close resumed>) = 0 [pid 5823] 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 5829] memfd_create("syzkaller", 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5829] <... memfd_create resumed>) = 3 [pid 5829] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 5830 [pid 5829] <... mmap resumed>) = 0x7f4e2554e000 ./strace-static-x86_64: Process 5830 attached [pid 5830] set_robust_list(0x5555558636a0, 24) = 0 [pid 5830] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5830] setpgid(0, 0) = 0 [pid 5830] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5830] write(3, "1000", 4) = 4 [pid 5830] close(3) = 0 [pid 5830] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5830] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5830] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5830] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5830] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5830] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5830] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5831]}, 88) = 5831 [pid 5830] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5830] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5830] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5831 attached [pid 5831] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5831] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5831] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5831] memfd_create("syzkaller", 0) = 3 [pid 5831] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5828] 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 5820] <... write resumed>) = 16777216 [pid 5820] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5829] 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 5820] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5820] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5820] ioctl(4, LOOP_CLR_FD) = 0 [pid 5820] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5820] close(4) = 0 [pid 5820] close(3 [pid 5824] <... write resumed>) = 16777216 [pid 5824] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5824] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5824] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5824] close(3) = 0 [pid 5823] <... write resumed>) = 16777216 [pid 5824] mkdir("./file0", 0777 [pid 5823] munmap(0x7f4e2554e000, 16777216 [pid 5824] <... mkdir resumed>) = -1 EEXIST (File exists) [ 110.461648][ T5824] loop1: detected capacity change from 0 to 32768 [pid 5824] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5831] 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 5823] <... munmap resumed>) = 0 [pid 5823] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5823] ioctl(4, LOOP_SET_FD, 3 [pid 5824] <... mount resumed>) = -1 EEXIST (File exists) [pid 5823] <... ioctl resumed>) = 0 [pid 5824] ioctl(4, LOOP_CLR_FD [pid 5823] close(3) = 0 [pid 5823] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 110.502217][ T5824] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5824) [ 110.531531][ T5823] loop0: detected capacity change from 0 to 32768 [pid 5823] 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 5823] ioctl(4, LOOP_CLR_FD [pid 5820] <... close resumed>) = 0 [pid 5820] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5818] <... futex resumed>) = 0 [pid 5820] open("./file0", O_RDONLY [pid 5818] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5820] <... open resumed>) = 3 [pid 5818] <... futex resumed>) = 0 [pid 5818] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5820] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5818] <... futex resumed>) = 0 [ 110.553357][ T5823] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5823) [pid 5820] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5818] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5820] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5818] <... futex resumed>) = 0 [pid 5820] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5818] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5820] <... ioctl resumed>) = 0 [pid 5820] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5818] <... futex resumed>) = 0 [pid 5820] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5818] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5820] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5818] <... futex resumed>) = 0 [pid 5820] ioctl(3, 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 5818] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [ 110.633556][ T5820] BTRFS info (device loop2): balance: start -d -m [ 110.644043][ T5820] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5818] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5818] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5818] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5818] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5818] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5833]}, 88) = 5833 [pid 5818] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5818] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5818] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5833 attached [pid 5833] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5833] set_robust_list(0x7f4e2654d9a0, 24 [pid 5828] <... write resumed>) = 16777216 [pid 5833] <... set_robust_list resumed>) = 0 [pid 5833] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5833] open("./file0", O_RDONLY) = 4 [pid 5833] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5818] <... futex resumed>) = 0 [pid 5833] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5818] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5833] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5818] <... futex resumed>) = 0 [pid 5833] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5818] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5828] munmap(0x7f4e2554e000, 16777216 [pid 5833] <... ioctl resumed>) = 0 [pid 5833] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5818] <... futex resumed>) = 0 [pid 5833] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5828] <... munmap resumed>) = 0 [ 110.717317][ T5820] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5828] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5828] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5829] <... write resumed>) = 16777216 [pid 5828] close(3) = 0 [pid 5828] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5828] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5829] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5824] <... ioctl resumed>) = 0 [pid 5820] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5824] close(4 [pid 5820] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5818] exit_group(0 [pid 5824] <... close resumed>) = 0 [pid 5818] <... exit_group resumed>) = ? [pid 5829] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 110.769038][ T5820] BTRFS info (device loop2): 2 enospc errors during balance [ 110.775461][ T5828] loop3: detected capacity change from 0 to 32768 [ 110.794617][ T5820] BTRFS info (device loop2): balance: ended with status: -28 [ 110.797251][ T5828] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5828) [pid 5829] ioctl(4, LOOP_SET_FD, 3 [pid 5833] <... futex resumed>) = ? [pid 5824] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5820] <... futex resumed>) = ? [pid 5833] +++ exited with 0 +++ [pid 5829] <... ioctl resumed>) = 0 [pid 5828] <... mount resumed>) = -1 EEXIST (File exists) [pid 5824] <... futex resumed>) = 1 [pid 5823] <... ioctl resumed>) = 0 [pid 5822] <... futex resumed>) = 0 [pid 5820] +++ exited with 0 +++ [pid 5818] +++ exited with 0 +++ [pid 5829] close(3 [pid 5828] ioctl(4, LOOP_CLR_FD [pid 5824] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5823] close(4 [pid 5822] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5829] <... close resumed>) = 0 [pid 5824] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5823] <... close resumed>) = 0 [pid 5829] mkdir("./file0", 0777 [pid 5824] open("./file0", O_RDONLY [pid 5823] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5822] <... futex resumed>) = 0 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5818, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=23 /* 0.23 s */} --- [pid 5829] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5824] <... open resumed>) = 3 [pid 5823] <... futex resumed>) = 1 [pid 5829] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5824] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5823] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5831] <... write resumed>) = 16777216 [pid 5824] <... futex resumed>) = 0 [pid 5822] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5821] <... futex resumed>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5831] munmap(0x7f4e2554e000, 16777216 [pid 5822] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5821] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... openat resumed>) = 3 [pid 5829] <... mount resumed>) = -1 EEXIST (File exists) [pid 5824] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5823] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5822] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5821] <... futex resumed>) = 0 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 5829] ioctl(4, LOOP_CLR_FD [pid 5824] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5823] open("./file0", O_RDONLY [pid 5822] <... futex resumed>) = 0 [pid 5821] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] <... ioctl resumed>) = 0 [pid 5831] <... munmap resumed>) = 0 [pid 5824] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5823] <... open resumed>) = 3 [ 110.841587][ T5829] loop4: detected capacity change from 0 to 32768 [ 110.874844][ T5829] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5829) [pid 5822] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] close(3 [pid 5831] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5824] <... ioctl resumed>) = 0 [pid 5823] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5831] <... openat resumed>) = 4 [pid 5824] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5823] <... futex resumed>) = 1 [pid 5022] <... close resumed>) = 0 [pid 5831] ioctl(4, LOOP_SET_FD, 3 [pid 5824] <... futex resumed>) = 1 [pid 5823] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5824] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5822] <... futex resumed>) = 0 [pid 5821] <... futex resumed>) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5822] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5821] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5823] <... futex resumed>) = 0 [pid 5821] <... futex resumed>) = 1 [pid 5824] <... futex resumed>) = 0 [pid 5822] <... futex resumed>) = 1 [pid 5824] ioctl(3, 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 5823] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5822] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5821] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 5835 ./strace-static-x86_64: Process 5835 attached [pid 5823] <... ioctl resumed>) = 0 [pid 5823] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5821] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5835] set_robust_list(0x5555558636a0, 24 [pid 5823] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5821] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5823] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5835] <... set_robust_list resumed>) = 0 [pid 5823] ioctl(3, 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 5821] <... futex resumed>) = 0 [pid 5835] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5823] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5835] <... prctl resumed>) = 0 [pid 5823] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5821] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5823] <... futex resumed>) = 0 [pid 5823] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5835] setpgid(0, 0 [pid 5821] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 110.894007][ T5831] loop5: detected capacity change from 0 to 32768 [ 110.919569][ T5824] BTRFS info (device loop2): balance: start -d -m [pid 5835] <... setpgid resumed>) = 0 [pid 5831] <... ioctl resumed>) = 0 [pid 5821] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5835] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5831] close(3 [pid 5823] <... futex resumed>) = 0 [pid 5821] <... futex resumed>) = 1 [pid 5823] open("./file0", O_RDONLY [pid 5831] <... close resumed>) = 0 [pid 5821] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5835] <... openat resumed>) = 3 [pid 5823] <... open resumed>) = 4 [pid 5823] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5831] mkdir("./file0", 0777 [pid 5823] <... futex resumed>) = 0 [pid 5821] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5835] write(3, "1000", 4) = 4 [pid 5831] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5823] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5821] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5835] close(3 [pid 5831] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5823] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5823] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5835] <... close resumed>) = 0 [pid 5821] <... futex resumed>) = 0 [pid 5821] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5835] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5822] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5822] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5835] <... futex resumed>) = 0 [pid 5822] <... futex resumed>) = 0 [pid 5835] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5823] <... ioctl resumed>) = 0 [pid 5822] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5823] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5835] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5822] <... mmap resumed>) = 0x7f4e2652d000 [pid 5821] <... futex resumed>) = 0 [pid 5835] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5822] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5835] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5821] exit_group(0 [pid 5822] <... mprotect resumed>) = 0 [pid 5835] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5821] <... exit_group resumed>) = ? [pid 5822] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5835] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5822] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5835] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5823] +++ exited with 0 +++ [pid 5821] +++ exited with 0 +++ [pid 5822] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5821, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=29 /* 0.29 s */} --- [pid 5835] <... mprotect resumed>) = 0 [pid 5835] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5822] <... clone3 resumed> => {parent_tid=[5836]}, 88) = 5836 [ 110.948810][ T5824] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 110.968750][ T5831] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5831) [pid 5835] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5822] rt_sigprocmask(SIG_SETMASK, [], [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5835] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5822] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5020] <... openat resumed>) = 3 [pid 5822] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5836 attached [pid 5831] <... mount resumed>) = -1 EEXIST (File exists) [pid 5822] <... futex resumed>) = 0 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 5836] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5835] <... clone3 resumed> => {parent_tid=[5837]}, 88) = 5837 [pid 5831] ioctl(4, LOOP_CLR_FD [pid 5822] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5836] <... rseq resumed>) = 0 [pid 5835] rt_sigprocmask(SIG_SETMASK, [], [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 5837 attached [pid 5836] set_robust_list(0x7f4e2654d9a0, 24 [pid 5835] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5020] close(3 [pid 5837] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [ 110.992596][ T5824] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5837] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5836] <... set_robust_list resumed>) = 0 [pid 5835] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... close resumed>) = 0 [pid 5837] <... set_robust_list resumed>) = 0 [pid 5837] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5837] memfd_create("syzkaller", 0) = 3 [pid 5837] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5836] rt_sigprocmask(SIG_SETMASK, [], [pid 5835] <... futex resumed>) = 0 [pid 5836] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5836] open("./file0", O_RDONLY [pid 5835] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5836] <... open resumed>) = 4 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 5838 [pid 5836] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5822] <... futex resumed>) = 0 [pid 5836] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5822] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5836] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5822] <... futex resumed>) = 0 [pid 5836] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5822] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5838 attached [pid 5838] set_robust_list(0x5555558636a0, 24 [pid 5836] <... ioctl resumed>) = 0 [pid 5836] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5838] <... set_robust_list resumed>) = 0 [pid 5836] <... futex resumed>) = 1 [pid 5822] <... futex resumed>) = 0 [pid 5836] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5838] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5838] setpgid(0, 0) = 0 [pid 5838] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5838] write(3, "1000", 4) = 4 [pid 5838] close(3) = 0 [pid 5838] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5838] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5838] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5838] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5838] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5838] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5838] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5839]}, 88) = 5839 [pid 5838] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5838] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 5839 attached [pid 5838] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5839] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5828] <... ioctl resumed>) = 0 [pid 5839] <... rseq resumed>) = 0 [ 111.051704][ T5824] BTRFS info (device loop2): 2 enospc errors during balance [ 111.087661][ T5824] BTRFS info (device loop2): balance: ended with status: -28 [pid 5839] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5839] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5839] memfd_create("syzkaller", 0) = 3 [pid 5839] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5824] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5824] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5824] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5822] exit_group(0) = ? [pid 5836] <... futex resumed>) = ? [pid 5824] <... futex resumed>) = ? [pid 5836] +++ exited with 0 +++ [pid 5824] +++ exited with 0 +++ [pid 5822] +++ exited with 0 +++ [pid 5828] close(4 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5822, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=25 /* 0.25 s */} --- [pid 5828] <... close resumed>) = 0 [pid 5828] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5826] <... futex resumed>) = 0 [pid 5828] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5829] <... ioctl resumed>) = 0 [pid 5829] close(4) = 0 [pid 5829] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5827] <... futex resumed>) = 0 [pid 5827] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5827] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5829] <... futex resumed>) = 1 [pid 5829] open("./file0", O_RDONLY) = 3 [pid 5829] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5827] <... futex resumed>) = 0 [pid 5827] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5827] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5829] <... futex resumed>) = 1 [pid 5829] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 5829] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5827] <... futex resumed>) = 0 [pid 5826] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5827] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5828] <... futex resumed>) = 0 [pid 5826] <... futex resumed>) = 1 [pid 5828] open("./file0", O_RDONLY [pid 5827] <... futex resumed>) = 0 [pid 5826] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5829] <... futex resumed>) = 1 [pid 5828] <... open resumed>) = 3 [pid 5827] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] <... openat resumed>) = 3 [pid 5829] ioctl(3, 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 5828] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5828] <... futex resumed>) = 1 [pid 5826] <... futex resumed>) = 0 [pid 5828] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5826] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5828] <... futex resumed>) = 0 [pid 5826] <... futex resumed>) = 1 [pid 5021] close(3 [pid 5828] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 5826] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] <... close resumed>) = 0 [pid 5828] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5828] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5826] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5826] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 5840 [pid 5828] <... futex resumed>) = 0 [pid 5828] ioctl(3, 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}}) = -1 EINPROGRESS (Operation now in progress) [pid 5828] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5826] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 EAGAIN (Resource temporarily unavailable) [pid 5826] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5826] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5828] <... futex resumed>) = 1 [pid 5826] <... futex resumed>) = 0 [pid 5826] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=49000000} [pid 5828] open("./file0", O_RDONLY) = 4 [pid 5828] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5826] <... futex resumed>) = 0 [pid 5828] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5826] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5828] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5826] <... futex resumed>) = 0 [pid 5828] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5826] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5828] <... ioctl resumed>) = 0 [pid 5828] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5826] <... futex resumed>) = 0 [pid 5828] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5826] exit_group(0 [pid 5828] <... futex resumed>) = ? [pid 5826] <... exit_group resumed>) = ? [pid 5828] +++ exited with 0 +++ [pid 5826] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5826, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=20 /* 0.20 s */} --- [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5840 attached ) = -1 ENXIO (No such device or address) [pid 5840] set_robust_list(0x5555558636a0, 24 [pid 5025] close(3 [pid 5840] <... set_robust_list resumed>) = 0 [pid 5025] <... close resumed>) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5840] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5840] setpgid(0, 0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5841 [pid 5840] <... setpgid resumed>) = 0 [pid 5827] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5840] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5827] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5840] <... openat resumed>) = 3 [pid 5827] <... futex resumed>) = 0 [pid 5840] write(3, "1000", 4 [pid 5827] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0./strace-static-x86_64: Process 5841 attached [pid 5840] <... write resumed>) = 4 [pid 5831] <... ioctl resumed>) = 0 [pid 5827] <... mmap resumed>) = 0x7f4e2652d000 [pid 5840] close(3 [pid 5831] close(4 [pid 5827] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5841] set_robust_list(0x5555558636a0, 24 [pid 5840] <... close resumed>) = 0 [pid 5831] <... close resumed>) = 0 [pid 5827] <... mprotect resumed>) = 0 [pid 5841] <... set_robust_list resumed>) = 0 [pid 5840] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5831] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5827] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5840] <... futex resumed>) = 0 [pid 5827] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5831] <... futex resumed>) = 1 [pid 5830] <... futex resumed>) = 0 [pid 5841] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5840] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5831] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5830] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5827] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5841] <... prctl resumed>) = 0 [pid 5840] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5831] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5830] <... futex resumed>) = 0 [pid 5840] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5830] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5827] <... clone3 resumed> => {parent_tid=[5842]}, 88) = 5842 [pid 5841] setpgid(0, 0 [pid 5840] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 111.178706][ T5829] BTRFS info (device loop2): balance: start -d -m [ 111.185535][ T5829] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5831] open("./file0", O_RDONLY [pid 5827] rt_sigprocmask(SIG_SETMASK, [], [pid 5841] <... setpgid resumed>) = 0 [pid 5840] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5831] <... open resumed>) = 3 [pid 5827] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5841] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5840] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5831] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5827] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5840] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5831] <... futex resumed>) = 1 [pid 5830] <... futex resumed>) = 0 [pid 5827] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5842 attached [pid 5841] <... openat resumed>) = 3 [pid 5840] <... mprotect resumed>) = 0 [pid 5831] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5830] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5827] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5842] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5841] write(3, "1000", 4 [pid 5840] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5831] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5830] <... futex resumed>) = 0 [pid 5842] <... rseq resumed>) = 0 [pid 5841] <... write resumed>) = 4 [pid 5840] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5831] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5830] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5842] set_robust_list(0x7f4e2654d9a0, 24 [pid 5841] close(3 [pid 5840] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5831] <... ioctl resumed>) = 0 [pid 5842] <... set_robust_list resumed>) = 0 [pid 5841] <... close resumed>) = 0 [pid 5831] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5842] rt_sigprocmask(SIG_SETMASK, [], [pid 5841] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5840] <... clone3 resumed> => {parent_tid=[5843]}, 88) = 5843 [pid 5831] <... futex resumed>) = 1 [pid 5830] <... futex resumed>) = 0 [pid 5842] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5841] <... futex resumed>) = 0 [pid 5840] rt_sigprocmask(SIG_SETMASK, [], [pid 5831] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5830] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5842] open("./file0", O_RDONLY [pid 5841] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5840] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5831] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5830] <... futex resumed>) = 0 [pid 5842] <... open resumed>) = 4 [pid 5841] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5840] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5831] ioctl(3, 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 5830] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5843 attached [pid 5842] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5841] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5840] <... futex resumed>) = 0 [pid 5831] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5843] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5842] <... futex resumed>) = 1 [pid 5841] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5840] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5831] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5827] <... futex resumed>) = 0 [pid 5843] <... rseq resumed>) = 0 [pid 5842] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5841] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5831] <... futex resumed>) = 1 [pid 5830] <... futex resumed>) = 0 [pid 5827] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5843] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5842] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5841] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5831] open("./file0", O_RDONLY [pid 5830] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5827] <... futex resumed>) = 0 [pid 5843] <... set_robust_list resumed>) = 0 [pid 5842] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5841] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5831] <... open resumed>) = 4 [pid 5830] <... futex resumed>) = 0 [pid 5827] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5843] rt_sigprocmask(SIG_SETMASK, [], [pid 5841] <... mprotect resumed>) = 0 [pid 5831] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5830] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5843] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5831] <... futex resumed>) = 0 [pid 5830] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5843] memfd_create("syzkaller", 0 [pid 5841] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5830] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5843] <... memfd_create resumed>) = 3 [pid 5830] <... futex resumed>) = 0 [pid 5843] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5830] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5843] <... mmap resumed>) = 0x7f4e2554e000 [ 111.242552][ T5829] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5831] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5842] <... ioctl resumed>) = 0 [pid 5841] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5842] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5841] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5831] <... ioctl resumed>) = 0 [pid 5842] <... futex resumed>) = 1 [pid 5827] <... futex resumed>) = 0 [pid 5831] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5842] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5841] <... clone3 resumed> => {parent_tid=[5844]}, 88) = 5844 [pid 5831] <... futex resumed>) = 1 [pid 5830] <... futex resumed>) = 0 [pid 5841] rt_sigprocmask(SIG_SETMASK, [], [pid 5831] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5830] exit_group(0) = ? [pid 5841] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5831] <... futex resumed>) = ? [pid 5841] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5831] +++ exited with 0 +++ [pid 5830] +++ exited with 0 +++ [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5830, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=24 /* 0.24 s */} --- [pid 5841] <... futex resumed>) = 0 [pid 5841] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5027] close(3) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5845 ./strace-static-x86_64: Process 5844 attached [pid 5844] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5844] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5844] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5844] memfd_create("syzkaller", 0) = 3 [pid 5844] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 ./strace-static-x86_64: Process 5845 attached [pid 5845] set_robust_list(0x5555558636a0, 24) = 0 [ 111.286255][ T5829] BTRFS info (device loop2): 2 enospc errors during balance [ 111.293568][ T5829] BTRFS info (device loop2): balance: ended with status: -28 [pid 5845] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5845] setpgid(0, 0) = 0 [pid 5845] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5845] write(3, "1000", 4) = 4 [pid 5845] close(3) = 0 [pid 5845] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5845] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5845] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5845] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5845] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5845] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5845] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5846]}, 88) = 5846 [pid 5845] rt_sigprocmask(SIG_SETMASK, [], [pid 5829] <... ioctl resumed>) = -1 ENOSPC (No space left on device) ./strace-static-x86_64: Process 5846 attached [pid 5845] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5829] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5829] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5846] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5845] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5827] exit_group(0 [pid 5846] <... rseq resumed>) = 0 [pid 5845] <... futex resumed>) = 0 [pid 5842] <... futex resumed>) = ? [pid 5829] <... futex resumed>) = ? [pid 5827] <... exit_group resumed>) = ? [pid 5845] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5829] +++ exited with 0 +++ [pid 5846] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5842] +++ exited with 0 +++ [pid 5827] +++ exited with 0 +++ [pid 5846] <... set_robust_list resumed>) = 0 [pid 5846] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5827, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 5846] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5846] memfd_create("syzkaller", 0) = 3 [pid 5846] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5839] 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 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5846] <... mmap resumed>) = 0x7f4e2554e000 [pid 5026] <... openat resumed>) = 3 [pid 5837] 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 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5026] close(3) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5847 ./strace-static-x86_64: Process 5847 attached [pid 5847] set_robust_list(0x5555558636a0, 24) = 0 [pid 5847] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5847] setpgid(0, 0) = 0 [pid 5847] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5847] write(3, "1000", 4) = 4 [pid 5847] close(3) = 0 [pid 5847] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5847] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5847] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5847] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5847] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5847] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5847] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5848]}, 88) = 5848 [pid 5847] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5847] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5847] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5848 attached [pid 5848] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5848] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5848] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5848] memfd_create("syzkaller", 0) = 3 [pid 5848] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5843] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5844] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5846] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5839] <... write resumed>) = 16777216 [pid 5837] <... write resumed>) = 16777216 [pid 5839] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5839] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5839] ioctl(4, LOOP_SET_FD, 3 [pid 5837] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5839] <... ioctl resumed>) = 0 [pid 5839] close(3 [pid 5837] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5839] <... close resumed>) = 0 [pid 5839] mkdir("./file0", 0777 [pid 5837] <... openat resumed>) = 4 [pid 5839] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5837] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5837] ioctl(4, LOOP_CLR_FD [pid 5839] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5837] <... ioctl resumed>) = 0 [pid 5837] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5837] close(4) = 0 [pid 5837] close(3 [ 111.788691][ T5839] loop0: detected capacity change from 0 to 32768 [ 111.821939][ T5839] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5839) [pid 5848] 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 5839] <... mount resumed>) = -1 EEXIST (File exists) [pid 5839] ioctl(4, LOOP_CLR_FD [pid 5837] <... close resumed>) = 0 [pid 5837] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5835] <... futex resumed>) = 0 [pid 5846] <... write resumed>) = 16777216 [pid 5837] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5835] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5837] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5835] <... futex resumed>) = 0 [pid 5843] <... write resumed>) = 16777216 [pid 5837] open("./file0", O_RDONLY [pid 5835] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5843] munmap(0x7f4e2554e000, 16777216 [pid 5837] <... open resumed>) = 3 [pid 5843] <... munmap resumed>) = 0 [pid 5837] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5835] <... futex resumed>) = 0 [pid 5837] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5835] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5846] munmap(0x7f4e2554e000, 16777216 [pid 5837] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5835] <... futex resumed>) = 0 [pid 5837] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5835] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5844] <... write resumed>) = 16777216 [pid 5837] <... ioctl resumed>) = 0 [pid 5837] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5844] munmap(0x7f4e2554e000, 16777216 [pid 5837] <... futex resumed>) = 1 [pid 5835] <... futex resumed>) = 0 [pid 5837] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5835] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5837] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5835] <... futex resumed>) = 0 [pid 5839] <... ioctl resumed>) = 0 [pid 5837] ioctl(3, 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 5835] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5846] <... munmap resumed>) = 0 [pid 5844] <... munmap resumed>) = 0 [pid 5843] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5839] close(4 [pid 5846] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5843] <... openat resumed>) = 4 [pid 5839] <... close resumed>) = 0 [pid 5843] ioctl(4, LOOP_SET_FD, 3 [pid 5846] <... openat resumed>) = 4 [pid 5844] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5839] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5838] <... futex resumed>) = 0 [pid 5839] open("./file0", O_RDONLY [pid 5838] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5846] ioctl(4, LOOP_SET_FD, 3 [pid 5844] <... openat resumed>) = 4 [pid 5839] <... open resumed>) = 3 [pid 5838] <... futex resumed>) = 0 [pid 5843] <... ioctl resumed>) = 0 [pid 5843] close(3) = 0 [pid 5843] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5843] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5844] ioctl(4, LOOP_SET_FD, 3 [pid 5839] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [ 112.082507][ T5837] BTRFS info (device loop2): balance: start -d -m [ 112.093266][ T5843] loop1: detected capacity change from 0 to 32768 [ 112.102437][ T5837] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 112.126252][ T5846] loop5: detected capacity change from 0 to 32768 [pid 5838] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5846] <... ioctl resumed>) = 0 [pid 5839] <... futex resumed>) = 0 [pid 5838] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5835] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5846] close(3 [pid 5844] <... ioctl resumed>) = 0 [pid 5839] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5838] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5846] <... close resumed>) = 0 [pid 5844] close(3 [pid 5839] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5838] <... futex resumed>) = 0 [pid 5846] mkdir("./file0", 0777 [pid 5844] <... close resumed>) = 0 [pid 5839] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5838] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5846] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5844] mkdir("./file0", 0777 [pid 5839] <... ioctl resumed>) = 0 [pid 5846] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5844] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5839] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5844] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5839] <... futex resumed>) = 1 [pid 5838] <... futex resumed>) = 0 [pid 5835] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5839] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5838] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5835] <... futex resumed>) = 0 [pid 5839] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5838] <... futex resumed>) = 0 [pid 5835] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5839] ioctl(3, 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 5838] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5835] <... mmap resumed>) = 0x7f4e2652d000 [pid 5839] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5835] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5839] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5835] <... mprotect resumed>) = 0 [pid 5839] <... futex resumed>) = 1 [pid 5838] <... futex resumed>) = 0 [pid 5835] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5839] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5838] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5835] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5839] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5838] <... futex resumed>) = 0 [pid 5835] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5839] open("./file0", O_RDONLY [pid 5838] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5839] <... open resumed>) = 4 [pid 5835] <... clone3 resumed> => {parent_tid=[5850]}, 88) = 5850 ./strace-static-x86_64: Process 5850 attached [pid 5839] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5835] rt_sigprocmask(SIG_SETMASK, [], [pid 5850] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5839] <... futex resumed>) = 1 [pid 5838] <... futex resumed>) = 0 [pid 5835] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5850] <... rseq resumed>) = 0 [pid 5839] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5838] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5835] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5850] set_robust_list(0x7f4e2654d9a0, 24 [pid 5839] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5838] <... futex resumed>) = 0 [pid 5835] <... futex resumed>) = 0 [pid 5850] <... set_robust_list resumed>) = 0 [pid 5839] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5838] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5835] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5843] <... mount resumed>) = -1 EEXIST (File exists) [ 112.134373][ T5844] loop3: detected capacity change from 0 to 32768 [ 112.134740][ T5843] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5843) [ 112.160516][ T5837] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5843] ioctl(4, LOOP_CLR_FD [pid 5839] <... ioctl resumed>) = 0 [pid 5839] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5838] <... futex resumed>) = 0 [pid 5838] exit_group(0) = ? [pid 5850] rt_sigprocmask(SIG_SETMASK, [], [pid 5839] +++ exited with 0 +++ [pid 5838] +++ exited with 0 +++ [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5838, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- [pid 5850] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5850] open("./file0", O_RDONLY [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 5850] <... open resumed>) = 4 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5850] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] close(3 [pid 5850] <... futex resumed>) = 1 [pid 5835] <... futex resumed>) = 0 [pid 5835] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... close resumed>) = 0 [pid 5835] <... futex resumed>) = 0 [pid 5835] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5848] <... write resumed>) = 16777216 [pid 5848] munmap(0x7f4e2554e000, 16777216 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5851 [pid 5850] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5848] <... munmap resumed>) = 0 [pid 5848] openat(AT_FDCWD, "/dev/loop4", O_RDWR [ 112.186269][ T5846] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5846) [ 112.226109][ T5837] BTRFS info (device loop2): 2 enospc errors during balance [pid 5850] <... ioctl resumed>) = 0 [pid 5848] <... openat resumed>) = 4 ./strace-static-x86_64: Process 5851 attached [pid 5850] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5846] <... mount resumed>) = -1 EEXIST (File exists) [pid 5844] <... mount resumed>) = -1 EEXIST (File exists) [pid 5850] <... futex resumed>) = 1 [pid 5846] ioctl(4, LOOP_CLR_FD [pid 5850] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5844] ioctl(4, LOOP_CLR_FD [pid 5851] set_robust_list(0x5555558636a0, 24) = 0 [pid 5851] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5851] setpgid(0, 0) = 0 [pid 5851] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5851] write(3, "1000", 4) = 4 [pid 5851] close(3) = 0 [pid 5851] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5851] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5851] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5835] <... futex resumed>) = 0 [pid 5851] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5851] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5851] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5851] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5851] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5852]}, 88) = 5852 [pid 5851] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5851] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5851] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5848] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5837] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5837] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5835] exit_group(0 [pid 5850] <... futex resumed>) = ? [pid 5835] <... exit_group resumed>) = ? [pid 5850] +++ exited with 0 +++ ./strace-static-x86_64: Process 5852 attached [pid 5837] +++ exited with 0 +++ [pid 5835] +++ exited with 0 +++ [pid 5852] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5852] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5835, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=31 /* 0.31 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 5852] rt_sigprocmask(SIG_SETMASK, [], [pid 5022] <... restart_syscall resumed>) = 0 [pid 5852] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5852] memfd_create("syzkaller", 0) = 3 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5852] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5022] <... openat resumed>) = 3 [pid 5852] <... mmap resumed>) = 0x7f4e2554e000 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5853 [pid 5848] close(3) = 0 [pid 5848] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 112.226357][ T5844] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5844) [ 112.233423][ T5837] BTRFS info (device loop2): balance: ended with status: -28 [ 112.263851][ T5848] loop4: detected capacity change from 0 to 32768 [pid 5848] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,"./strace-static-x86_64: Process 5853 attached [pid 5853] set_robust_list(0x5555558636a0, 24) = 0 [pid 5853] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5853] setpgid(0, 0) = 0 [pid 5853] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5853] write(3, "1000", 4) = 4 [pid 5853] close(3) = 0 [ 112.296096][ T5848] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5848) [pid 5853] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5848] <... mount resumed>) = -1 EEXIST (File exists) [pid 5853] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5848] ioctl(4, LOOP_CLR_FD [pid 5853] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5853] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5853] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5853] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5853] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5853] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5855]}, 88) = 5855 [pid 5853] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5853] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5855 attached ) = 0 [pid 5855] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5853] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5855] <... rseq resumed>) = 0 [pid 5855] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5855] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5855] memfd_create("syzkaller", 0) = 3 [pid 5855] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5843] <... ioctl resumed>) = 0 [pid 5843] close(4) = 0 [pid 5843] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5843] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5840] <... futex resumed>) = 0 [pid 5840] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5843] <... futex resumed>) = 0 [pid 5840] <... futex resumed>) = 1 [pid 5843] open("./file0", O_RDONLY [pid 5840] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5843] <... open resumed>) = 3 [pid 5843] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5840] <... futex resumed>) = 0 [pid 5843] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5840] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5843] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5840] <... futex resumed>) = 0 [pid 5843] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5840] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5843] <... ioctl resumed>) = 0 [pid 5843] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5840] <... futex resumed>) = 0 [pid 5843] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5840] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5843] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5840] <... futex resumed>) = 0 [pid 5843] ioctl(3, 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 5840] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5844] <... ioctl resumed>) = 0 [pid 5844] close(4) = 0 [pid 5844] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5846] <... ioctl resumed>) = 0 [pid 5844] <... futex resumed>) = 1 [pid 5841] <... futex resumed>) = 0 [pid 5844] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5841] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5844] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5841] <... futex resumed>) = 0 [pid 5844] open("./file0", O_RDONLY [pid 5841] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5844] <... open resumed>) = 3 [pid 5846] close(4 [pid 5844] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5846] <... close resumed>) = 0 [pid 5844] <... futex resumed>) = 1 [pid 5841] <... futex resumed>) = 0 [pid 5846] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5844] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5841] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5846] <... futex resumed>) = 1 [pid 5845] <... futex resumed>) = 0 [pid 5844] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5841] <... futex resumed>) = 0 [pid 5846] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5845] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5844] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5841] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5846] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5845] <... futex resumed>) = 0 [pid 5844] <... ioctl resumed>) = 0 [pid 5846] open("./file0", O_RDONLY [pid 5845] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5844] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5846] <... open resumed>) = 3 [pid 5844] <... futex resumed>) = 1 [pid 5841] <... futex resumed>) = 0 [pid 5846] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5844] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5841] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5846] <... futex resumed>) = 1 [pid 5845] <... futex resumed>) = 0 [ 112.538991][ T5843] BTRFS info (device loop2): balance: start -d -m [ 112.545800][ T5843] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5844] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5841] <... futex resumed>) = 0 [pid 5846] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5845] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5844] ioctl(3, 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 5841] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5846] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5845] <... futex resumed>) = 0 [pid 5844] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5846] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5845] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5844] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5846] <... ioctl resumed>) = 0 [pid 5844] <... futex resumed>) = 1 [pid 5841] <... futex resumed>) = 0 [pid 5846] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5844] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5841] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5852] write(3, "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"..., 16777216 [pid 5846] <... futex resumed>) = 1 [pid 5845] <... futex resumed>) = 0 [pid 5844] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5841] <... futex resumed>) = 0 [pid 5840] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5846] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5845] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5844] open("./file0", O_RDONLY [pid 5841] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5840] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5846] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5845] <... futex resumed>) = 0 [pid 5844] <... open resumed>) = 4 [pid 5840] <... futex resumed>) = 0 [pid 5846] ioctl(3, 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 5845] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5844] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5840] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5846] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5844] <... futex resumed>) = 1 [pid 5841] <... futex resumed>) = 0 [pid 5846] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5844] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5841] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5840] <... mmap resumed>) = 0x7f4e2652d000 [pid 5846] <... futex resumed>) = 1 [pid 5845] <... futex resumed>) = 0 [pid 5844] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5841] <... futex resumed>) = 0 [pid 5840] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5846] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5845] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5844] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5841] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5840] <... mprotect resumed>) = 0 [pid 5848] <... ioctl resumed>) = 0 [pid 5846] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5845] <... futex resumed>) = 0 [pid 5844] <... ioctl resumed>) = 0 [pid 5840] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5848] close(4 [pid 5846] open("./file0", O_RDONLY [pid 5845] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5844] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5840] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5846] <... open resumed>) = 4 [pid 5844] <... futex resumed>) = 1 [pid 5841] <... futex resumed>) = 0 [pid 5840] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5846] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5844] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5841] exit_group(0 [pid 5846] <... futex resumed>) = 1 [pid 5845] <... futex resumed>) = 0 [pid 5844] <... futex resumed>) = ? [pid 5841] <... exit_group resumed>) = ? [pid 5840] <... clone3 resumed> => {parent_tid=[5856]}, 88) = 5856 [pid 5848] <... close resumed>) = 0 [pid 5846] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5845] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5844] +++ exited with 0 +++ [pid 5841] +++ exited with 0 +++ [pid 5840] rt_sigprocmask(SIG_SETMASK, [], [pid 5848] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5846] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5845] <... futex resumed>) = 0 [pid 5840] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5841, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=27 /* 0.27 s */} --- [pid 5848] <... futex resumed>) = 1 [pid 5847] <... futex resumed>) = 0 [pid 5846] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5845] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5840] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5848] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 112.605446][ T5843] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5847] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5846] <... ioctl resumed>) = 0 [pid 5840] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5856 attached [pid 5848] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5847] <... futex resumed>) = 0 [pid 5846] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5840] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5856] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5848] open("./file0", O_RDONLY [pid 5847] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5846] <... futex resumed>) = 1 [pid 5845] <... futex resumed>) = 0 [pid 5025] <... openat resumed>) = 3 [pid 5856] <... rseq resumed>) = 0 [pid 5848] <... open resumed>) = 3 [pid 5846] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5845] exit_group(0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5856] set_robust_list(0x7f4e2654d9a0, 24 [pid 5848] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5846] <... futex resumed>) = ? [pid 5845] <... exit_group resumed>) = ? [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5856] <... set_robust_list resumed>) = 0 [pid 5848] <... futex resumed>) = 1 [pid 5847] <... futex resumed>) = 0 [pid 5846] +++ exited with 0 +++ [pid 5845] +++ exited with 0 +++ [pid 5025] close(3 [pid 5856] rt_sigprocmask(SIG_SETMASK, [], [pid 5848] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5847] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5845, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- [pid 5856] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5848] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5847] <... futex resumed>) = 0 [pid 5025] <... close resumed>) = 0 [pid 5856] open("./file0", O_RDONLY [pid 5848] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5847] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5856] <... open resumed>) = 4 [pid 5848] <... ioctl resumed>) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5856] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5848] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... openat resumed>) = 3 [pid 5856] <... futex resumed>) = 1 [pid 5848] <... futex resumed>) = 1 [pid 5847] <... futex resumed>) = 0 [pid 5840] <... futex resumed>) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5857 [pid 5856] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5848] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5847] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5840] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5856] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5848] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5847] <... futex resumed>) = 0 [pid 5840] <... futex resumed>) = 0 [pid 5027] close(3 [pid 5856] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5848] ioctl(3, 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 5847] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5840] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] <... close resumed>) = 0 ./strace-static-x86_64: Process 5857 attached [pid 5856] <... ioctl resumed>) = 0 [pid 5848] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5857] set_robust_list(0x5555558636a0, 24 [pid 5856] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5848] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5857] <... set_robust_list resumed>) = 0 [pid 5856] <... futex resumed>) = 1 [pid 5848] <... futex resumed>) = 1 [pid 5847] <... futex resumed>) = 0 [pid 5840] <... futex resumed>) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 5858 [pid 5857] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5856] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL./strace-static-x86_64: Process 5858 attached [pid 5848] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5847] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5858] set_robust_list(0x5555558636a0, 24 [pid 5857] <... prctl resumed>) = 0 [pid 5848] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5847] <... futex resumed>) = 0 [pid 5858] <... set_robust_list resumed>) = 0 [pid 5857] setpgid(0, 0 [pid 5848] open("./file0", O_RDONLY [pid 5847] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5858] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5857] <... setpgid resumed>) = 0 [pid 5848] <... open resumed>) = 4 [pid 5858] <... prctl resumed>) = 0 [pid 5857] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5848] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5858] setpgid(0, 0 [pid 5857] <... openat resumed>) = 3 [pid 5848] <... futex resumed>) = 1 [pid 5847] <... futex resumed>) = 0 [pid 5858] <... setpgid resumed>) = 0 [pid 5857] write(3, "1000", 4 [pid 5848] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5847] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5858] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5857] <... write resumed>) = 4 [pid 5848] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5847] <... futex resumed>) = 0 [pid 5858] <... openat resumed>) = 3 [pid 5857] close(3 [pid 5848] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5847] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5858] write(3, "1000", 4 [pid 5857] <... close resumed>) = 0 [pid 5858] <... write resumed>) = 4 [pid 5857] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5848] <... ioctl resumed>) = 0 [pid 5858] close(3 [pid 5857] <... futex resumed>) = 0 [pid 5848] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5858] <... close resumed>) = 0 [pid 5857] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5848] <... futex resumed>) = 1 [pid 5847] <... futex resumed>) = 0 [pid 5858] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5857] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5848] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5847] exit_group(0 [pid 5843] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5858] <... futex resumed>) = 0 [pid 5857] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5848] <... futex resumed>) = ? [pid 5847] <... exit_group resumed>) = ? [pid 5843] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5858] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5857] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5848] +++ exited with 0 +++ [pid 5843] <... futex resumed>) = 0 [pid 5858] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5843] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 112.659486][ T5843] BTRFS info (device loop2): 2 enospc errors during balance [ 112.695183][ T5843] BTRFS info (device loop2): balance: ended with status: -28 [pid 5858] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5857] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5847] +++ exited with 0 +++ [pid 5858] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5857] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5847, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=21 /* 0.21 s */} --- [pid 5858] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5857] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5840] exit_group(0 [pid 5858] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5857] <... mprotect resumed>) = 0 [pid 5856] <... futex resumed>) = ? [pid 5843] <... futex resumed>) = ? [pid 5840] <... exit_group resumed>) = ? [pid 5858] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5857] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5856] +++ exited with 0 +++ [pid 5843] +++ exited with 0 +++ [pid 5858] <... mprotect resumed>) = 0 [pid 5858] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5840] +++ exited with 0 +++ [pid 5858] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5840, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=28 /* 0.28 s */} --- [pid 5858] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5857] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5026] <... openat resumed>) = 3 [pid 5857] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5858] <... clone3 resumed> => {parent_tid=[5859]}, 88) = 5859 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5858] rt_sigprocmask(SIG_SETMASK, [], [pid 5857] <... clone3 resumed> => {parent_tid=[5860]}, 88) = 5860 [pid 5026] close(3 [pid 5858] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5857] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] <... close resumed>) = 0 [pid 5858] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5857] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5858] <... futex resumed>) = 0 [pid 5857] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5860 attached [pid 5858] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5857] <... futex resumed>) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 5861 [pid 5021] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5859 attached [pid 5860] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5857] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5860] <... rseq resumed>) = 0 [pid 5859] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5021] close(3 [pid 5860] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5859] <... rseq resumed>) = 0 [pid 5021] <... close resumed>) = 0 [pid 5860] <... set_robust_list resumed>) = 0 [pid 5859] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5861 attached [pid 5860] rt_sigprocmask(SIG_SETMASK, [], [pid 5859] <... set_robust_list resumed>) = 0 [pid 5861] set_robust_list(0x5555558636a0, 24 [pid 5860] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5859] rt_sigprocmask(SIG_SETMASK, [], [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 5862 [pid 5861] <... set_robust_list resumed>) = 0 [pid 5860] memfd_create("syzkaller", 0 [pid 5859] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5861] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5860] <... memfd_create resumed>) = 3 [pid 5859] memfd_create("syzkaller", 0 [pid 5861] <... prctl resumed>) = 0 [pid 5860] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5859] <... memfd_create resumed>) = 3 [pid 5861] setpgid(0, 0 [pid 5859] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 5862 attached [pid 5861] <... setpgid resumed>) = 0 [pid 5859] <... mmap resumed>) = 0x7f4e2554e000 [pid 5862] set_robust_list(0x5555558636a0, 24 [pid 5861] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5860] <... mmap resumed>) = 0x7f4e2554e000 [pid 5862] <... set_robust_list resumed>) = 0 [pid 5861] <... openat resumed>) = 3 [pid 5862] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5861] write(3, "1000", 4 [pid 5862] <... prctl resumed>) = 0 [pid 5861] <... write resumed>) = 4 [pid 5862] setpgid(0, 0 [pid 5861] close(3 [pid 5862] <... setpgid resumed>) = 0 [pid 5861] <... close resumed>) = 0 [pid 5862] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5861] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5862] <... openat resumed>) = 3 [pid 5861] <... futex resumed>) = 0 [pid 5862] write(3, "1000", 4 [pid 5861] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5862] <... write resumed>) = 4 [pid 5861] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5862] close(3 [pid 5861] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5862] <... close resumed>) = 0 [pid 5861] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5862] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5861] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5862] <... futex resumed>) = 0 [pid 5861] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5862] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5861] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5862] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5861] <... mprotect resumed>) = 0 [pid 5862] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5861] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5862] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5861] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5862] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5861] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5862] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5862] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5861] <... clone3 resumed> => {parent_tid=[5863]}, 88) = 5863 [pid 5862] <... mprotect resumed>) = 0 [pid 5861] rt_sigprocmask(SIG_SETMASK, [], [pid 5862] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5861] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5855] 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 5862] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5861] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5862] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5861] <... futex resumed>) = 0 [pid 5861] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5863 attached [pid 5862] <... clone3 resumed> => {parent_tid=[5864]}, 88) = 5864 [pid 5863] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5862] rt_sigprocmask(SIG_SETMASK, [], [pid 5863] <... rseq resumed>) = 0 [pid 5862] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5863] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5862] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5863] <... set_robust_list resumed>) = 0 [pid 5862] <... futex resumed>) = 0 [pid 5863] rt_sigprocmask(SIG_SETMASK, [], [pid 5862] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5863] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5863] memfd_create("syzkaller", 0) = 3 [pid 5863] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 ./strace-static-x86_64: Process 5864 attached [pid 5864] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5864] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5864] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5864] memfd_create("syzkaller", 0) = 3 [pid 5864] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5852] <... write resumed>) = 16777216 [pid 5852] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5852] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5852] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5852] close(3) = 0 [pid 5852] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5852] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5860] 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 5852] <... mount resumed>) = -1 EEXIST (File exists) [ 113.049211][ T5852] loop0: detected capacity change from 0 to 32768 [ 113.078342][ T5852] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5852) [pid 5852] ioctl(4, LOOP_CLR_FD [pid 5859] 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 5864] 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 5855] <... write resumed>) = 16777216 [pid 5855] munmap(0x7f4e2554e000, 16777216 [pid 5863] 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 5855] <... munmap resumed>) = 0 [pid 5855] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5855] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5855] ioctl(4, LOOP_CLR_FD) = 0 [pid 5855] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5855] close(4) = 0 [pid 5855] close(3 [pid 5852] <... ioctl resumed>) = 0 [pid 5852] close(4) = 0 [pid 5852] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5851] <... futex resumed>) = 0 [pid 5852] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5851] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5852] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5851] <... futex resumed>) = 0 [pid 5852] open("./file0", O_RDONLY [pid 5851] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5852] <... open resumed>) = 3 [pid 5852] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5851] <... futex resumed>) = 0 [pid 5852] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5851] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5852] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5851] <... futex resumed>) = 0 [pid 5852] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5851] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5852] <... ioctl resumed>) = 0 [pid 5852] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5851] <... futex resumed>) = 0 [pid 5852] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5851] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5852] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5851] <... futex resumed>) = 0 [pid 5852] ioctl(3, 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 5851] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5855] <... close resumed>) = 0 [pid 5855] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5853] <... futex resumed>) = 0 [pid 5855] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5853] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5855] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5853] <... futex resumed>) = 0 [pid 5855] open("./file0", O_RDONLY [pid 5853] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5855] <... open resumed>) = 3 [pid 5855] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5853] <... futex resumed>) = 0 [pid 5855] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5853] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5855] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5853] <... futex resumed>) = 0 [pid 5855] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5853] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5855] <... ioctl resumed>) = 0 [pid 5855] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5853] <... futex resumed>) = 0 [pid 5855] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5853] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5855] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5853] <... futex resumed>) = 0 [pid 5855] ioctl(3, 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 5853] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5855] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5855] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5853] <... futex resumed>) = 0 [pid 5855] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5853] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5855] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5853] <... futex resumed>) = 0 [pid 5860] <... write resumed>) = 16777216 [pid 5855] open("./file0", O_RDONLY [pid 5853] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5860] munmap(0x7f4e2554e000, 16777216 [pid 5855] <... open resumed>) = 4 [pid 5851] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5855] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [ 113.429451][ T5852] BTRFS info (device loop2): balance: start -d -m [ 113.443105][ T5852] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5851] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5855] <... futex resumed>) = 1 [pid 5853] <... futex resumed>) = 0 [pid 5851] <... futex resumed>) = 0 [pid 5855] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5853] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5851] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5855] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5853] <... futex resumed>) = 0 [pid 5851] <... mmap resumed>) = 0x7f4e2652d000 [pid 5855] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5853] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5851] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5860] <... munmap resumed>) = 0 [pid 5855] <... ioctl resumed>) = 0 [pid 5851] <... mprotect resumed>) = 0 [pid 5860] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5855] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5851] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5860] <... openat resumed>) = 4 [pid 5855] <... futex resumed>) = 1 [pid 5853] <... futex resumed>) = 0 [pid 5851] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5860] ioctl(4, LOOP_SET_FD, 3 [pid 5855] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5853] exit_group(0 [pid 5851] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5855] <... futex resumed>) = ? [pid 5853] <... exit_group resumed>) = ? [pid 5855] +++ exited with 0 +++ [pid 5853] +++ exited with 0 +++ [pid 5851] <... clone3 resumed> => {parent_tid=[5866]}, 88) = 5866 [pid 5851] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5853, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=22 /* 0.22 s */} --- [pid 5851] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 5851] <... futex resumed>) = 0 [pid 5022] <... restart_syscall resumed>) = 0 ./strace-static-x86_64: Process 5866 attached [pid 5851] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5866] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5866] set_robust_list(0x7f4e2654d9a0, 24 [pid 5022] <... openat resumed>) = 3 [pid 5866] <... set_robust_list resumed>) = 0 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 5866] rt_sigprocmask(SIG_SETMASK, [], [pid 5859] <... write resumed>) = 16777216 [pid 5022] <... ioctl resumed>) = 0 [pid 5866] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5022] close(3 [pid 5866] open("./file0", O_RDONLY [pid 5022] <... close resumed>) = 0 [pid 5866] <... open resumed>) = 4 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5866] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5851] <... futex resumed>) = 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 5867 [pid 5866] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [ 113.500177][ T5852] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 113.519236][ T5860] loop3: detected capacity change from 0 to 32768 [pid 5851] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5867 attached [pid 5866] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5864] <... write resumed>) = 16777216 [pid 5860] <... ioctl resumed>) = 0 [pid 5851] <... futex resumed>) = 0 [pid 5867] set_robust_list(0x5555558636a0, 24 [pid 5866] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5864] munmap(0x7f4e2554e000, 16777216 [pid 5860] close(3 [pid 5859] munmap(0x7f4e2554e000, 16777216 [pid 5851] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5867] <... set_robust_list resumed>) = 0 [pid 5866] <... ioctl resumed>) = 0 [pid 5864] <... munmap resumed>) = 0 [pid 5863] <... write resumed>) = 16777216 [pid 5860] <... close resumed>) = 0 [pid 5859] <... munmap resumed>) = 0 [pid 5867] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5866] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5864] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5863] munmap(0x7f4e2554e000, 16777216 [pid 5860] mkdir("./file0", 0777 [pid 5867] <... prctl resumed>) = 0 [pid 5866] <... futex resumed>) = 1 [pid 5860] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5851] <... futex resumed>) = 0 [pid 5867] setpgid(0, 0 [pid 5866] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5860] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5867] <... setpgid resumed>) = 0 [pid 5864] <... openat resumed>) = 4 [pid 5867] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5859] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5859] ioctl(4, LOOP_SET_FD, 3 [pid 5867] <... openat resumed>) = 3 [pid 5864] ioctl(4, LOOP_SET_FD, 3 [pid 5863] <... munmap resumed>) = 0 [pid 5867] write(3, "1000", 4 [pid 5860] <... mount resumed>) = -1 EEXIST (File exists) [pid 5859] <... ioctl resumed>) = 0 [pid 5859] close(3) = 0 [ 113.547026][ T5852] BTRFS info (device loop2): 2 enospc errors during balance [ 113.554335][ T5852] BTRFS info (device loop2): balance: ended with status: -28 [ 113.576110][ T5860] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5860) [ 113.579215][ T5859] loop5: detected capacity change from 0 to 32768 [pid 5859] mkdir("./file0", 0777 [pid 5863] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5867] <... write resumed>) = 4 [pid 5860] ioctl(4, LOOP_CLR_FD [pid 5867] close(3 [pid 5863] <... openat resumed>) = 4 [pid 5867] <... close resumed>) = 0 [pid 5863] ioctl(4, LOOP_SET_FD, 3 [pid 5867] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5864] <... ioctl resumed>) = 0 [pid 5859] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5859] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5867] <... futex resumed>) = 0 [pid 5864] close(3 [pid 5863] <... ioctl resumed>) = 0 [pid 5852] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5867] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5864] <... close resumed>) = 0 [pid 5863] close(3 [pid 5852] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5867] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5864] mkdir("./file0", 0777 [pid 5863] <... close resumed>) = 0 [pid 5852] <... futex resumed>) = 0 [pid 5867] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5864] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5863] mkdir("./file0", 0777 [pid 5852] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5867] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5864] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5863] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5867] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5863] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5867] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0}./strace-static-x86_64: Process 5868 attached [pid 5859] <... mount resumed>) = -1 EEXIST (File exists) [pid 5851] exit_group(0 [pid 5868] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5866] <... futex resumed>) = ? [pid 5859] ioctl(4, LOOP_CLR_FD [pid 5851] <... exit_group resumed>) = ? [pid 5868] <... rseq resumed>) = 0 [pid 5866] +++ exited with 0 +++ [pid 5868] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5868] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5868] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5867] <... clone3 resumed> => {parent_tid=[5868]}, 88) = 5868 [pid 5863] <... mount resumed>) = -1 EEXIST (File exists) [pid 5863] ioctl(4, LOOP_CLR_FD [pid 5852] <... futex resumed>) = ? [pid 5852] +++ exited with 0 +++ [pid 5851] +++ exited with 0 +++ [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5851, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=23 /* 0.23 s */} --- [pid 5020] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3 [pid 5867] rt_sigprocmask(SIG_SETMASK, [], [pid 5020] <... close resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5869 [pid 5867] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5867] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5868] <... futex resumed>) = 0 [pid 5867] <... futex resumed>) = 1 [pid 5868] memfd_create("syzkaller", 0 [pid 5867] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5868] <... memfd_create resumed>) = 3 [ 113.595027][ T5864] loop1: detected capacity change from 0 to 32768 [ 113.604546][ T5863] loop4: detected capacity change from 0 to 32768 [ 113.611790][ T5859] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5859) [ 113.624447][ T5863] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5863) [pid 5868] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 ./strace-static-x86_64: Process 5869 attached [pid 5864] <... mount resumed>) = -1 EEXIST (File exists) [pid 5869] set_robust_list(0x5555558636a0, 24) = 0 [pid 5869] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5864] ioctl(4, LOOP_CLR_FD [pid 5869] <... prctl resumed>) = 0 [pid 5869] setpgid(0, 0) = 0 [pid 5869] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5869] write(3, "1000", 4) = 4 [pid 5869] close(3) = 0 [pid 5869] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5869] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [ 113.661615][ T5864] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5864) [pid 5869] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5869] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5869] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5869] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5860] <... ioctl resumed>) = 0 [pid 5869] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5869] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5860] close(4 [pid 5869] <... clone3 resumed> => {parent_tid=[5870]}, 88) = 5870 [pid 5860] <... close resumed>) = 0 ./strace-static-x86_64: Process 5870 attached [pid 5870] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5870] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5869] rt_sigprocmask(SIG_SETMASK, [], [pid 5870] rt_sigprocmask(SIG_SETMASK, [], [pid 5869] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5860] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5870] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5869] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5860] <... futex resumed>) = 1 [pid 5857] <... futex resumed>) = 0 [pid 5870] memfd_create("syzkaller", 0 [pid 5869] <... futex resumed>) = 0 [pid 5860] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5857] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5870] <... memfd_create resumed>) = 3 [pid 5869] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5860] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5857] <... futex resumed>) = 0 [pid 5870] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5860] open("./file0", O_RDONLY [pid 5857] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5870] <... mmap resumed>) = 0x7f4e2554e000 [pid 5860] <... open resumed>) = 3 [pid 5860] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5857] <... futex resumed>) = 0 [pid 5860] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5857] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5860] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5857] <... futex resumed>) = 0 [pid 5860] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5857] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5860] <... ioctl resumed>) = 0 [pid 5860] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5857] <... futex resumed>) = 0 [pid 5860] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5857] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5860] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5857] <... futex resumed>) = 0 [pid 5860] ioctl(3, 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}} [ 113.819651][ T5860] BTRFS info (device loop2): balance: start -d -m [ 113.829049][ T5860] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5857] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 5857] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5857] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5857] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5857] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5857] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5871]}, 88) = 5871 [pid 5857] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 5871 attached NULL, 8) = 0 [pid 5857] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5857] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5871] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5863] <... ioctl resumed>) = 0 [pid 5871] <... rseq resumed>) = 0 [pid 5871] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5871] rt_sigprocmask(SIG_SETMASK, [], [pid 5859] <... ioctl resumed>) = 0 [pid 5871] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5871] open("./file0", O_RDONLY) = 4 [pid 5871] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5859] close(4 [pid 5871] <... futex resumed>) = 1 [pid 5859] <... close resumed>) = 0 [pid 5857] <... futex resumed>) = 0 [pid 5859] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5858] <... futex resumed>) = 0 [pid 5859] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5858] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5859] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5858] <... futex resumed>) = 0 [pid 5859] open("./file0", O_RDONLY [pid 5858] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5859] <... open resumed>) = 3 [pid 5871] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5859] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5857] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5871] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5859] <... futex resumed>) = 1 [pid 5858] <... futex resumed>) = 0 [pid 5857] <... futex resumed>) = 0 [pid 5871] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5859] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5858] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5857] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5859] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5858] <... futex resumed>) = 0 [pid 5871] <... ioctl resumed>) = 0 [pid 5863] close(4 [pid 5859] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5858] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5871] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5863] <... close resumed>) = 0 [pid 5859] <... ioctl resumed>) = 0 [pid 5871] <... futex resumed>) = 1 [pid 5863] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5859] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5857] <... futex resumed>) = 0 [pid 5871] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5863] <... futex resumed>) = 1 [pid 5861] <... futex resumed>) = 0 [pid 5859] <... futex resumed>) = 1 [pid 5858] <... futex resumed>) = 0 [pid 5863] open("./file0", O_RDONLY [ 113.865022][ T5860] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 113.897858][ T5860] BTRFS info (device loop2): 2 enospc errors during balance [pid 5861] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5859] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5858] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5863] <... open resumed>) = 3 [pid 5861] <... futex resumed>) = 0 [pid 5859] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5858] <... futex resumed>) = 0 [pid 5863] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5861] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5859] ioctl(3, 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 5858] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5863] <... futex resumed>) = 0 [pid 5861] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5863] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5861] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5863] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5861] <... futex resumed>) = 0 [pid 5863] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5861] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5863] <... ioctl resumed>) = 0 [pid 5863] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5861] <... futex resumed>) = 0 [pid 5863] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5861] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5863] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5861] <... futex resumed>) = 0 [pid 5863] ioctl(3, 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 5861] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5864] <... ioctl resumed>) = 0 [pid 5864] close(4) = 0 [pid 5864] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5862] <... futex resumed>) = 0 [pid 5864] open("./file0", O_RDONLY [pid 5862] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5864] <... open resumed>) = 3 [pid 5862] <... futex resumed>) = 0 [pid 5864] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5862] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5864] <... futex resumed>) = 0 [pid 5862] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5864] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5862] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5864] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5862] <... futex resumed>) = 0 [pid 5864] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5862] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5864] <... ioctl resumed>) = 0 [pid 5864] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5862] <... futex resumed>) = 0 [pid 5864] ioctl(3, 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 5863] <... 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}}) = 8 [pid 5862] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5860] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5859] <... 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}}) = 8 [ 113.942299][ T5860] BTRFS info (device loop2): balance: ended with status: -28 [pid 5863] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5862] <... futex resumed>) = 0 [pid 5860] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5859] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5863] <... futex resumed>) = 1 [pid 5862] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5861] <... futex resumed>) = 0 [pid 5859] <... futex resumed>) = 1 [pid 5858] <... futex resumed>) = 0 [pid 5863] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5861] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5859] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5858] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5863] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5861] <... futex resumed>) = 0 [pid 5859] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5858] <... futex resumed>) = 0 [pid 5863] open("./file0", O_RDONLY [pid 5861] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5859] open("./file0", O_RDONLY [pid 5858] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5863] <... open resumed>) = 4 [pid 5860] <... futex resumed>) = 0 [pid 5859] <... open resumed>) = 4 [pid 5863] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5860] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5859] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5863] <... futex resumed>) = 1 [pid 5861] <... futex resumed>) = 0 [pid 5859] <... futex resumed>) = 1 [pid 5858] <... futex resumed>) = 0 [pid 5863] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5861] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5859] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5858] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5863] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5861] <... futex resumed>) = 0 [pid 5859] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5858] <... futex resumed>) = 0 [pid 5863] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5861] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5859] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5858] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5857] exit_group(0 [pid 5871] <... futex resumed>) = ? [pid 5863] <... ioctl resumed>) = 0 [pid 5860] <... futex resumed>) = ? [pid 5859] <... ioctl resumed>) = 0 [pid 5857] <... exit_group resumed>) = ? [pid 5871] +++ exited with 0 +++ [pid 5863] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5860] +++ exited with 0 +++ [pid 5859] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5863] <... futex resumed>) = 1 [pid 5861] <... futex resumed>) = 0 [pid 5859] <... futex resumed>) = 1 [pid 5858] <... futex resumed>) = 0 [pid 5857] +++ exited with 0 +++ [pid 5863] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5861] exit_group(0 [pid 5859] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5858] exit_group(0 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5857, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=30 /* 0.30 s */} --- [pid 5863] <... futex resumed>) = ? [pid 5861] <... exit_group resumed>) = ? [pid 5859] <... futex resumed>) = ? [pid 5858] <... exit_group resumed>) = ? [pid 5863] +++ exited with 0 +++ [pid 5862] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5861] +++ exited with 0 +++ [pid 5859] +++ exited with 0 +++ [pid 5858] +++ exited with 0 +++ [pid 5862] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5858, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=24 /* 0.24 s */} --- [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5861, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=22 /* 0.22 s */} --- [pid 5862] <... futex resumed>) = 0 [pid 5862] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5870] 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 5868] 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 5862] <... mmap resumed>) = 0x7f4e2652d000 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5862] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5026] <... openat resumed>) = 3 [pid 5025] <... openat resumed>) = 3 [pid 5862] <... mprotect resumed>) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5862] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5862] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5027] <... openat resumed>) = 3 [pid 5026] close(3 [pid 5025] close(3 [pid 5862] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5026] <... close resumed>) = 0 [pid 5025] <... close resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5862] <... clone3 resumed> => {parent_tid=[5872]}, 88) = 5872 [pid 5027] close(3 [pid 5862] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] <... close resumed>) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 5873 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5874 [pid 5862] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5862] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 5875 [ 113.994611][ T5864] BTRFS info (device loop2): balance: start -d -m [ 114.003115][ T5864] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 114.020160][ T5864] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5862] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5874 attached ./strace-static-x86_64: Process 5872 attached [pid 5874] set_robust_list(0x5555558636a0, 24 [pid 5872] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5874] <... set_robust_list resumed>) = 0 [pid 5872] <... rseq resumed>) = 0 [pid 5874] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5872] set_robust_list(0x7f4e2654d9a0, 24 [pid 5874] <... prctl resumed>) = 0 [pid 5872] <... set_robust_list resumed>) = 0 [pid 5874] setpgid(0, 0 [pid 5872] rt_sigprocmask(SIG_SETMASK, [], [pid 5874] <... setpgid resumed>) = 0 [pid 5872] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 5875 attached [pid 5874] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5872] open("./file0", O_RDONLY [pid 5874] <... openat resumed>) = 3 [pid 5872] <... open resumed>) = 4 ./strace-static-x86_64: Process 5873 attached [pid 5875] set_robust_list(0x5555558636a0, 24 [pid 5874] write(3, "1000", 4 [pid 5872] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5874] <... write resumed>) = 4 [pid 5872] <... futex resumed>) = 1 [pid 5862] <... futex resumed>) = 0 [pid 5875] <... set_robust_list resumed>) = 0 [pid 5875] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5874] close(3 [pid 5873] set_robust_list(0x5555558636a0, 24 [pid 5872] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5862] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5875] <... prctl resumed>) = 0 [pid 5874] <... close resumed>) = 0 [pid 5873] <... set_robust_list resumed>) = 0 [pid 5872] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5862] <... futex resumed>) = 0 [pid 5875] setpgid(0, 0 [pid 5874] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5873] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5872] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5862] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5875] <... setpgid resumed>) = 0 [pid 5874] <... futex resumed>) = 0 [pid 5873] <... prctl resumed>) = 0 [pid 5872] <... ioctl resumed>) = 0 [pid 5874] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5872] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5874] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5872] <... futex resumed>) = 1 [pid 5862] <... futex resumed>) = 0 [pid 5874] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5872] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5875] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5874] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5873] setpgid(0, 0 [pid 5874] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5874] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5874] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5874] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5876]}, 88) = 5876 [pid 5874] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5874] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5875] <... openat resumed>) = 3 [pid 5874] <... futex resumed>) = 0 [pid 5873] <... setpgid resumed>) = 0 [pid 5875] write(3, "1000", 4 [pid 5874] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5873] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5875] <... write resumed>) = 4 [pid 5873] <... openat resumed>) = 3 ./strace-static-x86_64: Process 5876 attached [pid 5875] close(3 [pid 5873] write(3, "1000", 4 [pid 5876] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5875] <... close resumed>) = 0 [pid 5873] <... write resumed>) = 4 [pid 5876] <... rseq resumed>) = 0 [pid 5875] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5873] close(3 [pid 5876] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5875] <... futex resumed>) = 0 [pid 5873] <... close resumed>) = 0 [pid 5876] <... set_robust_list resumed>) = 0 [pid 5875] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5873] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5876] rt_sigprocmask(SIG_SETMASK, [], [pid 5875] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5873] <... futex resumed>) = 0 [pid 5876] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5875] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5873] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5876] memfd_create("syzkaller", 0 [pid 5875] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5873] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5876] <... memfd_create resumed>) = 3 [pid 5875] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5873] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5876] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5875] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5873] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5876] <... mmap resumed>) = 0x7f4e2554e000 [pid 5875] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5873] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5875] <... mprotect resumed>) = 0 [pid 5873] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5875] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5873] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5875] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5873] <... mprotect resumed>) = 0 [ 114.069192][ T5864] BTRFS info (device loop2): 2 enospc errors during balance [ 114.102932][ T5864] BTRFS info (device loop2): balance: ended with status: -28 [pid 5875] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5873] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5864] <... ioctl resumed>) = -1 ENOSPC (No space left on device) ./strace-static-x86_64: Process 5877 attached [pid 5873] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5864] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5877] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5875] <... clone3 resumed> => {parent_tid=[5877]}, 88) = 5877 [pid 5873] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5864] <... futex resumed>) = 0 [pid 5877] <... rseq resumed>) = 0 [pid 5875] rt_sigprocmask(SIG_SETMASK, [], [pid 5864] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5877] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5875] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5873] <... clone3 resumed> => {parent_tid=[5878]}, 88) = 5878 [pid 5862] exit_group(0 [pid 5877] <... set_robust_list resumed>) = 0 [pid 5875] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5873] rt_sigprocmask(SIG_SETMASK, [], [pid 5872] <... futex resumed>) = ? [pid 5864] <... futex resumed>) = ? [pid 5862] <... exit_group resumed>) = ? [pid 5877] rt_sigprocmask(SIG_SETMASK, [], [pid 5875] <... futex resumed>) = 0 [pid 5873] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5872] +++ exited with 0 +++ [pid 5864] +++ exited with 0 +++ [pid 5862] +++ exited with 0 +++ [pid 5877] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5875] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5873] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5878 attached [pid 5877] memfd_create("syzkaller", 0 [pid 5873] <... futex resumed>) = 0 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5862, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 5878] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5877] <... memfd_create resumed>) = 3 [pid 5873] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 5878] <... rseq resumed>) = 0 [pid 5877] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5021] <... restart_syscall resumed>) = 0 [pid 5878] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5877] <... mmap resumed>) = 0x7f4e2554e000 [pid 5878] <... set_robust_list resumed>) = 0 [pid 5878] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5878] memfd_create("syzkaller", 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5878] <... memfd_create resumed>) = 3 [pid 5021] <... openat resumed>) = 3 [pid 5878] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5878] <... mmap resumed>) = 0x7f4e2554e000 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5879 ./strace-static-x86_64: Process 5879 attached [pid 5879] set_robust_list(0x5555558636a0, 24) = 0 [pid 5879] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5879] setpgid(0, 0) = 0 [pid 5879] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5879] write(3, "1000", 4) = 4 [pid 5879] close(3) = 0 [pid 5879] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5879] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5879] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5879] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5879] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5879] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5879] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5880]}, 88) = 5880 [pid 5879] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5879] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5879] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5880 attached [pid 5880] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5880] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5880] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5880] memfd_create("syzkaller", 0) = 3 [pid 5880] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5870] <... write resumed>) = 16777216 [pid 5870] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5870] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5870] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5870] close(3) = 0 [pid 5870] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5870] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 114.367995][ T5870] loop0: detected capacity change from 0 to 32768 [ 114.380626][ T5870] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5870) [pid 5870] ioctl(4, LOOP_CLR_FD [pid 5876] 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 5868] <... write resumed>) = 16777216 [pid 5868] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5868] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5878] 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 5868] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5868] ioctl(4, LOOP_CLR_FD) = 0 [pid 5868] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5868] close(4) = 0 [pid 5868] close(3 [pid 5877] 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 5880] 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 5870] <... ioctl resumed>) = 0 [pid 5870] close(4) = 0 [pid 5870] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5870] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5869] <... futex resumed>) = 0 [pid 5869] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5870] <... futex resumed>) = 0 [pid 5869] <... futex resumed>) = 1 [pid 5868] <... close resumed>) = 0 [pid 5870] open("./file0", O_RDONLY [pid 5869] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5870] <... open resumed>) = 3 [pid 5868] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5870] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5868] <... futex resumed>) = 1 [pid 5867] <... futex resumed>) = 0 [pid 5870] <... futex resumed>) = 1 [pid 5869] <... futex resumed>) = 0 [pid 5868] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5867] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5870] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5869] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5868] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5867] <... futex resumed>) = 0 [pid 5870] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5869] <... futex resumed>) = 0 [pid 5868] open("./file0", O_RDONLY [pid 5867] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5870] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5869] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5868] <... open resumed>) = 3 [pid 5870] <... ioctl resumed>) = 0 [pid 5868] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5870] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5868] <... futex resumed>) = 1 [pid 5867] <... futex resumed>) = 0 [pid 5870] <... futex resumed>) = 1 [pid 5869] <... futex resumed>) = 0 [pid 5868] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5867] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5870] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5869] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5868] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5867] <... futex resumed>) = 0 [pid 5870] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5869] <... futex resumed>) = 0 [pid 5868] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5867] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5870] ioctl(3, 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 5869] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5868] <... ioctl resumed>) = 0 [pid 5868] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5867] <... futex resumed>) = 0 [pid 5868] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5867] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5868] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5867] <... futex resumed>) = 0 [pid 5876] <... write resumed>) = 16777216 [pid 5868] ioctl(3, 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 5867] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5868] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5868] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5867] <... futex resumed>) = 0 [pid 5868] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5867] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5868] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5867] <... futex resumed>) = 0 [pid 5868] open("./file0", O_RDONLY [pid 5867] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5868] <... open resumed>) = 4 [pid 5868] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5867] <... futex resumed>) = 0 [pid 5868] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5867] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5868] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5867] <... futex resumed>) = 0 [pid 5868] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5867] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5868] <... ioctl resumed>) = 0 [pid 5868] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5867] <... futex resumed>) = 0 [pid 5868] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5867] exit_group(0 [pid 5868] <... futex resumed>) = ? [pid 5867] <... exit_group resumed>) = ? [pid 5868] +++ exited with 0 +++ [pid 5867] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5867, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5882 ./strace-static-x86_64: Process 5882 attached [pid 5882] set_robust_list(0x5555558636a0, 24) = 0 [pid 5882] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [ 114.772776][ T5870] BTRFS info (device loop2): balance: start -d -m [ 114.784146][ T5870] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5869] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5882] setpgid(0, 0 [pid 5876] munmap(0x7f4e2554e000, 16777216 [pid 5869] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5882] <... setpgid resumed>) = 0 [pid 5882] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5882] write(3, "1000", 4) = 4 [pid 5882] close(3) = 0 [pid 5882] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5882] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5876] <... munmap resumed>) = 0 [pid 5869] <... futex resumed>) = 0 [pid 5882] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5876] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5869] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5882] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5876] <... openat resumed>) = 4 [pid 5869] <... mmap resumed>) = 0x7f4e2652d000 [pid 5882] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5876] ioctl(4, LOOP_SET_FD, 3 [pid 5869] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5882] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5869] <... mprotect resumed>) = 0 [pid 5882] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5882] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5882] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5882] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5876] <... ioctl resumed>) = 0 [pid 5869] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5876] close(3 [pid 5882] <... clone3 resumed> => {parent_tid=[5883]}, 88) = 5883 [pid 5876] <... close resumed>) = 0 [pid 5869] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5882] rt_sigprocmask(SIG_SETMASK, [], [pid 5876] mkdir("./file0", 0777 [pid 5882] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5876] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5869] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5882] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5876] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5882] <... futex resumed>) = 0 [pid 5882] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5883 attached [pid 5883] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5883] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5883] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5883] memfd_create("syzkaller", 0) = 3 [ 114.830600][ T5870] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 114.856255][ T5876] loop3: detected capacity change from 0 to 32768 [pid 5883] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5869] <... clone3 resumed> => {parent_tid=[5884]}, 88) = 5884 [pid 5869] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ./strace-static-x86_64: Process 5884 attached [pid 5869] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5884] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5869] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5884] <... rseq resumed>) = 0 [pid 5878] <... write resumed>) = 16777216 [pid 5884] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5878] munmap(0x7f4e2554e000, 16777216 [ 114.873438][ T5876] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5876) [ 114.891468][ T5870] BTRFS info (device loop2): 2 enospc errors during balance [pid 5884] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5878] <... munmap resumed>) = 0 [pid 5884] open("./file0", O_RDONLY [pid 5878] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5876] <... mount resumed>) = -1 EEXIST (File exists) [pid 5884] <... open resumed>) = 4 [pid 5878] <... openat resumed>) = 4 [pid 5884] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5878] ioctl(4, LOOP_SET_FD, 3 [pid 5869] <... futex resumed>) = 0 [pid 5884] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5877] <... write resumed>) = 16777216 [pid 5876] ioctl(4, LOOP_CLR_FD [pid 5884] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5877] munmap(0x7f4e2554e000, 16777216 [pid 5869] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5884] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5877] <... munmap resumed>) = 0 [pid 5869] <... futex resumed>) = 0 [pid 5869] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5884] <... ioctl resumed>) = 0 [pid 5877] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5884] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5878] <... ioctl resumed>) = 0 [pid 5877] <... openat resumed>) = 4 [pid 5884] <... futex resumed>) = 1 [pid 5878] close(3 [pid 5877] ioctl(4, LOOP_SET_FD, 3 [pid 5869] <... futex resumed>) = 0 [pid 5884] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5878] <... close resumed>) = 0 [ 114.926894][ T5870] BTRFS info (device loop2): balance: ended with status: -28 [ 114.940725][ T5878] loop4: detected capacity change from 0 to 32768 [pid 5870] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5870] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5870] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5878] mkdir("./file0", 0777 [pid 5877] <... ioctl resumed>) = 0 [pid 5869] exit_group(0 [pid 5878] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5877] close(3 [pid 5870] <... futex resumed>) = ? [pid 5869] <... exit_group resumed>) = ? [pid 5884] <... futex resumed>) = ? [pid 5878] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5877] <... close resumed>) = 0 [pid 5870] +++ exited with 0 +++ [pid 5884] +++ exited with 0 +++ [pid 5869] +++ exited with 0 +++ [pid 5877] mkdir("./file0", 0777 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5869, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=27 /* 0.27 s */} --- [pid 5020] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5877] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5020] <... openat resumed>) = 3 [pid 5877] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5885 ./strace-static-x86_64: Process 5885 attached [pid 5885] set_robust_list(0x5555558636a0, 24) = 0 [pid 5880] <... write resumed>) = 16777216 [pid 5885] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5885] setpgid(0, 0) = 0 [pid 5885] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5885] write(3, "1000", 4 [ 114.969815][ T5877] loop5: detected capacity change from 0 to 32768 [ 114.996673][ T5878] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5878) [pid 5880] munmap(0x7f4e2554e000, 16777216 [pid 5885] <... write resumed>) = 4 [pid 5885] close(3) = 0 [pid 5880] <... munmap resumed>) = 0 [pid 5878] <... mount resumed>) = -1 EEXIST (File exists) [pid 5877] <... mount resumed>) = -1 EEXIST (File exists) [pid 5885] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5880] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5878] ioctl(4, LOOP_CLR_FD [pid 5877] ioctl(4, LOOP_CLR_FD [pid 5885] <... futex resumed>) = 0 [pid 5880] <... openat resumed>) = 4 [pid 5885] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5880] ioctl(4, LOOP_SET_FD, 3 [pid 5885] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5885] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5885] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5885] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5885] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5885] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5886]}, 88) = 5886 [pid 5885] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5885] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5885] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5886 attached [pid 5886] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5886] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5886] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5880] <... ioctl resumed>) = 0 [pid 5886] memfd_create("syzkaller", 0 [pid 5880] close(3 [pid 5886] <... memfd_create resumed>) = 3 [pid 5880] <... close resumed>) = 0 [pid 5886] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5880] mkdir("./file0", 0777 [pid 5886] <... mmap resumed>) = 0x7f4e2554e000 [pid 5880] <... mkdir resumed>) = -1 EEXIST (File exists) [ 115.028151][ T5877] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5877) [ 115.050241][ T5880] loop1: detected capacity change from 0 to 32768 [ 115.087519][ T5880] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5880) [pid 5880] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [pid 5880] ioctl(4, LOOP_CLR_FD [pid 5883] 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 5876] <... ioctl resumed>) = 0 [pid 5876] close(4) = 0 [pid 5876] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5874] <... futex resumed>) = 0 [pid 5876] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5874] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5876] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5874] <... futex resumed>) = 0 [pid 5876] open("./file0", O_RDONLY [pid 5874] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5876] <... open resumed>) = 3 [pid 5876] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5874] <... futex resumed>) = 0 [pid 5876] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5874] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5876] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5874] <... futex resumed>) = 0 [pid 5876] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5874] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5876] <... ioctl resumed>) = 0 [pid 5876] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5874] <... futex resumed>) = 0 [pid 5876] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5874] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5876] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5874] <... futex resumed>) = 0 [pid 5876] ioctl(3, 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 5874] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5877] <... ioctl resumed>) = 0 [pid 5877] close(4 [pid 5874] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5874] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5874] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5874] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5874] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5874] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5887]}, 88) = 5887 [pid 5874] rt_sigprocmask(SIG_SETMASK, [], [pid 5877] <... close resumed>) = 0 [pid 5874] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5877] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5874] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5877] <... futex resumed>) = 1 [pid 5875] <... futex resumed>) = 0 [pid 5874] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5887 attached [pid 5877] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 115.229576][ T5876] BTRFS info (device loop2): balance: start -d -m [ 115.248728][ T5876] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5875] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5874] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5887] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5877] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5875] <... futex resumed>) = 0 [pid 5887] <... rseq resumed>) = 0 [pid 5877] open("./file0", O_RDONLY [pid 5875] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5887] set_robust_list(0x7f4e2654d9a0, 24 [pid 5877] <... open resumed>) = 3 [pid 5887] <... set_robust_list resumed>) = 0 [pid 5877] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5887] rt_sigprocmask(SIG_SETMASK, [], [pid 5877] <... futex resumed>) = 1 [pid 5875] <... futex resumed>) = 0 [pid 5887] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5877] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5875] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5887] open("./file0", O_RDONLY [pid 5877] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5875] <... futex resumed>) = 0 [pid 5887] <... open resumed>) = 4 [pid 5877] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5875] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5887] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5877] <... ioctl resumed>) = 0 [pid 5887] <... futex resumed>) = 1 [pid 5880] <... ioctl resumed>) = 0 [pid 5878] <... ioctl resumed>) = 0 [pid 5877] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5874] <... futex resumed>) = 0 [pid 5887] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5877] <... futex resumed>) = 1 [pid 5875] <... futex resumed>) = 0 [pid 5874] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5887] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5877] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5875] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5874] <... futex resumed>) = 0 [pid 5887] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5877] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5875] <... futex resumed>) = 0 [pid 5874] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5877] ioctl(3, 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 5875] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5877] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5877] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5887] <... ioctl resumed>) = 0 [pid 5877] <... futex resumed>) = 1 [pid 5875] <... futex resumed>) = 0 [pid 5887] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5877] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5875] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5887] <... futex resumed>) = 1 [pid 5880] close(4 [pid 5877] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5875] <... futex resumed>) = 0 [pid 5874] <... futex resumed>) = 0 [pid 5887] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5877] open("./file0", O_RDONLY [pid 5875] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5878] close(4) = 0 [pid 5878] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5878] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5873] <... futex resumed>) = 0 [pid 5877] <... open resumed>) = 4 [pid 5873] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5878] <... futex resumed>) = 0 [pid 5873] <... futex resumed>) = 1 [pid 5877] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5878] open("./file0", O_RDONLY [pid 5877] <... futex resumed>) = 1 [pid 5875] <... futex resumed>) = 0 [ 115.311065][ T5876] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5873] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5878] <... open resumed>) = 3 [pid 5877] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5875] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5878] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5877] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5875] <... futex resumed>) = 0 [pid 5878] <... futex resumed>) = 1 [pid 5877] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5875] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5873] <... futex resumed>) = 0 [pid 5878] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5873] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5878] <... futex resumed>) = 0 [pid 5873] <... futex resumed>) = 1 [pid 5878] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5873] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5880] <... close resumed>) = 0 [pid 5878] <... ioctl resumed>) = 0 [pid 5877] <... ioctl resumed>) = 0 [pid 5878] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5880] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [ 115.374904][ T5876] BTRFS info (device loop2): 2 enospc errors during balance [pid 5878] <... futex resumed>) = 1 [pid 5877] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5873] <... futex resumed>) = 0 [pid 5880] <... futex resumed>) = 1 [pid 5879] <... futex resumed>) = 0 [pid 5878] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5877] <... futex resumed>) = 1 [pid 5875] <... futex resumed>) = 0 [pid 5873] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5880] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5879] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5878] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5877] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5875] exit_group(0 [pid 5873] <... futex resumed>) = 0 [pid 5880] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5879] <... futex resumed>) = 0 [pid 5878] ioctl(3, 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 5877] <... futex resumed>) = ? [pid 5875] <... exit_group resumed>) = ? [pid 5873] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5880] open("./file0", O_RDONLY [pid 5879] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5877] +++ exited with 0 +++ [pid 5875] +++ exited with 0 +++ [pid 5880] <... open resumed>) = 3 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5875, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- [pid 5880] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 5880] <... futex resumed>) = 1 [pid 5879] <... futex resumed>) = 0 [pid 5027] <... restart_syscall resumed>) = 0 [pid 5880] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5879] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5880] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5883] <... write resumed>) = 16777216 [pid 5879] <... futex resumed>) = 0 [pid 5883] munmap(0x7f4e2554e000, 16777216 [pid 5880] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5879] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5880] <... ioctl resumed>) = 0 [pid 5027] <... openat resumed>) = 3 [pid 5880] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5880] <... futex resumed>) = 1 [pid 5879] <... futex resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5880] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5879] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] close(3 [pid 5880] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5879] <... futex resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 5879] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5888 [pid 5880] ioctl(3, 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}} => {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}}) = 8 [pid 5878] <... 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}}) = 8 [pid 5876] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5880] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5878] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5876] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5888 attached [pid 5880] <... futex resumed>) = 1 [pid 5879] <... futex resumed>) = 0 [pid 5878] <... futex resumed>) = 1 [pid 5876] <... futex resumed>) = 0 [pid 5873] <... futex resumed>) = 0 [pid 5888] set_robust_list(0x5555558636a0, 24 [pid 5879] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5878] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5876] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5888] <... set_robust_list resumed>) = 0 [pid 5879] <... futex resumed>) = 0 [pid 5888] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5880] open("./file0", O_RDONLY [pid 5879] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5874] exit_group(0 [pid 5873] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5888] <... prctl resumed>) = 0 [pid 5887] <... futex resumed>) = ? [pid 5880] <... open resumed>) = 4 [pid 5878] <... futex resumed>) = 0 [pid 5876] <... futex resumed>) = ? [pid 5874] <... exit_group resumed>) = ? [pid 5873] <... futex resumed>) = 1 [pid 5888] setpgid(0, 0 [pid 5887] +++ exited with 0 +++ [pid 5880] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5878] open("./file0", O_RDONLY [pid 5876] +++ exited with 0 +++ [pid 5888] <... setpgid resumed>) = 0 [pid 5880] <... futex resumed>) = 1 [pid 5879] <... futex resumed>) = 0 [pid 5878] <... open resumed>) = 4 [pid 5874] +++ exited with 0 +++ [pid 5873] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5888] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5880] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5879] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5878] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5873] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5874, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=24 /* 0.24 s */} --- [pid 5888] <... openat resumed>) = 3 [pid 5880] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5879] <... futex resumed>) = 0 [pid 5878] <... futex resumed>) = 0 [pid 5873] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5888] write(3, "1000", 4 [pid 5883] <... munmap resumed>) = 0 [pid 5880] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5879] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5878] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5873] <... futex resumed>) = 0 [pid 5888] <... write resumed>) = 4 [pid 5883] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5880] <... ioctl resumed>) = 0 [pid 5878] <... ioctl resumed>) = 0 [pid 5873] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5888] close(3 [pid 5883] <... openat resumed>) = 4 [pid 5880] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5878] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5873] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5888] <... close resumed>) = 0 [pid 5883] ioctl(4, LOOP_SET_FD, 3 [pid 5880] <... futex resumed>) = 1 [pid 5879] <... futex resumed>) = 0 [pid 5878] <... futex resumed>) = 0 [ 115.416641][ T5876] BTRFS info (device loop2): balance: ended with status: -28 [pid 5873] exit_group(0 [pid 5888] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5883] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5880] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5879] exit_group(0 [pid 5873] <... exit_group resumed>) = ? [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5888] <... futex resumed>) = 0 [pid 5883] ioctl(4, LOOP_CLR_FD [pid 5880] <... futex resumed>) = ? [pid 5879] <... exit_group resumed>) = ? [pid 5878] +++ exited with 0 +++ [pid 5025] <... openat resumed>) = 3 [pid 5888] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5883] <... ioctl resumed>) = 0 [pid 5873] +++ exited with 0 +++ [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5888] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5880] +++ exited with 0 +++ [pid 5879] +++ exited with 0 +++ [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5888] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5873, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=28 /* 0.28 s */} --- [pid 5025] close(3 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5879, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=26 /* 0.26 s */} --- [pid 5888] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5025] <... close resumed>) = 0 [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 5888] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5026] <... openat resumed>) = 3 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] <... restart_syscall resumed>) = 0 [pid 5888] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5888] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5889 [pid 5888] <... mprotect resumed>) = 0 [pid 5026] close(3 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5888] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5026] <... close resumed>) = 0 [pid 5021] <... openat resumed>) = 3 [pid 5888] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5888] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 5890 [pid 5021] close(3 [pid 5888] <... clone3 resumed> => {parent_tid=[5891]}, 88) = 5891 [pid 5021] <... close resumed>) = 0 [pid 5888] rt_sigprocmask(SIG_SETMASK, [], [pid 5883] ioctl(4, LOOP_SET_FD, 3 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5889 attached [pid 5888] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5883] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5889] set_robust_list(0x5555558636a0, 24 [pid 5888] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5883] close(4 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 5892 [pid 5889] <... set_robust_list resumed>) = 0 [pid 5888] <... futex resumed>) = 0 [pid 5883] <... close resumed>) = 0 ./strace-static-x86_64: Process 5891 attached ./strace-static-x86_64: Process 5890 attached [pid 5889] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5888] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5883] close(3 [pid 5890] set_robust_list(0x5555558636a0, 24 [pid 5889] <... prctl resumed>) = 0 [pid 5890] <... set_robust_list resumed>) = 0 [pid 5889] setpgid(0, 0./strace-static-x86_64: Process 5892 attached [pid 5890] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5889] <... setpgid resumed>) = 0 [pid 5892] set_robust_list(0x5555558636a0, 24 [pid 5890] <... prctl resumed>) = 0 [pid 5889] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5892] <... set_robust_list resumed>) = 0 [pid 5890] setpgid(0, 0 [pid 5889] <... openat resumed>) = 3 [pid 5892] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5890] <... setpgid resumed>) = 0 [pid 5889] write(3, "1000", 4 [pid 5892] <... prctl resumed>) = 0 [pid 5890] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5889] <... write resumed>) = 4 [pid 5892] setpgid(0, 0 [pid 5890] <... openat resumed>) = 3 [pid 5889] close(3 [pid 5892] <... setpgid resumed>) = 0 [pid 5890] write(3, "1000", 4 [pid 5889] <... close resumed>) = 0 [pid 5892] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5890] <... write resumed>) = 4 [pid 5889] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5892] <... openat resumed>) = 3 [pid 5890] close(3 [pid 5889] <... futex resumed>) = 0 [pid 5892] write(3, "1000", 4 [pid 5891] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5890] <... close resumed>) = 0 [pid 5889] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5892] <... write resumed>) = 4 [pid 5890] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5889] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5892] close(3 [pid 5890] <... futex resumed>) = 0 [pid 5889] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5892] <... close resumed>) = 0 [pid 5890] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5889] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5892] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5890] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5889] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5892] <... futex resumed>) = 0 [pid 5891] <... rseq resumed>) = 0 [pid 5890] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5889] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5886] 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 5892] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5890] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5889] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5892] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5890] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5889] <... mprotect resumed>) = 0 [pid 5892] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5891] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5890] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5889] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5892] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5891] <... set_robust_list resumed>) = 0 [pid 5890] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5889] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5892] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5891] rt_sigprocmask(SIG_SETMASK, [], [pid 5890] <... mprotect resumed>) = 0 [pid 5889] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5892] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5891] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5890] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5892] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5891] memfd_create("syzkaller", 0 [pid 5890] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5889] <... clone3 resumed> => {parent_tid=[5893]}, 88) = 5893 [pid 5892] <... mprotect resumed>) = 0 [pid 5891] <... memfd_create resumed>) = 3 [pid 5890] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5889] rt_sigprocmask(SIG_SETMASK, [], [pid 5892] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5891] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5889] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5892] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5891] <... mmap resumed>) = 0x7f4e2554e000 [pid 5890] <... clone3 resumed> => {parent_tid=[5894]}, 88) = 5894 [pid 5889] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5892] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5890] rt_sigprocmask(SIG_SETMASK, [], [pid 5889] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5893 attached [pid 5890] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5889] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5893] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5892] <... clone3 resumed> => {parent_tid=[5895]}, 88) = 5895 [pid 5890] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5894 attached [pid 5893] <... rseq resumed>) = 0 [pid 5892] rt_sigprocmask(SIG_SETMASK, [], [pid 5890] <... futex resumed>) = 0 [pid 5894] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5893] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5892] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5890] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5894] <... rseq resumed>) = 0 [pid 5893] <... set_robust_list resumed>) = 0 [pid 5892] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5894] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5893] rt_sigprocmask(SIG_SETMASK, [], [pid 5892] <... futex resumed>) = 0 [pid 5894] <... set_robust_list resumed>) = 0 [pid 5893] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5892] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5894] rt_sigprocmask(SIG_SETMASK, [], [pid 5893] memfd_create("syzkaller", 0 [pid 5894] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5893] <... memfd_create resumed>) = 3 [pid 5894] memfd_create("syzkaller", 0 [pid 5893] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5894] <... memfd_create resumed>) = 3 [pid 5893] <... mmap resumed>) = 0x7f4e2554e000 [pid 5894] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 ./strace-static-x86_64: Process 5895 attached [pid 5895] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5895] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5895] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5895] memfd_create("syzkaller", 0) = 3 [pid 5895] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5883] <... close resumed>) = 0 [pid 5883] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5882] <... futex resumed>) = 0 [pid 5883] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5882] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5883] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5882] <... futex resumed>) = 0 [pid 5883] open("./file0", O_RDONLY [pid 5882] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5883] <... open resumed>) = 3 [pid 5883] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5882] <... futex resumed>) = 0 [pid 5883] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5882] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5883] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5882] <... futex resumed>) = 0 [pid 5883] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5882] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5883] <... ioctl resumed>) = 0 [pid 5883] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5882] <... futex resumed>) = 0 [pid 5883] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5882] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5883] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5882] <... futex resumed>) = 0 [pid 5883] ioctl(3, 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 5882] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 5882] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5882] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5882] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5882] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5882] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5897]}, 88) = 5897 [pid 5882] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5882] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 115.784718][ T5883] BTRFS info (device loop2): balance: start -d -m [ 115.792094][ T5883] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5882] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5897 attached [pid 5897] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5897] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5897] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5897] open("./file0", O_RDONLY) = 4 [pid 5897] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5882] <... futex resumed>) = 0 [pid 5897] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5882] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5897] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5882] <... futex resumed>) = 0 [pid 5897] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5882] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5897] <... ioctl resumed>) = 0 [pid 5897] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5882] <... futex resumed>) = 0 [ 115.852582][ T5883] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5897] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5891] 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 5895] 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 5894] 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 5886] <... write resumed>) = 16777216 [pid 5893] 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 5886] munmap(0x7f4e2554e000, 16777216 [pid 5883] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [ 115.907964][ T5883] BTRFS info (device loop2): 2 enospc errors during balance [ 115.939363][ T5883] BTRFS info (device loop2): balance: ended with status: -28 [pid 5883] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5882] exit_group(0 [pid 5897] <... futex resumed>) = ? [pid 5882] <... exit_group resumed>) = ? [pid 5897] +++ exited with 0 +++ [pid 5883] +++ exited with 0 +++ [pid 5882] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5882, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=26 /* 0.26 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5886] <... munmap resumed>) = 0 [pid 5022] close(3 [pid 5886] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5022] <... close resumed>) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5886] <... openat resumed>) = 4 [pid 5886] ioctl(4, LOOP_SET_FD, 3 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 5898 ./strace-static-x86_64: Process 5898 attached [pid 5898] set_robust_list(0x5555558636a0, 24) = 0 [pid 5898] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5898] setpgid(0, 0) = 0 [pid 5898] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5898] write(3, "1000", 4) = 4 [pid 5898] close(3) = 0 [pid 5898] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5898] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5886] <... ioctl resumed>) = 0 [pid 5898] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5886] close(3 [pid 5898] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5886] <... close resumed>) = 0 [pid 5898] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5886] mkdir("./file0", 0777 [pid 5898] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5886] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5898] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5886] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5898] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5898] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5898] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5899]}, 88) = 5899 [pid 5898] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5898] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5898] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5899 attached [pid 5886] <... mount resumed>) = -1 EEXIST (File exists) [pid 5899] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5886] ioctl(4, LOOP_CLR_FD [pid 5899] <... rseq resumed>) = 0 [pid 5899] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5899] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5899] memfd_create("syzkaller", 0) = 3 [ 116.021573][ T5886] loop0: detected capacity change from 0 to 32768 [ 116.053622][ T5886] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5886) [pid 5899] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5891] <... write resumed>) = 16777216 [pid 5891] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5891] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5895] <... write resumed>) = 16777216 [pid 5891] <... openat resumed>) = 4 [pid 5895] munmap(0x7f4e2554e000, 16777216 [pid 5891] ioctl(4, LOOP_SET_FD, 3 [pid 5895] <... munmap resumed>) = 0 [pid 5895] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5891] <... ioctl resumed>) = 0 [pid 5886] <... ioctl resumed>) = 0 [pid 5895] <... openat resumed>) = 4 [pid 5891] close(3 [pid 5886] close(4 [pid 5895] ioctl(4, LOOP_SET_FD, 3 [pid 5891] <... close resumed>) = 0 [pid 5886] <... close resumed>) = 0 [pid 5895] <... ioctl resumed>) = 0 [pid 5891] mkdir("./file0", 0777 [pid 5886] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5891] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5886] <... futex resumed>) = 1 [pid 5885] <... futex resumed>) = 0 [pid 5885] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5885] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5895] close(3 [pid 5891] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5886] open("./file0", O_RDONLY [pid 5894] <... write resumed>) = 16777216 [ 116.273897][ T5891] loop5: detected capacity change from 0 to 32768 [ 116.296512][ T5895] loop1: detected capacity change from 0 to 32768 [ 116.313523][ T5891] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5891) [pid 5886] <... open resumed>) = 3 [pid 5895] <... close resumed>) = 0 [pid 5886] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5895] mkdir("./file0", 0777 [pid 5893] <... write resumed>) = 16777216 [pid 5891] <... mount resumed>) = -1 EEXIST (File exists) [pid 5886] <... futex resumed>) = 1 [pid 5885] <... futex resumed>) = 0 [pid 5895] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5893] munmap(0x7f4e2554e000, 16777216 [pid 5891] ioctl(4, LOOP_CLR_FD [pid 5886] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5885] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5895] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5885] <... futex resumed>) = 0 [pid 5885] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5894] munmap(0x7f4e2554e000, 16777216 [pid 5893] <... munmap resumed>) = 0 [pid 5886] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5893] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5886] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5893] <... openat resumed>) = 4 [pid 5886] <... ioctl resumed>) = 0 [pid 5893] ioctl(4, LOOP_SET_FD, 3 [pid 5886] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5894] <... munmap resumed>) = 0 [pid 5886] <... futex resumed>) = 1 [pid 5885] <... futex resumed>) = 0 [pid 5886] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5894] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5886] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5885] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5894] ioctl(4, LOOP_SET_FD, 3 [pid 5886] ioctl(3, 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 5885] <... futex resumed>) = 0 [pid 5895] <... mount resumed>) = -1 EEXIST (File exists) [pid 5894] <... ioctl resumed>) = 0 [pid 5885] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5895] ioctl(4, LOOP_CLR_FD [pid 5894] close(3) = 0 [pid 5894] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 116.337032][ T5895] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5895) [ 116.351437][ T5893] loop3: detected capacity change from 0 to 32768 [ 116.368487][ T5894] loop4: detected capacity change from 0 to 32768 [ 116.378176][ T5886] BTRFS info (device loop2): balance: start -d -m [pid 5894] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5893] <... ioctl resumed>) = 0 [pid 5893] close(3) = 0 [pid 5893] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5893] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5894] <... mount resumed>) = -1 EEXIST (File exists) [ 116.385412][ T5886] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 116.385621][ T5894] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5894) [ 116.410854][ T5893] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5893) [ 116.423031][ T5886] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5894] ioctl(4, LOOP_CLR_FD [pid 5899] 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 5893] <... mount resumed>) = -1 EEXIST (File exists) [pid 5885] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5893] ioctl(4, LOOP_CLR_FD [pid 5885] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5885] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5885] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5885] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5885] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5900]}, 88) = 5900 [pid 5885] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5885] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 116.444367][ T5886] BTRFS info (device loop2): 2 enospc errors during balance [ 116.456320][ T5886] BTRFS info (device loop2): balance: ended with status: -28 [pid 5885] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5886] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5886] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5886] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL./strace-static-x86_64: Process 5900 attached [pid 5900] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5900] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5885] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5900] rt_sigprocmask(SIG_SETMASK, [], [pid 5885] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5900] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5886] <... futex resumed>) = 0 [pid 5885] <... futex resumed>) = 1 [pid 5900] open("./file0", O_RDONLY [pid 5886] ioctl(-1, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5885] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5900] <... open resumed>) = 4 [pid 5886] <... ioctl resumed>) = -1 EBADF (Bad file descriptor) [pid 5900] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5886] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5900] <... futex resumed>) = 0 [pid 5886] <... futex resumed>) = 1 [pid 5885] <... futex resumed>) = 0 [pid 5900] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5886] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5885] exit_group(0 [pid 5900] <... futex resumed>) = ? [pid 5886] <... futex resumed>) = ? [pid 5885] <... exit_group resumed>) = ? [pid 5900] +++ exited with 0 +++ [pid 5886] +++ exited with 0 +++ [pid 5885] +++ exited with 0 +++ [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5885, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=29 /* 0.29 s */} --- [pid 5020] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5901 ./strace-static-x86_64: Process 5901 attached [pid 5901] set_robust_list(0x5555558636a0, 24) = 0 [pid 5901] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5901] setpgid(0, 0) = 0 [pid 5901] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5891] <... ioctl resumed>) = 0 [pid 5901] write(3, "1000", 4) = 4 [pid 5901] close(3) = 0 [pid 5901] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5901] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5891] close(4 [pid 5901] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5901] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5901] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5901] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5901] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5902]}, 88) = 5902 [pid 5901] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5901] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5901] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5891] <... close resumed>) = 0 [pid 5891] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5888] <... futex resumed>) = 0 [pid 5891] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5888] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5902 attached [pid 5891] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5888] <... futex resumed>) = 0 [pid 5902] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5891] open("./file0", O_RDONLY [pid 5888] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5902] <... rseq resumed>) = 0 [pid 5891] <... open resumed>) = 3 [pid 5902] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5891] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5902] <... set_robust_list resumed>) = 0 [pid 5891] <... futex resumed>) = 1 [pid 5888] <... futex resumed>) = 0 [pid 5902] rt_sigprocmask(SIG_SETMASK, [], [pid 5891] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5888] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5902] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5891] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5888] <... futex resumed>) = 0 [pid 5902] memfd_create("syzkaller", 0 [pid 5891] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5888] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5902] <... memfd_create resumed>) = 3 [pid 5891] <... ioctl resumed>) = 0 [pid 5902] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5891] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5902] <... mmap resumed>) = 0x7f4e2554e000 [pid 5891] <... futex resumed>) = 1 [pid 5888] <... futex resumed>) = 0 [pid 5891] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5888] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5891] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5888] <... futex resumed>) = 0 [pid 5891] ioctl(3, 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 5888] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5894] <... ioctl resumed>) = 0 [pid 5894] close(4) = 0 [pid 5894] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5890] <... futex resumed>) = 0 [pid 5894] open("./file0", O_RDONLY [pid 5890] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5894] <... open resumed>) = 3 [pid 5890] <... futex resumed>) = 0 [pid 5894] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5890] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5894] <... futex resumed>) = 0 [pid 5890] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5894] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5890] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5894] <... ioctl resumed>) = 0 [pid 5890] <... futex resumed>) = 0 [ 116.649237][ T5891] BTRFS info (device loop2): balance: start -d -m [ 116.666050][ T5891] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5894] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5890] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5894] <... futex resumed>) = 0 [pid 5893] <... ioctl resumed>) = 0 [pid 5890] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5894] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5890] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5894] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5890] <... futex resumed>) = 0 [pid 5894] ioctl(3, 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 5890] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5894] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5894] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5890] <... futex resumed>) = 0 [pid 5894] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5890] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5894] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5890] <... futex resumed>) = 0 [pid 5894] open("./file0", O_RDONLY [pid 5890] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5888] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5894] <... open resumed>) = 4 [pid 5894] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5890] <... futex resumed>) = 0 [pid 5888] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5894] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5890] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5894] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5890] <... futex resumed>) = 0 [pid 5894] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5890] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5888] <... futex resumed>) = 0 [pid 5894] <... ioctl resumed>) = 0 [pid 5888] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5894] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5890] <... futex resumed>) = 0 [pid 5888] <... mmap resumed>) = 0x7f4e2652d000 [pid 5894] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5890] exit_group(0 [pid 5888] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5894] <... futex resumed>) = ? [pid 5893] close(4 [pid 5890] <... exit_group resumed>) = ? [pid 5888] <... mprotect resumed>) = 0 [pid 5894] +++ exited with 0 +++ [pid 5893] <... close resumed>) = 0 [pid 5890] +++ exited with 0 +++ [pid 5893] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5890, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=27 /* 0.27 s */} --- [pid 5893] <... futex resumed>) = 1 [pid 5889] <... futex resumed>) = 0 [pid 5893] open("./file0", O_RDONLY [pid 5889] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5893] <... open resumed>) = 3 [pid 5889] <... futex resumed>) = 0 [pid 5893] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5889] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5893] <... futex resumed>) = 0 [pid 5889] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5893] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5889] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5893] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5889] <... futex resumed>) = 0 [pid 5893] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5889] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5893] <... ioctl resumed>) = 0 [pid 5026] <... openat resumed>) = 3 [pid 5893] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5893] <... futex resumed>) = 1 [pid 5889] <... futex resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5893] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5889] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] close(3 [pid 5893] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5889] <... futex resumed>) = 0 [pid 5026] <... close resumed>) = 0 [pid 5893] ioctl(3, 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 5889] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5893] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5888] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5893] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5888] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 5903 [pid 5893] <... futex resumed>) = 1 [pid 5889] <... futex resumed>) = 0 [pid 5888] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5893] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5889] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5903 attached [pid 5895] <... ioctl resumed>) = 0 [pid 5893] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5889] <... futex resumed>) = 0 [pid 5888] <... clone3 resumed> => {parent_tid=[5904]}, 88) = 5904 [pid 5903] set_robust_list(0x5555558636a0, 24 [pid 5893] open("./file0", O_RDONLY [pid 5889] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5888] rt_sigprocmask(SIG_SETMASK, [], [pid 5903] <... set_robust_list resumed>) = 0 [pid 5893] <... open resumed>) = 4 [pid 5888] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5903] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5893] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5888] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5903] <... prctl resumed>) = 0 [pid 5893] <... futex resumed>) = 1 [pid 5889] <... futex resumed>) = 0 [pid 5888] <... futex resumed>) = 0 [pid 5903] setpgid(0, 0 [pid 5893] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5889] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [ 116.694925][ T5891] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5888] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5903] <... setpgid resumed>) = 0 [pid 5893] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5889] <... futex resumed>) = 0 [pid 5903] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5893] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5889] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5903] <... openat resumed>) = 3 [pid 5893] <... ioctl resumed>) = 0 [pid 5903] write(3, "1000", 4 [pid 5893] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5903] <... write resumed>) = 4 [pid 5893] <... futex resumed>) = 1 [pid 5889] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5904 attached [pid 5903] close(3 [pid 5893] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5889] exit_group(0 [pid 5903] <... close resumed>) = 0 [pid 5893] <... futex resumed>) = ? [pid 5889] <... exit_group resumed>) = ? [pid 5903] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5893] +++ exited with 0 +++ [pid 5889] +++ exited with 0 +++ [pid 5903] <... futex resumed>) = 0 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5889, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- [pid 5903] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5903] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5903] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5025] <... openat resumed>) = 3 [pid 5903] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5903] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5904] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5903] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5025] close(3 [pid 5903] <... mprotect resumed>) = 0 [pid 5895] close(4 [pid 5025] <... close resumed>) = 0 [pid 5904] <... rseq resumed>) = 0 [pid 5904] set_robust_list(0x7f4e2654d9a0, 24 [pid 5903] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5895] <... close resumed>) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5904] <... set_robust_list resumed>) = 0 [pid 5903] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5895] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5904] rt_sigprocmask(SIG_SETMASK, [], [pid 5903] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5895] <... futex resumed>) = 1 [pid 5892] <... futex resumed>) = 0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5905 [pid 5904] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5895] open("./file0", O_RDONLY [pid 5892] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5904] open("./file0", O_RDONLY [pid 5903] <... clone3 resumed> => {parent_tid=[5906]}, 88) = 5906 [pid 5895] <... open resumed>) = 3 [pid 5892] <... futex resumed>) = 0 [pid 5904] <... open resumed>) = 4 [pid 5903] rt_sigprocmask(SIG_SETMASK, [], [pid 5895] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5892] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5905 attached [pid 5904] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5903] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5895] <... futex resumed>) = 0 [pid 5892] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5905] set_robust_list(0x5555558636a0, 24 [pid 5904] <... futex resumed>) = 1 [pid 5903] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5892] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5888] <... futex resumed>) = 0 [pid 5895] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840./strace-static-x86_64: Process 5906 attached [pid 5905] <... set_robust_list resumed>) = 0 [pid 5904] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5903] <... futex resumed>) = 0 [pid 5892] <... futex resumed>) = 0 [pid 5888] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5895] <... ioctl resumed>) = 0 [pid 5906] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5905] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5904] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5903] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5892] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5888] <... futex resumed>) = 0 [pid 5895] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5906] <... rseq resumed>) = 0 [pid 5905] <... prctl resumed>) = 0 [pid 5904] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5895] <... futex resumed>) = 0 [pid 5892] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5888] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5906] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5905] setpgid(0, 0 [pid 5895] ioctl(3, 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 5892] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5906] <... set_robust_list resumed>) = 0 [pid 5905] <... setpgid resumed>) = 0 [pid 5895] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5892] <... futex resumed>) = 0 [pid 5906] rt_sigprocmask(SIG_SETMASK, [], [pid 5905] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5904] <... ioctl resumed>) = 0 [pid 5895] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5892] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5906] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5905] <... openat resumed>) = 3 [pid 5904] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5895] <... futex resumed>) = 0 [pid 5892] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5906] memfd_create("syzkaller", 0 [pid 5905] write(3, "1000", 4 [pid 5904] <... futex resumed>) = 1 [pid 5895] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5892] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5888] <... futex resumed>) = 0 [pid 5906] <... memfd_create resumed>) = 3 [pid 5905] <... write resumed>) = 4 [pid 5904] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5895] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5892] <... futex resumed>) = 0 [pid 5906] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5905] close(3 [pid 5895] open("./file0", O_RDONLY [pid 5892] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5906] <... mmap resumed>) = 0x7f4e2554e000 [pid 5905] <... close resumed>) = 0 [pid 5895] <... open resumed>) = 4 [pid 5905] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5905] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5895] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5905] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5895] <... futex resumed>) = 1 [pid 5892] <... futex resumed>) = 0 [pid 5905] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5892] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5905] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5895] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5892] <... futex resumed>) = 0 [pid 5905] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5892] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5905] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5905] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5895] <... ioctl resumed>) = 0 [pid 5905] <... mprotect resumed>) = 0 [pid 5895] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5905] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5895] <... futex resumed>) = 1 [pid 5892] <... futex resumed>) = 0 [pid 5905] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5895] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5892] exit_group(0 [pid 5905] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5895] <... futex resumed>) = ? [pid 5892] <... exit_group resumed>) = ? [pid 5895] +++ exited with 0 +++ [pid 5892] +++ exited with 0 +++ [pid 5905] <... clone3 resumed> => {parent_tid=[5907]}, 88) = 5907 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5892, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=22 /* 0.22 s */} --- [pid 5905] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5905] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5905] <... futex resumed>) = 0 [pid 5021] <... openat resumed>) = 3 [pid 5905] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3./strace-static-x86_64: Process 5907 attached ) = 0 [pid 5907] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5907] <... rseq resumed>) = 0 [pid 5907] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 5908 [pid 5907] <... set_robust_list resumed>) = 0 [pid 5907] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5907] memfd_create("syzkaller", 0) = 3 [ 116.764445][ T5891] BTRFS info (device loop2): 2 enospc errors during balance [ 116.799694][ T5891] BTRFS info (device loop2): balance: ended with status: -28 [pid 5907] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 ./strace-static-x86_64: Process 5908 attached [pid 5891] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5908] set_robust_list(0x5555558636a0, 24 [pid 5891] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5908] <... set_robust_list resumed>) = 0 [pid 5891] <... futex resumed>) = 0 [pid 5908] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5891] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5888] exit_group(0 [pid 5908] <... prctl resumed>) = 0 [pid 5904] <... futex resumed>) = ? [pid 5891] <... futex resumed>) = ? [pid 5888] <... exit_group resumed>) = ? [pid 5908] setpgid(0, 0 [pid 5904] +++ exited with 0 +++ [pid 5891] +++ exited with 0 +++ [pid 5888] +++ exited with 0 +++ [pid 5908] <... setpgid resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5888, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- [pid 5908] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5908] write(3, "1000", 4 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5908] <... write resumed>) = 4 [pid 5027] <... openat resumed>) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5908] close(3 [pid 5027] close(3 [pid 5908] <... close resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 5908] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5908] <... futex resumed>) = 0 [pid 5908] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 5909 [pid 5908] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5908] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5908] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0./strace-static-x86_64: Process 5909 attached [pid 5909] set_robust_list(0x5555558636a0, 24 [pid 5908] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5909] <... set_robust_list resumed>) = 0 [pid 5908] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5909] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5908] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5909] <... prctl resumed>) = 0 [pid 5908] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5899] <... write resumed>) = 16777216 [pid 5909] setpgid(0, 0 [pid 5908] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5899] munmap(0x7f4e2554e000, 16777216 [pid 5909] <... setpgid resumed>) = 0 [pid 5908] <... clone3 resumed> => {parent_tid=[5910]}, 88) = 5910 [pid 5899] <... munmap resumed>) = 0 [pid 5909] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5908] rt_sigprocmask(SIG_SETMASK, [], [pid 5899] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5909] <... openat resumed>) = 3 [pid 5908] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5908] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5909] write(3, "1000", 4 [pid 5908] <... futex resumed>) = 0 [pid 5908] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5909] <... write resumed>) = 4 [pid 5909] close(3 [pid 5899] <... openat resumed>) = 4 [pid 5909] <... close resumed>) = 0 [pid 5899] ioctl(4, LOOP_SET_FD, 3 [pid 5909] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5899] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5909] <... futex resumed>) = 0 [pid 5899] ioctl(4, LOOP_CLR_FD./strace-static-x86_64: Process 5910 attached [pid 5910] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5909] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5910] <... rseq resumed>) = 0 [pid 5899] <... ioctl resumed>) = 0 [pid 5910] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5910] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5910] memfd_create("syzkaller", 0 [pid 5909] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5910] <... memfd_create resumed>) = 3 [pid 5910] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5909] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5910] <... mmap resumed>) = 0x7f4e2554e000 [pid 5909] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5909] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5899] ioctl(4, LOOP_SET_FD, 3 [pid 5909] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5909] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5899] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5899] close(4 [pid 5909] <... mprotect resumed>) = 0 [pid 5899] <... close resumed>) = 0 [pid 5909] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5899] close(3 [pid 5909] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5902] 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 5909] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5911]}, 88) = 5911 [pid 5909] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5909] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5909] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5911 attached [pid 5911] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5911] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5911] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5911] memfd_create("syzkaller", 0) = 3 [pid 5911] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5907] 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 5899] <... close resumed>) = 0 [pid 5899] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5898] <... futex resumed>) = 0 [pid 5898] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5898] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5899] open("./file0", O_RDONLY) = 3 [pid 5899] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5898] <... futex resumed>) = 0 [pid 5898] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5899] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5898] <... futex resumed>) = 0 [pid 5899] <... ioctl resumed>) = 0 [pid 5898] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5899] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5898] <... futex resumed>) = 0 [pid 5898] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5899] ioctl(3, 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 5898] <... futex resumed>) = 0 [pid 5898] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 117.152748][ T5899] BTRFS info (device loop2): balance: start -d -m [ 117.186400][ T5899] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5906] 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 5898] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5898] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5898] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5898] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5898] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5898] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5913]}, 88) = 5913 [pid 5898] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5898] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5898] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5913 attached [pid 5913] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5913] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5913] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5913] open("./file0", O_RDONLY) = 4 [pid 5913] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5898] <... futex resumed>) = 0 [ 117.202620][ T5899] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5913] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5898] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5913] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5898] <... futex resumed>) = 0 [pid 5913] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5898] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5913] <... ioctl resumed>) = 0 [pid 5913] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5898] <... futex resumed>) = 0 [pid 5913] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5899] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5899] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 117.249056][ T5899] BTRFS info (device loop2): 2 enospc errors during balance [ 117.286029][ T5899] BTRFS info (device loop2): balance: ended with status: -28 [pid 5899] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5910] 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 5898] exit_group(0 [pid 5913] <... futex resumed>) = ? [pid 5899] <... futex resumed>) = ? [pid 5898] <... exit_group resumed>) = ? [pid 5913] +++ exited with 0 +++ [pid 5899] +++ exited with 0 +++ [pid 5898] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5898, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=24 /* 0.24 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5914 ./strace-static-x86_64: Process 5914 attached [pid 5911] 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 5914] set_robust_list(0x5555558636a0, 24) = 0 [pid 5914] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5914] setpgid(0, 0) = 0 [pid 5914] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5914] write(3, "1000", 4) = 4 [pid 5914] close(3) = 0 [pid 5914] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5914] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5914] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5914] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5914] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5914] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5914] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5915]}, 88) = 5915 [pid 5914] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5914] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5914] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5915 attached [pid 5915] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5915] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5902] <... write resumed>) = 16777216 [pid 5915] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5902] munmap(0x7f4e2554e000, 16777216 [pid 5915] memfd_create("syzkaller", 0) = 3 [pid 5915] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5902] <... munmap resumed>) = 0 [pid 5902] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5902] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5902] close(3) = 0 [pid 5902] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5902] 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 5902] ioctl(4, LOOP_CLR_FD [pid 5907] <... write resumed>) = 16777216 [pid 5907] munmap(0x7f4e2554e000, 16777216) = 0 [ 117.455823][ T5902] loop0: detected capacity change from 0 to 32768 [ 117.487968][ T5902] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5902) [pid 5907] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5907] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5906] <... write resumed>) = 16777216 [pid 5907] close(3) = 0 [pid 5906] munmap(0x7f4e2554e000, 16777216 [pid 5907] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5906] <... munmap resumed>) = 0 [pid 5907] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5906] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5906] ioctl(4, LOOP_SET_FD, 3 [pid 5907] <... mount resumed>) = -1 EEXIST (File exists) [ 117.548976][ T5907] loop3: detected capacity change from 0 to 32768 [ 117.573715][ T5907] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5907) [ 117.577558][ T5906] loop4: detected capacity change from 0 to 32768 [pid 5907] ioctl(4, LOOP_CLR_FD [pid 5906] <... ioctl resumed>) = 0 [pid 5906] close(3) = 0 [pid 5906] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5906] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5911] <... write resumed>) = 16777216 [pid 5906] <... mount resumed>) = -1 EEXIST (File exists) [pid 5906] ioctl(4, LOOP_CLR_FD [pid 5910] <... write resumed>) = 16777216 [pid 5910] munmap(0x7f4e2554e000, 16777216 [pid 5911] munmap(0x7f4e2554e000, 16777216 [pid 5910] <... munmap resumed>) = 0 [pid 5911] <... munmap resumed>) = 0 [ 117.677465][ T5906] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5906) [pid 5902] <... ioctl resumed>) = 0 [pid 5902] close(4) = 0 [pid 5902] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5901] <... futex resumed>) = 0 [pid 5902] open("./file0", O_RDONLY [pid 5901] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5910] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5902] <... open resumed>) = 3 [pid 5901] <... futex resumed>) = 0 [pid 5910] <... openat resumed>) = 4 [pid 5902] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5901] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5910] ioctl(4, LOOP_SET_FD, 3 [pid 5902] <... futex resumed>) = 0 [pid 5901] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5902] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5901] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5902] <... ioctl resumed>) = 0 [pid 5901] <... futex resumed>) = 0 [pid 5902] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5901] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5902] <... futex resumed>) = 0 [pid 5901] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5911] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5902] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5901] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5902] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5901] <... futex resumed>) = 0 [pid 5902] ioctl(3, 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 5901] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5911] <... openat resumed>) = 4 [pid 5911] ioctl(4, LOOP_SET_FD, 3 [pid 5910] <... ioctl resumed>) = 0 [pid 5910] close(3) = 0 [pid 5910] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 117.760140][ T5910] loop1: detected capacity change from 0 to 32768 [ 117.779464][ T5902] BTRFS info (device loop2): balance: start -d -m [ 117.786890][ T5911] loop5: detected capacity change from 0 to 32768 [ 117.792121][ T5902] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5910] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5911] <... ioctl resumed>) = 0 [pid 5907] <... ioctl resumed>) = 0 [pid 5911] close(3) = 0 [pid 5911] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5911] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5915] 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 5907] close(4 [pid 5901] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5901] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5901] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5901] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5901] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5901] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5916]}, 88) = 5916 [pid 5901] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5901] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 117.803333][ T5910] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5910) [pid 5901] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5910] <... mount resumed>) = -1 EEXIST (File exists) [pid 5907] <... close resumed>) = 0 ./strace-static-x86_64: Process 5916 attached [pid 5910] ioctl(4, LOOP_CLR_FD [pid 5907] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5916] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5911] <... mount resumed>) = -1 EEXIST (File exists) [pid 5907] <... futex resumed>) = 1 [pid 5905] <... futex resumed>) = 0 [pid 5905] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5916] <... rseq resumed>) = 0 [pid 5911] ioctl(4, LOOP_CLR_FD [pid 5907] open("./file0", O_RDONLY [pid 5905] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5916] set_robust_list(0x7f4e2654d9a0, 24 [pid 5907] <... open resumed>) = 3 [pid 5906] <... ioctl resumed>) = 0 [pid 5916] <... set_robust_list resumed>) = 0 [pid 5907] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [ 117.847000][ T5911] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5911) [ 117.847260][ T5902] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5906] close(4 [pid 5916] rt_sigprocmask(SIG_SETMASK, [], [pid 5907] <... futex resumed>) = 1 [pid 5906] <... close resumed>) = 0 [pid 5905] <... futex resumed>) = 0 [pid 5901] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5916] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5907] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5906] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5905] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5901] futex(0x7f4e2da3d62c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5916] open("./file0", O_RDONLY [pid 5907] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5906] <... futex resumed>) = 1 [pid 5905] <... futex resumed>) = 0 [pid 5903] <... futex resumed>) = 0 [pid 5901] <... futex resumed>) = 0 [pid 5916] <... open resumed>) = 4 [pid 5907] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5906] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5916] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5907] <... ioctl resumed>) = 0 [pid 5916] <... futex resumed>) = 0 [pid 5907] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5905] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5903] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5901] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5916] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5907] <... futex resumed>) = 0 [pid 5906] <... futex resumed>) = 0 [pid 5905] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5903] <... futex resumed>) = 1 [pid 5907] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5906] open("./file0", O_RDONLY) = 3 [pid 5901] <... mmap resumed>) = 0x7f4e2650c000 [pid 5906] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5905] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5903] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5901] mprotect(0x7f4e2650d000, 131072, PROT_READ|PROT_WRITE [pid 5907] <... futex resumed>) = 0 [ 117.899682][ T5902] BTRFS info (device loop2): 2 enospc errors during balance [pid 5906] <... futex resumed>) = 0 [pid 5905] <... futex resumed>) = 1 [pid 5903] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5907] ioctl(3, 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 5906] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5901] <... mprotect resumed>) = 0 [pid 5906] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5905] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5903] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5901] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5906] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5903] <... futex resumed>) = 0 [pid 5901] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5906] <... ioctl resumed>) = 0 [pid 5906] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5903] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5901] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2652c990, parent_tid=0x7f4e2652c990, exit_signal=0, stack=0x7f4e2650c000, stack_size=0x20300, tls=0x7f4e2652c6c0} [pid 5906] <... futex resumed>) = 0 [pid 5903] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5906] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5903] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5901] <... clone3 resumed> => {parent_tid=[5917]}, 88) = 5917 [pid 5906] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5903] <... futex resumed>) = 0 [pid 5901] rt_sigprocmask(SIG_SETMASK, [], [pid 5906] ioctl(3, 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 5903] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5901] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5901] futex(0x7f4e2da3d628, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5901] futex(0x7f4e2da3d62c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5917 attached [pid 5917] rseq(0x7f4e2652cfe0, 0x20, 0, 0x53053053) = 0 [pid 5917] set_robust_list(0x7f4e2652c9a0, 24) = 0 [pid 5917] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5917] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5907] <... 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}}) = 8 [pid 5906] <... 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}}) = 8 [pid 5902] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5907] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5906] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5917] <... ioctl resumed>) = 0 [pid 5907] <... futex resumed>) = 1 [pid 5906] <... futex resumed>) = 1 [pid 5905] <... futex resumed>) = 0 [pid 5903] <... futex resumed>) = 0 [pid 5902] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5917] futex(0x7f4e2da3d62c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5907] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5906] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5905] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5903] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5902] <... futex resumed>) = 0 [pid 5917] <... futex resumed>) = 1 [pid 5907] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5906] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5905] <... futex resumed>) = 0 [pid 5903] <... futex resumed>) = 0 [pid 5902] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5901] <... futex resumed>) = 0 [pid 5917] futex(0x7f4e2da3d628, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5907] open("./file0", O_RDONLY [pid 5906] open("./file0", O_RDONLY [pid 5905] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5903] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5901] exit_group(0 [pid 5917] <... futex resumed>) = ? [pid 5916] <... futex resumed>) = ? [pid 5907] <... open resumed>) = 4 [pid 5906] <... open resumed>) = 4 [pid 5901] <... exit_group resumed>) = ? [pid 5917] +++ exited with 0 +++ [pid 5916] +++ exited with 0 +++ [pid 5907] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5906] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5902] <... futex resumed>) = ? [pid 5907] <... futex resumed>) = 1 [pid 5906] <... futex resumed>) = 1 [pid 5905] <... futex resumed>) = 0 [pid 5903] <... futex resumed>) = 0 [pid 5902] +++ exited with 0 +++ [pid 5901] +++ exited with 0 +++ [pid 5907] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5906] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5903] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5907] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5906] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5905] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5903] <... futex resumed>) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5901, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=30 /* 0.30 s */} --- [pid 5907] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5906] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5905] <... futex resumed>) = 0 [pid 5903] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5905] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5907] <... ioctl resumed>) = 0 [pid 5906] <... ioctl resumed>) = 0 [pid 5020] <... openat resumed>) = 3 [pid 5907] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5906] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5907] <... futex resumed>) = 1 [ 117.942611][ T5902] BTRFS info (device loop2): balance: ended with status: -28 [pid 5905] <... futex resumed>) = 0 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 5907] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5906] <... futex resumed>) = 1 [pid 5905] exit_group(0 [pid 5903] <... futex resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5907] <... futex resumed>) = ? [pid 5906] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5905] <... exit_group resumed>) = ? [pid 5903] exit_group(0 [pid 5020] close(3 [pid 5907] +++ exited with 0 +++ [pid 5906] <... futex resumed>) = ? [pid 5903] <... exit_group resumed>) = ? [pid 5906] +++ exited with 0 +++ [pid 5905] +++ exited with 0 +++ [pid 5903] +++ exited with 0 +++ [pid 5020] <... close resumed>) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5903, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=28 /* 0.28 s */} --- [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5905, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=23 /* 0.23 s */} --- [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5918 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5026] <... openat resumed>) = 3 [pid 5025] <... openat resumed>) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5025] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 5918 attached [pid 5918] set_robust_list(0x5555558636a0, 24 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5918] <... set_robust_list resumed>) = 0 [pid 5026] close(3 [pid 5025] close(3 [pid 5918] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5026] <... close resumed>) = 0 [pid 5025] <... close resumed>) = 0 [pid 5918] <... prctl resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5918] setpgid(0, 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 5919 [pid 5918] <... setpgid resumed>) = 0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5920 [pid 5918] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 ./strace-static-x86_64: Process 5919 attached [pid 5918] write(3, "1000", 4./strace-static-x86_64: Process 5920 attached [pid 5920] set_robust_list(0x5555558636a0, 24 [pid 5918] <... write resumed>) = 4 [pid 5919] set_robust_list(0x5555558636a0, 24 [pid 5920] <... set_robust_list resumed>) = 0 [pid 5920] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5919] <... set_robust_list resumed>) = 0 [pid 5918] close(3 [pid 5920] <... prctl resumed>) = 0 [pid 5919] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5918] <... close resumed>) = 0 [pid 5915] <... write resumed>) = 16777216 [pid 5910] <... ioctl resumed>) = 0 [pid 5920] setpgid(0, 0 [pid 5919] <... prctl resumed>) = 0 [pid 5918] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5915] munmap(0x7f4e2554e000, 16777216 [pid 5910] close(4 [pid 5920] <... setpgid resumed>) = 0 [pid 5919] setpgid(0, 0 [pid 5918] <... futex resumed>) = 0 [pid 5915] <... munmap resumed>) = 0 [pid 5910] <... close resumed>) = 0 [pid 5919] <... setpgid resumed>) = 0 [pid 5918] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5915] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5910] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5919] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5918] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5915] <... openat resumed>) = 4 [pid 5910] <... futex resumed>) = 1 [pid 5908] <... futex resumed>) = 0 [pid 5920] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5919] <... openat resumed>) = 3 [pid 5918] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5915] ioctl(4, LOOP_SET_FD, 3 [pid 5910] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5908] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5920] <... openat resumed>) = 3 [pid 5919] write(3, "1000", 4 [pid 5918] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5915] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5910] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5919] <... write resumed>) = 4 [pid 5918] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5915] ioctl(4, LOOP_CLR_FD [pid 5910] open("./file0", O_RDONLY [pid 5920] write(3, "1000", 4 [pid 5919] close(3 [pid 5918] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5915] <... ioctl resumed>) = 0 [pid 5910] <... open resumed>) = 3 [pid 5908] <... futex resumed>) = 0 [pid 5920] <... write resumed>) = 4 [pid 5919] <... close resumed>) = 0 [pid 5918] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5910] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5908] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5920] close(3 [pid 5919] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5918] <... mprotect resumed>) = 0 [pid 5910] <... futex resumed>) = 0 [pid 5908] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5920] <... close resumed>) = 0 [pid 5919] <... futex resumed>) = 0 [pid 5918] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5911] <... ioctl resumed>) = 0 [pid 5910] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5908] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5920] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5919] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5918] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5915] ioctl(4, LOOP_SET_FD, 3 [pid 5911] close(4 [pid 5910] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5908] <... futex resumed>) = 0 [pid 5920] <... futex resumed>) = 0 [pid 5919] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5918] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5915] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5910] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5908] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5920] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5919] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5915] close(4 [pid 5911] <... close resumed>) = 0 [pid 5910] <... ioctl resumed>) = 0 [pid 5920] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5919] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5918] <... clone3 resumed> => {parent_tid=[5921]}, 88) = 5921 [pid 5915] <... close resumed>) = 0 [pid 5910] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5920] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5919] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5918] rt_sigprocmask(SIG_SETMASK, [], [pid 5915] close(3 [pid 5911] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5910] <... futex resumed>) = 1 [pid 5908] <... futex resumed>) = 0 [pid 5920] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5919] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5918] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5911] <... futex resumed>) = 1 [pid 5910] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5909] <... futex resumed>) = 0 [pid 5908] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5920] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5919] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5918] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5911] open("./file0", O_RDONLY [pid 5910] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5909] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5908] <... futex resumed>) = 0 [pid 5920] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5919] <... mprotect resumed>) = 0 [pid 5918] <... futex resumed>) = 0 [pid 5911] <... open resumed>) = 3 [pid 5910] ioctl(3, 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 5909] <... futex resumed>) = 0 [pid 5908] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5921 attached [pid 5920] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5919] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5918] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5921] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5919] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5921] <... rseq resumed>) = 0 [pid 5919] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5921] set_robust_list(0x7f4e2d96e9a0, 24./strace-static-x86_64: Process 5922 attached ) = 0 [pid 5919] <... clone3 resumed> => {parent_tid=[5922]}, 88) = 5922 [pid 5920] <... mprotect resumed>) = 0 [pid 5911] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5909] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5921] rt_sigprocmask(SIG_SETMASK, [], [pid 5919] rt_sigprocmask(SIG_SETMASK, [], [pid 5922] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5921] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5920] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5919] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5911] <... futex resumed>) = 0 [pid 5909] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5921] memfd_create("syzkaller", 0 [pid 5919] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5921] <... memfd_create resumed>) = 3 [pid 5919] <... futex resumed>) = 0 [pid 5921] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5919] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5921] <... mmap resumed>) = 0x7f4e2554e000 [pid 5922] <... rseq resumed>) = 0 [pid 5920] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5911] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5909] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5922] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5920] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5911] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5909] <... futex resumed>) = 0 [pid 5922] <... set_robust_list resumed>) = 0 [pid 5922] rt_sigprocmask(SIG_SETMASK, [], [pid 5911] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5909] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5911] <... ioctl resumed>) = 0 [pid 5922] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5911] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5920] <... clone3 resumed> => {parent_tid=[5924]}, 88) = 5924 [pid 5922] memfd_create("syzkaller", 0 [pid 5920] rt_sigprocmask(SIG_SETMASK, [], [pid 5911] <... futex resumed>) = 1 [pid 5909] <... futex resumed>) = 0 [pid 5922] <... memfd_create resumed>) = 3 [pid 5922] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5920] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5911] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5909] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5922] <... mmap resumed>) = 0x7f4e2554e000 [pid 5920] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5911] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5909] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5924 attached [pid 5924] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5924] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5924] rt_sigprocmask(SIG_SETMASK, [], [pid 5920] <... futex resumed>) = 0 [pid 5911] ioctl(3, 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 5909] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5924] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5920] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5924] memfd_create("syzkaller", 0 [pid 5911] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5924] <... memfd_create resumed>) = 3 [pid 5911] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5908] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5924] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5911] <... futex resumed>) = 1 [pid 5909] <... futex resumed>) = 0 [pid 5908] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5911] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5909] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5908] <... futex resumed>) = 0 [ 118.119988][ T5910] BTRFS info (device loop2): balance: start -d -m [ 118.128082][ T5910] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5911] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5909] <... futex resumed>) = 0 [pid 5908] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5911] open("./file0", O_RDONLY [pid 5909] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5908] <... mmap resumed>) = 0x7f4e2652d000 [pid 5911] <... open resumed>) = 4 [pid 5908] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5911] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5908] <... mprotect resumed>) = 0 [pid 5911] <... futex resumed>) = 1 [pid 5911] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5909] <... futex resumed>) = 0 [pid 5908] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5909] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5911] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5909] <... futex resumed>) = 0 [pid 5908] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5911] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5909] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5911] <... ioctl resumed>) = 0 [pid 5908] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0}./strace-static-x86_64: Process 5925 attached [pid 5911] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5908] <... clone3 resumed> => {parent_tid=[5925]}, 88) = 5925 [pid 5911] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5909] <... futex resumed>) = 0 [pid 5908] rt_sigprocmask(SIG_SETMASK, [], [pid 5909] exit_group(0 [pid 5908] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5908] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5911] <... futex resumed>) = ? [pid 5909] <... exit_group resumed>) = ? [pid 5908] <... futex resumed>) = 0 [pid 5911] +++ exited with 0 +++ [pid 5908] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5909] +++ exited with 0 +++ [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5909, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=23 /* 0.23 s */} --- [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 5925] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5027] <... restart_syscall resumed>) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5925] <... rseq resumed>) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5027] close(3) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5926 ./strace-static-x86_64: Process 5926 attached [pid 5926] set_robust_list(0x5555558636a0, 24) = 0 [pid 5926] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5926] setpgid(0, 0) = 0 [ 118.191561][ T5910] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5926] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5925] set_robust_list(0x7f4e2654d9a0, 24 [pid 5926] write(3, "1000", 4 [pid 5925] <... set_robust_list resumed>) = 0 [pid 5926] <... write resumed>) = 4 [pid 5925] rt_sigprocmask(SIG_SETMASK, [], [pid 5926] close(3) = 0 [pid 5926] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5925] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5926] <... futex resumed>) = 0 [pid 5926] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5926] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5925] open("./file0", O_RDONLY [pid 5926] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5925] <... open resumed>) = 4 [pid 5926] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5925] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5926] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5925] <... futex resumed>) = 1 [pid 5908] <... futex resumed>) = 0 [pid 5926] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5926] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5925] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5908] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5927 attached [pid 5926] <... clone3 resumed> => {parent_tid=[5927]}, 88) = 5927 [pid 5925] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5908] <... futex resumed>) = 0 [pid 5926] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5927] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5926] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5925] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5908] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5926] <... futex resumed>) = 0 [pid 5926] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5927] <... rseq resumed>) = 0 [pid 5925] <... ioctl resumed>) = 0 [pid 5927] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5925] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5927] <... set_robust_list resumed>) = 0 [pid 5925] <... futex resumed>) = 1 [pid 5908] <... futex resumed>) = 0 [pid 5925] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5927] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 118.253730][ T5910] BTRFS info (device loop2): 2 enospc errors during balance [ 118.282714][ T5910] BTRFS info (device loop2): balance: ended with status: -28 [pid 5927] memfd_create("syzkaller", 0 [pid 5915] <... close resumed>) = 0 [pid 5927] <... memfd_create resumed>) = 3 [pid 5927] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5910] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5910] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5910] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5908] exit_group(0 [pid 5925] <... futex resumed>) = ? [pid 5910] <... futex resumed>) = ? [pid 5908] <... exit_group resumed>) = ? [pid 5925] +++ exited with 0 +++ [pid 5910] +++ exited with 0 +++ [pid 5908] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5908, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=30 /* 0.30 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5915] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5915] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5914] <... futex resumed>) = 0 [pid 5021] <... openat resumed>) = 3 [pid 5914] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5915] <... futex resumed>) = 0 [pid 5914] <... futex resumed>) = 1 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5915] open("./file0", O_RDONLY [pid 5914] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5915] <... open resumed>) = 3 [pid 5021] close(3 [pid 5915] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5915] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5914] <... futex resumed>) = 0 [pid 5021] <... close resumed>) = 0 [pid 5914] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5915] <... futex resumed>) = 0 [pid 5914] <... futex resumed>) = 1 [pid 5915] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 5914] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5915] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5914] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 5928 [pid 5915] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5914] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5928 attached [pid 5915] <... futex resumed>) = 0 [pid 5914] <... futex resumed>) = 1 [pid 5915] ioctl(3, 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 5928] set_robust_list(0x5555558636a0, 24 [pid 5914] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5928] <... set_robust_list resumed>) = 0 [pid 5928] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5928] setpgid(0, 0) = 0 [pid 5928] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5928] write(3, "1000", 4) = 4 [pid 5928] close(3) = 0 [pid 5928] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5928] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5928] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5928] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5928] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5928] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5928] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5929]}, 88) = 5929 [pid 5928] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5928] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5928] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5929 attached [pid 5929] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5929] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5929] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5929] memfd_create("syzkaller", 0) = 3 [ 118.400623][ T5915] BTRFS info (device loop2): balance: start -d -m [ 118.416475][ T5915] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5929] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5922] 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 5914] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5914] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5914] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5914] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5914] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5914] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5930]}, 88) = 5930 [pid 5914] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5914] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5914] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5930 attached [pid 5930] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5930] set_robust_list(0x7f4e2654d9a0, 24) = 0 [ 118.458335][ T5915] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5930] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5930] open("./file0", O_RDONLY) = 4 [pid 5930] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5914] <... futex resumed>) = 0 [pid 5930] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5914] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5914] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5930] <... ioctl resumed>) = 0 [pid 5930] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5914] <... futex resumed>) = 0 [pid 5930] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5921] 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 5915] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5915] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5915] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5914] exit_group(0 [pid 5930] <... futex resumed>) = ? [pid 5915] <... futex resumed>) = ? [pid 5914] <... exit_group resumed>) = ? [pid 5930] +++ exited with 0 +++ [pid 5915] +++ exited with 0 +++ [pid 5914] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5914, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=20 /* 0.20 s */} --- [ 118.511995][ T5915] BTRFS info (device loop2): 2 enospc errors during balance [ 118.538713][ T5915] BTRFS info (device loop2): balance: ended with status: -28 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5924] 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 5022] <... openat resumed>) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5931 ./strace-static-x86_64: Process 5931 attached [pid 5931] set_robust_list(0x5555558636a0, 24) = 0 [pid 5931] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5931] setpgid(0, 0) = 0 [pid 5931] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5931] write(3, "1000", 4) = 4 [pid 5931] close(3) = 0 [pid 5931] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5931] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5931] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5931] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5931] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5931] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5931] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5933]}, 88) = 5933 [pid 5931] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5931] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5931] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5933 attached [pid 5933] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5933] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5933] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5933] memfd_create("syzkaller", 0) = 3 [pid 5933] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5927] 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 5929] 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 5922] <... write resumed>) = 16777216 [pid 5922] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5922] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5922] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5922] close(3) = 0 [pid 5922] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5922] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5921] <... write resumed>) = 16777216 [pid 5921] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5921] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5924] <... write resumed>) = 16777216 [pid 5921] <... openat resumed>) = 4 [pid 5924] munmap(0x7f4e2554e000, 16777216 [ 118.920649][ T5922] loop4: detected capacity change from 0 to 32768 [ 118.950355][ T5922] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5922) [pid 5921] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5922] <... mount resumed>) = -1 EEXIST (File exists) [pid 5922] ioctl(4, LOOP_CLR_FD [pid 5924] <... munmap resumed>) = 0 [pid 5924] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5924] ioctl(4, LOOP_SET_FD, 3 [pid 5921] close(3) = 0 [pid 5921] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5921] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5933] 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 5924] <... ioctl resumed>) = 0 [ 118.987725][ T5921] loop0: detected capacity change from 0 to 32768 [ 119.005833][ T5924] loop3: detected capacity change from 0 to 32768 [pid 5924] close(3) = 0 [pid 5924] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5924] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5921] <... mount resumed>) = -1 EEXIST (File exists) [pid 5921] ioctl(4, LOOP_CLR_FD [pid 5927] <... write resumed>) = 16777216 [pid 5924] <... mount resumed>) = -1 EEXIST (File exists) [pid 5924] ioctl(4, LOOP_CLR_FD [ 119.036668][ T5921] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5921) [ 119.071640][ T5924] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5924) [pid 5927] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5927] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5927] ioctl(4, LOOP_SET_FD, 3 [pid 5929] <... write resumed>) = 16777216 [pid 5929] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5929] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5929] ioctl(4, LOOP_SET_FD, 3 [pid 5927] <... ioctl resumed>) = 0 [pid 5927] close(3) = 0 [pid 5927] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 119.130142][ T5927] loop5: detected capacity change from 0 to 32768 [ 119.161412][ T5929] loop1: detected capacity change from 0 to 32768 [pid 5927] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5929] <... ioctl resumed>) = 0 [pid 5929] close(3) = 0 [pid 5929] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5929] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5922] <... ioctl resumed>) = 0 [pid 5922] close(4) = 0 [ 119.179331][ T5927] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5927) [pid 5927] <... mount resumed>) = -1 EEXIST (File exists) [pid 5927] ioctl(4, LOOP_CLR_FD [pid 5922] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5919] <... futex resumed>) = 0 [pid 5919] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5922] open("./file0", O_RDONLY [pid 5919] <... futex resumed>) = 0 [pid 5919] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5922] <... open resumed>) = 3 [pid 5922] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5919] <... futex resumed>) = 0 [pid 5919] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5922] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5919] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5922] <... ioctl resumed>) = 0 [pid 5922] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5919] <... futex resumed>) = 0 [pid 5922] ioctl(3, 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 5919] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5919] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5924] <... ioctl resumed>) = 0 [pid 5929] <... mount resumed>) = -1 EEXIST (File exists) [ 119.230086][ T5929] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5929) [ 119.251727][ T5922] BTRFS info (device loop2): balance: start -d -m [ 119.271417][ T5922] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5929] ioctl(4, LOOP_CLR_FD [pid 5919] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5919] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5919] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5919] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5921] <... ioctl resumed>) = 0 [pid 5919] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5924] close(4 [pid 5919] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5924] <... close resumed>) = 0 [pid 5919] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5924] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5919] <... clone3 resumed> => {parent_tid=[5934]}, 88) = 5934 [pid 5924] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5921] close(4 [pid 5919] rt_sigprocmask(SIG_SETMASK, [], [pid 5921] <... close resumed>) = 0 [pid 5919] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5921] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5919] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5921] <... futex resumed>) = 1 [pid 5919] <... futex resumed>) = 0 [pid 5918] <... futex resumed>) = 0 [pid 5921] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5919] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5918] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5921] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5918] <... futex resumed>) = 0 [pid 5921] open("./file0", O_RDONLY [pid 5918] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5921] <... open resumed>) = 3 ./strace-static-x86_64: Process 5934 attached [pid 5921] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5934] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5921] <... futex resumed>) = 1 [pid 5918] <... futex resumed>) = 0 [pid 5934] <... rseq resumed>) = 0 [pid 5921] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5918] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5934] set_robust_list(0x7f4e2654d9a0, 24 [pid 5921] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5918] <... futex resumed>) = 0 [pid 5934] <... set_robust_list resumed>) = 0 [pid 5921] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5918] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5934] rt_sigprocmask(SIG_SETMASK, [], [pid 5921] <... ioctl resumed>) = 0 [pid 5934] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5921] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5934] open("./file0", O_RDONLY [pid 5921] <... futex resumed>) = 1 [pid 5918] <... futex resumed>) = 0 [pid 5934] <... open resumed>) = 4 [pid 5921] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5918] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5934] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5921] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5918] <... futex resumed>) = 0 [pid 5934] <... futex resumed>) = 1 [pid 5921] ioctl(3, 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 5919] <... futex resumed>) = 0 [pid 5918] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5934] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5921] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5919] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5934] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5921] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5919] <... futex resumed>) = 0 [pid 5934] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5921] <... futex resumed>) = 1 [pid 5919] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5918] <... futex resumed>) = 0 [pid 5934] <... ioctl resumed>) = 0 [pid 5933] <... write resumed>) = 16777216 [pid 5921] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5920] <... futex resumed>) = 0 [pid 5918] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5934] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5921] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5920] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5918] <... futex resumed>) = 0 [pid 5934] <... futex resumed>) = 1 [pid 5924] <... futex resumed>) = 0 [pid 5921] open("./file0", O_RDONLY [pid 5920] <... futex resumed>) = 1 [pid 5919] <... futex resumed>) = 0 [pid 5918] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5934] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5924] open("./file0", O_RDONLY [pid 5921] <... open resumed>) = 4 [pid 5920] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5924] <... open resumed>) = 3 [pid 5921] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5924] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5921] <... futex resumed>) = 1 [pid 5918] <... futex resumed>) = 0 [pid 5924] <... futex resumed>) = 1 [pid 5921] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5920] <... futex resumed>) = 0 [pid 5918] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5924] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5921] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5920] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5918] <... futex resumed>) = 0 [pid 5924] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5921] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5920] <... futex resumed>) = 0 [pid 5918] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5924] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5921] <... ioctl resumed>) = 0 [pid 5920] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5924] <... ioctl resumed>) = 0 [pid 5921] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5924] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5921] <... futex resumed>) = 1 [pid 5918] <... futex resumed>) = 0 [pid 5924] <... futex resumed>) = 1 [pid 5921] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5920] <... futex resumed>) = 0 [pid 5918] exit_group(0 [pid 5924] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5921] <... futex resumed>) = ? [pid 5920] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5918] <... exit_group resumed>) = ? [pid 5924] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5921] +++ exited with 0 +++ [pid 5920] <... futex resumed>) = 0 [pid 5918] +++ exited with 0 +++ [pid 5924] ioctl(3, 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 5920] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5918, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=21 /* 0.21 s */} --- [pid 5924] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5924] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5920] <... futex resumed>) = 0 [pid 5924] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5920] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5924] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5920] <... futex resumed>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5924] open("./file0", O_RDONLY [pid 5920] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5924] <... open resumed>) = 4 [pid 5020] <... openat resumed>) = 3 [pid 5924] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 5924] <... futex resumed>) = 1 [pid 5920] <... futex resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5924] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5920] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] close(3 [pid 5924] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5920] <... futex resumed>) = 0 [pid 5924] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5920] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] <... close resumed>) = 0 [pid 5924] <... ioctl resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5924] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5920] <... futex resumed>) = 0 [pid 5924] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5920] exit_group(0 [pid 5924] <... futex resumed>) = ? [pid 5920] <... exit_group resumed>) = ? [ 119.298829][ T5922] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5924] +++ exited with 0 +++ [pid 5920] +++ exited with 0 +++ [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 5935 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5920, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=26 /* 0.26 s */} --- [pid 5025] restart_syscall(<... resuming interrupted clone ...>./strace-static-x86_64: Process 5935 attached [pid 5935] set_robust_list(0x5555558636a0, 24 [pid 5025] <... restart_syscall resumed>) = 0 [pid 5935] <... set_robust_list resumed>) = 0 [pid 5935] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5935] <... prctl resumed>) = 0 [pid 5025] <... openat resumed>) = 3 [pid 5935] setpgid(0, 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5935] <... setpgid resumed>) = 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5935] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5935] write(3, "1000", 4) = 4 [pid 5935] close(3) = 0 [pid 5935] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5025] close(3 [pid 5935] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5025] <... close resumed>) = 0 [pid 5935] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5935] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5935] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5935] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5935] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5936 [pid 5935] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5937]}, 88) = 5937 [pid 5935] rt_sigprocmask(SIG_SETMASK, [], [pid 5933] munmap(0x7f4e2554e000, 16777216./strace-static-x86_64: Process 5937 attached ./strace-static-x86_64: Process 5936 attached [pid 5935] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5937] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5936] set_robust_list(0x5555558636a0, 24 [pid 5935] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5937] <... rseq resumed>) = 0 [pid 5936] <... set_robust_list resumed>) = 0 [pid 5935] <... futex resumed>) = 0 [pid 5937] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5936] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5935] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5937] <... set_robust_list resumed>) = 0 [pid 5936] <... prctl resumed>) = 0 [pid 5937] rt_sigprocmask(SIG_SETMASK, [], [pid 5936] setpgid(0, 0 [pid 5937] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5936] <... setpgid resumed>) = 0 [pid 5937] memfd_create("syzkaller", 0 [pid 5936] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5937] <... memfd_create resumed>) = 3 [pid 5936] <... openat resumed>) = 3 [pid 5937] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5936] write(3, "1000", 4 [pid 5937] <... mmap resumed>) = 0x7f4e2554e000 [pid 5936] <... write resumed>) = 4 [pid 5936] close(3 [pid 5933] <... munmap resumed>) = 0 [pid 5936] <... close resumed>) = 0 [pid 5936] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5936] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5936] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5933] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5936] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5933] <... openat resumed>) = 4 [pid 5936] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5933] ioctl(4, LOOP_SET_FD, 3 [pid 5936] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5933] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5927] <... ioctl resumed>) = 0 [pid 5936] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5933] ioctl(4, LOOP_CLR_FD) = 0 [pid 5936] <... clone3 resumed> => {parent_tid=[5938]}, 88) = 5938 [pid 5936] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5936] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5936] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5933] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5933] close(4./strace-static-x86_64: Process 5938 attached ) = 0 [pid 5927] close(4 [pid 5938] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5933] close(3 [pid 5927] <... close resumed>) = 0 [pid 5938] <... rseq resumed>) = 0 [pid 5927] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5938] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5927] <... futex resumed>) = 1 [pid 5926] <... futex resumed>) = 0 [pid 5938] <... set_robust_list resumed>) = 0 [pid 5927] open("./file0", O_RDONLY [pid 5926] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5938] rt_sigprocmask(SIG_SETMASK, [], [pid 5927] <... open resumed>) = 3 [pid 5926] <... futex resumed>) = 0 [pid 5938] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5927] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [ 119.371053][ T5922] BTRFS info (device loop2): 2 enospc errors during balance [ 119.400932][ T5922] BTRFS info (device loop2): balance: ended with status: -28 [pid 5926] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5938] memfd_create("syzkaller", 0 [pid 5927] <... futex resumed>) = 0 [pid 5926] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5938] <... memfd_create resumed>) = 3 [pid 5927] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5926] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5938] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5927] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5926] <... futex resumed>) = 0 [pid 5938] <... mmap resumed>) = 0x7f4e2554e000 [pid 5927] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5926] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5927] <... ioctl resumed>) = 0 [pid 5927] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5926] <... futex resumed>) = 0 [pid 5927] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5926] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5927] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5926] <... futex resumed>) = 0 [pid 5927] ioctl(3, 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 5926] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5922] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5922] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5922] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5919] exit_group(0 [pid 5934] <... futex resumed>) = ? [pid 5922] <... futex resumed>) = ? [pid 5919] <... exit_group resumed>) = ? [pid 5934] +++ exited with 0 +++ [pid 5922] +++ exited with 0 +++ [pid 5919] +++ exited with 0 +++ [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5919, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5026] close(3) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5940 ./strace-static-x86_64: Process 5940 attached [pid 5940] set_robust_list(0x5555558636a0, 24) = 0 [pid 5940] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5926] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5940] setpgid(0, 0 [pid 5926] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5940] <... setpgid resumed>) = 0 [pid 5926] <... futex resumed>) = 0 [pid 5940] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5926] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5940] <... openat resumed>) = 3 [pid 5926] <... mmap resumed>) = 0x7f4e2652d000 [pid 5940] write(3, "1000", 4 [pid 5926] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5940] <... write resumed>) = 4 [pid 5926] <... mprotect resumed>) = 0 [pid 5940] close(3 [pid 5926] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5940] <... close resumed>) = 0 [pid 5926] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5940] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5926] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5940] <... futex resumed>) = 0 [pid 5940] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5926] <... clone3 resumed> => {parent_tid=[5941]}, 88) = 5941 [pid 5940] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5926] rt_sigprocmask(SIG_SETMASK, [], [pid 5940] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5926] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5940] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 119.472539][ T5927] BTRFS info (device loop2): balance: start -d -m [ 119.493702][ T5927] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5926] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5940] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5926] <... futex resumed>) = 0 [pid 5940] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5926] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5941 attached [pid 5940] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5941] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5940] <... mprotect resumed>) = 0 [pid 5941] <... rseq resumed>) = 0 [pid 5940] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5941] set_robust_list(0x7f4e2654d9a0, 24 [pid 5940] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5941] <... set_robust_list resumed>) = 0 [pid 5940] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5941] rt_sigprocmask(SIG_SETMASK, [], [pid 5940] <... clone3 resumed> => {parent_tid=[5942]}, 88) = 5942 [pid 5940] rt_sigprocmask(SIG_SETMASK, [], [pid 5941] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5940] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5941] open("./file0", O_RDONLY [pid 5940] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5941] <... open resumed>) = 4 [pid 5940] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5942 attached [pid 5941] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5940] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5942] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5941] <... futex resumed>) = 1 [pid 5926] <... futex resumed>) = 0 [pid 5942] <... rseq resumed>) = 0 [pid 5941] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5926] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5942] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5941] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5926] <... futex resumed>) = 0 [pid 5942] <... set_robust_list resumed>) = 0 [pid 5941] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5926] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5942] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5942] memfd_create("syzkaller", 0) = 3 [pid 5941] <... ioctl resumed>) = 0 [pid 5941] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5926] <... futex resumed>) = 0 [pid 5941] <... futex resumed>) = 1 [pid 5942] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5941] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5942] <... mmap resumed>) = 0x7f4e2554e000 [ 119.550401][ T5927] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5929] <... ioctl resumed>) = 0 [pid 5929] close(4) = 0 [pid 5929] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5928] <... futex resumed>) = 0 [pid 5929] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5928] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5929] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5928] <... futex resumed>) = 0 [pid 5929] open("./file0", O_RDONLY [pid 5928] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5929] <... open resumed>) = 3 [pid 5929] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5928] <... futex resumed>) = 0 [pid 5929] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5928] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5929] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5928] <... futex resumed>) = 0 [pid 5929] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5928] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5929] <... ioctl resumed>) = 0 [pid 5929] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5928] <... futex resumed>) = 0 [pid 5929] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5928] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5929] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5928] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 119.614988][ T5927] BTRFS info (device loop2): 2 enospc errors during balance [pid 5929] ioctl(3, 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 5933] <... close resumed>) = 0 [pid 5929] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5933] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5929] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5933] <... futex resumed>) = 1 [pid 5931] <... futex resumed>) = 0 [pid 5929] <... futex resumed>) = 1 [pid 5928] <... futex resumed>) = 0 [pid 5933] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5931] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5929] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5928] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5933] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5931] <... futex resumed>) = 0 [pid 5929] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5928] <... futex resumed>) = 0 [pid 5933] open("./file0", O_RDONLY [pid 5931] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5929] open("./file0", O_RDONLY [pid 5928] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5933] <... open resumed>) = 3 [pid 5929] <... open resumed>) = 4 [pid 5933] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5929] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5933] <... futex resumed>) = 1 [pid 5931] <... futex resumed>) = 0 [pid 5929] <... futex resumed>) = 1 [pid 5928] <... futex resumed>) = 0 [pid 5933] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5931] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5929] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5928] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5933] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5931] <... futex resumed>) = 0 [pid 5929] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5928] <... futex resumed>) = 0 [pid 5933] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5931] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5929] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5928] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5933] <... ioctl resumed>) = 0 [pid 5933] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5931] <... futex resumed>) = 0 [pid 5933] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5931] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5933] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5931] <... futex resumed>) = 0 [pid 5933] ioctl(3, 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 5931] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5929] <... ioctl resumed>) = 0 [pid 5929] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5929] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5928] <... futex resumed>) = 0 [pid 5928] exit_group(0 [pid 5933] <... 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}}) = 8 [pid 5929] <... futex resumed>) = ? [pid 5928] <... exit_group resumed>) = ? [pid 5927] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5933] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5929] +++ exited with 0 +++ [pid 5927] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5933] <... futex resumed>) = 1 [pid 5931] <... futex resumed>) = 0 [pid 5928] +++ exited with 0 +++ [pid 5927] <... futex resumed>) = 0 [ 119.666701][ T5927] BTRFS info (device loop2): balance: ended with status: -28 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5928, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=25 /* 0.25 s */} --- [pid 5933] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5931] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5927] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5926] exit_group(0 [pid 5933] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5931] <... futex resumed>) = 0 [pid 5941] <... futex resumed>) = ? [pid 5926] <... exit_group resumed>) = ? [pid 5941] +++ exited with 0 +++ [pid 5933] open("./file0", O_RDONLY [pid 5931] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5927] <... futex resumed>) = ? [pid 5933] <... open resumed>) = 4 [pid 5927] +++ exited with 0 +++ [pid 5926] +++ exited with 0 +++ [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5933] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5931] <... futex resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5926, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=30 /* 0.30 s */} --- [pid 5021] <... openat resumed>) = 3 [pid 5933] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5931] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5933] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5931] <... futex resumed>) = 0 [pid 5027] <... openat resumed>) = 3 [pid 5933] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5931] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5933] <... ioctl resumed>) = 0 [pid 5021] close(3 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5933] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] close(3 [pid 5021] <... close resumed>) = 0 [pid 5933] <... futex resumed>) = 1 [pid 5931] <... futex resumed>) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5027] <... close resumed>) = 0 [pid 5931] exit_group(0 [pid 5933] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL) = ? [pid 5931] <... exit_group resumed>) = ? [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5933] +++ exited with 0 +++ [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 5943 [pid 5931] +++ exited with 0 +++ [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 5944 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5931, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5945 ./strace-static-x86_64: Process 5943 attached ./strace-static-x86_64: Process 5944 attached [pid 5943] set_robust_list(0x5555558636a0, 24./strace-static-x86_64: Process 5945 attached [pid 5944] set_robust_list(0x5555558636a0, 24 [pid 5943] <... set_robust_list resumed>) = 0 [pid 5945] set_robust_list(0x5555558636a0, 24 [pid 5944] <... set_robust_list resumed>) = 0 [pid 5943] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5945] <... set_robust_list resumed>) = 0 [pid 5944] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5943] <... prctl resumed>) = 0 [pid 5945] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5944] <... prctl resumed>) = 0 [pid 5945] <... prctl resumed>) = 0 [pid 5944] setpgid(0, 0 [pid 5943] setpgid(0, 0 [pid 5945] setpgid(0, 0 [pid 5944] <... setpgid resumed>) = 0 [pid 5943] <... setpgid resumed>) = 0 [pid 5945] <... setpgid resumed>) = 0 [pid 5944] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5943] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5945] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5944] <... openat resumed>) = 3 [pid 5943] <... openat resumed>) = 3 [pid 5945] <... openat resumed>) = 3 [pid 5944] write(3, "1000", 4 [pid 5943] write(3, "1000", 4 [pid 5945] write(3, "1000", 4 [pid 5944] <... write resumed>) = 4 [pid 5943] <... write resumed>) = 4 [pid 5945] <... write resumed>) = 4 [pid 5944] close(3 [pid 5943] close(3 [pid 5945] close(3 [pid 5944] <... close resumed>) = 0 [pid 5943] <... close resumed>) = 0 [pid 5945] <... close resumed>) = 0 [pid 5944] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5943] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5945] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5944] <... futex resumed>) = 0 [pid 5943] <... futex resumed>) = 0 [pid 5945] <... futex resumed>) = 0 [pid 5944] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5943] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5945] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5944] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5943] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5945] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5944] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5943] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5945] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5944] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5943] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5945] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5944] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5943] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5945] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5944] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5943] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5945] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5944] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5943] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5945] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5944] <... mprotect resumed>) = 0 [pid 5943] <... mprotect resumed>) = 0 [pid 5945] <... mprotect resumed>) = 0 [pid 5944] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5943] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5937] 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 5945] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5944] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5943] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5945] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5944] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5943] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5945] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5944] <... clone3 resumed> => {parent_tid=[5946]}, 88) = 5946 [pid 5943] <... clone3 resumed> => {parent_tid=[5947]}, 88) = 5947 [pid 5945] <... clone3 resumed> => {parent_tid=[5948]}, 88) = 5948 [pid 5944] rt_sigprocmask(SIG_SETMASK, [], [pid 5943] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 5947 attached [pid 5945] rt_sigprocmask(SIG_SETMASK, [], [pid 5944] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5943] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5945] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5944] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5943] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5947] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5945] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5944] <... futex resumed>) = 0 [pid 5943] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5948 attached ./strace-static-x86_64: Process 5946 attached [pid 5947] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5945] <... futex resumed>) = 0 [pid 5944] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5943] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5948] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5947] <... set_robust_list resumed>) = 0 [pid 5946] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5945] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5948] <... rseq resumed>) = 0 [pid 5947] rt_sigprocmask(SIG_SETMASK, [], [pid 5946] <... rseq resumed>) = 0 [pid 5947] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5948] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5946] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5948] <... set_robust_list resumed>) = 0 [pid 5947] memfd_create("syzkaller", 0 [pid 5946] <... set_robust_list resumed>) = 0 [pid 5948] rt_sigprocmask(SIG_SETMASK, [], [pid 5947] <... memfd_create resumed>) = 3 [pid 5946] rt_sigprocmask(SIG_SETMASK, [], [pid 5948] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5947] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5946] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5948] memfd_create("syzkaller", 0 [pid 5947] <... mmap resumed>) = 0x7f4e2554e000 [pid 5946] memfd_create("syzkaller", 0 [pid 5948] <... memfd_create resumed>) = 3 [pid 5946] <... memfd_create resumed>) = 3 [pid 5948] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5946] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5948] <... mmap resumed>) = 0x7f4e2554e000 [pid 5946] <... mmap resumed>) = 0x7f4e2554e000 [pid 5938] 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 5942] 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 5948] 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 5947] 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 5937] <... write resumed>) = 16777216 [pid 5937] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5937] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5937] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5946] 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 5937] close(3) = 0 [pid 5937] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5937] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5938] <... write resumed>) = 16777216 [pid 5938] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5938] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [ 120.227866][ T5937] loop0: detected capacity change from 0 to 32768 [ 120.260673][ T5937] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5937) [pid 5938] ioctl(4, LOOP_SET_FD, 3 [pid 5937] <... mount resumed>) = -1 EEXIST (File exists) [pid 5937] ioctl(4, LOOP_CLR_FD [pid 5938] <... ioctl resumed>) = 0 [pid 5938] close(3) = 0 [pid 5938] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5938] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5942] <... write resumed>) = 16777216 [pid 5942] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5942] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5942] ioctl(4, LOOP_SET_FD, 3 [pid 5938] <... mount resumed>) = -1 EEXIST (File exists) [ 120.303120][ T5938] loop3: detected capacity change from 0 to 32768 [ 120.323201][ T5938] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5938) [pid 5938] ioctl(4, LOOP_CLR_FD [pid 5942] <... ioctl resumed>) = 0 [pid 5942] close(3) = 0 [pid 5942] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5942] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 120.379217][ T5942] loop4: detected capacity change from 0 to 32768 [ 120.410637][ T5942] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5942) [pid 5942] ioctl(4, LOOP_CLR_FD [pid 5948] <... write resumed>) = 16777216 [pid 5948] munmap(0x7f4e2554e000, 16777216 [pid 5946] <... write resumed>) = 16777216 [pid 5946] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5946] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5947] <... write resumed>) = 16777216 [pid 5946] <... openat resumed>) = 4 [pid 5946] ioctl(4, LOOP_SET_FD, 3 [pid 5948] <... munmap resumed>) = 0 [pid 5946] <... ioctl resumed>) = 0 [pid 5948] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5948] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5948] ioctl(4, LOOP_CLR_FD) = 0 [pid 5947] munmap(0x7f4e2554e000, 16777216 [pid 5948] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5948] close(4) = 0 [pid 5946] close(3) = 0 [pid 5946] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5946] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5948] close(3 [pid 5947] <... munmap resumed>) = 0 [pid 5947] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [ 120.546514][ T5946] loop5: detected capacity change from 0 to 32768 [ 120.575882][ T5946] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5946) [pid 5947] ioctl(4, LOOP_SET_FD, 3 [pid 5937] <... ioctl resumed>) = 0 [pid 5938] <... ioctl resumed>) = 0 [pid 5938] close(4) = 0 [pid 5938] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5936] <... futex resumed>) = 0 [pid 5938] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5936] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5938] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5936] <... futex resumed>) = 0 [pid 5938] open("./file0", O_RDONLY [pid 5936] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5938] <... open resumed>) = 3 [pid 5938] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5936] <... futex resumed>) = 0 [pid 5938] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5936] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5938] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5936] <... futex resumed>) = 0 [pid 5938] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5937] close(4 [pid 5936] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5947] <... ioctl resumed>) = 0 [pid 5938] <... ioctl resumed>) = 0 [pid 5937] <... close resumed>) = 0 [pid 5947] close(3 [pid 5946] <... mount resumed>) = -1 EEXIST (File exists) [pid 5938] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5947] <... close resumed>) = 0 [pid 5946] ioctl(4, LOOP_CLR_FD [pid 5938] <... futex resumed>) = 1 [pid 5936] <... futex resumed>) = 0 [pid 5947] mkdir("./file0", 0777 [pid 5938] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5936] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5947] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5938] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5936] <... futex resumed>) = 0 [pid 5947] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 120.598504][ T5947] loop1: detected capacity change from 0 to 32768 [ 120.633016][ T5938] BTRFS info (device loop2): balance: start -d -m [pid 5938] ioctl(3, 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 5936] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5937] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5935] <... futex resumed>) = 0 [pid 5937] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5935] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5935] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5937] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5937] open("./file0", O_RDONLY) = 3 [pid 5937] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5935] <... futex resumed>) = 0 [pid 5937] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5935] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5937] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5935] <... futex resumed>) = 0 [pid 5937] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5935] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5937] <... ioctl resumed>) = 0 [pid 5937] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5935] <... futex resumed>) = 0 [pid 5937] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5935] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5937] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5935] <... futex resumed>) = 0 [pid 5937] ioctl(3, 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 5935] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5937] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5937] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5935] <... futex resumed>) = 0 [pid 5937] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5935] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5937] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5935] <... futex resumed>) = 0 [pid 5937] open("./file0", O_RDONLY [pid 5935] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5937] <... open resumed>) = 4 [pid 5937] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5935] <... futex resumed>) = 0 [pid 5937] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5936] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5935] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5936] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5935] <... futex resumed>) = 0 [pid 5936] <... futex resumed>) = 0 [pid 5935] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5937] <... ioctl resumed>) = 0 [pid 5936] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5942] <... ioctl resumed>) = 0 [pid 5937] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5936] <... mmap resumed>) = 0x7f4e2652d000 [pid 5942] close(4 [pid 5937] <... futex resumed>) = 1 [pid 5936] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5935] <... futex resumed>) = 0 [pid 5942] <... close resumed>) = 0 [pid 5936] <... mprotect resumed>) = 0 [pid 5935] exit_group(0 [pid 5947] <... mount resumed>) = -1 EEXIST (File exists) [pid 5936] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5935] <... exit_group resumed>) = ? [pid 5947] ioctl(4, LOOP_CLR_FD [pid 5936] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5936] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5950]}, 88) = 5950 [ 120.640301][ T5947] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5947) [ 120.666798][ T5938] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5936] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5936] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5936] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5950 attached [pid 5950] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5948] <... close resumed>) = 0 [pid 5942] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5937] +++ exited with 0 +++ [pid 5935] +++ exited with 0 +++ [pid 5948] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5942] <... futex resumed>) = 1 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5935, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=25 /* 0.25 s */} --- [pid 5948] <... futex resumed>) = 1 [pid 5942] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5948] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5950] set_robust_list(0x7f4e2654d9a0, 24 [pid 5945] <... futex resumed>) = 0 [pid 5940] <... futex resumed>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5950] <... set_robust_list resumed>) = 0 [pid 5945] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5940] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... openat resumed>) = 3 [pid 5950] rt_sigprocmask(SIG_SETMASK, [], [pid 5948] <... futex resumed>) = 0 [pid 5945] <... futex resumed>) = 1 [pid 5942] <... futex resumed>) = 0 [pid 5940] <... futex resumed>) = 1 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 5950] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5948] open("./file0", O_RDONLY [pid 5945] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5942] open("./file0", O_RDONLY [pid 5940] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5950] open("./file0", O_RDONLY [pid 5948] <... open resumed>) = 3 [pid 5942] <... open resumed>) = 3 [pid 5020] close(3 [pid 5950] <... open resumed>) = 4 [pid 5948] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5942] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5950] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... close resumed>) = 0 [pid 5950] <... futex resumed>) = 1 [pid 5936] <... futex resumed>) = 0 [pid 5950] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5936] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5950] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5936] <... futex resumed>) = 0 [pid 5950] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5936] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5948] <... futex resumed>) = 1 [pid 5945] <... futex resumed>) = 0 [pid 5942] <... futex resumed>) = 1 [pid 5940] <... futex resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5950] <... ioctl resumed>) = 0 [pid 5948] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5945] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5942] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5940] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5950] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5948] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5945] <... futex resumed>) = 0 [pid 5942] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5940] <... futex resumed>) = 0 [pid 5950] <... futex resumed>) = 1 [pid 5948] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5945] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5942] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5940] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5936] <... futex resumed>) = 0 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 5951 [pid 5950] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5948] <... ioctl resumed>) = 0 [pid 5942] <... ioctl resumed>) = 0 [pid 5948] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5942] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5948] <... futex resumed>) = 1 [pid 5945] <... futex resumed>) = 0 [pid 5942] <... futex resumed>) = 1 [pid 5940] <... futex resumed>) = 0 [pid 5948] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5945] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5942] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5940] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5951 attached [pid 5948] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5945] <... futex resumed>) = 0 [pid 5940] <... futex resumed>) = 0 [ 120.737442][ T5938] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5945] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5940] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5951] set_robust_list(0x5555558636a0, 24 [pid 5948] ioctl(3, 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 5942] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5951] <... set_robust_list resumed>) = 0 [pid 5942] ioctl(3, 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 5951] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5951] setpgid(0, 0) = 0 [pid 5951] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5951] write(3, "1000", 4) = 4 [pid 5951] close(3) = 0 [pid 5951] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5951] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5945] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5951] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5945] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5951] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5945] <... futex resumed>) = 0 [pid 5951] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5945] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5951] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5945] <... mmap resumed>) = 0x7f4e2652d000 [pid 5951] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5945] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5951] <... mprotect resumed>) = 0 [pid 5945] <... mprotect resumed>) = 0 [pid 5951] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5945] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5951] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5945] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5951] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5945] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5951] <... clone3 resumed> => {parent_tid=[5952]}, 88) = 5952 [pid 5945] <... clone3 resumed> => {parent_tid=[5953]}, 88) = 5953 [pid 5951] rt_sigprocmask(SIG_SETMASK, [], [pid 5945] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 5952 attached [pid 5951] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5945] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 5953 attached [ 120.786237][ T5938] BTRFS info (device loop2): 2 enospc errors during balance [ 120.794168][ T5938] BTRFS info (device loop2): balance: ended with status: -28 [pid 5952] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5951] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5945] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5953] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5952] <... rseq resumed>) = 0 [pid 5951] <... futex resumed>) = 0 [pid 5945] <... futex resumed>) = 0 [pid 5953] <... rseq resumed>) = 0 [pid 5952] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5951] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5945] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5953] set_robust_list(0x7f4e2654d9a0, 24 [pid 5952] <... set_robust_list resumed>) = 0 [pid 5953] <... set_robust_list resumed>) = 0 [pid 5952] rt_sigprocmask(SIG_SETMASK, [], [pid 5953] rt_sigprocmask(SIG_SETMASK, [], [pid 5952] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5940] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5953] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5940] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5953] open("./file0", O_RDONLY [pid 5952] memfd_create("syzkaller", 0 [pid 5940] <... futex resumed>) = 0 [pid 5953] <... open resumed>) = 4 [pid 5952] <... memfd_create resumed>) = 3 [pid 5940] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5953] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5952] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5940] <... mmap resumed>) = 0x7f4e2652d000 [pid 5953] <... futex resumed>) = 1 [pid 5952] <... mmap resumed>) = 0x7f4e2554e000 [pid 5945] <... futex resumed>) = 0 [pid 5940] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5953] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5945] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5940] <... mprotect resumed>) = 0 [pid 5953] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5945] <... futex resumed>) = 0 [pid 5940] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5953] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5945] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5940] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5940] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5953] <... ioctl resumed>) = 0 [pid 5953] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5940] <... clone3 resumed> => {parent_tid=[5954]}, 88) = 5954 [pid 5953] <... futex resumed>) = 1 [pid 5945] <... futex resumed>) = 0 [pid 5940] rt_sigprocmask(SIG_SETMASK, [], [pid 5953] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5940] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5940] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 5954 attached [pid 5940] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5954] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5954] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5954] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5954] open("./file0", O_RDONLY) = 4 [pid 5954] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5948] <... ioctl resumed> => {flags=0, state=0xef0000 /* BTRFS_BALANCE_STATE_??? */}) = 8 [pid 5942] <... 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}}) = 8 [pid 5940] <... futex resumed>) = 0 [pid 5938] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5954] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5948] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5942] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5940] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5938] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5948] <... futex resumed>) = 0 [pid 5946] <... ioctl resumed>) = 0 [pid 5945] exit_group(0 [pid 5942] <... futex resumed>) = 0 [pid 5940] <... futex resumed>) = 0 [pid 5938] <... futex resumed>) = 0 [pid 5936] exit_group(0 [pid 5953] <... futex resumed>) = ? [pid 5950] <... futex resumed>) = ? [pid 5945] <... exit_group resumed>) = ? [pid 5942] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5940] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5936] <... exit_group resumed>) = ? [pid 5953] +++ exited with 0 +++ [pid 5950] +++ exited with 0 +++ [pid 5948] +++ exited with 0 +++ [pid 5946] close(4 [pid 5945] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5945, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=22 /* 0.22 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5938] +++ exited with 0 +++ [pid 5936] +++ exited with 0 +++ [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5936, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=24 /* 0.24 s */} --- [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3 [pid 5942] <... ioctl resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5022] <... close resumed>) = 0 [pid 5946] <... close resumed>) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5946] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5944] <... futex resumed>) = 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 5955 [pid 5946] open("./file0", O_RDONLY [pid 5944] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5946] <... open resumed>) = 3 [pid 5944] <... futex resumed>) = 0 [pid 5946] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5944] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5942] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... openat resumed>) = 3 [pid 5946] <... futex resumed>) = 0 [pid 5944] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5942] <... futex resumed>) = 1 [pid 5940] <... futex resumed>) = 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5946] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5944] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5942] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5940] exit_group(0./strace-static-x86_64: Process 5955 attached [pid 5954] <... futex resumed>) = ? [pid 5946] <... ioctl resumed>) = 0 [pid 5944] <... futex resumed>) = 0 [pid 5942] <... futex resumed>) = ? [pid 5940] <... exit_group resumed>) = ? [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5954] +++ exited with 0 +++ [pid 5946] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5944] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5946] <... futex resumed>) = 0 [pid 5944] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5946] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5944] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5942] +++ exited with 0 +++ [pid 5940] +++ exited with 0 +++ [pid 5025] close(3 [pid 5955] set_robust_list(0x5555558636a0, 24 [pid 5946] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5944] <... futex resumed>) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5940, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- [pid 5025] <... close resumed>) = 0 [pid 5955] <... set_robust_list resumed>) = 0 [pid 5946] ioctl(3, 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 5944] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5955] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5026] <... restart_syscall resumed>) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5955] <... prctl resumed>) = 0 [pid 5026] <... openat resumed>) = 3 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5957 [pid 5955] setpgid(0, 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5955] <... setpgid resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 5957 attached [pid 5955] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5026] close(3 [pid 5957] set_robust_list(0x5555558636a0, 24 [pid 5955] <... openat resumed>) = 3 [pid 5026] <... close resumed>) = 0 [pid 5957] <... set_robust_list resumed>) = 0 [pid 5955] write(3, "1000", 4 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5957] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5955] <... write resumed>) = 4 [pid 5957] <... prctl resumed>) = 0 [pid 5955] close(3 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 5958 [pid 5957] setpgid(0, 0 [pid 5955] <... close resumed>) = 0 [pid 5957] <... setpgid resumed>) = 0 [pid 5955] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5957] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5955] <... futex resumed>) = 0 ./strace-static-x86_64: Process 5958 attached [pid 5957] <... openat resumed>) = 3 [pid 5955] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5957] write(3, "1000", 4 [pid 5955] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5958] set_robust_list(0x5555558636a0, 24 [pid 5957] <... write resumed>) = 4 [pid 5958] <... set_robust_list resumed>) = 0 [pid 5957] close(3 [pid 5955] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5958] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5957] <... close resumed>) = 0 [pid 5955] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5958] <... prctl resumed>) = 0 [pid 5957] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5955] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5958] setpgid(0, 0 [pid 5957] <... futex resumed>) = 0 [pid 5955] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5957] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5955] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5958] <... setpgid resumed>) = 0 [pid 5958] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5957] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5955] <... mprotect resumed>) = 0 [pid 5958] <... openat resumed>) = 3 [pid 5957] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5955] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5958] write(3, "1000", 4 [pid 5957] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5955] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5958] <... write resumed>) = 4 [pid 5957] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5955] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5958] close(3) = 0 [pid 5957] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5958] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5957] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5955] <... clone3 resumed> => {parent_tid=[5959]}, 88) = 5959 [pid 5958] <... futex resumed>) = 0 [pid 5957] <... mprotect resumed>) = 0 [pid 5955] rt_sigprocmask(SIG_SETMASK, [], [ 120.956694][ T5946] BTRFS info (device loop2): balance: start -d -m [ 120.963456][ T5946] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5958] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5957] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5955] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5947] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 5959 attached [pid 5958] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5957] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5955] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5944] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5959] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5958] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5957] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5955] <... futex resumed>) = 0 [pid 5944] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5959] <... rseq resumed>) = 0 [pid 5958] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5955] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5944] <... futex resumed>) = 0 [pid 5959] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5958] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5957] <... clone3 resumed> => {parent_tid=[5960]}, 88) = 5960 [pid 5947] close(4 [pid 5944] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0./strace-static-x86_64: Process 5960 attached [pid 5959] <... set_robust_list resumed>) = 0 [pid 5958] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5957] rt_sigprocmask(SIG_SETMASK, [], [pid 5947] <... close resumed>) = 0 [pid 5944] <... mmap resumed>) = 0x7f4e2652d000 [pid 5960] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5959] rt_sigprocmask(SIG_SETMASK, [], [pid 5958] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5957] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5947] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5944] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5960] <... rseq resumed>) = 0 [pid 5959] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5958] <... mprotect resumed>) = 0 [pid 5957] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5947] <... futex resumed>) = 1 [pid 5944] <... mprotect resumed>) = 0 [pid 5943] <... futex resumed>) = 0 [pid 5960] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5959] memfd_create("syzkaller", 0 [pid 5958] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5957] <... futex resumed>) = 0 [pid 5947] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5944] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5943] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5960] <... set_robust_list resumed>) = 0 [pid 5959] <... memfd_create resumed>) = 3 [pid 5958] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5957] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5947] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5944] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5943] <... futex resumed>) = 0 [pid 5960] rt_sigprocmask(SIG_SETMASK, [], [pid 5959] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5958] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5947] open("./file0", O_RDONLY [pid 5944] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5943] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5960] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5959] <... mmap resumed>) = 0x7f4e2554e000 [pid 5947] <... open resumed>) = 3 [pid 5960] memfd_create("syzkaller", 0 [pid 5958] <... clone3 resumed> => {parent_tid=[5961]}, 88) = 5961 [pid 5947] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5944] <... clone3 resumed> => {parent_tid=[5962]}, 88) = 5962 [pid 5958] rt_sigprocmask(SIG_SETMASK, [], [pid 5947] <... futex resumed>) = 1 [pid 5944] rt_sigprocmask(SIG_SETMASK, [], [pid 5943] <... futex resumed>) = 0 [pid 5960] <... memfd_create resumed>) = 3 [pid 5958] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5947] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5944] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5943] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5962 attached [pid 5960] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5958] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5947] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5944] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5943] <... futex resumed>) = 0 [pid 5962] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5960] <... mmap resumed>) = 0x7f4e2554e000 [pid 5958] <... futex resumed>) = 0 [pid 5947] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5944] <... futex resumed>) = 0 [pid 5943] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5962] <... rseq resumed>) = 0 [pid 5958] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5947] <... ioctl resumed>) = 0 [pid 5944] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5962] set_robust_list(0x7f4e2654d9a0, 24 [pid 5947] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5962] <... set_robust_list resumed>) = 0 [pid 5947] <... futex resumed>) = 1 [pid 5943] <... futex resumed>) = 0 [pid 5962] rt_sigprocmask(SIG_SETMASK, [], [pid 5947] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5943] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5962] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5947] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5943] <... futex resumed>) = 0 [pid 5962] open("./file0", O_RDONLY [pid 5947] ioctl(3, 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 5943] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5962] <... open resumed>) = 4 [pid 5947] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5962] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5947] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5962] <... futex resumed>) = 1 [pid 5947] <... futex resumed>) = 1 [pid 5944] <... futex resumed>) = 0 [pid 5943] <... futex resumed>) = 0 [pid 5962] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5947] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5944] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5943] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5962] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5947] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 121.040811][ T5946] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5944] <... futex resumed>) = 0 [pid 5943] <... futex resumed>) = 0 [pid 5962] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5947] open("./file0", O_RDONLY [pid 5944] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5943] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5962] <... ioctl resumed>) = 0 [pid 5947] <... open resumed>) = 4 [pid 5962] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5947] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5961 attached [pid 5962] <... futex resumed>) = 1 [pid 5952] 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 5947] <... futex resumed>) = 1 [pid 5944] <... futex resumed>) = 0 [pid 5943] <... futex resumed>) = 0 [pid 5962] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5961] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5947] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5943] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5961] <... rseq resumed>) = 0 [pid 5947] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5943] <... futex resumed>) = 0 [pid 5961] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5947] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5943] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5961] <... set_robust_list resumed>) = 0 [pid 5947] <... ioctl resumed>) = 0 [pid 5961] rt_sigprocmask(SIG_SETMASK, [], [pid 5947] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5961] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5947] <... futex resumed>) = 1 [pid 5943] <... futex resumed>) = 0 [pid 5961] memfd_create("syzkaller", 0 [pid 5947] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5943] exit_group(0 [pid 5947] <... futex resumed>) = ? [pid 5943] <... exit_group resumed>) = ? [pid 5961] <... memfd_create resumed>) = 3 [pid 5947] +++ exited with 0 +++ [pid 5943] +++ exited with 0 +++ [pid 5961] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5943, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=23 /* 0.23 s */} --- [pid 5961] <... mmap resumed>) = 0x7f4e2554e000 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5963 ./strace-static-x86_64: Process 5963 attached [pid 5946] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5963] set_robust_list(0x5555558636a0, 24) = 0 [pid 5946] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5944] exit_group(0 [pid 5963] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5962] <... futex resumed>) = ? [pid 5946] <... futex resumed>) = ? [pid 5944] <... exit_group resumed>) = ? [pid 5963] <... prctl resumed>) = 0 [ 121.107728][ T5946] BTRFS info (device loop2): 2 enospc errors during balance [ 121.115099][ T5946] BTRFS info (device loop2): balance: ended with status: -28 [pid 5962] +++ exited with 0 +++ [pid 5946] +++ exited with 0 +++ [pid 5944] +++ exited with 0 +++ [pid 5963] setpgid(0, 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5944, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=26 /* 0.26 s */} --- [pid 5963] <... setpgid resumed>) = 0 [pid 5963] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 5963] <... openat resumed>) = 3 [pid 5027] <... restart_syscall resumed>) = 0 [pid 5963] write(3, "1000", 4) = 4 [pid 5963] close(3) = 0 [pid 5963] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5963] <... futex resumed>) = 0 [pid 5963] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5027] <... openat resumed>) = 3 [pid 5963] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5963] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5963] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] close(3 [pid 5963] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5027] <... close resumed>) = 0 [pid 5963] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5963] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5963] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 5964 [pid 5963] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5965]}, 88) = 5965 [pid 5963] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 5964 attached NULL, 8) = 0 [pid 5964] set_robust_list(0x5555558636a0, 24 [pid 5963] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5964] <... set_robust_list resumed>) = 0 [pid 5963] <... futex resumed>) = 0 [pid 5964] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5963] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5964] <... prctl resumed>) = 0 [pid 5964] setpgid(0, 0./strace-static-x86_64: Process 5965 attached ) = 0 [pid 5965] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5964] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5965] <... rseq resumed>) = 0 [pid 5964] <... openat resumed>) = 3 [pid 5965] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5964] write(3, "1000", 4 [pid 5965] <... set_robust_list resumed>) = 0 [pid 5964] <... write resumed>) = 4 [pid 5965] rt_sigprocmask(SIG_SETMASK, [], [pid 5964] close(3 [pid 5965] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5964] <... close resumed>) = 0 [pid 5965] memfd_create("syzkaller", 0 [pid 5964] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5965] <... memfd_create resumed>) = 3 [pid 5964] <... futex resumed>) = 0 [pid 5965] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5964] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5965] <... mmap resumed>) = 0x7f4e2554e000 [pid 5964] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5964] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5964] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5964] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5964] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5964] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5966]}, 88) = 5966 [pid 5964] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5964] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5964] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5966 attached [pid 5966] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5966] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5966] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5966] memfd_create("syzkaller", 0) = 3 [pid 5966] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5959] 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 5960] 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 5965] 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 5966] 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 5961] 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 5952] <... write resumed>) = 16777216 [pid 5952] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5952] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5952] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5952] close(3) = 0 [pid 5952] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 121.625582][ T5952] loop0: detected capacity change from 0 to 32768 [pid 5952] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 121.668897][ T5952] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5952) [pid 5952] ioctl(4, LOOP_CLR_FD [pid 5960] <... write resumed>) = 16777216 [pid 5959] <... write resumed>) = 16777216 [pid 5959] munmap(0x7f4e2554e000, 16777216 [pid 5965] <... write resumed>) = 16777216 [pid 5965] munmap(0x7f4e2554e000, 16777216 [pid 5959] <... munmap resumed>) = 0 [pid 5959] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5959] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5959] ioctl(4, LOOP_CLR_FD) = 0 [pid 5959] ioctl(4, LOOP_SET_FD, 3 [pid 5965] <... munmap resumed>) = 0 [pid 5959] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 5959] close(4 [pid 5965] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5965] ioctl(4, LOOP_SET_FD, 3 [pid 5960] munmap(0x7f4e2554e000, 16777216 [pid 5959] <... close resumed>) = 0 [pid 5960] <... munmap resumed>) = 0 [pid 5959] close(3 [pid 5966] <... write resumed>) = 16777216 [pid 5966] munmap(0x7f4e2554e000, 16777216 [pid 5960] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5960] ioctl(4, LOOP_SET_FD, 3 [pid 5961] <... write resumed>) = 16777216 [pid 5966] <... munmap resumed>) = 0 [pid 5965] <... ioctl resumed>) = 0 [pid 5965] close(3) = 0 [pid 5965] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5965] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 121.865604][ T5965] loop1: detected capacity change from 0 to 32768 [ 121.889402][ T5960] loop3: detected capacity change from 0 to 32768 [pid 5961] munmap(0x7f4e2554e000, 16777216 [pid 5966] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5966] ioctl(4, LOOP_SET_FD, 3 [pid 5961] <... munmap resumed>) = 0 [pid 5960] <... ioctl resumed>) = 0 [pid 5960] close(3) = 0 [pid 5960] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5960] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5961] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 5966] <... ioctl resumed>) = 0 [pid 5966] close(3 [pid 5961] ioctl(4, LOOP_SET_FD, 3 [pid 5966] <... close resumed>) = 0 [pid 5966] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5966] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5952] <... ioctl resumed>) = 0 [pid 5965] <... mount resumed>) = -1 EEXIST (File exists) [pid 5965] ioctl(4, LOOP_CLR_FD [pid 5952] close(4 [pid 5961] <... ioctl resumed>) = 0 [ 121.905342][ T5965] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5965) [ 121.919521][ T5966] loop5: detected capacity change from 0 to 32768 [ 121.935378][ T5961] loop4: detected capacity change from 0 to 32768 [ 121.939336][ T5960] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5960) [pid 5961] close(3 [pid 5952] <... close resumed>) = 0 [pid 5961] <... close resumed>) = 0 [pid 5961] mkdir("./file0", 0777 [pid 5952] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5961] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5952] <... futex resumed>) = 1 [pid 5951] <... futex resumed>) = 0 [pid 5951] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5961] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5952] open("./file0", O_RDONLY [pid 5951] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5952] <... open resumed>) = 3 [pid 5952] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5951] <... futex resumed>) = 0 [pid 5952] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5951] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5952] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5951] <... futex resumed>) = 0 [pid 5952] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5951] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5952] <... ioctl resumed>) = 0 [pid 5952] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5951] <... futex resumed>) = 0 [pid 5952] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5951] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5952] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5951] <... futex resumed>) = 0 [pid 5952] ioctl(3, 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 5951] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5960] <... mount resumed>) = -1 EEXIST (File exists) [pid 5960] ioctl(4, LOOP_CLR_FD [pid 5966] <... mount resumed>) = -1 EEXIST (File exists) [ 121.958051][ T5966] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5966) [ 121.983693][ T5952] BTRFS info (device loop2): balance: start -d -m [ 121.991126][ T5961] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5961) [pid 5966] ioctl(4, LOOP_CLR_FD [pid 5961] <... mount resumed>) = -1 EEXIST (File exists) [pid 5961] ioctl(4, LOOP_CLR_FD [pid 5951] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 122.009517][ T5952] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5951] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5951] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5951] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5951] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5959] <... close resumed>) = 0 [ 122.038558][ T5952] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5959] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5959] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5955] <... futex resumed>) = 0 [pid 5951] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5955] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5955] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5951] <... clone3 resumed> => {parent_tid=[5968]}, 88) = 5968 [pid 5951] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5951] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5951] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5959] <... futex resumed>) = 0 [pid 5959] open("./file0", O_RDONLY) = 3 [pid 5959] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5955] <... futex resumed>) = 0 [pid 5959] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5955] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5959] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5955] <... futex resumed>) = 0 [pid 5959] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5955] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5959] <... ioctl resumed>) = 0 [pid 5959] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5959] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL./strace-static-x86_64: Process 5968 attached [pid 5968] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5968] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5968] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5968] open("./file0", O_RDONLY [pid 5955] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5968] <... open resumed>) = 4 [pid 5955] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5968] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5959] <... futex resumed>) = 0 [pid 5955] <... futex resumed>) = 1 [pid 5968] <... futex resumed>) = 1 [pid 5959] ioctl(3, 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 5951] <... futex resumed>) = 0 [pid 5955] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5968] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5951] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5968] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5951] <... futex resumed>) = 0 [pid 5968] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5951] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5968] <... ioctl resumed>) = 0 [pid 5968] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5951] <... futex resumed>) = 0 [ 122.080518][ T5952] BTRFS info (device loop2): 2 enospc errors during balance [ 122.103744][ T5952] BTRFS info (device loop2): balance: ended with status: -28 [pid 5968] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5959] <... 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}}) = 8 [pid 5952] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5959] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5952] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5959] <... futex resumed>) = 1 [pid 5955] <... futex resumed>) = 0 [pid 5952] <... futex resumed>) = 0 [pid 5959] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5955] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5952] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5951] exit_group(0 [pid 5968] <... futex resumed>) = ? [pid 5959] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5955] <... futex resumed>) = 0 [pid 5952] <... futex resumed>) = ? [pid 5951] <... exit_group resumed>) = ? [pid 5968] +++ exited with 0 +++ [pid 5959] open("./file0", O_RDONLY [pid 5955] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5959] <... open resumed>) = 4 [pid 5959] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5952] +++ exited with 0 +++ [pid 5951] +++ exited with 0 +++ [pid 5959] <... futex resumed>) = 1 [pid 5955] <... futex resumed>) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5951, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=28 /* 0.28 s */} --- [pid 5959] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5955] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 5959] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5955] <... futex resumed>) = 0 [pid 5959] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5955] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] <... restart_syscall resumed>) = 0 [pid 5959] <... ioctl resumed>) = 0 [pid 5959] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5955] <... futex resumed>) = 0 [pid 5959] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5955] exit_group(0 [pid 5959] <... futex resumed>) = ? [pid 5955] <... exit_group resumed>) = ? [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5959] +++ exited with 0 +++ [pid 5955] +++ exited with 0 +++ [pid 5020] <... openat resumed>) = 3 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5955, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=29 /* 0.29 s */} --- [pid 5020] ioctl(3, LOOP_CLR_FD [pid 5022] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5020] close(3 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5020] <... close resumed>) = 0 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5969 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 5971 ./strace-static-x86_64: Process 5969 attached [pid 5969] set_robust_list(0x5555558636a0, 24) = 0 [pid 5969] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5969] setpgid(0, 0) = 0 ./strace-static-x86_64: Process 5971 attached [pid 5969] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5971] set_robust_list(0x5555558636a0, 24) = 0 [pid 5969] <... openat resumed>) = 3 [pid 5966] <... ioctl resumed>) = 0 [pid 5971] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5969] write(3, "1000", 4 [pid 5971] <... prctl resumed>) = 0 [pid 5969] <... write resumed>) = 4 [pid 5965] <... ioctl resumed>) = 0 [pid 5971] setpgid(0, 0 [pid 5969] close(3 [pid 5966] close(4 [pid 5965] close(4 [pid 5961] <... ioctl resumed>) = 0 [pid 5960] <... ioctl resumed>) = 0 [pid 5971] <... setpgid resumed>) = 0 [pid 5969] <... close resumed>) = 0 [pid 5966] <... close resumed>) = 0 [pid 5965] <... close resumed>) = 0 [pid 5961] close(4 [pid 5960] close(4 [pid 5969] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5966] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5965] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5961] <... close resumed>) = 0 [pid 5960] <... close resumed>) = 0 [pid 5969] <... futex resumed>) = 0 [pid 5966] <... futex resumed>) = 1 [pid 5965] <... futex resumed>) = 1 [pid 5964] <... futex resumed>) = 0 [pid 5961] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5960] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5971] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5969] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5966] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5965] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5963] <... futex resumed>) = 0 [pid 5961] <... futex resumed>) = 1 [pid 5960] <... futex resumed>) = 1 [pid 5958] <... futex resumed>) = 0 [pid 5957] <... futex resumed>) = 0 [pid 5964] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5971] <... openat resumed>) = 3 [pid 5969] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5966] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5964] <... futex resumed>) = 0 [pid 5963] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5961] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5960] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5958] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5957] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5971] write(3, "1000", 4 [pid 5969] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5966] open("./file0", O_RDONLY [pid 5965] <... futex resumed>) = 0 [pid 5964] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5963] <... futex resumed>) = 1 [pid 5961] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5960] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5958] <... futex resumed>) = 0 [pid 5957] <... futex resumed>) = 0 [pid 5971] <... write resumed>) = 4 [pid 5969] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5966] <... open resumed>) = 3 [pid 5965] open("./file0", O_RDONLY [pid 5963] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5961] open("./file0", O_RDONLY [pid 5960] open("./file0", O_RDONLY [pid 5958] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5957] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5971] close(3 [pid 5969] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5966] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5965] <... open resumed>) = 3 [pid 5961] <... open resumed>) = 3 [pid 5960] <... open resumed>) = 3 [pid 5971] <... close resumed>) = 0 [pid 5969] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5966] <... futex resumed>) = 1 [pid 5965] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5964] <... futex resumed>) = 0 [pid 5961] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5960] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5971] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5969] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5966] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5965] <... futex resumed>) = 1 [pid 5964] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5963] <... futex resumed>) = 0 [pid 5961] <... futex resumed>) = 1 [pid 5960] <... futex resumed>) = 1 [pid 5958] <... futex resumed>) = 0 [pid 5957] <... futex resumed>) = 0 [pid 5971] <... futex resumed>) = 0 [pid 5969] <... mprotect resumed>) = 0 [pid 5966] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5965] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5964] <... futex resumed>) = 0 [pid 5963] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5961] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5960] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5958] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5957] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5971] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5969] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5966] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5965] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5964] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5963] <... futex resumed>) = 0 [pid 5961] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5960] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5958] <... futex resumed>) = 0 [pid 5957] <... futex resumed>) = 0 [pid 5971] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5969] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5966] <... ioctl resumed>) = 0 [pid 5965] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5963] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5961] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5960] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5958] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5957] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5971] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5969] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5966] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5965] <... ioctl resumed>) = 0 [pid 5961] <... ioctl resumed>) = 0 [pid 5960] <... ioctl resumed>) = 0 [pid 5971] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5966] <... futex resumed>) = 1 [pid 5965] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5964] <... futex resumed>) = 0 [pid 5961] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5960] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5971] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5969] <... clone3 resumed> => {parent_tid=[5972]}, 88) = 5972 [pid 5966] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5965] <... futex resumed>) = 1 [pid 5964] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5963] <... futex resumed>) = 0 [pid 5961] <... futex resumed>) = 1 [pid 5960] <... futex resumed>) = 1 [pid 5958] <... futex resumed>) = 0 [pid 5957] <... futex resumed>) = 0 [pid 5971] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5969] rt_sigprocmask(SIG_SETMASK, [], [pid 5966] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5965] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5964] <... futex resumed>) = 0 [pid 5963] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5961] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5960] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5958] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5957] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5972 attached [pid 5971] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5969] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5966] ioctl(3, 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 5965] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5964] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5963] <... futex resumed>) = 0 [pid 5961] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5960] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5958] <... futex resumed>) = 0 [pid 5957] <... futex resumed>) = 0 [pid 5972] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5971] <... mprotect resumed>) = 0 [pid 5969] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5965] ioctl(3, 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 5963] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5961] ioctl(3, 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 5960] ioctl(3, 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 5958] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5957] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5972] <... rseq resumed>) = 0 [pid 5971] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5972] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5971] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5972] <... set_robust_list resumed>) = 0 [pid 5971] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5972] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5971] <... clone3 resumed> => {parent_tid=[5973]}, 88) = 5973 [pid 5972] memfd_create("syzkaller", 0 [pid 5971] rt_sigprocmask(SIG_SETMASK, [], [pid 5972] <... memfd_create resumed>) = 3 [pid 5971] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5972] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5971] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5972] <... mmap resumed>) = 0x7f4e2554e000 [pid 5971] <... futex resumed>) = 0 [pid 5969] <... futex resumed>) = 0 [pid 5971] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5969] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5965] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5961] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5960] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) ./strace-static-x86_64: Process 5973 attached [pid 5973] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 5973] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5973] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5973] memfd_create("syzkaller", 0) = 3 [pid 5965] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5961] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5960] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5973] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5965] <... futex resumed>) = 1 [pid 5963] <... futex resumed>) = 0 [pid 5961] <... futex resumed>) = 1 [pid 5960] <... futex resumed>) = 1 [pid 5958] <... futex resumed>) = 0 [pid 5957] <... futex resumed>) = 0 [pid 5973] <... mmap resumed>) = 0x7f4e2554e000 [pid 5965] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5963] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5961] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5960] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5958] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5957] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5965] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5963] <... futex resumed>) = 0 [pid 5961] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5960] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5958] <... futex resumed>) = 0 [pid 5963] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5958] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5964] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5964] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5957] <... futex resumed>) = 0 [pid 5965] open("./file0", O_RDONLY [pid 5961] open("./file0", O_RDONLY [pid 5960] open("./file0", O_RDONLY [pid 5965] <... open resumed>) = 4 [pid 5964] <... futex resumed>) = 0 [pid 5961] <... open resumed>) = 4 [pid 5957] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5960] <... open resumed>) = 4 [pid 5965] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5964] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5961] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5960] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5965] <... futex resumed>) = 1 [pid 5964] <... mmap resumed>) = 0x7f4e2652d000 [pid 5963] <... futex resumed>) = 0 [pid 5961] <... futex resumed>) = 1 [pid 5960] <... futex resumed>) = 1 [pid 5958] <... futex resumed>) = 0 [pid 5957] <... futex resumed>) = 0 [pid 5965] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 122.352548][ T5966] BTRFS info (device loop2): balance: start -d -m [ 122.367495][ T5966] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 122.391935][ T5966] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5964] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5963] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5961] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5960] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5958] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5965] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5964] <... mprotect resumed>) = 0 [pid 5963] <... futex resumed>) = 0 [pid 5958] <... futex resumed>) = 0 [pid 5957] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5964] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5963] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5958] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5964] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5964] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5974]}, 88) = 5974 [pid 5964] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5964] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5964] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5974 attached [pid 5974] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5974] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 5965] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5961] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5960] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5957] <... futex resumed>) = 0 [pid 5961] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5960] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5957] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5974] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5974] open("./file0", O_RDONLY [pid 5965] <... ioctl resumed>) = 0 [pid 5974] <... open resumed>) = 4 [pid 5965] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5961] <... ioctl resumed>) = 0 [pid 5960] <... ioctl resumed>) = 0 [pid 5974] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5965] <... futex resumed>) = 1 [pid 5963] <... futex resumed>) = 0 [pid 5961] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5960] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5974] <... futex resumed>) = 1 [pid 5966] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5965] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5964] <... futex resumed>) = 0 [pid 5963] exit_group(0 [pid 5961] <... futex resumed>) = 1 [pid 5960] <... futex resumed>) = 1 [pid 5958] <... futex resumed>) = 0 [pid 5957] <... futex resumed>) = 0 [pid 5974] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5966] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5965] <... futex resumed>) = ? [pid 5964] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5963] <... exit_group resumed>) = ? [pid 5961] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5960] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5958] exit_group(0 [pid 5957] exit_group(0 [pid 5966] <... futex resumed>) = 0 [pid 5965] +++ exited with 0 +++ [pid 5964] <... futex resumed>) = 0 [pid 5963] +++ exited with 0 +++ [pid 5961] <... futex resumed>) = ? [pid 5960] <... futex resumed>) = ? [pid 5958] <... exit_group resumed>) = ? [pid 5957] <... exit_group resumed>) = ? [pid 5966] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5964] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5961] +++ exited with 0 +++ [pid 5960] +++ exited with 0 +++ [pid 5958] +++ exited with 0 +++ [pid 5957] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5963, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=22 /* 0.22 s */} --- [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5957, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- [pid 5966] <... ioctl resumed>) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5958, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=24 /* 0.24 s */} --- [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 5966] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 5966] <... futex resumed>) = 1 [pid 5964] <... futex resumed>) = 0 [pid 5026] <... restart_syscall resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5021] <... restart_syscall resumed>) = 0 [pid 5966] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5964] exit_group(0 [pid 5025] <... openat resumed>) = 3 [pid 5974] <... futex resumed>) = ? [pid 5966] <... futex resumed>) = ? [pid 5964] <... exit_group resumed>) = ? [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5974] +++ exited with 0 +++ [pid 5966] +++ exited with 0 +++ [pid 5964] +++ exited with 0 +++ [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5964, si_uid=0, si_status=0, si_utime=0, si_stime=27 /* 0.27 s */} --- [pid 5026] <... openat resumed>) = 3 [pid 5025] close(3 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5025] <... close resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5026] close(3) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 5975 ./strace-static-x86_64: Process 5975 attached [pid 5975] set_robust_list(0x5555558636a0, 24) = 0 [pid 5975] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5975] setpgid(0, 0) = 0 [ 122.414197][ T5966] BTRFS info (device loop2): 2 enospc errors during balance [ 122.435963][ T5966] BTRFS info (device loop2): balance: ended with status: -28 [pid 5975] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5975] write(3, "1000", 4) = 4 [pid 5975] close(3) = 0 [pid 5975] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5975] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] <... openat resumed>) = 3 [pid 5975] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5975] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5975] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5976 [pid 5975] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5975] <... mprotect resumed>) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5021] close(3 [pid 5975] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5027] <... openat resumed>) = 3 [pid 5021] <... close resumed>) = 0 [pid 5975] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5976 attached [pid 5975] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5976] set_robust_list(0x5555558636a0, 24) = 0 [pid 5975] <... clone3 resumed> => {parent_tid=[5977]}, 88) = 5977 [pid 5027] close(3 [pid 5976] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5975] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] <... close resumed>) = 0 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 5978 [pid 5976] <... prctl resumed>) = 0 [pid 5975] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5976] setpgid(0, 0 [pid 5975] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5976] <... setpgid resumed>) = 0 [pid 5975] <... futex resumed>) = 0 [pid 5976] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5975] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5977 attached [pid 5976] <... openat resumed>) = 3 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 5979 ./strace-static-x86_64: Process 5978 attached [pid 5977] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5976] write(3, "1000", 4 [pid 5978] set_robust_list(0x5555558636a0, 24 [pid 5977] <... rseq resumed>) = 0 [pid 5976] <... write resumed>) = 4 [pid 5978] <... set_robust_list resumed>) = 0 [pid 5977] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5976] close(3 [pid 5977] <... set_robust_list resumed>) = 0 [pid 5976] <... close resumed>) = 0 ./strace-static-x86_64: Process 5979 attached [pid 5978] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5977] rt_sigprocmask(SIG_SETMASK, [], [pid 5976] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5979] set_robust_list(0x5555558636a0, 24 [pid 5978] <... prctl resumed>) = 0 [pid 5977] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5976] <... futex resumed>) = 0 [pid 5977] memfd_create("syzkaller", 0 [pid 5976] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5978] setpgid(0, 0 [pid 5979] <... set_robust_list resumed>) = 0 [pid 5977] <... memfd_create resumed>) = 3 [pid 5976] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5978] <... setpgid resumed>) = 0 [pid 5977] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5976] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5979] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5978] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5977] <... mmap resumed>) = 0x7f4e2554e000 [pid 5976] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5979] <... prctl resumed>) = 0 [pid 5978] <... openat resumed>) = 3 [pid 5976] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5979] setpgid(0, 0 [pid 5978] write(3, "1000", 4 [pid 5976] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5979] <... setpgid resumed>) = 0 [pid 5978] <... write resumed>) = 4 [pid 5976] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5979] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5978] close(3 [pid 5976] <... mprotect resumed>) = 0 [pid 5979] <... openat resumed>) = 3 [pid 5978] <... close resumed>) = 0 [pid 5976] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5979] write(3, "1000", 4 [pid 5978] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5976] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5979] <... write resumed>) = 4 [pid 5978] <... futex resumed>) = 0 [pid 5976] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5979] close(3 [pid 5978] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5979] <... close resumed>) = 0 [pid 5978] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5976] <... clone3 resumed> => {parent_tid=[5980]}, 88) = 5980 [pid 5979] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5978] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5976] rt_sigprocmask(SIG_SETMASK, [], [pid 5979] <... futex resumed>) = 0 [pid 5978] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5976] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 5980 attached [pid 5979] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5978] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5976] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5980] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5979] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5978] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5976] <... futex resumed>) = 0 [pid 5980] <... rseq resumed>) = 0 [pid 5979] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5978] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5976] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5980] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5979] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5978] <... mprotect resumed>) = 0 [pid 5980] <... set_robust_list resumed>) = 0 [pid 5979] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5978] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5980] rt_sigprocmask(SIG_SETMASK, [], [pid 5979] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5978] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5980] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5979] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5978] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5980] memfd_create("syzkaller", 0 [pid 5979] <... mprotect resumed>) = 0 [pid 5980] <... memfd_create resumed>) = 3 [pid 5979] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5978] <... clone3 resumed> => {parent_tid=[5981]}, 88) = 5981 [pid 5980] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5979] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5978] rt_sigprocmask(SIG_SETMASK, [], [pid 5980] <... mmap resumed>) = 0x7f4e2554e000 [pid 5979] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5978] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 5981 attached [pid 5978] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5981] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5979] <... clone3 resumed> => {parent_tid=[5982]}, 88) = 5982 [pid 5978] <... futex resumed>) = 0 [pid 5981] <... rseq resumed>) = 0 [pid 5979] rt_sigprocmask(SIG_SETMASK, [], [pid 5978] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5981] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5979] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5981] <... set_robust_list resumed>) = 0 [pid 5979] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 5982 attached [pid 5981] rt_sigprocmask(SIG_SETMASK, [], [pid 5979] <... futex resumed>) = 0 [pid 5982] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5981] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5979] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5982] <... rseq resumed>) = 0 [pid 5981] memfd_create("syzkaller", 0 [pid 5982] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5981] <... memfd_create resumed>) = 3 [pid 5982] <... set_robust_list resumed>) = 0 [pid 5981] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5982] rt_sigprocmask(SIG_SETMASK, [], [pid 5981] <... mmap resumed>) = 0x7f4e2554e000 [pid 5982] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5982] memfd_create("syzkaller", 0) = 3 [pid 5982] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5973] 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 5972] 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 5980] 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 5981] 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 5977] 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 5982] 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 5973] <... write resumed>) = 16777216 [pid 5973] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5973] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5973] ioctl(4, LOOP_SET_FD, 3 [pid 5972] <... write resumed>) = 16777216 [pid 5972] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5973] <... ioctl resumed>) = 0 [pid 5973] close(3) = 0 [pid 5973] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5973] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5972] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5972] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5972] ioctl(4, LOOP_CLR_FD) = 0 [pid 5972] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5972] close(4) = 0 [ 123.056978][ T5973] loop0: detected capacity change from 0 to 32768 [ 123.093538][ T5973] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5973) [pid 5972] close(3 [pid 5973] <... mount resumed>) = -1 EEXIST (File exists) [pid 5973] ioctl(4, LOOP_CLR_FD [pid 5980] <... write resumed>) = 16777216 [pid 5980] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5980] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5980] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5982] <... write resumed>) = 16777216 [pid 5980] close(3) = 0 [pid 5972] <... close resumed>) = 0 [pid 5980] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 123.252766][ T5980] loop3: detected capacity change from 0 to 32768 [pid 5980] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5982] munmap(0x7f4e2554e000, 16777216 [pid 5981] <... write resumed>) = 16777216 [pid 5977] <... write resumed>) = 16777216 [pid 5977] munmap(0x7f4e2554e000, 16777216 [pid 5972] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5969] <... futex resumed>) = 0 [pid 5969] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5969] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5972] open("./file0", O_RDONLY) = 3 [pid 5972] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5969] <... futex resumed>) = 0 [pid 5969] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5972] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5969] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5972] <... ioctl resumed>) = 0 [pid 5972] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5969] <... futex resumed>) = 0 [pid 5982] <... munmap resumed>) = 0 [pid 5977] <... munmap resumed>) = 0 [pid 5982] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5981] munmap(0x7f4e2554e000, 16777216 [pid 5972] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5969] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5982] <... openat resumed>) = 4 [pid 5977] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5972] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5969] <... futex resumed>) = 0 [pid 5982] ioctl(4, LOOP_SET_FD, 3 [pid 5977] <... openat resumed>) = 4 [pid 5972] ioctl(3, 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 5969] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5981] <... munmap resumed>) = 0 [ 123.296147][ T5980] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5980) [ 123.333078][ T5972] BTRFS info (device loop2): balance: start -d -m [ 123.334269][ T5982] loop5: detected capacity change from 0 to 32768 [pid 5977] ioctl(4, LOOP_SET_FD, 3 [pid 5980] <... mount resumed>) = -1 EEXIST (File exists) [pid 5980] ioctl(4, LOOP_CLR_FD [pid 5981] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5981] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5977] <... ioctl resumed>) = 0 [pid 5982] <... ioctl resumed>) = 0 [pid 5982] close(3 [pid 5981] close(3 [pid 5977] close(3 [pid 5982] <... close resumed>) = 0 [pid 5981] <... close resumed>) = 0 [pid 5977] <... close resumed>) = 0 [pid 5982] mkdir("./file0", 0777 [pid 5981] mkdir("./file0", 0777 [pid 5977] mkdir("./file0", 0777 [pid 5982] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5981] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5977] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5969] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5982] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 123.346857][ T5977] loop4: detected capacity change from 0 to 32768 [ 123.359120][ T5981] loop1: detected capacity change from 0 to 32768 [ 123.362523][ T5972] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5981] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5977] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5969] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5969] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 5969] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5969] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5969] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[5984]}, 88) = 5984 [pid 5969] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5969] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 5984 attached [pid 5969] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5973] <... ioctl resumed>) = 0 [pid 5973] close(4 [pid 5984] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5982] <... mount resumed>) = -1 EEXIST (File exists) [pid 5973] <... close resumed>) = 0 [pid 5973] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5971] <... futex resumed>) = 0 [pid 5971] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5971] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5973] <... futex resumed>) = 1 [pid 5984] <... rseq resumed>) = 0 [pid 5973] open("./file0", O_RDONLY [pid 5984] set_robust_list(0x7f4e2654d9a0, 24 [pid 5982] ioctl(4, LOOP_CLR_FD [pid 5981] <... mount resumed>) = -1 EEXIST (File exists) [pid 5977] <... mount resumed>) = -1 EEXIST (File exists) [pid 5984] <... set_robust_list resumed>) = 0 [pid 5981] ioctl(4, LOOP_CLR_FD [pid 5977] ioctl(4, LOOP_CLR_FD [pid 5973] <... open resumed>) = 3 [pid 5984] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5984] open("./file0", O_RDONLY) = 4 [pid 5984] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5969] <... futex resumed>) = 0 [pid 5984] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5969] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5984] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5969] <... futex resumed>) = 0 [pid 5984] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [ 123.403987][ T5982] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5982) [ 123.427436][ T5981] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5981) [ 123.442348][ T5977] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5977) [pid 5969] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5984] <... ioctl resumed>) = 0 [pid 5973] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5984] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5973] <... futex resumed>) = 1 [pid 5971] <... futex resumed>) = 0 [pid 5969] <... futex resumed>) = 0 [pid 5984] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5973] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5971] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5973] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5971] <... futex resumed>) = 0 [pid 5973] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5971] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5973] <... ioctl resumed>) = 0 [pid 5973] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5971] <... futex resumed>) = 0 [pid 5973] ioctl(3, 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 5971] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5973] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5971] <... futex resumed>) = 0 [pid 5973] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5971] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5973] <... futex resumed>) = 0 [pid 5971] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5973] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5971] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5973] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5971] <... futex resumed>) = 0 [pid 5973] open("./file0", O_RDONLY [pid 5971] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5973] <... open resumed>) = 4 [pid 5973] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5971] <... futex resumed>) = 0 [pid 5973] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) [ 123.462516][ T5972] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5971] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5973] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5971] <... futex resumed>) = 0 [pid 5971] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5973] <... ioctl resumed>) = 0 [pid 5971] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5973] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5971] exit_group(0 [pid 5973] <... futex resumed>) = ? [pid 5971] <... exit_group resumed>) = ? [pid 5973] +++ exited with 0 +++ [pid 5971] +++ exited with 0 +++ [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5971, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=25 /* 0.25 s */} --- [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3) = 0 [ 123.506260][ T5972] BTRFS info (device loop2): 2 enospc errors during balance [ 123.513709][ T5972] BTRFS info (device loop2): balance: ended with status: -28 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5985 attached [pid 5980] <... ioctl resumed>) = 0 [pid 5972] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5985] set_robust_list(0x5555558636a0, 24 [pid 5980] close(4 [pid 5972] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 5985 [pid 5985] <... set_robust_list resumed>) = 0 [pid 5980] <... close resumed>) = 0 [pid 5969] exit_group(0 [pid 5984] <... futex resumed>) = ? [pid 5969] <... exit_group resumed>) = ? [pid 5984] +++ exited with 0 +++ [pid 5985] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5980] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5976] <... futex resumed>) = 0 [pid 5985] setpgid(0, 0) = 0 [pid 5980] open("./file0", O_RDONLY [pid 5976] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5972] <... futex resumed>) = ? [pid 5985] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5980] <... open resumed>) = 3 [pid 5976] <... futex resumed>) = 0 [pid 5972] +++ exited with 0 +++ [pid 5969] +++ exited with 0 +++ [pid 5985] <... openat resumed>) = 3 [pid 5980] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5985] write(3, "1000", 4 [pid 5980] <... futex resumed>) = 0 [pid 5976] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5985] <... write resumed>) = 4 [pid 5980] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5976] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5969, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=32 /* 0.32 s */} --- [pid 5985] close(3 [pid 5976] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 5985] <... close resumed>) = 0 [pid 5980] <... futex resumed>) = 0 [pid 5976] <... futex resumed>) = 1 [pid 5022] <... restart_syscall resumed>) = 0 [pid 5985] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5980] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5976] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5985] <... futex resumed>) = 0 [pid 5980] <... ioctl resumed>) = 0 [pid 5985] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5980] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5985] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5980] <... futex resumed>) = 1 [pid 5976] <... futex resumed>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5985] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5980] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5976] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... openat resumed>) = 3 [pid 5985] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5980] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5976] <... futex resumed>) = 0 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 5985] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5980] ioctl(3, 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 5976] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] <... ioctl resumed>) = 0 [pid 5985] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5022] close(3 [pid 5985] <... mprotect resumed>) = 0 [pid 5022] <... close resumed>) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5985] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 5986 [pid 5985] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[5987]}, 88) = 5987 [pid 5985] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5985] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5985] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5986 attached ./strace-static-x86_64: Process 5987 attached [pid 5987] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5986] set_robust_list(0x5555558636a0, 24 [pid 5982] <... ioctl resumed>) = 0 [pid 5987] <... rseq resumed>) = 0 [pid 5987] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5986] <... set_robust_list resumed>) = 0 [pid 5982] close(4 [pid 5987] <... set_robust_list resumed>) = 0 [pid 5987] rt_sigprocmask(SIG_SETMASK, [], [pid 5986] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5982] <... close resumed>) = 0 [pid 5987] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5987] memfd_create("syzkaller", 0) = 3 [pid 5987] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5986] <... prctl resumed>) = 0 [pid 5982] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5976] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5986] setpgid(0, 0 [pid 5982] <... futex resumed>) = 1 [pid 5979] <... futex resumed>) = 0 [pid 5976] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5979] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5986] <... setpgid resumed>) = 0 [pid 5982] open("./file0", O_RDONLY [pid 5979] <... futex resumed>) = 0 [pid 5976] <... futex resumed>) = 0 [pid 5986] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5982] <... open resumed>) = 3 [pid 5979] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5976] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5986] <... openat resumed>) = 3 [pid 5982] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5976] <... mmap resumed>) = 0x7f4e2652d000 [pid 5986] write(3, "1000", 4 [pid 5982] <... futex resumed>) = 1 [pid 5986] <... write resumed>) = 4 [pid 5979] <... futex resumed>) = 0 [pid 5976] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5986] close(3 [pid 5982] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5979] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5976] <... mprotect resumed>) = 0 [pid 5979] <... futex resumed>) = 0 [pid 5979] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5986] <... close resumed>) = 0 [pid 5982] <... ioctl resumed>) = 0 [pid 5976] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5986] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5982] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5976] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5986] <... futex resumed>) = 0 [pid 5982] <... futex resumed>) = 1 [pid 5979] <... futex resumed>) = 0 [pid 5976] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5979] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5986] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5982] ioctl(3, 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 5979] <... futex resumed>) = 0 [pid 5986] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5979] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5982] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5976] <... clone3 resumed> => {parent_tid=[5989]}, 88) = 5989 [pid 5986] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5982] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5976] rt_sigprocmask(SIG_SETMASK, [], [pid 5986] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5982] <... futex resumed>) = 1 [pid 5979] <... futex resumed>) = 0 [pid 5976] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5979] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5979] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5976] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5986] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5982] open("./file0", O_RDONLY [pid 5976] <... futex resumed>) = 0 [pid 5986] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5976] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5986] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5982] <... open resumed>) = 4 [pid 5982] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5986] <... mprotect resumed>) = 0 [pid 5982] <... futex resumed>) = 1 [pid 5979] <... futex resumed>) = 0 [pid 5986] rt_sigprocmask(SIG_BLOCK, ~[], [ 123.627671][ T5980] BTRFS info (device loop2): balance: start -d -m [ 123.647426][ T5980] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5979] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5982] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0}./strace-static-x86_64: Process 5989 attached [pid 5986] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5979] <... futex resumed>) = 0 [pid 5979] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5989] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5986] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5989] <... rseq resumed>) = 0 [pid 5982] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 5990 attached [pid 5989] set_robust_list(0x7f4e2654d9a0, 24 [pid 5986] <... clone3 resumed> => {parent_tid=[5990]}, 88) = 5990 [pid 5982] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5977] <... ioctl resumed>) = 0 [pid 5990] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5989] <... set_robust_list resumed>) = 0 [pid 5986] rt_sigprocmask(SIG_SETMASK, [], [pid 5982] <... futex resumed>) = 1 [pid 5979] <... futex resumed>) = 0 [pid 5990] <... rseq resumed>) = 0 [pid 5989] rt_sigprocmask(SIG_SETMASK, [], [pid 5986] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5982] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5981] <... ioctl resumed>) = 0 [pid 5979] exit_group(0 [pid 5977] close(4 [pid 5990] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5989] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5986] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5982] <... futex resumed>) = ? [pid 5981] close(4 [pid 5979] <... exit_group resumed>) = ? [pid 5977] <... close resumed>) = 0 [pid 5981] <... close resumed>) = 0 [pid 5977] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5981] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5977] <... futex resumed>) = 1 [pid 5981] <... futex resumed>) = 1 [pid 5978] <... futex resumed>) = 0 [pid 5977] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5981] open("./file0", O_RDONLY [pid 5978] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5981] <... open resumed>) = 3 [pid 5978] <... futex resumed>) = 0 [pid 5989] open("./file0", O_RDONLY [pid 5986] <... futex resumed>) = 0 [pid 5982] +++ exited with 0 +++ [pid 5981] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5979] +++ exited with 0 +++ [pid 5978] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5975] <... futex resumed>) = 0 [pid 5989] <... open resumed>) = 4 [pid 5986] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5981] <... futex resumed>) = 0 [pid 5978] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5975] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5979, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=23 /* 0.23 s */} --- [pid 5990] <... set_robust_list resumed>) = 0 [pid 5989] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5981] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5978] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5977] <... futex resumed>) = 0 [pid 5975] <... futex resumed>) = 1 [pid 5989] <... futex resumed>) = 1 [pid 5981] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5978] <... futex resumed>) = 0 [pid 5977] open("./file0", O_RDONLY [pid 5976] <... futex resumed>) = 0 [pid 5981] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5978] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5977] <... open resumed>) = 3 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5981] <... ioctl resumed>) = 0 [pid 5977] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... openat resumed>) = 3 [pid 5989] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5981] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5977] <... futex resumed>) = 0 [pid 5976] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5975] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5981] <... futex resumed>) = 1 [pid 5978] <... futex resumed>) = 0 [pid 5977] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5976] <... futex resumed>) = 0 [pid 5975] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5981] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5978] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5976] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5975] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] close(3 [pid 5981] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5978] <... futex resumed>) = 0 [pid 5977] <... futex resumed>) = 0 [pid 5975] <... futex resumed>) = 1 [pid 5027] <... close resumed>) = 0 [pid 5981] ioctl(3, 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 5978] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5977] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5975] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5981] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5977] <... ioctl resumed>) = 0 [pid 5989] <... ioctl resumed>) = 0 [pid 5989] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5981] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5977] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 5991 [pid 5989] <... futex resumed>) = 1 [pid 5981] <... futex resumed>) = 1 [pid 5978] <... futex resumed>) = 0 [pid 5977] <... futex resumed>) = 1 [pid 5976] <... futex resumed>) = 0 [pid 5975] <... futex resumed>) = 0 [pid 5989] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5981] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5978] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5977] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5975] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5981] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5978] <... futex resumed>) = 0 [pid 5977] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5975] <... futex resumed>) = 0 [pid 5981] open("./file0", O_RDONLY [pid 5978] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5977] ioctl(3, 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}} [ 123.709939][ T5980] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5975] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 5991 attached [pid 5981] <... open resumed>) = 4 [pid 5977] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5990] rt_sigprocmask(SIG_SETMASK, [], [pid 5991] set_robust_list(0x5555558636a0, 24 [pid 5981] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5977] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5991] <... set_robust_list resumed>) = 0 [pid 5981] <... futex resumed>) = 1 [pid 5978] <... futex resumed>) = 0 [pid 5977] <... futex resumed>) = 1 [pid 5975] <... futex resumed>) = 0 [pid 5991] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5990] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5981] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5978] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5977] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5991] <... prctl resumed>) = 0 [pid 5990] memfd_create("syzkaller", 0 [pid 5981] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5978] <... futex resumed>) = 0 [pid 5975] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5991] setpgid(0, 0 [pid 5990] <... memfd_create resumed>) = 3 [pid 5981] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5978] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5991] <... setpgid resumed>) = 0 [pid 5990] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5977] <... futex resumed>) = 0 [pid 5975] <... futex resumed>) = 1 [pid 5991] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5990] <... mmap resumed>) = 0x7f4e2554e000 [pid 5977] open("./file0", O_RDONLY [pid 5975] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5991] <... openat resumed>) = 3 [pid 5981] <... ioctl resumed>) = 0 [pid 5977] <... open resumed>) = 4 [pid 5991] write(3, "1000", 4 [pid 5981] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5977] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5991] <... write resumed>) = 4 [pid 5981] <... futex resumed>) = 1 [pid 5978] <... futex resumed>) = 0 [pid 5977] <... futex resumed>) = 0 [pid 5991] close(3 [pid 5981] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5978] exit_group(0 [pid 5977] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5991] <... close resumed>) = 0 [pid 5981] <... futex resumed>) = ? [pid 5978] <... exit_group resumed>) = ? [pid 5991] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5981] +++ exited with 0 +++ [pid 5978] +++ exited with 0 +++ [pid 5975] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5991] <... futex resumed>) = 0 [pid 5975] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5991] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5977] <... futex resumed>) = 0 [pid 5975] <... futex resumed>) = 1 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5978, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- [pid 5991] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5977] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5975] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5991] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5977] <... ioctl resumed>) = 0 [pid 5021] <... openat resumed>) = 3 [pid 5991] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5977] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5991] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5977] <... futex resumed>) = 1 [pid 5975] <... futex resumed>) = 0 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5991] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5977] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5975] exit_group(0 [pid 5021] close(3 [pid 5991] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5977] <... futex resumed>) = ? [pid 5975] <... exit_group resumed>) = ? [pid 5021] <... close resumed>) = 0 [pid 5991] <... mprotect resumed>) = 0 [pid 5977] +++ exited with 0 +++ [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5991] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5975] +++ exited with 0 +++ [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5975, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=24 /* 0.24 s */} --- [pid 5991] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 5992 [pid 5991] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5980] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5980] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5991] <... clone3 resumed> => {parent_tid=[5993]}, 88) = 5993 [pid 5980] <... futex resumed>) = 0 [pid 5976] exit_group(0 [pid 5991] rt_sigprocmask(SIG_SETMASK, [], [pid 5989] <... futex resumed>) = ? [pid 5976] <... exit_group resumed>) = ? [pid 5991] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5989] +++ exited with 0 +++ [pid 5980] +++ exited with 0 +++ ./strace-static-x86_64: Process 5992 attached [ 123.760448][ T5980] BTRFS info (device loop2): 2 enospc errors during balance [ 123.777068][ T5980] BTRFS info (device loop2): balance: ended with status: -28 [pid 5991] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5992] set_robust_list(0x5555558636a0, 24 [pid 5991] <... futex resumed>) = 0 [pid 5976] +++ exited with 0 +++ [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5992] <... set_robust_list resumed>) = 0 [pid 5991] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5026] <... openat resumed>) = 3 [pid 5992] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5976, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- [pid 5992] <... prctl resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 5992] setpgid(0, 0 [pid 5026] close(3 [pid 5025] <... restart_syscall resumed>) = 0 ./strace-static-x86_64: Process 5993 attached [pid 5992] <... setpgid resumed>) = 0 [pid 5026] <... close resumed>) = 0 [pid 5993] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5992] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5992] <... openat resumed>) = 3 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5992] write(3, "1000", 4 [pid 5025] <... openat resumed>) = 3 [pid 5992] <... write resumed>) = 4 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5993] <... rseq resumed>) = 0 [pid 5992] close(3 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5993] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5992] <... close resumed>) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 5994 [pid 5025] close(3 [pid 5993] <... set_robust_list resumed>) = 0 [pid 5992] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... close resumed>) = 0 [pid 5993] rt_sigprocmask(SIG_SETMASK, [], [pid 5992] <... futex resumed>) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5994 attached [pid 5993] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5992] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5994] set_robust_list(0x5555558636a0, 24 [pid 5993] memfd_create("syzkaller", 0 [pid 5992] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 5995 [pid 5994] <... set_robust_list resumed>) = 0 [pid 5992] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5994] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5993] <... memfd_create resumed>) = 3 [pid 5992] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5994] <... prctl resumed>) = 0 [pid 5993] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5992] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5994] setpgid(0, 0 [pid 5993] <... mmap resumed>) = 0x7f4e2554e000 [pid 5992] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5994] <... setpgid resumed>) = 0 [pid 5992] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE./strace-static-x86_64: Process 5995 attached [pid 5994] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5992] <... mprotect resumed>) = 0 [pid 5995] set_robust_list(0x5555558636a0, 24 [pid 5994] <... openat resumed>) = 3 [pid 5992] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5995] <... set_robust_list resumed>) = 0 [pid 5994] write(3, "1000", 4 [pid 5992] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5995] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5994] <... write resumed>) = 4 [pid 5992] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5995] <... prctl resumed>) = 0 [pid 5994] close(3 [pid 5995] setpgid(0, 0 [pid 5994] <... close resumed>) = 0 [pid 5992] <... clone3 resumed> => {parent_tid=[5996]}, 88) = 5996 [pid 5995] <... setpgid resumed>) = 0 [pid 5994] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5992] rt_sigprocmask(SIG_SETMASK, [], [pid 5995] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5994] <... futex resumed>) = 0 [pid 5992] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5995] <... openat resumed>) = 3 [pid 5994] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5992] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5995] write(3, "1000", 4 [pid 5994] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5992] <... futex resumed>) = 0 [pid 5995] <... write resumed>) = 4 [pid 5994] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5992] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 5996 attached [pid 5995] close(3 [pid 5994] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5996] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5995] <... close resumed>) = 0 [pid 5994] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5996] <... rseq resumed>) = 0 [pid 5995] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5994] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5996] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5995] <... futex resumed>) = 0 [pid 5994] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5996] <... set_robust_list resumed>) = 0 [pid 5995] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5994] <... mprotect resumed>) = 0 [pid 5996] rt_sigprocmask(SIG_SETMASK, [], [pid 5995] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5994] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5996] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5995] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5994] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5996] memfd_create("syzkaller", 0 [pid 5995] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5994] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5996] <... memfd_create resumed>) = 3 [pid 5995] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5996] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5995] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5994] <... clone3 resumed> => {parent_tid=[5997]}, 88) = 5997 [pid 5996] <... mmap resumed>) = 0x7f4e2554e000 [pid 5995] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5994] rt_sigprocmask(SIG_SETMASK, [], [pid 5995] <... mprotect resumed>) = 0 [pid 5994] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5995] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5994] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5995] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5994] <... futex resumed>) = 0 [pid 5995] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5994] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5995] <... clone3 resumed> => {parent_tid=[5998]}, 88) = 5998 ./strace-static-x86_64: Process 5997 attached [pid 5995] rt_sigprocmask(SIG_SETMASK, [], [pid 5997] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5995] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5997] <... rseq resumed>) = 0 [pid 5995] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5997] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5995] <... futex resumed>) = 0 [pid 5997] <... set_robust_list resumed>) = 0 [pid 5995] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5997] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ./strace-static-x86_64: Process 5998 attached [pid 5997] memfd_create("syzkaller", 0 [pid 5998] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5997] <... memfd_create resumed>) = 3 [pid 5997] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5998] <... rseq resumed>) = 0 [pid 5997] <... mmap resumed>) = 0x7f4e2554e000 [pid 5998] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5998] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5998] memfd_create("syzkaller", 0) = 3 [pid 5998] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5987] 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 5990] 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 5993] 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 5997] 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 5996] 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 5998] 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 5987] <... write resumed>) = 16777216 [pid 5987] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5987] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 5987] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5987] close(3) = 0 [pid 5987] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5987] 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 5987] ioctl(4, LOOP_CLR_FD [pid 5990] <... write resumed>) = 16777216 [ 124.418185][ T5987] loop0: detected capacity change from 0 to 32768 [ 124.450134][ T5987] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (5987) [pid 5990] munmap(0x7f4e2554e000, 16777216 [pid 5993] <... write resumed>) = 16777216 [pid 5990] <... munmap resumed>) = 0 [pid 5993] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5990] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 5990] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5990] ioctl(4, LOOP_CLR_FD) = 0 [pid 5990] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 5990] close(4) = 0 [pid 5990] close(3 [pid 5993] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 5993] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 5993] close(3) = 0 [pid 5993] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5993] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5997] <... write resumed>) = 16777216 [pid 5997] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5996] <... write resumed>) = 16777216 [pid 5997] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5996] munmap(0x7f4e2554e000, 16777216 [pid 5997] <... openat resumed>) = 4 [ 124.554256][ T5993] loop5: detected capacity change from 0 to 32768 [ 124.573704][ T5993] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (5993) [pid 5997] ioctl(4, LOOP_SET_FD, 3 [pid 5993] <... mount resumed>) = -1 EEXIST (File exists) [pid 5993] ioctl(4, LOOP_CLR_FD [pid 5998] <... write resumed>) = 16777216 [pid 5998] munmap(0x7f4e2554e000, 16777216) = 0 [pid 5997] <... ioctl resumed>) = 0 [pid 5996] <... munmap resumed>) = 0 [pid 5997] close(3 [pid 5996] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 5997] <... close resumed>) = 0 [pid 5997] mkdir("./file0", 0777 [pid 5996] ioctl(4, LOOP_SET_FD, 3 [pid 5997] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5997] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5998] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 5996] <... ioctl resumed>) = 0 [ 124.618711][ T5997] loop4: detected capacity change from 0 to 32768 [ 124.644773][ T5996] loop1: detected capacity change from 0 to 32768 [ 124.651813][ T5997] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (5997) [pid 5998] ioctl(4, LOOP_SET_FD, 3 [pid 5996] close(3 [pid 5998] <... ioctl resumed>) = 0 [pid 5996] <... close resumed>) = 0 [pid 5996] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 124.666343][ T5998] loop3: detected capacity change from 0 to 32768 [pid 5996] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5997] <... mount resumed>) = -1 EEXIST (File exists) [pid 5997] ioctl(4, LOOP_CLR_FD [pid 5998] close(3) = 0 [pid 5987] <... ioctl resumed>) = 0 [pid 5998] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5998] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5987] close(4) = 0 [pid 5987] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5985] <... futex resumed>) = 0 [pid 5987] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5985] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5987] <... futex resumed>) = 0 [pid 5985] <... futex resumed>) = 1 [pid 5987] open("./file0", O_RDONLY [pid 5985] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5987] <... open resumed>) = 3 [pid 5987] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5985] <... futex resumed>) = 0 [pid 5987] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5985] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5987] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5985] <... futex resumed>) = 0 [pid 5987] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5985] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5987] <... ioctl resumed>) = 0 [pid 5987] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5985] <... futex resumed>) = 0 [pid 5987] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5985] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5987] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5985] <... futex resumed>) = 0 [ 124.692512][ T5996] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (5996) [ 124.729966][ T5998] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (5998) [pid 5987] ioctl(3, 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 5985] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5996] <... mount resumed>) = -1 EEXIST (File exists) [pid 5996] ioctl(4, LOOP_CLR_FD [pid 5998] <... mount resumed>) = -1 EEXIST (File exists) [pid 5998] ioctl(4, LOOP_CLR_FD [pid 5990] <... close resumed>) = 0 [pid 5990] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5986] <... futex resumed>) = 0 [pid 5990] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5986] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5993] <... ioctl resumed>) = 0 [pid 5990] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5986] <... futex resumed>) = 0 [pid 5993] close(4 [ 124.743486][ T5987] BTRFS info (device loop2): balance: start -d -m [ 124.760558][ T5987] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5990] open("./file0", O_RDONLY [pid 5986] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5993] <... close resumed>) = 0 [pid 5985] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5990] <... open resumed>) = 3 [pid 5985] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5993] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5985] <... futex resumed>) = 0 [pid 5993] <... futex resumed>) = 1 [pid 5991] <... futex resumed>) = 0 [pid 5990] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5985] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5993] open("./file0", O_RDONLY [pid 5991] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5990] <... futex resumed>) = 1 [pid 5986] <... futex resumed>) = 0 [pid 5985] <... mmap resumed>) = 0x7f4e2652d000 [pid 5993] <... open resumed>) = 3 [pid 5991] <... futex resumed>) = 0 [pid 5990] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5986] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5985] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5993] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5991] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5990] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5986] <... futex resumed>) = 0 [pid 5985] <... mprotect resumed>) = 0 [pid 5991] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5985] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5991] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5985] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5991] <... futex resumed>) = 0 [pid 5985] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5993] <... futex resumed>) = 0 [pid 5991] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5990] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [ 124.791148][ T5987] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5986] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5993] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5990] <... ioctl resumed>) = 0 [pid 5985] <... clone3 resumed> => {parent_tid=[6000]}, 88) = 6000 [pid 5985] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5993] <... ioctl resumed>) = 0 [pid 5990] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5985] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5993] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5990] <... futex resumed>) = 1 [pid 5986] <... futex resumed>) = 0 [pid 5985] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6000 attached [pid 5993] <... futex resumed>) = 1 [pid 5991] <... futex resumed>) = 0 [pid 5990] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5986] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5985] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6000] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5993] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5991] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5990] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5986] <... futex resumed>) = 0 [pid 6000] <... rseq resumed>) = 0 [pid 5993] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5991] <... futex resumed>) = 0 [pid 5990] ioctl(3, 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 5986] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6000] set_robust_list(0x7f4e2654d9a0, 24 [pid 5993] ioctl(3, 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 5991] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5990] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6000] <... set_robust_list resumed>) = 0 [pid 5993] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5990] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6000] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6000] open("./file0", O_RDONLY) = 4 [pid 5993] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5990] <... futex resumed>) = 1 [pid 5986] <... futex resumed>) = 0 [pid 6000] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5986] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5993] <... futex resumed>) = 1 [pid 5991] <... futex resumed>) = 0 [pid 5990] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6000] <... futex resumed>) = 1 [pid 5993] open("./file0", O_RDONLY [pid 5991] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5990] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5986] <... futex resumed>) = 0 [pid 5985] <... futex resumed>) = 0 [pid 6000] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5993] <... open resumed>) = 4 [pid 5991] <... futex resumed>) = 0 [pid 5990] open("./file0", O_RDONLY [pid 5986] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 124.834667][ T5987] BTRFS info (device loop2): 2 enospc errors during balance [pid 5985] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6000] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5993] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5991] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5990] <... open resumed>) = 4 [pid 5985] <... futex resumed>) = 0 [pid 6000] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5991] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5985] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5991] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5991] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5993] <... futex resumed>) = 1 [pid 5991] <... futex resumed>) = 0 [pid 5990] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5991] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=44000000} [pid 5990] <... futex resumed>) = 1 [pid 5986] <... futex resumed>) = 0 [pid 5990] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5986] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6000] <... ioctl resumed>) = 0 [pid 5990] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5986] <... futex resumed>) = 0 [pid 6000] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5993] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5990] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5986] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6000] <... futex resumed>) = 1 [pid 5985] <... futex resumed>) = 0 [pid 6000] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5993] <... ioctl resumed>) = 0 [pid 5990] <... ioctl resumed>) = 0 [pid 5990] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5986] <... futex resumed>) = 0 [pid 5990] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5986] exit_group(0 [pid 5993] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5990] <... futex resumed>) = ? [pid 5987] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5986] <... exit_group resumed>) = ? [pid 5990] +++ exited with 0 +++ [pid 5986] +++ exited with 0 +++ [pid 5993] <... futex resumed>) = 1 [pid 5991] <... futex resumed>) = 0 [pid 5987] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5986, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=24 /* 0.24 s */} --- [pid 5991] exit_group(0 [pid 5985] exit_group(0 [pid 6000] <... futex resumed>) = ? [pid 5991] <... exit_group resumed>) = ? [pid 5987] <... futex resumed>) = ? [pid 5985] <... exit_group resumed>) = ? [pid 6000] +++ exited with 0 +++ [pid 5993] +++ exited with 0 +++ [pid 5991] +++ exited with 0 +++ [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5991, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=25 /* 0.25 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5022] <... ioctl resumed>) = 0 [pid 5027] <... openat resumed>) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5022] close(3 [pid 5987] +++ exited with 0 +++ [pid 5985] +++ exited with 0 +++ [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5027] close(3 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5985, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=26 /* 0.26 s */} --- [pid 5027] <... close resumed>) = 0 [pid 5022] <... close resumed>) = 0 [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5020] <... restart_syscall resumed>) = 0 [ 124.876603][ T5987] BTRFS info (device loop2): balance: ended with status: -28 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6001 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6002 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3./strace-static-x86_64: Process 6002 attached ./strace-static-x86_64: Process 6001 attached ) = 0 [pid 6002] set_robust_list(0x5555558636a0, 24 [pid 6001] set_robust_list(0x5555558636a0, 24 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6002] <... set_robust_list resumed>) = 0 [pid 6001] <... set_robust_list resumed>) = 0 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6003 [pid 6002] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6001] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6002] <... prctl resumed>) = 0 [pid 6001] <... prctl resumed>) = 0 [pid 6002] setpgid(0, 0 [pid 6001] setpgid(0, 0./strace-static-x86_64: Process 6003 attached [pid 6002] <... setpgid resumed>) = 0 [pid 6001] <... setpgid resumed>) = 0 [pid 6003] set_robust_list(0x5555558636a0, 24) = 0 [pid 6002] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6001] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6003] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6002] <... openat resumed>) = 3 [pid 6001] <... openat resumed>) = 3 [pid 6003] <... prctl resumed>) = 0 [pid 6002] write(3, "1000", 4 [pid 6001] write(3, "1000", 4 [pid 6003] setpgid(0, 0) = 0 [pid 6002] <... write resumed>) = 4 [pid 6001] <... write resumed>) = 4 [pid 6003] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6002] close(3 [pid 6001] close(3 [pid 5998] <... ioctl resumed>) = 0 [pid 5996] <... ioctl resumed>) = 0 [pid 6003] <... openat resumed>) = 3 [pid 6002] <... close resumed>) = 0 [pid 6001] <... close resumed>) = 0 [pid 5998] close(4 [pid 5996] close(4 [pid 6003] write(3, "1000", 4 [pid 6002] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6001] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6003] <... write resumed>) = 4 [pid 5996] <... close resumed>) = 0 [pid 6003] close(3) = 0 [pid 6003] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6003] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6003] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6003] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6003] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6003] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6003] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6004]}, 88) = 6004 [pid 6003] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6003] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6003] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6004 attached [pid 6004] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6004] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6004] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6002] <... futex resumed>) = 0 [pid 6001] <... futex resumed>) = 0 [pid 5998] <... close resumed>) = 0 [pid 5996] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6002] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6001] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5998] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5996] <... futex resumed>) = 1 [pid 5992] <... futex resumed>) = 0 [pid 6004] memfd_create("syzkaller", 0 [pid 6002] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6001] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5998] <... futex resumed>) = 1 [pid 5996] open("./file0", O_RDONLY [pid 5995] <... futex resumed>) = 0 [pid 5992] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6004] <... memfd_create resumed>) = 3 [pid 6002] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6001] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5998] open("./file0", O_RDONLY [pid 5996] <... open resumed>) = 3 [pid 5995] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5992] <... futex resumed>) = 0 [pid 6004] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6002] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6001] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5998] <... open resumed>) = 3 [pid 5996] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5995] <... futex resumed>) = 0 [pid 5992] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6004] <... mmap resumed>) = 0x7f4e2554e000 [pid 6002] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6001] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5998] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5996] <... futex resumed>) = 0 [pid 5995] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5992] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6002] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6001] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5998] <... futex resumed>) = 0 [pid 5997] <... ioctl resumed>) = 0 [pid 5996] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5995] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5992] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6002] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6001] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5998] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5997] close(4 [pid 5996] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5995] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5992] <... futex resumed>) = 0 [pid 6002] <... mprotect resumed>) = 0 [pid 6001] <... mprotect resumed>) = 0 [pid 5998] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5997] <... close resumed>) = 0 [pid 5996] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6002] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6001] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5998] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5997] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5996] <... ioctl resumed>) = 0 [pid 6002] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6001] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5998] <... ioctl resumed>) = 0 [pid 5997] <... futex resumed>) = 1 [pid 5996] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5995] <... futex resumed>) = 0 [pid 5994] <... futex resumed>) = 0 [pid 5992] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6002] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6001] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5998] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5997] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5996] <... futex resumed>) = 0 [pid 5995] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5994] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5992] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) ./strace-static-x86_64: Process 6005 attached [pid 5998] <... futex resumed>) = 0 [pid 5997] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5996] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5995] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5994] <... futex resumed>) = 0 [pid 5992] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6005] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6002] <... clone3 resumed> => {parent_tid=[6005]}, 88) = 6005 [pid 6001] <... clone3 resumed> => {parent_tid=[6006]}, 88) = 6006 [pid 5998] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5997] open("./file0", O_RDONLY [pid 5996] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5995] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5994] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5992] <... futex resumed>) = 0 [pid 6005] <... rseq resumed>) = 0 [pid 6002] rt_sigprocmask(SIG_SETMASK, [], [pid 6001] rt_sigprocmask(SIG_SETMASK, [], [pid 5998] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5997] <... open resumed>) = 3 [pid 5996] ioctl(3, 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 5995] <... futex resumed>) = 0 [pid 5992] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6006 attached [pid 6005] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6002] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6001] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5998] ioctl(3, 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 5997] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5995] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6006] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6005] <... set_robust_list resumed>) = 0 [pid 6002] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6001] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5998] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5997] <... futex resumed>) = 1 [pid 5994] <... futex resumed>) = 0 [pid 6006] <... rseq resumed>) = 0 [pid 6005] rt_sigprocmask(SIG_SETMASK, [], [pid 6002] <... futex resumed>) = 0 [pid 6001] <... futex resumed>) = 0 [pid 5998] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5997] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5994] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6006] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6005] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6002] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6001] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5998] <... futex resumed>) = 1 [pid 5997] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5995] <... futex resumed>) = 0 [pid 5994] <... futex resumed>) = 0 [pid 6006] <... set_robust_list resumed>) = 0 [pid 6005] memfd_create("syzkaller", 0 [pid 5998] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5997] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5995] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5994] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6006] rt_sigprocmask(SIG_SETMASK, [], [pid 6005] <... memfd_create resumed>) = 3 [pid 5998] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5997] <... ioctl resumed>) = 0 [pid 5995] <... futex resumed>) = 0 [pid 6006] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6005] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5998] open("./file0", O_RDONLY [pid 5997] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5995] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6006] memfd_create("syzkaller", 0 [pid 6005] <... mmap resumed>) = 0x7f4e2554e000 [pid 5998] <... open resumed>) = 4 [pid 5997] <... futex resumed>) = 1 [pid 5994] <... futex resumed>) = 0 [pid 6006] <... memfd_create resumed>) = 3 [pid 5998] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5997] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6006] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5998] <... futex resumed>) = 1 [pid 5995] <... futex resumed>) = 0 [pid 6006] <... mmap resumed>) = 0x7f4e2554e000 [pid 5998] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5995] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5998] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5995] <... futex resumed>) = 0 [pid 5994] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5998] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5997] <... futex resumed>) = 0 [pid 5995] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5994] <... futex resumed>) = 1 [pid 5998] <... ioctl resumed>) = 0 [pid 5997] ioctl(3, 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 5994] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5998] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5997] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5998] <... futex resumed>) = 1 [pid 5997] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5995] <... futex resumed>) = 0 [pid 5998] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5997] <... futex resumed>) = 1 [pid 5995] exit_group(0 [pid 5994] <... futex resumed>) = 0 [pid 5992] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5998] <... futex resumed>) = ? [ 125.047724][ T5996] BTRFS info (device loop2): balance: start -d -m [ 125.054572][ T5996] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5997] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5995] <... exit_group resumed>) = ? [pid 5994] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5998] +++ exited with 0 +++ [pid 5997] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5995] +++ exited with 0 +++ [pid 5994] <... futex resumed>) = 0 [pid 5992] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5997] open("./file0", O_RDONLY [pid 5994] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5995, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=21 /* 0.21 s */} --- [pid 5997] <... open resumed>) = 4 [pid 5997] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5994] <... futex resumed>) = 0 [pid 5997] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5994] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5997] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5994] <... futex resumed>) = 0 [pid 5997] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5994] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5997] <... ioctl resumed>) = 0 [pid 5997] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5994] <... futex resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5997] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5994] exit_group(0 [pid 5025] <... openat resumed>) = 3 [pid 5997] <... futex resumed>) = ? [pid 5994] <... exit_group resumed>) = ? [pid 5992] <... futex resumed>) = 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5997] +++ exited with 0 +++ [pid 5994] +++ exited with 0 +++ [pid 5992] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5992] <... mmap resumed>) = 0x7f4e2652d000 [pid 5025] close(3 [pid 5992] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5994, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=21 /* 0.21 s */} --- [pid 5992] <... mprotect resumed>) = 0 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 5025] <... close resumed>) = 0 [pid 5026] <... restart_syscall resumed>) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6007 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5026] close(3) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6008 [pid 5992] rt_sigprocmask(SIG_BLOCK, ~[], ./strace-static-x86_64: Process 6008 attached [], 8) = 0 [pid 5992] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6008] set_robust_list(0x5555558636a0, 24) = 0 [pid 5992] <... clone3 resumed> => {parent_tid=[6009]}, 88) = 6009 [pid 5992] rt_sigprocmask(SIG_SETMASK, [], [pid 6008] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5992] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6008] <... prctl resumed>) = 0 [pid 5992] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6008] setpgid(0, 0 [pid 5992] <... futex resumed>) = 0 [pid 5992] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6008] <... setpgid resumed>) = 0 [pid 6008] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [ 125.103403][ T5996] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata ./strace-static-x86_64: Process 6009 attached ./strace-static-x86_64: Process 6007 attached [pid 6008] write(3, "1000", 4 [pid 6007] set_robust_list(0x5555558636a0, 24) = 0 [pid 6007] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6007] setpgid(0, 0) = 0 [pid 6007] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6007] write(3, "1000", 4) = 4 [pid 6007] close(3) = 0 [pid 6007] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6007] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6007] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6009] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6008] <... write resumed>) = 4 [pid 6007] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6007] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6008] close(3 [pid 6009] <... rseq resumed>) = 0 [pid 6007] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6009] set_robust_list(0x7f4e2654d9a0, 24 [pid 6008] <... close resumed>) = 0 [pid 6007] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6009] <... set_robust_list resumed>) = 0 [pid 6008] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6007] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6008] <... futex resumed>) = 0 [pid 6009] rt_sigprocmask(SIG_SETMASK, [], [pid 6007] <... clone3 resumed> => {parent_tid=[6010]}, 88) = 6010 [pid 6007] rt_sigprocmask(SIG_SETMASK, [], [pid 6009] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6008] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6007] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6009] open("./file0", O_RDONLY [pid 6008] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6007] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6009] <... open resumed>) = 4 [pid 6008] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6007] <... futex resumed>) = 0 [pid 6009] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6008] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6007] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6009] <... futex resumed>) = 1 [pid 6008] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5992] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6010 attached [pid 6009] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6008] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5992] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6010] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6008] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5992] <... futex resumed>) = 0 [pid 6010] <... rseq resumed>) = 0 [pid 5992] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6010] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6008] <... mprotect resumed>) = 0 [pid 6010] <... set_robust_list resumed>) = 0 [pid 6010] rt_sigprocmask(SIG_SETMASK, [], [pid 6008] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6010] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6008] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6010] memfd_create("syzkaller", 0 [pid 6009] <... ioctl resumed>) = 0 [pid 6008] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6010] <... memfd_create resumed>) = 3 [pid 6009] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6010] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6009] <... futex resumed>) = 1 [pid 6008] <... clone3 resumed> => {parent_tid=[6011]}, 88) = 6011 [pid 5992] <... futex resumed>) = 0 [pid 6010] <... mmap resumed>) = 0x7f4e2554e000 [pid 6009] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6008] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6008] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 6011 attached [pid 6008] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6011] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6011] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [ 125.158072][ T5996] BTRFS info (device loop2): 2 enospc errors during balance [ 125.165413][ T5996] BTRFS info (device loop2): balance: ended with status: -28 [pid 6011] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5996] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6011] memfd_create("syzkaller", 0 [pid 5996] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6011] <... memfd_create resumed>) = 3 [pid 6011] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5996] <... futex resumed>) = 0 [pid 6011] <... mmap resumed>) = 0x7f4e2554e000 [pid 5996] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5992] exit_group(0 [pid 6009] <... futex resumed>) = ? [pid 5996] <... futex resumed>) = ? [pid 5992] <... exit_group resumed>) = ? [pid 6009] +++ exited with 0 +++ [pid 5996] +++ exited with 0 +++ [pid 5992] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5992, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=29 /* 0.29 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3 [pid 6004] 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 5021] <... close resumed>) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6012 ./strace-static-x86_64: Process 6012 attached [pid 6012] set_robust_list(0x5555558636a0, 24) = 0 [pid 6012] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6012] setpgid(0, 0) = 0 [pid 6012] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6012] write(3, "1000", 4) = 4 [pid 6012] close(3) = 0 [pid 6012] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6012] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6012] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6012] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6012] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6012] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6012] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6013]}, 88) = 6013 [pid 6012] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6012] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6012] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6013 attached [pid 6013] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6013] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6013] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6013] memfd_create("syzkaller", 0) = 3 [pid 6013] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6005] 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 6006] 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 6011] 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 6010] 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 6004] <... write resumed>) = 16777216 [pid 6004] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6004] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6013] 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 6004] <... openat resumed>) = 4 [pid 6004] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6004] close(3) = 0 [pid 6004] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6004] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 125.656468][ T6004] loop0: detected capacity change from 0 to 32768 [ 125.671436][ T6004] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6004) [pid 6004] ioctl(4, LOOP_CLR_FD [pid 6006] <... write resumed>) = 16777216 [pid 6005] <... write resumed>) = 16777216 [pid 6005] munmap(0x7f4e2554e000, 16777216 [pid 6006] munmap(0x7f4e2554e000, 16777216 [pid 6005] <... munmap resumed>) = 0 [pid 6005] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6005] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6005] ioctl(4, LOOP_CLR_FD) = 0 [pid 6005] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6005] close(4 [pid 6006] <... munmap resumed>) = 0 [pid 6005] <... close resumed>) = 0 [pid 6005] close(3 [pid 6011] <... write resumed>) = 16777216 [pid 6006] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6006] ioctl(4, LOOP_SET_FD, 3 [pid 6011] munmap(0x7f4e2554e000, 16777216 [pid 6006] <... ioctl resumed>) = 0 [pid 6006] close(3) = 0 [pid 6006] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6006] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6011] <... munmap resumed>) = 0 [pid 6011] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6011] ioctl(4, LOOP_SET_FD, 3 [pid 6006] <... mount resumed>) = -1 EEXIST (File exists) [pid 6006] ioctl(4, LOOP_CLR_FD [pid 6011] <... ioctl resumed>) = 0 [pid 6011] close(3) = 0 [pid 6011] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 125.828215][ T6006] loop5: detected capacity change from 0 to 32768 [ 125.844315][ T6006] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6006) [ 125.869631][ T6011] loop4: detected capacity change from 0 to 32768 [pid 6011] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6010] <... write resumed>) = 16777216 [pid 6010] munmap(0x7f4e2554e000, 16777216 [pid 6013] <... write resumed>) = 16777216 [pid 6011] <... mount resumed>) = -1 EEXIST (File exists) [pid 6004] <... ioctl resumed>) = 0 [pid 6011] ioctl(4, LOOP_CLR_FD [ 125.894881][ T6011] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6011) [pid 6004] close(4 [pid 6010] <... munmap resumed>) = 0 [pid 6010] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6010] ioctl(4, LOOP_SET_FD, 3 [pid 6004] <... close resumed>) = 0 [pid 6004] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6003] <... futex resumed>) = 0 [pid 6004] <... futex resumed>) = 1 [pid 6004] open("./file0", O_RDONLY [pid 6003] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6003] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6004] <... open resumed>) = 3 [pid 6004] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6003] <... futex resumed>) = 0 [pid 6004] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6003] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6004] <... ioctl resumed>) = 0 [pid 6003] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6004] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6003] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6004] ioctl(3, 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 6003] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6003] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6010] <... ioctl resumed>) = 0 [pid 6010] close(3) = 0 [pid 6013] munmap(0x7f4e2554e000, 16777216 [pid 6010] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6013] <... munmap resumed>) = 0 [pid 6010] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6013] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [ 125.948770][ T6010] loop3: detected capacity change from 0 to 32768 [ 125.966693][ T6004] BTRFS info (device loop2): balance: start -d -m [ 125.973901][ T6004] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 125.987179][ T6010] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6010) [pid 6013] ioctl(4, LOOP_SET_FD, 3 [pid 6003] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6003] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6003] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6003] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6003] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6005] <... close resumed>) = 0 [pid 6003] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6005] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6003] <... clone3 resumed> => {parent_tid=[6015]}, 88) = 6015 [pid 6005] <... futex resumed>) = 1 [pid 6002] <... futex resumed>) = 0 [pid 6005] open("./file0", O_RDONLY [pid 6002] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6005] <... open resumed>) = 3 [pid 6003] rt_sigprocmask(SIG_SETMASK, [], [pid 6002] <... futex resumed>) = 0 [pid 6005] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6003] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6002] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6005] <... futex resumed>) = 0 [pid 6002] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) ./strace-static-x86_64: Process 6015 attached [pid 6005] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6003] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6002] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6005] <... ioctl resumed>) = 0 [pid 6002] <... futex resumed>) = 0 [pid 6013] <... ioctl resumed>) = 0 [pid 6010] <... mount resumed>) = -1 EEXIST (File exists) [pid 6005] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6002] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6013] close(3 [pid 6010] ioctl(4, LOOP_CLR_FD [pid 6005] <... futex resumed>) = 0 [pid 6002] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6013] <... close resumed>) = 0 [pid 6005] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6002] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6013] mkdir("./file0", 0777 [pid 6005] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6002] <... futex resumed>) = 0 [pid 6013] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6005] ioctl(3, 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 6002] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6013] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6005] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [ 126.005644][ T6013] loop1: detected capacity change from 0 to 32768 [ 126.041540][ T6004] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6015] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6005] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6003] <... futex resumed>) = 0 [pid 6005] <... futex resumed>) = 1 [pid 6002] <... futex resumed>) = 0 [pid 6005] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6002] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6005] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6002] <... futex resumed>) = 0 [pid 6005] open("./file0", O_RDONLY [pid 6002] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6005] <... open resumed>) = 4 [pid 6005] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6015] <... rseq resumed>) = 0 [pid 6005] <... futex resumed>) = 1 [pid 6003] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6002] <... futex resumed>) = 0 [pid 6005] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6002] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6005] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6002] <... futex resumed>) = 0 [pid 6005] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6002] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6005] <... ioctl resumed>) = 0 [pid 6005] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6002] <... futex resumed>) = 0 [pid 6005] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6002] exit_group(0 [pid 6005] <... futex resumed>) = ? [pid 6002] <... exit_group resumed>) = ? [pid 6005] +++ exited with 0 +++ [pid 6002] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6002, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=19 /* 0.19 s */} --- [pid 6015] set_robust_list(0x7f4e2654d9a0, 24 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6015] <... set_robust_list resumed>) = 0 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6015] rt_sigprocmask(SIG_SETMASK, [], [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6016 [pid 6015] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6016 attached [pid 6015] open("./file0", O_RDONLY) = 4 [pid 6015] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6003] <... futex resumed>) = 0 [pid 6015] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6003] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6016] set_robust_list(0x5555558636a0, 24 [pid 6015] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6003] <... futex resumed>) = 0 [pid 6016] <... set_robust_list resumed>) = 0 [pid 6015] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6003] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6016] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6016] setpgid(0, 0) = 0 [pid 6016] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6016] write(3, "1000", 4) = 4 [pid 6015] <... ioctl resumed>) = 0 [pid 6016] close(3 [pid 6015] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6016] <... close resumed>) = 0 [pid 6015] <... futex resumed>) = 1 [pid 6003] <... futex resumed>) = 0 [pid 6016] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6015] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6016] <... futex resumed>) = 0 [pid 6016] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [ 126.045743][ T6013] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6013) [ 126.069859][ T6004] BTRFS info (device loop2): 2 enospc errors during balance [pid 6016] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6016] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6016] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6016] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6013] <... mount resumed>) = -1 EEXIST (File exists) [pid 6016] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6013] ioctl(4, LOOP_CLR_FD [pid 6016] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6017]}, 88) = 6017 [pid 6016] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6016] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6016] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6017 attached [pid 6017] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6017] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6017] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6017] memfd_create("syzkaller", 0) = 3 [pid 6017] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6006] <... ioctl resumed>) = 0 [pid 6006] close(4 [pid 6004] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [ 126.100920][ T6004] BTRFS info (device loop2): balance: ended with status: -28 [pid 6004] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6006] <... close resumed>) = 0 [pid 6004] <... futex resumed>) = 0 [pid 6003] exit_group(0 [pid 6015] <... futex resumed>) = ? [pid 6003] <... exit_group resumed>) = ? [pid 6015] +++ exited with 0 +++ [pid 6006] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6004] +++ exited with 0 +++ [pid 6003] +++ exited with 0 +++ [pid 6006] <... futex resumed>) = 1 [pid 6001] <... futex resumed>) = 0 [pid 6001] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6003, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=24 /* 0.24 s */} --- [pid 6001] <... futex resumed>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6001] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] <... openat resumed>) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 6006] open("./file0", O_RDONLY [pid 5020] close(3 [pid 6006] <... open resumed>) = 3 [pid 5020] <... close resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6006] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6001] <... futex resumed>) = 0 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6018 [pid 6006] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6001] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6006] <... ioctl resumed>) = 0 [pid 6001] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6006] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6001] <... futex resumed>) = 0 [pid 6006] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6001] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6006] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6001] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6006] ioctl(3, 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}}./strace-static-x86_64: Process 6018 attached [pid 6018] set_robust_list(0x5555558636a0, 24) = 0 [pid 6018] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6011] <... ioctl resumed>) = 0 [pid 6018] setpgid(0, 0 [pid 6011] close(4 [pid 6018] <... setpgid resumed>) = 0 [pid 6011] <... close resumed>) = 0 [pid 6011] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6008] <... futex resumed>) = 0 [pid 6018] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6011] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6008] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6018] <... openat resumed>) = 3 [pid 6011] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6008] <... futex resumed>) = 0 [pid 6018] write(3, "1000", 4 [pid 6011] open("./file0", O_RDONLY [pid 6008] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6018] <... write resumed>) = 4 [pid 6011] <... open resumed>) = 3 [pid 6018] close(3 [pid 6011] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6018] <... close resumed>) = 0 [ 126.203194][ T6006] BTRFS info (device loop2): balance: start -d -m [ 126.212461][ T6006] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6011] <... futex resumed>) = 1 [pid 6008] <... futex resumed>) = 0 [pid 6001] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6011] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6001] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6001] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6001] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6001] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6001] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6019]}, 88) = 6019 [pid 6001] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6001] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6018] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6008] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6001] <... futex resumed>) = 0 [pid 6011] <... futex resumed>) = 0 [pid 6008] <... futex resumed>) = 1 [pid 6001] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6019 attached [pid 6018] <... futex resumed>) = 0 [pid 6011] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 6011] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6011] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6008] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6019] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6018] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6019] <... rseq resumed>) = 0 [pid 6008] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6019] set_robust_list(0x7f4e2654d9a0, 24 [pid 6018] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6008] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6019] <... set_robust_list resumed>) = 0 [pid 6018] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6006] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6019] rt_sigprocmask(SIG_SETMASK, [], [pid 6011] <... futex resumed>) = 0 [pid 6008] <... futex resumed>) = 1 [pid 6019] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6018] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6011] ioctl(3, 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 6008] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6006] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6019] open("./file0", O_RDONLY [pid 6018] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6006] <... futex resumed>) = 0 [pid 6019] <... open resumed>) = 4 [ 126.252737][ T6006] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 126.268168][ T6006] BTRFS info (device loop2): 2 enospc errors during balance [ 126.275475][ T6006] BTRFS info (device loop2): balance: ended with status: -28 [pid 6019] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6018] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6013] <... ioctl resumed>) = 0 [pid 6006] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6019] <... futex resumed>) = 1 [pid 6018] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6001] <... futex resumed>) = 0 [pid 6001] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6019] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6018] <... mprotect resumed>) = 0 [pid 6013] close(4 [pid 6006] <... futex resumed>) = 0 [pid 6001] <... futex resumed>) = 1 [pid 6018] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6013] <... close resumed>) = 0 [pid 6006] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6001] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6018] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6013] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6012] <... futex resumed>) = 0 [pid 6013] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6018] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6013] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6012] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6013] open("./file0", O_RDONLY [pid 6012] <... futex resumed>) = 0 [pid 6018] <... clone3 resumed> => {parent_tid=[6020]}, 88) = 6020 [pid 6013] <... open resumed>) = 3 [pid 6012] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6018] rt_sigprocmask(SIG_SETMASK, [], [pid 6013] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6012] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6018] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6013] <... futex resumed>) = 0 [pid 6012] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6018] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6013] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6012] <... futex resumed>) = 0 [pid 6006] <... ioctl resumed>) = 0 [pid 6018] <... futex resumed>) = 0 [pid 6012] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6018] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6013] <... ioctl resumed>) = 0 [pid 6006] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6013] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6006] <... futex resumed>) = 1 [pid 6001] <... futex resumed>) = 0 [pid 6013] <... futex resumed>) = 1 [pid 6012] <... futex resumed>) = 0 [pid 6006] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6001] exit_group(0 [pid 6019] <... futex resumed>) = ? [pid 6013] ioctl(3, 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 6012] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6006] <... futex resumed>) = ? [pid 6001] <... exit_group resumed>) = ? [pid 6019] +++ exited with 0 +++ [pid 6013] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6012] <... futex resumed>) = 0 [pid 6006] +++ exited with 0 +++ [pid 6001] +++ exited with 0 +++ [pid 6013] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6012] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6020 attached [pid 6013] <... futex resumed>) = 0 [pid 6012] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6001, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=25 /* 0.25 s */} --- [pid 6020] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6013] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6012] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6020] <... rseq resumed>) = 0 [pid 6013] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6012] <... futex resumed>) = 0 [pid 6010] <... ioctl resumed>) = 0 [pid 6008] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5027] <... openat resumed>) = 3 [pid 6020] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6013] open("./file0", O_RDONLY [pid 6012] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6008] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6020] <... set_robust_list resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6020] rt_sigprocmask(SIG_SETMASK, [], [pid 6013] <... open resumed>) = 4 [pid 6008] <... futex resumed>) = 0 [ 126.300691][ T6011] BTRFS info (device loop2): balance: start -d -m [ 126.310387][ T6011] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5027] close(3 [pid 6020] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6013] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6010] close(4 [pid 6008] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5027] <... close resumed>) = 0 [pid 6020] memfd_create("syzkaller", 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6020] <... memfd_create resumed>) = 3 [pid 6013] <... futex resumed>) = 1 [pid 6010] <... close resumed>) = 0 [pid 6020] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6012] <... futex resumed>) = 0 [pid 6008] <... mmap resumed>) = 0x7f4e2652d000 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6021 [pid 6013] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL./strace-static-x86_64: Process 6021 attached [pid 6020] <... mmap resumed>) = 0x7f4e2554e000 [pid 6017] 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 6013] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6012] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6010] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6008] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6021] set_robust_list(0x5555558636a0, 24 [pid 6013] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6012] <... futex resumed>) = 0 [ 126.369775][ T6011] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6010] <... futex resumed>) = 1 [pid 6008] <... mprotect resumed>) = 0 [pid 6007] <... futex resumed>) = 0 [pid 6021] <... set_robust_list resumed>) = 0 [pid 6012] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6010] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6008] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6021] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6008] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6021] <... prctl resumed>) = 0 [pid 6008] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6021] setpgid(0, 0 [pid 6007] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6022 attached [pid 6021] <... setpgid resumed>) = 0 [pid 6013] <... ioctl resumed>) = 0 [pid 6010] <... futex resumed>) = 0 [pid 6008] <... clone3 resumed> => {parent_tid=[6022]}, 88) = 6022 [pid 6007] <... futex resumed>) = 1 [pid 6021] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6013] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6010] open("./file0", O_RDONLY [pid 6008] rt_sigprocmask(SIG_SETMASK, [], [pid 6021] <... openat resumed>) = 3 [pid 6013] <... futex resumed>) = 1 [pid 6012] <... futex resumed>) = 0 [pid 6010] <... open resumed>) = 3 [pid 6008] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6022] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6021] write(3, "1000", 4 [pid 6013] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6012] exit_group(0 [pid 6010] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6008] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6007] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6022] <... rseq resumed>) = 0 [pid 6021] <... write resumed>) = 4 [pid 6013] <... futex resumed>) = ? [pid 6012] <... exit_group resumed>) = ? [pid 6010] <... futex resumed>) = 0 [pid 6008] <... futex resumed>) = 0 [pid 6022] set_robust_list(0x7f4e2654d9a0, 24 [pid 6021] close(3 [pid 6013] +++ exited with 0 +++ [pid 6012] +++ exited with 0 +++ [pid 6010] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6008] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6007] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6022] <... set_robust_list resumed>) = 0 [pid 6021] <... close resumed>) = 0 [pid 6011] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6007] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6022] rt_sigprocmask(SIG_SETMASK, [], [pid 6021] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6011] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6010] <... futex resumed>) = 0 [pid 6007] <... futex resumed>) = 1 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6012, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- [pid 6022] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6021] <... futex resumed>) = 0 [pid 6011] <... futex resumed>) = 0 [pid 6010] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6007] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 6022] open("./file0", O_RDONLY [pid 6021] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6011] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6010] <... ioctl resumed>) = 0 [pid 5021] <... restart_syscall resumed>) = 0 [pid 6022] <... open resumed>) = 4 [pid 6021] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6010] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6022] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6021] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6010] <... futex resumed>) = 1 [pid 6007] <... futex resumed>) = 0 [pid 6022] <... futex resumed>) = 1 [pid 6021] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6010] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6008] <... futex resumed>) = 0 [pid 6007] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6022] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6021] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6010] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6008] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6007] <... futex resumed>) = 0 [pid 5021] <... openat resumed>) = 3 [pid 6021] <... mmap resumed>) = 0x7f4e2d94e000 [ 126.410847][ T6011] BTRFS info (device loop2): 2 enospc errors during balance [ 126.436248][ T6011] BTRFS info (device loop2): balance: ended with status: -28 [pid 6011] <... futex resumed>) = 0 [pid 6010] ioctl(3, 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 6008] <... futex resumed>) = 1 [pid 6007] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6021] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6011] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6008] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6021] <... mprotect resumed>) = 0 [pid 5021] close(3 [pid 6021] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5021] <... close resumed>) = 0 [pid 6021] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6021] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6011] <... ioctl resumed>) = 0 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6023 [pid 6021] <... clone3 resumed> => {parent_tid=[6024]}, 88) = 6024 [pid 6011] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6023 attached [pid 6021] rt_sigprocmask(SIG_SETMASK, [], [pid 6011] <... futex resumed>) = 1 [pid 6008] <... futex resumed>) = 0 [pid 6023] set_robust_list(0x5555558636a0, 24 [pid 6021] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6011] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6008] exit_group(0 [pid 6023] <... set_robust_list resumed>) = 0 [pid 6022] <... futex resumed>) = ? [pid 6021] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6011] <... futex resumed>) = ? [pid 6008] <... exit_group resumed>) = ? ./strace-static-x86_64: Process 6024 attached [pid 6022] +++ exited with 0 +++ [pid 6021] <... futex resumed>) = 0 [pid 6011] +++ exited with 0 +++ [pid 6024] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6023] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6021] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6008] +++ exited with 0 +++ [pid 6024] <... rseq resumed>) = 0 [pid 6023] <... prctl resumed>) = 0 [pid 6024] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6023] setpgid(0, 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6008, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=27 /* 0.27 s */} --- [pid 6024] <... set_robust_list resumed>) = 0 [pid 6023] <... setpgid resumed>) = 0 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 6024] rt_sigprocmask(SIG_SETMASK, [], [pid 6023] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5026] <... restart_syscall resumed>) = 0 [pid 6024] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6023] <... openat resumed>) = 3 [pid 6024] memfd_create("syzkaller", 0 [pid 6023] write(3, "1000", 4 [pid 6024] <... memfd_create resumed>) = 3 [pid 6023] <... write resumed>) = 4 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6024] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6023] close(3 [pid 5026] <... openat resumed>) = 3 [pid 6024] <... mmap resumed>) = 0x7f4e2554e000 [pid 6023] <... close resumed>) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6023] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6023] <... futex resumed>) = 0 [pid 5026] close(3 [pid 6023] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6007] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5026] <... close resumed>) = 0 [ 126.470433][ T6010] BTRFS info (device loop2): balance: start -d -m [ 126.484570][ T6010] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6025 ./strace-static-x86_64: Process 6025 attached [pid 6025] set_robust_list(0x5555558636a0, 24 [pid 6023] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6007] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6023] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6007] <... futex resumed>) = 0 [pid 6023] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6007] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6023] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6007] <... mmap resumed>) = 0x7f4e2652d000 [pid 6023] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6007] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6025] <... set_robust_list resumed>) = 0 [pid 6023] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6025] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6007] <... mprotect resumed>) = 0 [pid 6025] <... prctl resumed>) = 0 [pid 6023] <... mprotect resumed>) = 0 [pid 6007] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6025] setpgid(0, 0 [pid 6023] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6007] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6025] <... setpgid resumed>) = 0 [pid 6023] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6007] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6025] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6023] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6025] <... openat resumed>) = 3 [pid 6007] <... clone3 resumed> => {parent_tid=[6026]}, 88) = 6026 [pid 6025] write(3, "1000", 4) = 4 [pid 6025] close(3) = 0 [pid 6025] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6025] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6023] <... clone3 resumed> => {parent_tid=[6027]}, 88) = 6027 [pid 6007] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6027 attached ./strace-static-x86_64: Process 6026 attached [pid 6025] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6023] rt_sigprocmask(SIG_SETMASK, [], [pid 6007] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6027] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6026] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6025] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6023] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6007] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6027] <... rseq resumed>) = 0 [pid 6026] <... rseq resumed>) = 0 [pid 6025] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6023] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6007] <... futex resumed>) = 0 [pid 6027] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6026] set_robust_list(0x7f4e2654d9a0, 24 [pid 6025] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6023] <... futex resumed>) = 0 [pid 6020] 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 6027] <... set_robust_list resumed>) = 0 [pid 6026] <... set_robust_list resumed>) = 0 [pid 6025] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6023] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6007] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6027] rt_sigprocmask(SIG_SETMASK, [], [pid 6026] rt_sigprocmask(SIG_SETMASK, [], [pid 6025] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6027] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6026] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6025] <... mprotect resumed>) = 0 [pid 6027] memfd_create("syzkaller", 0 [pid 6026] open("./file0", O_RDONLY [pid 6025] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6027] <... memfd_create resumed>) = 3 [pid 6025] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6027] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6026] <... open resumed>) = 4 [ 126.550670][ T6010] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 126.577373][ T6010] BTRFS info (device loop2): 2 enospc errors during balance [pid 6025] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6027] <... mmap resumed>) = 0x7f4e2554e000 [pid 6026] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6025] <... clone3 resumed> => {parent_tid=[6028]}, 88) = 6028 [pid 6010] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6026] <... futex resumed>) = 1 [pid 6025] rt_sigprocmask(SIG_SETMASK, [], [pid 6010] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6007] <... futex resumed>) = 0 [pid 6026] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6025] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6010] <... futex resumed>) = 0 [pid 6007] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6025] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6010] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6007] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6028 attached [pid 6025] <... futex resumed>) = 0 [pid 6007] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6028] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6025] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6028] <... rseq resumed>) = 0 [pid 6010] <... ioctl resumed>) = 0 [pid 6028] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6010] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6028] <... set_robust_list resumed>) = 0 [pid 6010] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6007] <... futex resumed>) = 0 [pid 6028] rt_sigprocmask(SIG_SETMASK, [], [pid 6007] exit_group(0 [pid 6028] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6026] <... futex resumed>) = ? [pid 6010] <... futex resumed>) = ? [pid 6007] <... exit_group resumed>) = ? [pid 6028] memfd_create("syzkaller", 0 [pid 6026] +++ exited with 0 +++ [pid 6010] +++ exited with 0 +++ [pid 6028] <... memfd_create resumed>) = 3 [pid 6007] +++ exited with 0 +++ [pid 6028] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6007, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- [pid 6028] <... mmap resumed>) = 0x7f4e2554e000 [ 126.595962][ T6010] BTRFS info (device loop2): balance: ended with status: -28 [pid 5025] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6029 ./strace-static-x86_64: Process 6029 attached [pid 6029] set_robust_list(0x5555558636a0, 24) = 0 [pid 6029] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6029] setpgid(0, 0) = 0 [pid 6029] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6029] write(3, "1000", 4) = 4 [pid 6029] close(3) = 0 [pid 6029] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6029] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6029] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6029] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6029] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6029] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6029] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6030]}, 88) = 6030 [pid 6029] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6029] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6029] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6030 attached [pid 6030] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6030] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6030] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6030] memfd_create("syzkaller", 0) = 3 [pid 6030] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6020] <... write resumed>) = 16777216 [pid 6020] munmap(0x7f4e2554e000, 16777216 [pid 6017] <... write resumed>) = 16777216 [pid 6020] <... munmap resumed>) = 0 [pid 6020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6017] munmap(0x7f4e2554e000, 16777216 [pid 6020] ioctl(4, LOOP_SET_FD, 3 [pid 6017] <... munmap resumed>) = 0 [pid 6020] <... ioctl resumed>) = 0 [pid 6020] close(3) = 0 [pid 6020] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6020] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6017] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6017] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6017] ioctl(4, LOOP_CLR_FD) = 0 [pid 6017] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6017] close(4) = 0 [pid 6024] 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 6017] close(3 [pid 6020] <... mount resumed>) = -1 EEXIST (File exists) [pid 6027] 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 [ 126.873682][ T6020] loop0: detected capacity change from 0 to 32768 [ 126.888366][ T6020] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6020) [pid 6020] ioctl(4, LOOP_CLR_FD [pid 6028] 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 6017] <... close resumed>) = 0 [pid 6030] 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 6017] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6016] <... futex resumed>) = 0 [pid 6017] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6016] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6017] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6016] <... futex resumed>) = 0 [pid 6017] open("./file0", O_RDONLY [pid 6016] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6017] <... open resumed>) = 3 [pid 6017] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6016] <... futex resumed>) = 0 [pid 6017] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6016] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6017] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6016] <... futex resumed>) = 0 [pid 6017] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6016] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6017] <... ioctl resumed>) = 0 [pid 6017] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6016] <... futex resumed>) = 0 [pid 6017] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6016] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6017] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6016] <... futex resumed>) = 0 [pid 6017] ioctl(3, 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 6016] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6020] <... ioctl resumed>) = 0 [pid 6020] close(4) = 0 [pid 6020] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6018] <... futex resumed>) = 0 [pid 6020] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6018] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6020] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6018] <... futex resumed>) = 0 [pid 6020] open("./file0", O_RDONLY [pid 6018] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6020] <... open resumed>) = 3 [pid 6020] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6018] <... futex resumed>) = 0 [pid 6020] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6018] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6020] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6018] <... futex resumed>) = 0 [pid 6020] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6018] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6020] <... ioctl resumed>) = 0 [pid 6020] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6018] <... futex resumed>) = 0 [pid 6016] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 127.163659][ T6017] BTRFS info (device loop2): balance: start -d -m [ 127.176615][ T6017] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6020] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6018] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6016] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6020] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6018] <... futex resumed>) = 0 [pid 6016] <... futex resumed>) = 0 [pid 6020] ioctl(3, 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 6018] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6016] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6020] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6016] <... mmap resumed>) = 0x7f4e2652d000 [pid 6020] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6016] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6020] <... futex resumed>) = 1 [pid 6018] <... futex resumed>) = 0 [pid 6016] <... mprotect resumed>) = 0 [pid 6020] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6018] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6016] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6020] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6018] <... futex resumed>) = 0 [pid 6016] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6020] open("./file0", O_RDONLY [pid 6018] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6016] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6020] <... open resumed>) = 4 [pid 6020] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6016] <... clone3 resumed> => {parent_tid=[6032]}, 88) = 6032 [pid 6016] rt_sigprocmask(SIG_SETMASK, [], [pid 6020] <... futex resumed>) = 1 [pid 6018] <... futex resumed>) = 0 [pid 6016] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6020] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6018] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6016] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6018] <... futex resumed>) = 0 [pid 6016] <... futex resumed>) = 0 [pid 6018] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6016] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6020] <... ioctl resumed>) = 0 [pid 6020] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6032 attached ) = 1 [pid 6018] <... futex resumed>) = 0 [pid 6032] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6020] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6018] exit_group(0 [pid 6032] <... rseq resumed>) = 0 [pid 6020] <... futex resumed>) = ? [pid 6018] <... exit_group resumed>) = ? [pid 6032] set_robust_list(0x7f4e2654d9a0, 24 [pid 6020] +++ exited with 0 +++ [pid 6018] +++ exited with 0 +++ [pid 6032] <... set_robust_list resumed>) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6018, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 6032] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6032] open("./file0", O_RDONLY) = 4 [pid 6032] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6016] <... futex resumed>) = 0 [pid 6032] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6016] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6032] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6016] <... futex resumed>) = 0 [pid 5020] <... openat resumed>) = 3 [pid 6032] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6016] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6032] <... ioctl resumed>) = 0 [pid 6028] <... write resumed>) = 16777216 [pid 6027] <... write resumed>) = 16777216 [pid 6024] <... write resumed>) = 16777216 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6032] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] close(3 [pid 6032] <... futex resumed>) = 1 [pid 6027] munmap(0x7f4e2554e000, 16777216 [pid 6016] <... futex resumed>) = 0 [pid 5020] <... close resumed>) = 0 [ 127.267911][ T6017] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 127.307943][ T6017] BTRFS info (device loop2): 2 enospc errors during balance [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6033 [pid 6032] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6028] munmap(0x7f4e2554e000, 16777216 [pid 6027] <... munmap resumed>) = 0 ./strace-static-x86_64: Process 6033 attached [pid 6033] set_robust_list(0x5555558636a0, 24) = 0 [pid 6033] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6027] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6033] <... prctl resumed>) = 0 [pid 6027] ioctl(4, LOOP_SET_FD, 3 [pid 6033] setpgid(0, 0) = 0 [pid 6033] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6033] write(3, "1000", 4) = 4 [pid 6033] close(3) = 0 [pid 6033] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6033] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6033] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6033] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6028] <... munmap resumed>) = 0 [pid 6027] <... ioctl resumed>) = 0 [pid 6033] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6028] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6027] close(3 [pid 6024] munmap(0x7f4e2554e000, 16777216 [pid 6017] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6033] <... mprotect resumed>) = 0 [pid 6028] <... openat resumed>) = 4 [pid 6027] <... close resumed>) = 0 [pid 6017] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6016] exit_group(0 [pid 6033] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6032] <... futex resumed>) = ? [pid 6028] ioctl(4, LOOP_SET_FD, 3 [pid 6027] mkdir("./file0", 0777 [pid 6017] <... futex resumed>) = ? [pid 6016] <... exit_group resumed>) = ? [pid 6033] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6032] +++ exited with 0 +++ [pid 6033] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0}./strace-static-x86_64: Process 6034 attached [pid 6028] <... ioctl resumed>) = 0 [pid 6027] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6024] <... munmap resumed>) = 0 [pid 6017] +++ exited with 0 +++ [pid 6016] +++ exited with 0 +++ [pid 6033] <... clone3 resumed> => {parent_tid=[6034]}, 88) = 6034 [pid 6028] close(3 [pid 6027] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6024] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6034] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6033] rt_sigprocmask(SIG_SETMASK, [], [pid 6028] <... close resumed>) = 0 [pid 6024] <... openat resumed>) = 4 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6016, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=30 /* 0.30 s */} --- [ 127.324757][ T6017] BTRFS info (device loop2): balance: ended with status: -28 [ 127.335221][ T6027] loop1: detected capacity change from 0 to 32768 [ 127.354105][ T6028] loop4: detected capacity change from 0 to 32768 [pid 6028] mkdir("./file0", 0777 [pid 6024] ioctl(4, LOOP_SET_FD, 3 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6034] <... rseq resumed>) = 0 [pid 6033] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6028] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6024] <... ioctl resumed>) = 0 [pid 5022] <... openat resumed>) = 3 [pid 6028] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3 [pid 6034] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6033] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... close resumed>) = 0 [pid 6034] <... set_robust_list resumed>) = 0 [pid 6033] <... futex resumed>) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6034] rt_sigprocmask(SIG_SETMASK, [], [pid 6033] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6035 [pid 6034] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6035 attached [pid 6034] memfd_create("syzkaller", 0 [pid 6027] <... mount resumed>) = -1 EEXIST (File exists) [pid 6034] <... memfd_create resumed>) = 3 [pid 6035] set_robust_list(0x5555558636a0, 24 [pid 6027] ioctl(4, LOOP_CLR_FD [pid 6034] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6035] <... set_robust_list resumed>) = 0 [pid 6024] close(3) = 0 [pid 6024] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6034] <... mmap resumed>) = 0x7f4e2554e000 [pid 6024] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6035] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6035] setpgid(0, 0) = 0 [pid 6028] <... mount resumed>) = -1 EEXIST (File exists) [ 127.365733][ T6027] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6027) [ 127.377882][ T6024] loop5: detected capacity change from 0 to 32768 [ 127.399854][ T6028] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6028) [pid 6035] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6030] <... write resumed>) = 16777216 [pid 6035] write(3, "1000", 4 [pid 6030] munmap(0x7f4e2554e000, 16777216 [pid 6035] <... write resumed>) = 4 [pid 6028] ioctl(4, LOOP_CLR_FD [pid 6035] close(3) = 0 [pid 6035] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6035] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6035] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6035] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6035] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6035] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6035] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6037]}, 88) = 6037 [pid 6035] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6035] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6035] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6030] <... munmap resumed>) = 0 [pid 6030] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6024] <... mount resumed>) = -1 EEXIST (File exists) [pid 6024] ioctl(4, LOOP_CLR_FD [pid 6030] <... openat resumed>) = 4 [pid 6030] ioctl(4, LOOP_SET_FD, 3./strace-static-x86_64: Process 6037 attached [pid 6037] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6037] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6037] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6037] memfd_create("syzkaller", 0) = 3 [pid 6037] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 127.422055][ T6024] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6024) [ 127.457363][ T6030] loop3: detected capacity change from 0 to 32768 [pid 6030] <... ioctl resumed>) = 0 [pid 6030] close(3) = 0 [pid 6030] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6030] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 127.520848][ T6030] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6030) [pid 6030] ioctl(4, LOOP_CLR_FD [pid 6034] 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 6027] <... ioctl resumed>) = 0 [pid 6027] close(4) = 0 [pid 6027] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6023] <... futex resumed>) = 0 [pid 6027] open("./file0", O_RDONLY [pid 6023] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6027] <... open resumed>) = 3 [pid 6023] <... futex resumed>) = 0 [pid 6027] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6023] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6027] <... futex resumed>) = 0 [pid 6023] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6027] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6023] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6027] <... ioctl resumed>) = 0 [pid 6023] <... futex resumed>) = 0 [pid 6027] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6023] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6027] <... futex resumed>) = 0 [pid 6023] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6027] ioctl(3, 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 6023] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6023] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6030] <... ioctl resumed>) = 0 [pid 6028] <... ioctl resumed>) = 0 [pid 6028] close(4 [pid 6030] close(4 [pid 6028] <... close resumed>) = 0 [pid 6024] <... ioctl resumed>) = 0 [pid 6024] close(4) = 0 [pid 6024] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6021] <... futex resumed>) = 0 [pid 6024] open("./file0", O_RDONLY [pid 6021] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6024] <... open resumed>) = 3 [pid 6021] <... futex resumed>) = 0 [pid 6024] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6021] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6028] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6024] <... futex resumed>) = 0 [pid 6021] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6024] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6021] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6024] <... ioctl resumed>) = 0 [pid 6021] <... futex resumed>) = 0 [pid 6024] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6021] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6024] <... futex resumed>) = 0 [pid 6021] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6024] ioctl(3, 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 6021] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6024] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6021] <... futex resumed>) = 0 [pid 6024] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6021] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6024] <... futex resumed>) = 0 [pid 6021] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6024] open("./file0", O_RDONLY [pid 6021] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6024] <... open resumed>) = 4 [pid 6021] <... futex resumed>) = 0 [pid 6024] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6021] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6024] <... futex resumed>) = 0 [pid 6021] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6024] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6021] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6024] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6021] <... futex resumed>) = 0 [pid 6024] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6021] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6030] <... close resumed>) = 0 [pid 6028] <... futex resumed>) = 1 [pid 6025] <... futex resumed>) = 0 [pid 6024] <... ioctl resumed>) = 0 [pid 6025] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6024] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6028] open("./file0", O_RDONLY [pid 6025] <... futex resumed>) = 0 [pid 6024] <... futex resumed>) = 1 [pid 6021] <... futex resumed>) = 0 [pid 6028] <... open resumed>) = 3 [pid 6025] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6024] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6021] exit_group(0 [pid 6028] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6024] <... futex resumed>) = ? [pid 6021] <... exit_group resumed>) = ? [pid 6030] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6028] <... futex resumed>) = 1 [pid 6025] <... futex resumed>) = 0 [pid 6024] +++ exited with 0 +++ [pid 6021] +++ exited with 0 +++ [pid 6028] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6025] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6021, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=24 /* 0.24 s */} --- [pid 6025] <... futex resumed>) = 0 [pid 6028] <... ioctl resumed>) = 0 [pid 6025] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6028] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6028] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6025] <... futex resumed>) = 0 [pid 5027] <... openat resumed>) = 3 [pid 6028] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6025] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6025] <... futex resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6030] <... futex resumed>) = 1 [pid 6029] <... futex resumed>) = 0 [pid 6028] ioctl(3, 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 6025] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] close(3 [pid 6030] open("./file0", O_RDONLY [pid 6029] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6028] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6023] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5027] <... close resumed>) = 0 [pid 6030] <... open resumed>) = 3 [pid 6029] <... futex resumed>) = 0 [pid 6028] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6023] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6030] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6029] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6028] <... futex resumed>) = 1 [pid 6025] <... futex resumed>) = 0 [pid 6023] <... futex resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6029] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6028] open("./file0", O_RDONLY [pid 6025] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6023] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6023] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6025] <... futex resumed>) = 0 [pid 6023] <... mprotect resumed>) = 0 [pid 6029] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6028] <... open resumed>) = 4 [pid 6030] <... futex resumed>) = 0 [pid 6025] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6023] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6038 [pid 6030] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6029] <... futex resumed>) = 0 [pid 6028] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6025] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6023] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6030] <... ioctl resumed>) = 0 [pid 6029] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6028] <... futex resumed>) = 0 [pid 6023] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6025] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6030] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6028] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6025] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6038 attached [pid 6023] <... clone3 resumed> => {parent_tid=[6039]}, 88) = 6039 [pid 6038] set_robust_list(0x5555558636a0, 24 [pid 6030] <... futex resumed>) = 1 [pid 6029] <... futex resumed>) = 0 [pid 6025] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 127.758169][ T6027] BTRFS info (device loop2): balance: start -d -m [ 127.764956][ T6027] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6023] rt_sigprocmask(SIG_SETMASK, [], [pid 6038] <... set_robust_list resumed>) = 0 [pid 6030] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6029] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6028] <... ioctl resumed>) = 0 [pid 6023] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6038] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6023] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6039 attached [pid 6038] <... prctl resumed>) = 0 [pid 6023] <... futex resumed>) = 0 [pid 6039] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6038] setpgid(0, 0 [pid 6037] 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 6030] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6029] <... futex resumed>) = 0 [pid 6028] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6023] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6039] <... rseq resumed>) = 0 [pid 6038] <... setpgid resumed>) = 0 [pid 6030] ioctl(3, 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 6039] set_robust_list(0x7f4e2654d9a0, 24 [pid 6038] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6029] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6028] <... futex resumed>) = 1 [pid 6025] <... futex resumed>) = 0 [pid 6039] <... set_robust_list resumed>) = 0 [pid 6038] <... openat resumed>) = 3 [pid 6039] rt_sigprocmask(SIG_SETMASK, [], [pid 6038] write(3, "1000", 4 [pid 6039] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6038] <... write resumed>) = 4 [pid 6039] open("./file0", O_RDONLY [pid 6038] close(3 [pid 6039] <... open resumed>) = 4 [pid 6038] <... close resumed>) = 0 [pid 6039] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6038] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6039] <... futex resumed>) = 1 [pid 6038] <... futex resumed>) = 0 [pid 6023] <... futex resumed>) = 0 [pid 6039] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6038] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6023] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6039] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6038] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6023] <... futex resumed>) = 0 [pid 6039] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6038] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6023] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6039] <... ioctl resumed>) = 0 [pid 6038] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6030] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6028] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6025] exit_group(0 [pid 6039] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6038] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6030] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6025] <... exit_group resumed>) = ? [pid 6028] <... futex resumed>) = ? [pid 6039] <... futex resumed>) = 1 [pid 6038] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6030] <... futex resumed>) = 1 [pid 6029] <... futex resumed>) = 0 [pid 6023] <... futex resumed>) = 0 [pid 6039] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6038] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6038] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6038] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6028] +++ exited with 0 +++ [pid 6025] +++ exited with 0 +++ [pid 6029] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6030] open("./file0", O_RDONLY [pid 6029] <... futex resumed>) = 0 [pid 6038] <... clone3 resumed> => {parent_tid=[6040]}, 88) = 6040 [pid 6030] <... open resumed>) = 4 [pid 6029] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6025, si_uid=0, si_status=0, si_utime=0, si_stime=26 /* 0.26 s */} --- [pid 6038] rt_sigprocmask(SIG_SETMASK, [], [pid 6030] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6029] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6038] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6030] <... futex resumed>) = 0 [pid 6029] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6038] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6030] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6029] <... futex resumed>) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6038] <... futex resumed>) = 0 [pid 6038] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5026] <... openat resumed>) = 3 [ 127.818077][ T6027] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 127.857047][ T6027] BTRFS info (device loop2): 2 enospc errors during balance [pid 6029] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6040 attached [pid 6030] <... ioctl resumed>) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6030] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6030] <... futex resumed>) = 1 [pid 6029] <... futex resumed>) = 0 [pid 6030] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5026] close(3 [pid 6029] exit_group(0 [pid 5026] <... close resumed>) = 0 [pid 6030] <... futex resumed>) = ? [pid 6029] <... exit_group resumed>) = ? [pid 6030] +++ exited with 0 +++ [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6027] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6027] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6027] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6029] +++ exited with 0 +++ [pid 6023] exit_group(0 [pid 6039] <... futex resumed>) = ? [pid 6023] <... exit_group resumed>) = ? [pid 6039] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6029, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=22 /* 0.22 s */} --- [pid 6027] <... futex resumed>) = ? [pid 6040] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6041 [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 6027] +++ exited with 0 +++ [pid 6023] +++ exited with 0 +++ [pid 5025] <... restart_syscall resumed>) = 0 [pid 6040] <... rseq resumed>) = 0 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6023, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=29 /* 0.29 s */} --- [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6040] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5021] <... restart_syscall resumed>) = 0 [pid 5025] <... openat resumed>) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6040] <... set_robust_list resumed>) = 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6040] rt_sigprocmask(SIG_SETMASK, [], [pid 5025] close(3 [pid 5021] <... openat resumed>) = 3 [pid 5025] <... close resumed>) = 0 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6040] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6040] memfd_create("syzkaller", 0 [pid 5021] close(3) = 0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6042 [pid 6040] <... memfd_create resumed>) = 3 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6040] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6043 [pid 6040] <... mmap resumed>) = 0x7f4e2554e000 ./strace-static-x86_64: Process 6042 attached [pid 6042] set_robust_list(0x5555558636a0, 24) = 0 [pid 6042] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6042] setpgid(0, 0) = 0 [pid 6042] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 6043 attached [pid 6043] set_robust_list(0x5555558636a0, 24 [pid 6042] <... openat resumed>) = 3 [pid 6043] <... set_robust_list resumed>) = 0 [pid 6043] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6042] write(3, "1000", 4) = 4 [pid 6042] close(3) = 0 [pid 6043] <... prctl resumed>) = 0 [pid 6042] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6043] setpgid(0, 0 [pid 6042] <... futex resumed>) = 0 [pid 6043] <... setpgid resumed>) = 0 [pid 6042] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6043] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6042] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6043] <... openat resumed>) = 3 [pid 6042] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6043] write(3, "1000", 4 [pid 6042] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 127.864369][ T6027] BTRFS info (device loop2): balance: ended with status: -28 [pid 6043] <... write resumed>) = 4 [pid 6042] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6043] close(3 [pid 6042] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6043] <... close resumed>) = 0 [pid 6042] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6043] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6042] <... mprotect resumed>) = 0 [pid 6043] <... futex resumed>) = 0 [pid 6042] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6043] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6042] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6043] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6042] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6043] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6042] <... clone3 resumed> => {parent_tid=[6044]}, 88) = 6044 [pid 6043] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6042] rt_sigprocmask(SIG_SETMASK, [], [pid 6043] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6042] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6043] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6042] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6043] <... mprotect resumed>) = 0 [pid 6042] <... futex resumed>) = 0 [pid 6043] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6042] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6043] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6043] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0}./strace-static-x86_64: Process 6041 attached => {parent_tid=[6045]}, 88) = 6045 [pid 6043] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6044 attached NULL, 8) = 0 [pid 6044] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6043] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6041] set_robust_list(0x5555558636a0, 24 [pid 6044] <... rseq resumed>) = 0 [pid 6043] <... futex resumed>) = 0 [pid 6044] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6043] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6041] <... set_robust_list resumed>) = 0 [pid 6044] <... set_robust_list resumed>) = 0 [pid 6044] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6045 attached NULL, 8) = 0 [pid 6041] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6045] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6044] memfd_create("syzkaller", 0 [pid 6045] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6044] <... memfd_create resumed>) = 3 [pid 6041] <... prctl resumed>) = 0 [pid 6045] <... set_robust_list resumed>) = 0 [pid 6044] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6041] setpgid(0, 0 [pid 6045] rt_sigprocmask(SIG_SETMASK, [], [pid 6044] <... mmap resumed>) = 0x7f4e2554e000 [pid 6041] <... setpgid resumed>) = 0 [pid 6045] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6045] memfd_create("syzkaller", 0 [pid 6041] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6045] <... memfd_create resumed>) = 3 [pid 6045] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6041] <... openat resumed>) = 3 [pid 6041] write(3, "1000", 4) = 4 [pid 6041] close(3) = 0 [pid 6041] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6041] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6041] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6041] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6041] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6041] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6041] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6046]}, 88) = 6046 [pid 6041] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6041] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6041] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6046 attached [pid 6046] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6046] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6046] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6046] memfd_create("syzkaller", 0) = 3 [pid 6046] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6034] <... write resumed>) = 16777216 [pid 6034] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6034] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6034] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6034] close(3) = 0 [pid 6034] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 128.127030][ T6034] loop0: detected capacity change from 0 to 32768 [ 128.140954][ T6034] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6034) [pid 6034] 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 6037] <... write resumed>) = 16777216 [pid 6034] ioctl(4, LOOP_CLR_FD [pid 6037] munmap(0x7f4e2554e000, 16777216 [pid 6040] 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 6037] <... munmap resumed>) = 0 [pid 6037] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6037] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6037] ioctl(4, LOOP_CLR_FD) = 0 [pid 6037] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6037] close(4) = 0 [pid 6037] close(3 [pid 6044] 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 6045] 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 6046] 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 6037] <... close resumed>) = 0 [pid 6034] <... ioctl resumed>) = 0 [pid 6034] close(4 [pid 6037] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6034] <... close resumed>) = 0 [pid 6034] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6034] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6037] <... futex resumed>) = 1 [pid 6033] <... futex resumed>) = 0 [pid 6035] <... futex resumed>) = 0 [pid 6033] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6037] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6035] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6037] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6035] <... futex resumed>) = 0 [pid 6033] <... futex resumed>) = 1 [pid 6034] <... futex resumed>) = 0 [pid 6034] open("./file0", O_RDONLY) = 3 [pid 6034] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6034] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6037] open("./file0", O_RDONLY [pid 6035] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6033] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6037] <... open resumed>) = 3 [pid 6033] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6033] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6037] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6034] <... futex resumed>) = 0 [pid 6033] <... futex resumed>) = 1 [pid 6034] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 6033] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6037] <... futex resumed>) = 1 [pid 6035] <... futex resumed>) = 0 [pid 6034] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6037] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6035] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6034] <... futex resumed>) = 0 [pid 6033] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6037] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6035] <... futex resumed>) = 0 [pid 6034] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6033] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6037] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6035] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6034] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6034] ioctl(3, 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 6037] <... ioctl resumed>) = 0 [pid 6033] <... futex resumed>) = 0 [pid 6037] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6033] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6037] <... futex resumed>) = 1 [pid 6035] <... futex resumed>) = 0 [pid 6037] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6035] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6037] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6035] <... futex resumed>) = 0 [pid 6037] ioctl(3, 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 6035] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6037] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6037] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6035] <... futex resumed>) = 0 [pid 6035] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6037] open("./file0", O_RDONLY [pid 6035] <... futex resumed>) = 0 [pid 6037] <... open resumed>) = 4 [pid 6035] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6037] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6035] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6037] <... futex resumed>) = 0 [pid 6035] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6037] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6035] <... futex resumed>) = 0 [pid 6035] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6037] <... ioctl resumed>) = 0 [pid 6037] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6035] <... futex resumed>) = 0 [pid 6037] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6035] exit_group(0 [pid 6037] <... futex resumed>) = ? [pid 6035] <... exit_group resumed>) = ? [pid 6037] +++ exited with 0 +++ [pid 6035] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6035, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=17 /* 0.17 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6048 [pid 6033] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6033] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6033] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0./strace-static-x86_64: Process 6048 attached [pid 6048] set_robust_list(0x5555558636a0, 24) = 0 [pid 6033] <... mmap resumed>) = 0x7f4e2652d000 [ 128.479028][ T6034] BTRFS info (device loop2): balance: start -d -m [ 128.485785][ T6034] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6048] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6040] <... write resumed>) = 16777216 [pid 6033] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6048] setpgid(0, 0) = 0 [pid 6048] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6033] <... mprotect resumed>) = 0 [pid 6048] <... openat resumed>) = 3 [pid 6033] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6048] write(3, "1000", 4) = 4 [pid 6048] close(3) = 0 [pid 6048] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6033] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6048] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6048] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6048] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6033] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6048] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6048] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6040] munmap(0x7f4e2554e000, 16777216 [pid 6048] <... mprotect resumed>) = 0 [pid 6033] <... clone3 resumed> => {parent_tid=[6049]}, 88) = 6049 [pid 6048] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6033] rt_sigprocmask(SIG_SETMASK, [], [pid 6048] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6033] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6048] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6033] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6049 attached [pid 6040] <... munmap resumed>) = 0 [pid 6033] <... futex resumed>) = 0 [pid 6048] <... clone3 resumed> => {parent_tid=[6050]}, 88) = 6050 [pid 6033] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6048] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6048] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6048] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6050 attached [pid 6050] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6050] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6049] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6050] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6050] memfd_create("syzkaller", 0 [pid 6049] <... rseq resumed>) = 0 [pid 6050] <... memfd_create resumed>) = 3 [pid 6050] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 128.542322][ T6034] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6049] set_robust_list(0x7f4e2654d9a0, 24 [pid 6040] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6049] <... set_robust_list resumed>) = 0 [pid 6049] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6049] open("./file0", O_RDONLY [pid 6040] <... openat resumed>) = 4 [pid 6049] <... open resumed>) = 4 [pid 6040] ioctl(4, LOOP_SET_FD, 3 [pid 6049] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6040] <... ioctl resumed>) = 0 [pid 6049] <... futex resumed>) = 1 [pid 6033] <... futex resumed>) = 0 [pid 6049] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6040] close(3 [pid 6033] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6033] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6049] <... ioctl resumed>) = 0 [pid 6040] <... close resumed>) = 0 [pid 6049] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6040] mkdir("./file0", 0777 [pid 6049] <... futex resumed>) = 1 [pid 6040] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6033] <... futex resumed>) = 0 [pid 6049] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [ 128.588256][ T6034] BTRFS info (device loop2): 2 enospc errors during balance [ 128.599220][ T6040] loop5: detected capacity change from 0 to 32768 [ 128.626712][ T6034] BTRFS info (device loop2): balance: ended with status: -28 [pid 6040] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [pid 6040] ioctl(4, LOOP_CLR_FD [pid 6034] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6034] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6033] exit_group(0 [pid 6034] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6049] <... futex resumed>) = ? [pid 6034] <... futex resumed>) = ? [pid 6033] <... exit_group resumed>) = ? [pid 6049] +++ exited with 0 +++ [pid 6034] +++ exited with 0 +++ [pid 6033] +++ exited with 0 +++ [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6033, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=25 /* 0.25 s */} --- [pid 5020] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3) = 0 [ 128.635730][ T6040] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6040) [pid 6045] <... write resumed>) = 16777216 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6051 [pid 6044] <... write resumed>) = 16777216 [pid 6045] munmap(0x7f4e2554e000, 16777216./strace-static-x86_64: Process 6051 attached [pid 6044] munmap(0x7f4e2554e000, 16777216 [pid 6051] set_robust_list(0x5555558636a0, 24 [pid 6046] <... write resumed>) = 16777216 [pid 6044] <... munmap resumed>) = 0 [pid 6051] <... set_robust_list resumed>) = 0 [pid 6046] munmap(0x7f4e2554e000, 16777216 [pid 6051] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6046] <... munmap resumed>) = 0 [pid 6051] <... prctl resumed>) = 0 [pid 6046] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6051] setpgid(0, 0) = 0 [pid 6045] <... munmap resumed>) = 0 [pid 6051] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6045] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6051] <... openat resumed>) = 3 [pid 6046] <... openat resumed>) = 4 [pid 6051] write(3, "1000", 4 [pid 6045] <... openat resumed>) = 4 [pid 6051] <... write resumed>) = 4 [pid 6045] ioctl(4, LOOP_SET_FD, 3 [pid 6051] close(3 [pid 6046] ioctl(4, LOOP_SET_FD, 3 [pid 6044] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6051] <... close resumed>) = 0 [pid 6044] <... openat resumed>) = 4 [pid 6044] ioctl(4, LOOP_SET_FD, 3 [pid 6051] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6051] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6046] <... ioctl resumed>) = 0 [pid 6051] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6046] close(3 [pid 6051] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6046] <... close resumed>) = 0 [pid 6045] <... ioctl resumed>) = 0 [pid 6045] close(3) = 0 [pid 6045] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6051] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6046] mkdir("./file0", 0777 [pid 6051] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6046] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6046] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6051] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6045] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6051] <... mprotect resumed>) = 0 [pid 6044] <... ioctl resumed>) = 0 [pid 6051] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6044] close(3 [pid 6051] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6044] <... close resumed>) = 0 [pid 6051] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6044] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6044] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6051] <... clone3 resumed> => {parent_tid=[6052]}, 88) = 6052 [pid 6051] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6051] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 128.746839][ T6045] loop1: detected capacity change from 0 to 32768 [ 128.754613][ T6046] loop4: detected capacity change from 0 to 32768 [ 128.754893][ T6044] loop3: detected capacity change from 0 to 32768 [ 128.780503][ T6046] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6046) [pid 6051] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6052 attached [pid 6046] <... mount resumed>) = -1 EEXIST (File exists) [pid 6040] <... ioctl resumed>) = 0 [pid 6046] ioctl(4, LOOP_CLR_FD [pid 6040] close(4 [pid 6045] <... mount resumed>) = -1 EEXIST (File exists) [pid 6045] ioctl(4, LOOP_CLR_FD [pid 6040] <... close resumed>) = 0 [pid 6040] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6038] <... futex resumed>) = 0 [pid 6038] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6038] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6040] <... futex resumed>) = 1 [pid 6040] open("./file0", O_RDONLY [pid 6052] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6040] <... open resumed>) = 3 [pid 6052] <... rseq resumed>) = 0 [pid 6040] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6038] <... futex resumed>) = 0 [pid 6038] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6038] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6052] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6040] <... futex resumed>) = 1 [pid 6040] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 6040] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6038] <... futex resumed>) = 0 [pid 6040] <... futex resumed>) = 1 [pid 6038] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6040] ioctl(3, 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 6038] <... futex resumed>) = 0 [pid 6052] <... set_robust_list resumed>) = 0 [pid 6038] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6052] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6044] <... mount resumed>) = -1 EEXIST (File exists) [pid 6044] ioctl(4, LOOP_CLR_FD [pid 6052] memfd_create("syzkaller", 0) = 3 [pid 6052] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 128.804253][ T6045] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6045) [ 128.826138][ T6044] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6044) [ 128.846936][ T6040] BTRFS info (device loop2): balance: start -d -m [pid 6038] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6038] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6038] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6038] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6038] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6038] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6053]}, 88) = 6053 [pid 6038] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6038] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6038] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6053 attached [pid 6053] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6053] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6053] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 128.857993][ T6040] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 128.888517][ T6040] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6053] open("./file0", O_RDONLY) = 4 [pid 6053] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6038] <... futex resumed>) = 0 [pid 6053] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6038] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6038] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6053] <... ioctl resumed>) = 0 [pid 6053] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6038] <... futex resumed>) = 0 [pid 6053] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [ 128.965781][ T6040] BTRFS info (device loop2): 2 enospc errors during balance [pid 6050] 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 6046] <... ioctl resumed>) = 0 [pid 6046] close(4) = 0 [pid 6046] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6041] <... futex resumed>) = 0 [pid 6041] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6040] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6040] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6041] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6040] <... futex resumed>) = 0 [pid 6046] open("./file0", O_RDONLY [pid 6040] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6046] <... open resumed>) = 3 [pid 6038] exit_group(0 [pid 6053] <... futex resumed>) = ? [pid 6046] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6040] <... futex resumed>) = ? [pid 6038] <... exit_group resumed>) = ? [ 129.006040][ T6040] BTRFS info (device loop2): balance: ended with status: -28 [pid 6040] +++ exited with 0 +++ [pid 6053] +++ exited with 0 +++ [pid 6046] <... futex resumed>) = 1 [pid 6038] +++ exited with 0 +++ [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6038, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=28 /* 0.28 s */} --- [pid 6046] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6041] <... futex resumed>) = 0 [pid 6041] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6046] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6041] <... futex resumed>) = 0 [pid 6041] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6046] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6046] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... openat resumed>) = 3 [pid 6046] <... futex resumed>) = 1 [pid 6041] <... futex resumed>) = 0 [pid 6041] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6046] ioctl(3, 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 5027] ioctl(3, LOOP_CLR_FD [pid 6041] <... futex resumed>) = 0 [pid 6041] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5027] close(3) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6054 ./strace-static-x86_64: Process 6054 attached [pid 6054] set_robust_list(0x5555558636a0, 24) = 0 [pid 6054] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6054] setpgid(0, 0) = 0 [pid 6054] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6054] write(3, "1000", 4 [pid 6045] <... ioctl resumed>) = 0 [pid 6054] <... write resumed>) = 4 [pid 6054] close(3) = 0 [pid 6054] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6044] <... ioctl resumed>) = 0 [pid 6054] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6045] close(4 [pid 6044] close(4 [pid 6054] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6045] <... close resumed>) = 0 [pid 6044] <... close resumed>) = 0 [pid 6054] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6045] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6044] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6054] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6045] <... futex resumed>) = 1 [pid 6044] <... futex resumed>) = 1 [pid 6043] <... futex resumed>) = 0 [pid 6042] <... futex resumed>) = 0 [pid 6054] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6045] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6044] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6043] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6042] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6054] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6045] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6044] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6043] <... futex resumed>) = 0 [pid 6042] <... futex resumed>) = 0 [pid 6054] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6045] open("./file0", O_RDONLY [pid 6044] open("./file0", O_RDONLY [pid 6043] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6042] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6054] <... mprotect resumed>) = 0 [ 129.074494][ T6046] BTRFS info (device loop2): balance: start -d -m [pid 6045] <... open resumed>) = 3 [pid 6044] <... open resumed>) = 3 [pid 6054] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6045] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6044] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6054] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6045] <... futex resumed>) = 1 [pid 6044] <... futex resumed>) = 1 [pid 6043] <... futex resumed>) = 0 [pid 6042] <... futex resumed>) = 0 [pid 6054] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6045] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6044] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6043] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6042] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6045] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6044] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6043] <... futex resumed>) = 0 [pid 6042] <... futex resumed>) = 0 [pid 6054] <... clone3 resumed> => {parent_tid=[6055]}, 88) = 6055 [pid 6045] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6044] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6043] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6042] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6054] rt_sigprocmask(SIG_SETMASK, [], [pid 6045] <... ioctl resumed>) = 0 [pid 6044] <... ioctl resumed>) = 0 [pid 6054] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6045] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6044] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6054] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6045] <... futex resumed>) = 1 [pid 6044] <... futex resumed>) = 1 [pid 6043] <... futex resumed>) = 0 [pid 6042] <... futex resumed>) = 0 [pid 6054] <... futex resumed>) = 0 [pid 6045] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6044] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6043] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6042] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6054] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6045] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6044] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6043] <... futex resumed>) = 0 [pid 6042] <... futex resumed>) = 0 [pid 6045] ioctl(3, 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 6044] ioctl(3, 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 6043] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6042] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6055 attached [pid 6045] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6044] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6041] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6055] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6045] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6044] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6041] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6055] <... rseq resumed>) = 0 [pid 6045] <... futex resumed>) = 1 [pid 6044] <... futex resumed>) = 1 [pid 6043] <... futex resumed>) = 0 [pid 6042] <... futex resumed>) = 0 [pid 6041] <... futex resumed>) = 0 [pid 6055] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6045] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6044] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6043] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6042] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6041] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6055] <... set_robust_list resumed>) = 0 [pid 6045] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6044] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6043] <... futex resumed>) = 0 [pid 6042] <... futex resumed>) = 0 [pid 6041] <... mmap resumed>) = 0x7f4e2652d000 [pid 6055] rt_sigprocmask(SIG_SETMASK, [], [pid 6045] open("./file0", O_RDONLY [pid 6044] open("./file0", O_RDONLY [pid 6043] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6042] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6041] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6055] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6045] <... open resumed>) = 4 [pid 6044] <... open resumed>) = 4 [pid 6055] memfd_create("syzkaller", 0 [pid 6045] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6044] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6041] <... mprotect resumed>) = 0 [pid 6055] <... memfd_create resumed>) = 3 [pid 6045] <... futex resumed>) = 1 [pid 6044] <... futex resumed>) = 1 [pid 6043] <... futex resumed>) = 0 [pid 6042] <... futex resumed>) = 0 [pid 6055] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6045] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6044] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6043] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6042] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6055] <... mmap resumed>) = 0x7f4e2554e000 [pid 6045] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6044] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6043] <... futex resumed>) = 0 [pid 6042] <... futex resumed>) = 0 [ 129.122574][ T6046] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6045] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6044] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6043] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6042] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6041] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6045] <... ioctl resumed>) = 0 [pid 6044] <... ioctl resumed>) = 0 [pid 6045] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6044] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6045] <... futex resumed>) = 1 [pid 6044] <... futex resumed>) = 1 [pid 6043] <... futex resumed>) = 0 [pid 6042] <... futex resumed>) = 0 [pid 6045] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6044] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6043] exit_group(0 [pid 6042] exit_group(0 [pid 6045] <... futex resumed>) = ? [pid 6044] <... futex resumed>) = ? [pid 6043] <... exit_group resumed>) = ? [pid 6042] <... exit_group resumed>) = ? [pid 6045] +++ exited with 0 +++ [pid 6044] +++ exited with 0 +++ [pid 6043] +++ exited with 0 +++ [pid 6042] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6042, si_uid=0, si_status=0, si_utime=0, si_stime=28 /* 0.28 s */} --- [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6043, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=29 /* 0.29 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5021] <... openat resumed>) = 3 [pid 5025] <... openat resumed>) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5021] close(3 [pid 6041] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5025] close(3 [pid 5021] <... close resumed>) = 0 [pid 5025] <... close resumed>) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6041] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6056 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6057 ./strace-static-x86_64: Process 6056 attached [pid 6056] set_robust_list(0x5555558636a0, 24) = 0 [pid 6056] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6056] setpgid(0, 0) = 0 [pid 6056] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6056] write(3, "1000", 4 [pid 6041] <... clone3 resumed> => {parent_tid=[6058]}, 88) = 6058 [pid 6056] <... write resumed>) = 4 [pid 6041] rt_sigprocmask(SIG_SETMASK, [], [pid 6056] close(3 [pid 6041] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6056] <... close resumed>) = 0 [pid 6041] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6058 attached [pid 6056] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6041] <... futex resumed>) = 0 [pid 6058] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6056] <... futex resumed>) = 0 [pid 6041] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6057 attached [pid 6058] <... rseq resumed>) = 0 [pid 6056] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6058] set_robust_list(0x7f4e2654d9a0, 24 [pid 6056] <... rt_sigaction resumed>NULL, 8) = 0 [ 129.168066][ T6046] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 129.195237][ T6046] BTRFS info (device loop2): 2 enospc errors during balance [pid 6058] <... set_robust_list resumed>) = 0 [pid 6057] set_robust_list(0x5555558636a0, 24 [pid 6056] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6058] rt_sigprocmask(SIG_SETMASK, [], [pid 6056] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6058] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6056] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6058] open("./file0", O_RDONLY [pid 6056] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6058] <... open resumed>) = 4 [pid 6056] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6058] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6056] <... mprotect resumed>) = 0 [pid 6058] <... futex resumed>) = 1 [pid 6056] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6041] <... futex resumed>) = 0 [pid 6058] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6056] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6041] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6058] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6056] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6041] <... futex resumed>) = 0 [pid 6058] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6041] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6058] <... ioctl resumed>) = 0 [pid 6057] <... set_robust_list resumed>) = 0 [pid 6056] <... clone3 resumed> => {parent_tid=[6059]}, 88) = 6059 [pid 6058] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6056] rt_sigprocmask(SIG_SETMASK, [], [pid 6058] <... futex resumed>) = 1 [pid 6056] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6041] <... futex resumed>) = 0 [pid 6058] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6056] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6057] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6056] <... futex resumed>) = 0 [pid 6057] <... prctl resumed>) = 0 [pid 6056] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6059 attached [pid 6057] setpgid(0, 0 [pid 6059] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6057] <... setpgid resumed>) = 0 [pid 6059] <... rseq resumed>) = 0 [pid 6059] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6057] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6059] <... set_robust_list resumed>) = 0 [pid 6059] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6059] memfd_create("syzkaller", 0) = 3 [pid 6057] <... openat resumed>) = 3 [pid 6059] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6057] write(3, "1000", 4 [pid 6059] <... mmap resumed>) = 0x7f4e2554e000 [pid 6057] <... write resumed>) = 4 [pid 6057] close(3) = 0 [pid 6057] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6057] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6057] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6057] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6057] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6057] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6057] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6060]}, 88) = 6060 [pid 6057] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6057] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 6060 attached [pid 6057] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6060] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6046] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6060] <... rseq resumed>) = 0 [pid 6046] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6060] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6046] <... futex resumed>) = 0 [pid 6046] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6041] exit_group(0 [pid 6060] <... set_robust_list resumed>) = 0 [pid 6058] <... futex resumed>) = ? [pid 6041] <... exit_group resumed>) = ? [ 129.220154][ T6046] BTRFS info (device loop2): balance: ended with status: -28 [pid 6046] <... futex resumed>) = ? [pid 6060] rt_sigprocmask(SIG_SETMASK, [], [pid 6058] +++ exited with 0 +++ [pid 6050] <... write resumed>) = 16777216 [pid 6046] +++ exited with 0 +++ [pid 6041] +++ exited with 0 +++ [pid 6060] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6041, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 6060] memfd_create("syzkaller", 0 [pid 6050] munmap(0x7f4e2554e000, 16777216 [pid 6060] <... memfd_create resumed>) = 3 [pid 6060] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5026] close(3 [pid 6052] 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 6050] <... munmap resumed>) = 0 [pid 5026] <... close resumed>) = 0 [pid 6050] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6050] <... openat resumed>) = 4 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6061 [pid 6050] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6050] ioctl(4, LOOP_CLR_FD) = 0 [pid 6050] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6050] close(4./strace-static-x86_64: Process 6061 attached ) = 0 [pid 6061] set_robust_list(0x5555558636a0, 24 [pid 6050] close(3 [pid 6061] <... set_robust_list resumed>) = 0 [pid 6061] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6061] setpgid(0, 0) = 0 [pid 6061] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6061] write(3, "1000", 4) = 4 [pid 6061] close(3) = 0 [pid 6061] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6061] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6061] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6061] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6061] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6061] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6061] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6063]}, 88) = 6063 [pid 6061] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6061] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6061] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6063 attached [pid 6063] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6063] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6063] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6063] memfd_create("syzkaller", 0) = 3 [pid 6063] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6055] 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 6050] <... close resumed>) = 0 [pid 6050] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6048] <... futex resumed>) = 0 [pid 6048] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6048] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6050] open("./file0", O_RDONLY) = 3 [pid 6050] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6048] <... futex resumed>) = 0 [pid 6048] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6048] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6050] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 6050] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6048] <... futex resumed>) = 0 [pid 6048] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6048] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6050] ioctl(3, 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 6048] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6048] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6048] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6048] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6048] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6048] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6064]}, 88) = 6064 [pid 6048] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6048] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6048] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 129.581237][ T6050] BTRFS info (device loop2): balance: start -d -m [ 129.616574][ T6050] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6059] 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 6060] 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./strace-static-x86_64: Process 6064 attached [pid 6064] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6064] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6064] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6064] open("./file0", O_RDONLY) = 4 [pid 6064] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6048] <... futex resumed>) = 0 [pid 6064] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6048] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6064] <... ioctl resumed>) = 0 [pid 6048] <... futex resumed>) = 0 [pid 6064] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6048] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6064] <... futex resumed>) = 0 [pid 6048] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 129.650922][ T6050] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6064] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6052] <... write resumed>) = 16777216 [pid 6052] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6052] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 129.692815][ T6050] BTRFS info (device loop2): 2 enospc errors during balance [ 129.732900][ T6050] BTRFS info (device loop2): balance: ended with status: -28 [pid 6052] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6052] close(3 [pid 6050] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6052] <... close resumed>) = 0 [pid 6050] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6052] mkdir("./file0", 0777 [pid 6050] <... futex resumed>) = 0 [pid 6052] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6050] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6048] exit_group(0 [pid 6064] <... futex resumed>) = ? [pid 6052] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6050] <... futex resumed>) = ? [pid 6048] <... exit_group resumed>) = ? [pid 6064] +++ exited with 0 +++ [pid 6050] +++ exited with 0 +++ [pid 6048] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6048, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=26 /* 0.26 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6065 ./strace-static-x86_64: Process 6065 attached [pid 6065] set_robust_list(0x5555558636a0, 24) = 0 [pid 6065] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6063] 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 6065] <... prctl resumed>) = 0 [pid 6065] setpgid(0, 0) = 0 [pid 6065] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6065] write(3, "1000", 4) = 4 [pid 6065] close(3) = 0 [pid 6065] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6065] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6065] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6065] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6052] <... mount resumed>) = -1 EEXIST (File exists) [pid 6065] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6052] ioctl(4, LOOP_CLR_FD [pid 6065] <... mprotect resumed>) = 0 [ 129.766784][ T6052] loop0: detected capacity change from 0 to 32768 [ 129.792012][ T6052] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6052) [pid 6065] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6065] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6067]}, 88) = 6067 [pid 6065] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6065] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6065] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6067 attached [pid 6067] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6067] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6067] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6067] memfd_create("syzkaller", 0) = 3 [pid 6067] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6055] <... write resumed>) = 16777216 [pid 6055] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6055] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6055] ioctl(4, LOOP_SET_FD, 3 [pid 6059] <... write resumed>) = 16777216 [pid 6059] munmap(0x7f4e2554e000, 16777216 [pid 6055] <... ioctl resumed>) = 0 [pid 6059] <... munmap resumed>) = 0 [pid 6055] close(3) = 0 [pid 6055] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6055] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6059] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6059] ioctl(4, LOOP_SET_FD, 3 [pid 6055] <... mount resumed>) = -1 EEXIST (File exists) [pid 6055] ioctl(4, LOOP_CLR_FD [pid 6059] <... ioctl resumed>) = 0 [pid 6059] close(3) = 0 [ 129.997799][ T6055] loop5: detected capacity change from 0 to 32768 [ 130.028760][ T6055] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6055) [ 130.036694][ T6059] loop1: detected capacity change from 0 to 32768 [pid 6059] mkdir("./file0", 0777 [pid 6060] <... write resumed>) = 16777216 [pid 6059] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6052] <... ioctl resumed>) = 0 [pid 6059] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6052] close(4 [pid 6060] munmap(0x7f4e2554e000, 16777216 [pid 6059] <... mount resumed>) = -1 EEXIST (File exists) [pid 6059] ioctl(4, LOOP_CLR_FD [pid 6052] <... close resumed>) = 0 [pid 6052] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6051] <... futex resumed>) = 0 [pid 6051] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6051] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6052] open("./file0", O_RDONLY) = 3 [pid 6052] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6051] <... futex resumed>) = 0 [pid 6052] <... futex resumed>) = 1 [pid 6051] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6052] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6051] <... futex resumed>) = 0 [pid 6052] <... ioctl resumed>) = 0 [pid 6051] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6052] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6051] <... futex resumed>) = 0 [pid 6052] ioctl(3, 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 6051] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6051] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6060] <... munmap resumed>) = 0 [ 130.097698][ T6059] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6059) [ 130.127981][ T6052] BTRFS info (device loop2): balance: start -d -m [pid 6060] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6060] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6063] <... write resumed>) = 16777216 [pid 6051] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6063] munmap(0x7f4e2554e000, 16777216 [pid 6060] close(3 [pid 6051] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6063] <... munmap resumed>) = 0 [pid 6060] <... close resumed>) = 0 [pid 6051] <... futex resumed>) = 0 [pid 6060] mkdir("./file0", 0777 [ 130.157773][ T6052] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 130.168795][ T6060] loop3: detected capacity change from 0 to 32768 [ 130.195494][ T6052] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6051] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6060] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6051] <... mmap resumed>) = 0x7f4e2652d000 [pid 6060] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6051] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6063] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6063] ioctl(4, LOOP_SET_FD, 3 [pid 6051] <... mprotect resumed>) = 0 [pid 6067] 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 6051] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6052] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6051] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6052] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6051] <... clone3 resumed> => {parent_tid=[6068]}, 88) = 6068 [pid 6052] <... futex resumed>) = 0 [pid 6051] rt_sigprocmask(SIG_SETMASK, [], [pid 6052] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6051] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6051] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6068 attached ) = 0 [pid 6051] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6068] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6060] <... mount resumed>) = -1 EEXIST (File exists) [pid 6068] set_robust_list(0x7f4e2654d9a0, 24 [pid 6060] ioctl(4, LOOP_CLR_FD [pid 6068] <... set_robust_list resumed>) = 0 [pid 6068] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6068] open("./file0", O_RDONLY) = 4 [pid 6063] <... ioctl resumed>) = 0 [pid 6055] <... ioctl resumed>) = 0 [pid 6068] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6063] close(3 [pid 6055] close(4 [pid 6068] <... futex resumed>) = 1 [pid 6051] <... futex resumed>) = 0 [ 130.219653][ T6052] BTRFS info (device loop2): 2 enospc errors during balance [ 130.236244][ T6052] BTRFS info (device loop2): balance: ended with status: -28 [ 130.238788][ T6063] loop4: detected capacity change from 0 to 32768 [ 130.250493][ T6060] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6060) [pid 6051] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6055] <... close resumed>) = 0 [pid 6063] <... close resumed>) = 0 [pid 6051] <... futex resumed>) = 1 [pid 6052] <... futex resumed>) = 0 [pid 6068] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6063] mkdir("./file0", 0777 [pid 6052] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6051] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6055] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6063] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6055] <... futex resumed>) = 1 [pid 6054] <... futex resumed>) = 0 [pid 6063] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6055] open("./file0", O_RDONLY [pid 6054] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6054] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6055] <... open resumed>) = 3 [pid 6055] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6054] <... futex resumed>) = 0 [pid 6055] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6054] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6055] <... ioctl resumed>) = 0 [pid 6054] <... futex resumed>) = 0 [pid 6055] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6054] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6052] <... ioctl resumed>) = 0 [pid 6055] <... futex resumed>) = 0 [pid 6054] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6052] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6063] <... mount resumed>) = -1 EEXIST (File exists) [pid 6059] <... ioctl resumed>) = 0 [pid 6055] ioctl(3, 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 6054] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6052] <... futex resumed>) = 1 [pid 6051] <... futex resumed>) = 0 [pid 6054] <... futex resumed>) = 0 [pid 6063] ioctl(4, LOOP_CLR_FD [pid 6059] close(4 [pid 6054] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6059] <... close resumed>) = 0 [pid 6052] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6051] exit_group(0 [pid 6059] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6056] <... futex resumed>) = 0 [pid 6051] <... exit_group resumed>) = ? [pid 6068] <... futex resumed>) = ? [pid 6059] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6056] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6052] <... futex resumed>) = ? [pid 6068] +++ exited with 0 +++ [pid 6059] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6056] <... futex resumed>) = 0 [ 130.313150][ T6063] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6063) [ 130.353080][ T6055] BTRFS info (device loop2): balance: start -d -m [pid 6059] open("./file0", O_RDONLY [pid 6056] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6052] +++ exited with 0 +++ [pid 6051] +++ exited with 0 +++ [pid 6059] <... open resumed>) = 3 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6051, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=23 /* 0.23 s */} --- [pid 6059] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6056] <... futex resumed>) = 0 [pid 6059] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6056] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6059] <... ioctl resumed>) = 0 [pid 6056] <... futex resumed>) = 0 [pid 6059] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6056] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6059] <... futex resumed>) = 0 [pid 6056] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6059] ioctl(3, 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 6056] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6054] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6059] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6056] <... futex resumed>) = 0 [pid 6054] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6059] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6056] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6054] <... futex resumed>) = 0 [pid 6059] <... futex resumed>) = 0 [pid 6056] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6054] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5020] <... openat resumed>) = 3 [pid 6059] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6056] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6054] <... mmap resumed>) = 0x7f4e2652d000 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6059] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6056] <... futex resumed>) = 0 [pid 6054] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6059] open("./file0", O_RDONLY [pid 6056] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6054] <... mprotect resumed>) = 0 [pid 5020] close(3 [pid 6059] <... open resumed>) = 4 [pid 6054] rt_sigprocmask(SIG_BLOCK, ~[], [ 130.365899][ T6055] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6059] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6054] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5020] <... close resumed>) = 0 [pid 6059] <... futex resumed>) = 1 [pid 6056] <... futex resumed>) = 0 [pid 6054] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6059] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6056] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6059] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6056] <... futex resumed>) = 0 [pid 6054] <... clone3 resumed> => {parent_tid=[6069]}, 88) = 6069 [pid 6059] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6056] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6054] rt_sigprocmask(SIG_SETMASK, [], [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6059] <... ioctl resumed>) = 0 [pid 6054] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6059] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6054] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6059] <... futex resumed>) = 1 [pid 6056] <... futex resumed>) = 0 [pid 6054] <... futex resumed>) = 0 [pid 6059] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6056] exit_group(0 [pid 6054] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6059] <... futex resumed>) = ? [pid 6056] <... exit_group resumed>) = ? [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6070 ./strace-static-x86_64: Process 6070 attached ./strace-static-x86_64: Process 6069 attached [pid 6059] +++ exited with 0 +++ [pid 6056] +++ exited with 0 +++ [pid 6070] set_robust_list(0x5555558636a0, 24 [pid 6069] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6056, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=20 /* 0.20 s */} --- [pid 6070] <... set_robust_list resumed>) = 0 [pid 6069] <... rseq resumed>) = 0 [pid 6070] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6069] set_robust_list(0x7f4e2654d9a0, 24 [pid 6070] <... prctl resumed>) = 0 [pid 6069] <... set_robust_list resumed>) = 0 [pid 6070] setpgid(0, 0 [pid 6069] rt_sigprocmask(SIG_SETMASK, [], [pid 6070] <... setpgid resumed>) = 0 [pid 6069] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6070] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6069] open("./file0", O_RDONLY [pid 6070] <... openat resumed>) = 3 [pid 6069] <... open resumed>) = 4 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6070] write(3, "1000", 4 [pid 6069] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] <... openat resumed>) = 3 [pid 6070] <... write resumed>) = 4 [pid 6069] <... futex resumed>) = 1 [pid 6054] <... futex resumed>) = 0 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6070] close(3 [pid 6069] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6054] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6070] <... close resumed>) = 0 [pid 6069] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6054] <... futex resumed>) = 0 [pid 5021] close(3 [pid 6070] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6069] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6054] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] <... close resumed>) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6071 ./strace-static-x86_64: Process 6071 attached [pid 6070] <... futex resumed>) = 0 [pid 6070] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6069] <... ioctl resumed>) = 0 [pid 6070] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [ 130.421328][ T6055] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 130.454119][ T6055] BTRFS info (device loop2): 2 enospc errors during balance [pid 6069] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6054] <... futex resumed>) = 0 [pid 6069] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6071] set_robust_list(0x5555558636a0, 24) = 0 [pid 6071] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6071] setpgid(0, 0) = 0 [pid 6071] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6071] write(3, "1000", 4) = 4 [pid 6071] close(3 [pid 6070] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6071] <... close resumed>) = 0 [pid 6070] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6071] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6070] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6071] <... futex resumed>) = 0 [pid 6070] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6067] <... write resumed>) = 16777216 [pid 6071] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6070] <... mprotect resumed>) = 0 [pid 6067] munmap(0x7f4e2554e000, 16777216 [pid 6071] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6070] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6071] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6071] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6071] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6071] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6071] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6067] <... munmap resumed>) = 0 [pid 6070] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6067] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6070] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6055] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6071] <... clone3 resumed> => {parent_tid=[6072]}, 88) = 6072 [pid 6067] <... openat resumed>) = 4 [pid 6055] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6071] rt_sigprocmask(SIG_SETMASK, [], [pid 6070] <... clone3 resumed> => {parent_tid=[6073]}, 88) = 6073 [pid 6067] ioctl(4, LOOP_SET_FD, 3 [pid 6055] <... futex resumed>) = 0 [pid 6054] exit_group(0./strace-static-x86_64: Process 6072 attached [pid 6071] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6070] rt_sigprocmask(SIG_SETMASK, [], [pid 6069] <... futex resumed>) = ? [pid 6067] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6054] <... exit_group resumed>) = ? ./strace-static-x86_64: Process 6073 attached [pid 6072] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6071] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6070] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6069] +++ exited with 0 +++ [pid 6067] ioctl(4, LOOP_CLR_FD [pid 6073] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6071] <... futex resumed>) = 0 [pid 6070] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6067] <... ioctl resumed>) = 0 [pid 6055] +++ exited with 0 +++ [pid 6072] <... rseq resumed>) = 0 [pid 6054] +++ exited with 0 +++ [pid 6073] <... rseq resumed>) = 0 [pid 6072] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6071] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6070] <... futex resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6054, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=27 /* 0.27 s */} --- [pid 6073] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6072] <... set_robust_list resumed>) = 0 [pid 6070] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 6073] <... set_robust_list resumed>) = 0 [pid 6072] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] <... restart_syscall resumed>) = 0 [pid 6073] rt_sigprocmask(SIG_SETMASK, [], [pid 6072] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6067] ioctl(4, LOOP_SET_FD, 3 [pid 6073] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6072] memfd_create("syzkaller", 0 [pid 6067] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6073] memfd_create("syzkaller", 0 [pid 6072] <... memfd_create resumed>) = 3 [pid 6067] close(4 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6073] <... memfd_create resumed>) = 3 [pid 6072] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6067] <... close resumed>) = 0 [pid 6063] <... ioctl resumed>) = 0 [pid 6060] <... ioctl resumed>) = 0 [pid 5027] <... openat resumed>) = 3 [pid 6073] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6072] <... mmap resumed>) = 0x7f4e2554e000 [pid 6067] close(3 [pid 6063] close(4 [pid 6060] close(4 [ 130.484378][ T6055] BTRFS info (device loop2): balance: ended with status: -28 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6073] <... mmap resumed>) = 0x7f4e2554e000 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6063] <... close resumed>) = 0 [pid 6060] <... close resumed>) = 0 [pid 5027] close(3 [pid 6063] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6060] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... close resumed>) = 0 [pid 6063] <... futex resumed>) = 1 [pid 6061] <... futex resumed>) = 0 [pid 6060] <... futex resumed>) = 1 [pid 6057] <... futex resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6063] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6061] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6060] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6057] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6063] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6061] <... futex resumed>) = 0 [pid 6060] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6057] <... futex resumed>) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6075 ./strace-static-x86_64: Process 6075 attached [pid 6063] open("./file0", O_RDONLY [pid 6061] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6060] open("./file0", O_RDONLY [pid 6057] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6075] set_robust_list(0x5555558636a0, 24 [pid 6063] <... open resumed>) = 3 [pid 6060] <... open resumed>) = 3 [pid 6075] <... set_robust_list resumed>) = 0 [pid 6063] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6060] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6063] <... futex resumed>) = 1 [pid 6061] <... futex resumed>) = 0 [pid 6075] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6060] <... futex resumed>) = 1 [pid 6057] <... futex resumed>) = 0 [pid 6075] <... prctl resumed>) = 0 [pid 6063] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6061] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6060] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6057] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6075] setpgid(0, 0 [pid 6063] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6061] <... futex resumed>) = 0 [pid 6060] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6057] <... futex resumed>) = 0 [pid 6075] <... setpgid resumed>) = 0 [pid 6063] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6061] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6060] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6057] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6075] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6063] <... ioctl resumed>) = 0 [pid 6060] <... ioctl resumed>) = 0 [pid 6075] <... openat resumed>) = 3 [pid 6063] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6060] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6075] write(3, "1000", 4 [pid 6063] <... futex resumed>) = 1 [pid 6061] <... futex resumed>) = 0 [pid 6060] <... futex resumed>) = 1 [pid 6057] <... futex resumed>) = 0 [pid 6075] <... write resumed>) = 4 [pid 6063] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6061] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6060] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6057] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6075] close(3 [pid 6063] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6061] <... futex resumed>) = 0 [pid 6060] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6057] <... futex resumed>) = 0 [pid 6075] <... close resumed>) = 0 [pid 6063] ioctl(3, 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 6061] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6060] ioctl(3, 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 6057] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6075] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6075] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6060] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6075] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6060] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6075] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6060] <... futex resumed>) = 1 [pid 6057] <... futex resumed>) = 0 [pid 6075] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6060] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6057] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6075] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6060] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6057] <... futex resumed>) = 0 [pid 6075] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6060] open("./file0", O_RDONLY [pid 6057] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6075] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6067] <... close resumed>) = 0 [pid 6060] <... open resumed>) = 4 [ 130.612518][ T6063] BTRFS info (device loop2): balance: start -d -m [ 130.626546][ T6063] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6075] <... mprotect resumed>) = 0 [pid 6061] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6060] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6067] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6075] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6067] <... futex resumed>) = 1 [pid 6065] <... futex resumed>) = 0 [pid 6061] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6060] <... futex resumed>) = 1 [pid 6057] <... futex resumed>) = 0 [pid 6075] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6067] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6065] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6061] <... futex resumed>) = 0 [pid 6060] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6057] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6075] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6067] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6065] <... futex resumed>) = 0 [pid 6065] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6061] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6060] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6057] <... futex resumed>) = 0 [pid 6067] open("./file0", O_RDONLY [pid 6061] <... mmap resumed>) = 0x7f4e2652d000 [pid 6060] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6057] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6076 attached [pid 6075] <... clone3 resumed> => {parent_tid=[6076]}, 88) = 6076 [pid 6067] <... open resumed>) = 3 [ 130.661205][ T6063] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 130.691096][ T6063] BTRFS info (device loop2): 2 enospc errors during balance [pid 6061] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6075] rt_sigprocmask(SIG_SETMASK, [], [pid 6067] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6076] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6075] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6061] <... mprotect resumed>) = 0 [pid 6076] <... rseq resumed>) = 0 [pid 6075] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6067] <... futex resumed>) = 1 [pid 6065] <... futex resumed>) = 0 [pid 6061] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6076] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6075] <... futex resumed>) = 0 [pid 6067] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6065] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6063] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6061] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6060] <... ioctl resumed>) = 0 [pid 6076] <... set_robust_list resumed>) = 0 [pid 6075] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6067] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6065] <... futex resumed>) = 0 [pid 6063] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6061] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6060] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6076] rt_sigprocmask(SIG_SETMASK, [], [pid 6067] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6065] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6063] <... futex resumed>) = 0 [pid 6060] <... futex resumed>) = 1 [pid 6057] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6077 attached [pid 6076] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6067] <... ioctl resumed>) = 0 [pid 6063] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6061] <... clone3 resumed> => {parent_tid=[6077]}, 88) = 6077 [pid 6060] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6057] exit_group(0 [pid 6077] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6076] memfd_create("syzkaller", 0 [pid 6067] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6061] rt_sigprocmask(SIG_SETMASK, [], [pid 6060] <... futex resumed>) = ? [pid 6057] <... exit_group resumed>) = ? [pid 6077] <... rseq resumed>) = 0 [pid 6076] <... memfd_create resumed>) = 3 [pid 6067] <... futex resumed>) = 1 [pid 6065] <... futex resumed>) = 0 [pid 6061] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6060] +++ exited with 0 +++ [pid 6065] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6057] +++ exited with 0 +++ [pid 6077] set_robust_list(0x7f4e2654d9a0, 24 [pid 6076] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6067] ioctl(3, 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 6065] <... futex resumed>) = 0 [ 130.706003][ T6063] BTRFS info (device loop2): balance: ended with status: -28 [pid 6061] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6077] <... set_robust_list resumed>) = 0 [pid 6076] <... mmap resumed>) = 0x7f4e2554e000 [pid 6065] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6057, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=27 /* 0.27 s */} --- [pid 6077] rt_sigprocmask(SIG_SETMASK, [], [pid 6061] <... futex resumed>) = 0 [pid 5025] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 6077] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6061] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6077] open("./file0", O_RDONLY [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6078 ./strace-static-x86_64: Process 6078 attached [pid 6078] set_robust_list(0x5555558636a0, 24) = 0 [pid 6077] <... open resumed>) = 4 [pid 6077] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6061] <... futex resumed>) = 0 [pid 6078] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6077] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6061] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6078] <... prctl resumed>) = 0 [pid 6063] <... futex resumed>) = 0 [pid 6061] <... futex resumed>) = 1 [pid 6078] setpgid(0, 0 [pid 6063] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6061] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6078] <... setpgid resumed>) = 0 [pid 6078] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6063] <... ioctl resumed>) = 0 [pid 6078] write(3, "1000", 4 [pid 6063] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6078] <... write resumed>) = 4 [pid 6063] <... futex resumed>) = 1 [pid 6061] <... futex resumed>) = 0 [pid 6078] close(3 [pid 6063] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6061] exit_group(0 [pid 6078] <... close resumed>) = 0 [pid 6077] <... futex resumed>) = ? [pid 6065] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6063] <... futex resumed>) = ? [pid 6061] <... exit_group resumed>) = ? [pid 6078] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6077] +++ exited with 0 +++ [pid 6065] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6063] +++ exited with 0 +++ [pid 6078] <... futex resumed>) = 0 [pid 6065] <... futex resumed>) = 0 [pid 6078] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6065] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6061] +++ exited with 0 +++ [pid 6078] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6065] <... mmap resumed>) = 0x7f4e2652d000 [pid 6078] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6065] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6061, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=31 /* 0.31 s */} --- [pid 6078] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6065] <... mprotect resumed>) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6078] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6065] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6078] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6065] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5026] <... openat resumed>) = 3 [pid 6078] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6065] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6078] <... mprotect resumed>) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6078] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6065] <... clone3 resumed> => {parent_tid=[6079]}, 88) = 6079 [ 130.757406][ T6067] BTRFS info (device loop2): balance: start -d -m [ 130.764360][ T6067] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6078] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6065] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] close(3 [pid 6078] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6065] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] <... close resumed>) = 0 [pid 6065] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6079 attached [pid 6078] <... clone3 resumed> => {parent_tid=[6080]}, 88) = 6080 [pid 6065] <... futex resumed>) = 0 [pid 6079] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6078] rt_sigprocmask(SIG_SETMASK, [], [pid 6065] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6079] <... rseq resumed>) = 0 [pid 6078] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6079] set_robust_list(0x7f4e2654d9a0, 24 [pid 6078] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6079] <... set_robust_list resumed>) = 0 [pid 6078] <... futex resumed>) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6081 ./strace-static-x86_64: Process 6080 attached [pid 6079] rt_sigprocmask(SIG_SETMASK, [], [pid 6078] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6080] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6079] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6080] <... rseq resumed>) = 0 [pid 6079] open("./file0", O_RDONLY [pid 6080] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6079] <... open resumed>) = 4 [pid 6080] <... set_robust_list resumed>) = 0 [pid 6079] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6080] rt_sigprocmask(SIG_SETMASK, [], [pid 6079] <... futex resumed>) = 1 [pid 6065] <... futex resumed>) = 0 [pid 6080] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6079] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6065] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6081 attached [pid 6080] memfd_create("syzkaller", 0 [pid 6079] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6065] <... futex resumed>) = 0 [pid 6080] <... memfd_create resumed>) = 3 [pid 6079] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6065] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6081] set_robust_list(0x5555558636a0, 24 [pid 6080] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6079] <... ioctl resumed>) = 0 [pid 6080] <... mmap resumed>) = 0x7f4e2554e000 [pid 6079] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6081] <... set_robust_list resumed>) = 0 [pid 6079] <... futex resumed>) = 1 [pid 6065] <... futex resumed>) = 0 [pid 6079] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6081] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6081] setpgid(0, 0) = 0 [ 130.817221][ T6067] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6081] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6081] write(3, "1000", 4) = 4 [pid 6081] close(3) = 0 [pid 6081] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6081] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6081] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6081] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6081] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6067] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6081] <... mprotect resumed>) = 0 [pid 6081] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6067] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6081] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6067] <... futex resumed>) = 0 [pid 6065] exit_group(0 [pid 6081] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6079] <... futex resumed>) = ? [pid 6065] <... exit_group resumed>) = ? ./strace-static-x86_64: Process 6082 attached [pid 6079] +++ exited with 0 +++ [pid 6067] +++ exited with 0 +++ [pid 6065] +++ exited with 0 +++ [pid 6082] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6081] <... clone3 resumed> => {parent_tid=[6082]}, 88) = 6082 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6065, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=23 /* 0.23 s */} --- [pid 6082] <... rseq resumed>) = 0 [pid 6081] rt_sigprocmask(SIG_SETMASK, [], [pid 6082] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6081] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6082] <... set_robust_list resumed>) = 0 [pid 6081] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6082] rt_sigprocmask(SIG_SETMASK, [], [pid 6081] <... futex resumed>) = 0 [pid 6082] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6081] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [ 130.873803][ T6067] BTRFS info (device loop2): 2 enospc errors during balance [ 130.886062][ T6067] BTRFS info (device loop2): balance: ended with status: -28 [pid 5022] close(3 [pid 6082] memfd_create("syzkaller", 0 [pid 5022] <... close resumed>) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6083 [pid 6082] <... memfd_create resumed>) = 3 [pid 6082] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 ./strace-static-x86_64: Process 6083 attached [pid 6083] set_robust_list(0x5555558636a0, 24) = 0 [pid 6083] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6083] setpgid(0, 0) = 0 [pid 6083] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6072] 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 6083] <... openat resumed>) = 3 [pid 6083] write(3, "1000", 4) = 4 [pid 6083] close(3) = 0 [pid 6083] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6083] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6083] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6083] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6083] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6083] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6083] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6085]}, 88) = 6085 [pid 6083] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6083] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6085 attached ) = 0 [pid 6085] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6083] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6085] <... rseq resumed>) = 0 [pid 6085] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6073] 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 6085] <... set_robust_list resumed>) = 0 [pid 6076] 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 6085] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6085] memfd_create("syzkaller", 0) = 3 [pid 6085] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6080] 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 6082] 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 6085] 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 6073] <... write resumed>) = 16777216 [pid 6076] <... write resumed>) = 16777216 [pid 6072] <... write resumed>) = 16777216 [pid 6072] munmap(0x7f4e2554e000, 16777216 [pid 6076] munmap(0x7f4e2554e000, 16777216 [pid 6073] munmap(0x7f4e2554e000, 16777216 [pid 6076] <... munmap resumed>) = 0 [pid 6072] <... munmap resumed>) = 0 [pid 6072] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6076] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6072] ioctl(4, LOOP_SET_FD, 3 [pid 6076] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6076] close(3) = 0 [pid 6076] mkdir("./file0", 0777 [pid 6073] <... munmap resumed>) = 0 [pid 6076] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6073] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6076] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6073] <... openat resumed>) = 4 [pid 6072] <... ioctl resumed>) = 0 [pid 6073] ioctl(4, LOOP_SET_FD, 3 [pid 6072] close(3) = 0 [pid 6072] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6072] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6073] <... ioctl resumed>) = 0 [pid 6073] close(3) = 0 [pid 6073] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 131.409113][ T6072] loop1: detected capacity change from 0 to 32768 [ 131.416844][ T6076] loop5: detected capacity change from 0 to 32768 [ 131.429228][ T6076] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6076) [ 131.441224][ T6073] loop0: detected capacity change from 0 to 32768 [pid 6073] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6076] <... mount resumed>) = -1 EEXIST (File exists) [pid 6076] ioctl(4, LOOP_CLR_FD [pid 6072] <... mount resumed>) = -1 EEXIST (File exists) [pid 6072] ioctl(4, LOOP_CLR_FD [pid 6073] <... mount resumed>) = -1 EEXIST (File exists) [ 131.464663][ T6072] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6072) [ 131.488790][ T6073] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6073) [pid 6073] ioctl(4, LOOP_CLR_FD [pid 6080] <... write resumed>) = 16777216 [pid 6080] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6080] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6082] <... write resumed>) = 16777216 [pid 6080] ioctl(4, LOOP_SET_FD, 3 [pid 6082] munmap(0x7f4e2554e000, 16777216 [pid 6080] <... ioctl resumed>) = 0 [pid 6080] close(3) = 0 [pid 6080] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6080] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6085] <... write resumed>) = 16777216 [pid 6082] <... munmap resumed>) = 0 [pid 6082] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6082] ioctl(4, LOOP_SET_FD, 3 [ 131.652869][ T6080] loop3: detected capacity change from 0 to 32768 [ 131.673170][ T6080] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6080) [pid 6076] <... ioctl resumed>) = 0 [pid 6072] <... ioctl resumed>) = 0 [pid 6085] munmap(0x7f4e2554e000, 16777216 [pid 6073] <... ioctl resumed>) = 0 [pid 6076] close(4 [pid 6082] <... ioctl resumed>) = 0 [pid 6080] <... mount resumed>) = -1 EEXIST (File exists) [pid 6072] close(4 [pid 6073] close(4) = 0 [pid 6073] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6073] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6076] <... close resumed>) = 0 [pid 6076] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6075] <... futex resumed>) = 0 [pid 6080] ioctl(4, LOOP_CLR_FD [pid 6070] <... futex resumed>) = 0 [pid 6082] close(3 [pid 6076] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6075] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6070] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6082] <... close resumed>) = 0 [pid 6076] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6075] <... futex resumed>) = 0 [pid 6073] <... futex resumed>) = 0 [pid 6070] <... futex resumed>) = 1 [pid 6082] mkdir("./file0", 0777 [pid 6076] open("./file0", O_RDONLY [pid 6075] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6073] open("./file0", O_RDONLY [pid 6070] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6085] <... munmap resumed>) = 0 [pid 6082] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6076] <... open resumed>) = 3 [pid 6073] <... open resumed>) = 3 [pid 6085] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6082] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6076] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6073] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6072] <... close resumed>) = 0 [ 131.700955][ T6082] loop4: detected capacity change from 0 to 32768 [pid 6076] <... futex resumed>) = 1 [pid 6075] <... futex resumed>) = 0 [pid 6073] <... futex resumed>) = 1 [pid 6070] <... futex resumed>) = 0 [pid 6076] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6073] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6075] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6070] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6085] <... openat resumed>) = 4 [pid 6072] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6082] <... mount resumed>) = -1 EEXIST (File exists) [pid 6085] ioctl(4, LOOP_SET_FD, 3 [pid 6082] ioctl(4, LOOP_CLR_FD [pid 6076] <... futex resumed>) = 0 [pid 6075] <... futex resumed>) = 1 [pid 6073] <... futex resumed>) = 0 [pid 6072] <... futex resumed>) = 1 [pid 6071] <... futex resumed>) = 0 [pid 6070] <... futex resumed>) = 1 [pid 6085] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6076] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6075] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6073] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6072] open("./file0", O_RDONLY [pid 6071] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6070] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6085] ioctl(4, LOOP_CLR_FD [pid 6076] <... ioctl resumed>) = 0 [pid 6073] <... ioctl resumed>) = 0 [pid 6072] <... open resumed>) = 3 [pid 6071] <... futex resumed>) = 0 [pid 6085] <... ioctl resumed>) = 0 [pid 6076] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6073] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6072] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6071] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6076] <... futex resumed>) = 1 [pid 6075] <... futex resumed>) = 0 [pid 6073] <... futex resumed>) = 1 [pid 6072] <... futex resumed>) = 0 [pid 6071] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6070] <... futex resumed>) = 0 [pid 6076] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6075] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6073] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6072] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6071] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6070] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6085] ioctl(4, LOOP_SET_FD, 3 [pid 6076] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6075] <... futex resumed>) = 0 [pid 6073] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6072] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6071] <... futex resumed>) = 0 [pid 6070] <... futex resumed>) = 0 [pid 6085] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6076] ioctl(3, 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 6075] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6073] ioctl(3, 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 6072] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6071] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6070] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6085] close(4 [pid 6072] <... ioctl resumed>) = 0 [pid 6085] <... close resumed>) = 0 [pid 6072] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6085] close(3 [ 131.725800][ T6082] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6082) [ 131.762949][ T6076] BTRFS info (device loop2): balance: start -d -m [pid 6072] <... futex resumed>) = 0 [pid 6073] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6072] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6071] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6073] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6071] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6073] <... futex resumed>) = 1 [pid 6072] <... futex resumed>) = 0 [pid 6071] <... futex resumed>) = 1 [pid 6070] <... futex resumed>) = 0 [pid 6073] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6072] ioctl(3, 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 6071] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6070] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6073] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6072] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6070] <... futex resumed>) = 0 [pid 6073] open("./file0", O_RDONLY [pid 6072] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6070] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6073] <... open resumed>) = 4 [pid 6072] <... futex resumed>) = 1 [pid 6071] <... futex resumed>) = 0 [pid 6073] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6072] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6071] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6073] <... futex resumed>) = 1 [pid 6072] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6071] <... futex resumed>) = 0 [pid 6070] <... futex resumed>) = 0 [pid 6075] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6073] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6072] open("./file0", O_RDONLY [pid 6070] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6075] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6073] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6072] <... open resumed>) = 4 [pid 6071] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6070] <... futex resumed>) = 0 [pid 6075] <... futex resumed>) = 0 [pid 6072] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6070] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6075] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6072] <... futex resumed>) = 0 [pid 6075] <... mmap resumed>) = 0x7f4e2652d000 [pid 6073] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6072] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6071] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6075] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6071] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6075] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6072] <... futex resumed>) = 0 [pid 6071] <... futex resumed>) = 1 [pid 6075] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6072] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6071] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6075] <... clone3 resumed> => {parent_tid=[6087]}, 88) = 6087 [pid 6075] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6073] <... ioctl resumed>) = 0 [pid 6075] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6073] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6075] <... futex resumed>) = 0 [pid 6075] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6073] <... futex resumed>) = 1 [pid 6072] <... ioctl resumed>) = 0 [pid 6070] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6087 attached [pid 6072] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6070] exit_group(0 [pid 6087] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6072] <... futex resumed>) = 1 [pid 6071] <... futex resumed>) = 0 [pid 6070] <... exit_group resumed>) = ? [pid 6087] <... rseq resumed>) = 0 [pid 6072] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6071] exit_group(0 [pid 6087] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6087] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6087] open("./file0", O_RDONLY) = 4 [pid 6073] +++ exited with 0 +++ [pid 6070] +++ exited with 0 +++ [pid 6087] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6070, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=25 /* 0.25 s */} --- [pid 6087] <... futex resumed>) = 1 [pid 6075] <... futex resumed>) = 0 [pid 6072] <... futex resumed>) = ? [pid 6071] <... exit_group resumed>) = ? [pid 6087] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6075] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6072] +++ exited with 0 +++ [pid 6075] <... futex resumed>) = 0 [pid 6075] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6071] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6071, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=24 /* 0.24 s */} --- [ 131.782209][ T6076] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6087] <... ioctl resumed>) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6087] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... openat resumed>) = 3 [pid 6087] <... futex resumed>) = 1 [pid 6075] <... futex resumed>) = 0 [pid 5021] <... openat resumed>) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6087] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5020] close(3 [pid 5021] close(3 [pid 5020] <... close resumed>) = 0 [pid 5021] <... close resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6089 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6088 ./strace-static-x86_64: Process 6089 attached [pid 6089] set_robust_list(0x5555558636a0, 24) = 0 [pid 6089] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6089] setpgid(0, 0) = 0 [pid 6089] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6089] write(3, "1000", 4) = 4 [pid 6089] close(3) = 0 [pid 6089] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6088 attached ) = 0 [pid 6089] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6088] set_robust_list(0x5555558636a0, 24 [pid 6089] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6088] <... set_robust_list resumed>) = 0 [pid 6089] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6088] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6089] <... mmap resumed>) = 0x7f4e2d94e000 [ 131.845050][ T6076] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 131.884771][ T6076] BTRFS info (device loop2): 2 enospc errors during balance [pid 6089] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6088] <... prctl resumed>) = 0 [pid 6089] <... mprotect resumed>) = 0 [pid 6089] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6089] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6090]}, 88) = 6090 [pid 6089] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6089] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6089] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6090 attached [pid 6088] setpgid(0, 0) = 0 [pid 6090] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6088] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6090] <... rseq resumed>) = 0 [pid 6090] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6088] <... openat resumed>) = 3 [pid 6090] <... set_robust_list resumed>) = 0 [pid 6088] write(3, "1000", 4 [pid 6090] rt_sigprocmask(SIG_SETMASK, [], [pid 6088] <... write resumed>) = 4 [pid 6090] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6088] close(3 [pid 6090] memfd_create("syzkaller", 0 [pid 6088] <... close resumed>) = 0 [pid 6076] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6090] <... memfd_create resumed>) = 3 [pid 6088] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6076] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6090] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6088] <... futex resumed>) = 0 [pid 6075] exit_group(0 [pid 6090] <... mmap resumed>) = 0x7f4e2554e000 [pid 6088] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6087] <... futex resumed>) = ? [pid 6075] <... exit_group resumed>) = ? [pid 6076] <... futex resumed>) = ? [pid 6088] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6087] +++ exited with 0 +++ [pid 6080] <... ioctl resumed>) = 0 [pid 6088] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6076] +++ exited with 0 +++ [pid 6075] +++ exited with 0 +++ [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6075, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=26 /* 0.26 s */} --- [pid 6088] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6088] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5027] <... openat resumed>) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6088] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5027] close(3 [pid 6088] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5027] <... close resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6091 [pid 6088] <... mprotect resumed>) = 0 [pid 6088] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6088] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6092]}, 88) = 6092 [ 131.926948][ T6076] BTRFS info (device loop2): balance: ended with status: -28 [pid 6088] rt_sigprocmask(SIG_SETMASK, [], [pid 6085] <... close resumed>) = 0 [pid 6082] <... ioctl resumed>) = 0 [pid 6080] close(4) = 0 [pid 6080] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6078] <... futex resumed>) = 0 [pid 6080] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6078] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6088] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6078] <... futex resumed>) = 0 [pid 6088] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6078] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6088] <... futex resumed>) = 0 [pid 6088] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6085] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6080] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6083] <... futex resumed>) = 0 [pid 6083] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6083] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6092 attached ./strace-static-x86_64: Process 6091 attached [pid 6085] <... futex resumed>) = 1 [pid 6080] open("./file0", O_RDONLY [pid 6092] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6091] set_robust_list(0x5555558636a0, 24 [pid 6085] open("./file0", O_RDONLY [pid 6082] close(4 [pid 6080] <... open resumed>) = 3 [pid 6091] <... set_robust_list resumed>) = 0 [pid 6085] <... open resumed>) = 3 [pid 6085] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6082] <... close resumed>) = 0 [pid 6080] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6091] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6085] <... futex resumed>) = 1 [pid 6083] <... futex resumed>) = 0 [pid 6082] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6080] <... futex resumed>) = 1 [pid 6078] <... futex resumed>) = 0 [pid 6092] <... rseq resumed>) = 0 [pid 6091] <... prctl resumed>) = 0 [pid 6085] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6083] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6082] <... futex resumed>) = 1 [pid 6081] <... futex resumed>) = 0 [pid 6080] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6078] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6092] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6091] setpgid(0, 0 [pid 6085] <... ioctl resumed>) = 0 [pid 6083] <... futex resumed>) = 0 [pid 6082] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6081] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6080] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6078] <... futex resumed>) = 0 [pid 6092] <... set_robust_list resumed>) = 0 [pid 6091] <... setpgid resumed>) = 0 [pid 6085] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6083] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6082] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6081] <... futex resumed>) = 0 [pid 6080] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6078] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6092] rt_sigprocmask(SIG_SETMASK, [], [pid 6085] <... futex resumed>) = 0 [pid 6083] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6082] open("./file0", O_RDONLY [pid 6081] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6080] <... ioctl resumed>) = 0 [pid 6092] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6091] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6085] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6083] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6082] <... open resumed>) = 3 [pid 6080] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6085] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6083] <... futex resumed>) = 0 [pid 6082] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6080] <... futex resumed>) = 1 [pid 6078] <... futex resumed>) = 0 [pid 6092] memfd_create("syzkaller", 0 [pid 6091] <... openat resumed>) = 3 [pid 6085] ioctl(3, 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 6083] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6082] <... futex resumed>) = 1 [pid 6081] <... futex resumed>) = 0 [pid 6080] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6078] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6092] <... memfd_create resumed>) = 3 [pid 6091] write(3, "1000", 4 [pid 6082] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6081] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6080] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6078] <... futex resumed>) = 0 [pid 6092] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6091] <... write resumed>) = 4 [pid 6082] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6081] <... futex resumed>) = 0 [pid 6080] ioctl(3, 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 6078] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6092] <... mmap resumed>) = 0x7f4e2554e000 [pid 6091] close(3 [pid 6082] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6081] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6080] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6091] <... close resumed>) = 0 [pid 6082] <... ioctl resumed>) = 0 [pid 6080] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6091] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6082] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6080] <... futex resumed>) = 1 [pid 6078] <... futex resumed>) = 0 [pid 6091] <... futex resumed>) = 0 [pid 6082] <... futex resumed>) = 1 [pid 6081] <... futex resumed>) = 0 [pid 6080] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6078] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6091] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6082] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6081] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6080] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6078] <... futex resumed>) = 0 [pid 6091] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6082] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6081] <... futex resumed>) = 0 [pid 6080] open("./file0", O_RDONLY [pid 6078] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6091] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6082] ioctl(3, 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 6081] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6080] <... open resumed>) = 4 [pid 6091] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6082] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6080] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6091] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6082] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6080] <... futex resumed>) = 1 [pid 6078] <... futex resumed>) = 0 [pid 6091] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6082] <... futex resumed>) = 1 [pid 6081] <... futex resumed>) = 0 [pid 6080] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6078] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6091] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6082] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6081] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6080] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6078] <... futex resumed>) = 0 [pid 6091] <... mprotect resumed>) = 0 [pid 6082] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6081] <... futex resumed>) = 0 [pid 6080] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6078] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6091] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6082] open("./file0", O_RDONLY [pid 6081] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6091] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6082] <... open resumed>) = 4 [pid 6091] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6082] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6080] <... ioctl resumed>) = 0 [pid 6082] <... futex resumed>) = 1 [pid 6081] <... futex resumed>) = 0 [pid 6080] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6091] <... clone3 resumed> => {parent_tid=[6093]}, 88) = 6093 [pid 6082] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6081] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6080] <... futex resumed>) = 1 [pid 6078] <... futex resumed>) = 0 [pid 6091] rt_sigprocmask(SIG_SETMASK, [], [pid 6082] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6081] <... futex resumed>) = 0 [ 132.019597][ T6085] BTRFS info (device loop2): balance: start -d -m [ 132.029845][ T6085] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6080] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6078] exit_group(0 [pid 6091] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6082] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6081] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6080] <... futex resumed>) = ? [pid 6078] <... exit_group resumed>) = ? [pid 6083] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6091] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6083] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6080] +++ exited with 0 +++ [pid 6083] <... futex resumed>) = 0 [pid 6083] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6083] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6078] +++ exited with 0 +++ [pid 6091] <... futex resumed>) = 0 [pid 6083] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6083] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6094]}, 88) = 6094 [pid 6083] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6083] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6083] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6091] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6078, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=22 /* 0.22 s */} --- ./strace-static-x86_64: Process 6094 attached [pid 6094] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6082] <... ioctl resumed>) = 0 [pid 6082] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6081] <... futex resumed>) = 0 [pid 6081] exit_group(0) = ? [pid 6094] <... rseq resumed>) = 0 [pid 6094] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6094] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6094] open("./file0", O_RDONLY) = 4 [pid 6094] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6083] <... futex resumed>) = 0 [pid 6083] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6083] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6082] +++ exited with 0 +++ [pid 6081] +++ exited with 0 +++ [pid 6094] <... futex resumed>) = 1 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6081, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=22 /* 0.22 s */} --- [pid 6094] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5026] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5025] <... openat resumed>) = 3 [pid 6094] <... ioctl resumed>) = 0 [pid 5026] <... openat resumed>) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 6093 attached [pid 6094] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6094] <... futex resumed>) = 1 [pid 6083] <... futex resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6094] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5026] close(3 [pid 6093] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5026] <... close resumed>) = 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6095 ./strace-static-x86_64: Process 6095 attached [pid 6095] set_robust_list(0x5555558636a0, 24) = 0 [pid 6095] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6095] setpgid(0, 0) = 0 [pid 6095] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6095] write(3, "1000", 4) = 4 [pid 6095] close(3) = 0 [pid 6095] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6095] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6095] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6093] <... rseq resumed>) = 0 [pid 5025] close(3 [pid 6095] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6095] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6093] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5025] <... close resumed>) = 0 [pid 6095] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6093] <... set_robust_list resumed>) = 0 [pid 6095] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6093] rt_sigprocmask(SIG_SETMASK, [], [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6095] <... mprotect resumed>) = 0 [pid 6093] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6095] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6095] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6093] memfd_create("syzkaller", 0 [pid 6095] <... clone3 resumed> => {parent_tid=[6096]}, 88) = 6096 [pid 6095] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6095] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6093] <... memfd_create resumed>) = 3 [pid 6095] <... futex resumed>) = 0 [pid 6095] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6093] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 6096 attached ) = 0x7f4e2554e000 [pid 6096] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6096] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6096] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6096] memfd_create("syzkaller", 0) = 3 [pid 6096] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 132.083994][ T6085] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6097 ./strace-static-x86_64: Process 6097 attached [pid 6097] set_robust_list(0x5555558636a0, 24) = 0 [pid 6097] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6097] setpgid(0, 0) = 0 [pid 6097] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6097] write(3, "1000", 4) = 4 [pid 6097] close(3) = 0 [pid 6097] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6097] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6097] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [ 132.128192][ T6085] BTRFS info (device loop2): 2 enospc errors during balance [ 132.135531][ T6085] BTRFS info (device loop2): balance: ended with status: -28 [pid 6097] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6097] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6097] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6097] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6098]}, 88) = 6098 [pid 6097] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ./strace-static-x86_64: Process 6098 attached [pid 6097] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6098] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6097] <... futex resumed>) = 0 [pid 6085] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6098] <... rseq resumed>) = 0 [pid 6097] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6085] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6098] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6085] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6098] <... set_robust_list resumed>) = 0 [pid 6083] exit_group(0 [pid 6094] <... futex resumed>) = ? [pid 6085] <... futex resumed>) = ? [pid 6083] <... exit_group resumed>) = ? [pid 6098] rt_sigprocmask(SIG_SETMASK, [], [pid 6094] +++ exited with 0 +++ [pid 6085] +++ exited with 0 +++ [pid 6083] +++ exited with 0 +++ [pid 6098] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6083, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- [pid 6098] memfd_create("syzkaller", 0 [pid 5022] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 6098] <... memfd_create resumed>) = 3 [pid 6098] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6100 ./strace-static-x86_64: Process 6100 attached [pid 6100] set_robust_list(0x5555558636a0, 24) = 0 [pid 6100] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6100] setpgid(0, 0) = 0 [pid 6100] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6100] write(3, "1000", 4) = 4 [pid 6100] close(3) = 0 [pid 6100] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6100] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6100] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6100] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6100] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6100] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6100] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6101]}, 88) = 6101 [pid 6100] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6100] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 6101 attached [pid 6100] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6090] 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 6101] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6101] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6101] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6101] memfd_create("syzkaller", 0) = 3 [pid 6101] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6092] 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 6093] 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 6096] 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 6098] 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 6101] 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 6090] <... write resumed>) = 16777216 [pid 6090] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6090] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6090] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6090] close(3) = 0 [pid 6090] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6092] <... write resumed>) = 16777216 [pid 6090] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6092] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6096] <... write resumed>) = 16777216 [pid 6092] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6090] <... mount resumed>) = -1 EEXIST (File exists) [pid 6092] <... openat resumed>) = 4 [pid 6090] ioctl(4, LOOP_CLR_FD [ 132.837288][ T6090] loop1: detected capacity change from 0 to 32768 [ 132.868686][ T6090] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6090) [pid 6092] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6092] close(3) = 0 [pid 6092] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6092] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6096] munmap(0x7f4e2554e000, 16777216 [pid 6093] <... write resumed>) = 16777216 [pid 6093] munmap(0x7f4e2554e000, 16777216 [pid 6096] <... munmap resumed>) = 0 [pid 6093] <... munmap resumed>) = 0 [pid 6092] <... mount resumed>) = -1 EEXIST (File exists) [pid 6093] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6092] ioctl(4, LOOP_CLR_FD [pid 6096] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6093] <... openat resumed>) = 4 [ 132.909059][ T6092] loop0: detected capacity change from 0 to 32768 [ 132.923323][ T6092] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6092) [pid 6093] ioctl(4, LOOP_SET_FD, 3 [pid 6096] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6096] close(3) = 0 [pid 6096] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6096] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6093] <... ioctl resumed>) = 0 [pid 6093] close(3) = 0 [pid 6093] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6093] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6098] <... write resumed>) = 16777216 [pid 6098] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6096] <... mount resumed>) = -1 EEXIST (File exists) [ 132.961858][ T6093] loop5: detected capacity change from 0 to 32768 [ 132.962483][ T6096] loop4: detected capacity change from 0 to 32768 [ 132.982018][ T6096] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6096) [pid 6096] ioctl(4, LOOP_CLR_FD [pid 6101] <... write resumed>) = 16777216 [pid 6098] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6098] ioctl(4, LOOP_SET_FD, 3 [pid 6093] <... mount resumed>) = -1 EEXIST (File exists) [pid 6101] munmap(0x7f4e2554e000, 16777216 [pid 6098] <... ioctl resumed>) = 0 [pid 6098] close(3) = 0 [pid 6098] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6098] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6093] ioctl(4, LOOP_CLR_FD [pid 6101] <... munmap resumed>) = 0 [pid 6101] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6101] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6101] ioctl(4, LOOP_CLR_FD) = 0 [pid 6101] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6101] close(4) = 0 [ 133.039113][ T6093] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6093) [ 133.050974][ T6098] loop3: detected capacity change from 0 to 32768 [ 133.074663][ T6098] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6098) [pid 6101] close(3 [pid 6098] <... mount resumed>) = -1 EEXIST (File exists) [pid 6098] ioctl(4, LOOP_CLR_FD [pid 6090] <... ioctl resumed>) = 0 [pid 6090] close(4) = 0 [pid 6090] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6089] <... futex resumed>) = 0 [pid 6090] open("./file0", O_RDONLY [pid 6089] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6090] <... open resumed>) = 3 [pid 6089] <... futex resumed>) = 0 [pid 6090] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6089] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6090] <... futex resumed>) = 0 [pid 6089] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6090] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6089] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6090] <... ioctl resumed>) = 0 [pid 6089] <... futex resumed>) = 0 [pid 6090] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6089] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6090] <... futex resumed>) = 0 [pid 6089] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6090] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6089] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6090] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6089] <... futex resumed>) = 0 [pid 6090] ioctl(3, 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 6089] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6092] <... ioctl resumed>) = 0 [pid 6092] close(4) = 0 [pid 6092] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6088] <... futex resumed>) = 0 [pid 6088] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6092] open("./file0", O_RDONLY) = 3 [pid 6088] <... futex resumed>) = 0 [pid 6092] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6089] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6088] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6092] <... futex resumed>) = 0 [pid 6089] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6088] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6092] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6089] <... futex resumed>) = 0 [pid 6088] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6089] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6092] <... ioctl resumed>) = 0 [pid 6089] <... mmap resumed>) = 0x7f4e2652d000 [pid 6088] <... futex resumed>) = 0 [pid 6092] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6089] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6088] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6092] <... futex resumed>) = 0 [pid 6089] <... mprotect resumed>) = 0 [pid 6088] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6089] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6092] ioctl(3, 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 6088] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6092] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6089] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6088] <... futex resumed>) = 0 [pid 6089] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6088] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6092] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6089] <... clone3 resumed> => {parent_tid=[6103]}, 88) = 6103 [pid 6088] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6092] <... futex resumed>) = 0 [ 133.241832][ T6090] BTRFS info (device loop2): balance: start -d -m [ 133.263730][ T6090] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6089] rt_sigprocmask(SIG_SETMASK, [], [pid 6088] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6101] <... close resumed>) = 0 [pid 6092] open("./file0", O_RDONLY [pid 6089] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6088] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6103 attached [pid 6092] <... open resumed>) = 4 [pid 6089] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6088] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6103] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6092] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6089] <... futex resumed>) = 0 [pid 6088] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6103] <... rseq resumed>) = 0 [pid 6092] <... futex resumed>) = 0 [pid 6089] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6103] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6103] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6103] open("./file0", O_RDONLY) = 4 [pid 6092] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6088] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6103] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6092] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6103] <... futex resumed>) = 1 [pid 6089] <... futex resumed>) = 0 [pid 6103] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6089] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6103] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6089] <... futex resumed>) = 0 [pid 6103] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6092] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6089] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6088] <... futex resumed>) = 0 [pid 6088] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6092] <... ioctl resumed>) = 0 [pid 6103] <... ioctl resumed>) = 0 [pid 6092] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6103] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6092] <... futex resumed>) = 1 [pid 6088] <... futex resumed>) = 0 [pid 6103] <... futex resumed>) = 1 [pid 6089] <... futex resumed>) = 0 [pid 6103] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6092] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6088] exit_group(0 [pid 6092] <... futex resumed>) = ? [pid 6088] <... exit_group resumed>) = ? [pid 6092] +++ exited with 0 +++ [pid 6088] +++ exited with 0 +++ [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6088, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=26 /* 0.26 s */} --- [pid 6101] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6100] <... futex resumed>) = 0 [pid 6101] open("./file0", O_RDONLY [pid 6100] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6096] <... ioctl resumed>) = 0 [pid 6101] <... open resumed>) = 3 [pid 6100] <... futex resumed>) = 0 [pid 6096] close(4 [pid 6101] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6100] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6096] <... close resumed>) = 0 [pid 6101] <... futex resumed>) = 0 [pid 6096] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6101] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6096] <... futex resumed>) = 1 [pid 6095] <... futex resumed>) = 0 [pid 6096] open("./file0", O_RDONLY [pid 6095] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6096] <... open resumed>) = 3 [pid 6095] <... futex resumed>) = 0 [pid 6096] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6095] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6096] <... futex resumed>) = 0 [pid 6095] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6096] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6095] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6096] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6095] <... futex resumed>) = 0 [pid 6096] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6095] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6096] <... ioctl resumed>) = 0 [pid 6100] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6096] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6100] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6096] <... futex resumed>) = 1 [pid 6095] <... futex resumed>) = 0 [pid 6096] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6095] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6101] <... futex resumed>) = 0 [pid 6100] <... futex resumed>) = 1 [pid 5020] <... openat resumed>) = 3 [pid 6101] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6100] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6096] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6095] <... futex resumed>) = 0 [pid 6101] <... ioctl resumed>) = 0 [pid 6096] ioctl(3, 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 6095] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6101] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6101] <... futex resumed>) = 1 [pid 6100] <... futex resumed>) = 0 [pid 5020] close(3 [pid 6101] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6100] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6101] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6100] <... futex resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 6101] ioctl(3, 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 6100] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6104 ./strace-static-x86_64: Process 6104 attached [pid 6104] set_robust_list(0x5555558636a0, 24) = 0 [pid 6104] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6104] setpgid(0, 0) = 0 [pid 6104] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6104] write(3, "1000", 4) = 4 [pid 6093] <... ioctl resumed>) = 0 [pid 6104] close(3) = 0 [pid 6093] close(4 [pid 6104] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6104] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6104] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6093] <... close resumed>) = 0 [pid 6104] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6093] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6104] <... mmap resumed>) = 0x7f4e2d94e000 [ 133.346708][ T6090] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 133.377506][ T6090] BTRFS info (device loop2): 2 enospc errors during balance [ 133.384836][ T6090] BTRFS info (device loop2): balance: ended with status: -28 [pid 6093] <... futex resumed>) = 1 [pid 6091] <... futex resumed>) = 0 [pid 6104] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6091] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6104] <... mprotect resumed>) = 0 [pid 6093] open("./file0", O_RDONLY [pid 6091] <... futex resumed>) = 0 [pid 6104] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6091] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6093] <... open resumed>) = 3 [pid 6104] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6104] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6093] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6101] <... 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}}) = 8 [pid 6096] <... 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}}) = 8 [pid 6093] <... futex resumed>) = 1 [pid 6091] <... futex resumed>) = 0 [pid 6090] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6104] <... clone3 resumed> => {parent_tid=[6105]}, 88) = 6105 [pid 6101] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6096] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6093] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6091] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6090] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6104] rt_sigprocmask(SIG_SETMASK, [], [pid 6101] <... futex resumed>) = 1 [pid 6100] <... futex resumed>) = 0 [pid 6096] <... futex resumed>) = 1 [pid 6095] <... futex resumed>) = 0 [pid 6093] <... ioctl resumed>) = 0 [pid 6091] <... futex resumed>) = 0 [pid 6090] <... futex resumed>) = 0 [pid 6104] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6101] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6100] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6096] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6095] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6093] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6091] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6090] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6089] exit_group(0./strace-static-x86_64: Process 6105 attached [pid 6104] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6103] <... futex resumed>) = ? [pid 6101] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6100] <... futex resumed>) = 0 [pid 6096] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6095] <... futex resumed>) = 0 [pid 6093] <... futex resumed>) = 0 [pid 6091] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6090] <... futex resumed>) = ? [pid 6089] <... exit_group resumed>) = ? [pid 6105] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6104] <... futex resumed>) = 0 [pid 6103] +++ exited with 0 +++ [pid 6101] open("./file0", O_RDONLY [pid 6100] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6096] open("./file0", O_RDONLY [pid 6095] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6093] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6091] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6090] +++ exited with 0 +++ [pid 6089] +++ exited with 0 +++ [pid 6105] <... rseq resumed>) = 0 [pid 6104] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6101] <... open resumed>) = 4 [pid 6096] <... open resumed>) = 4 [pid 6093] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6091] <... futex resumed>) = 0 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6089, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=26 /* 0.26 s */} --- [pid 6105] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6101] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6096] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6093] ioctl(3, 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 6091] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6105] <... set_robust_list resumed>) = 0 [pid 6101] <... futex resumed>) = 1 [pid 6100] <... futex resumed>) = 0 [pid 6096] <... futex resumed>) = 1 [pid 6095] <... futex resumed>) = 0 [pid 6105] rt_sigprocmask(SIG_SETMASK, [], [pid 6101] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6096] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6095] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6105] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6096] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6095] <... futex resumed>) = 0 [pid 6105] memfd_create("syzkaller", 0 [pid 6100] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6096] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6095] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6105] <... memfd_create resumed>) = 3 [pid 6105] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6101] <... futex resumed>) = 0 [pid 6100] <... futex resumed>) = 1 [pid 6101] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6100] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6096] <... ioctl resumed>) = 0 [pid 6096] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6095] <... futex resumed>) = 0 [pid 6096] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6095] exit_group(0 [pid 6096] <... futex resumed>) = ? [pid 6095] <... exit_group resumed>) = ? [pid 6096] +++ exited with 0 +++ [pid 6095] +++ exited with 0 +++ [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6095, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- [pid 5026] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5026] close(3) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6101] <... ioctl resumed>) = 0 [pid 6101] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6106 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6101] <... futex resumed>) = 1 [pid 6100] <... futex resumed>) = 0 [pid 6101] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6100] exit_group(0 [pid 5021] <... openat resumed>) = 3 [pid 6101] <... futex resumed>) = ? [pid 6100] <... exit_group resumed>) = ? [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6101] +++ exited with 0 +++ [pid 6100] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6100, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=21 /* 0.21 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 6106 attached [pid 5022] <... openat resumed>) = 3 [pid 5021] close(3 [pid 6106] set_robust_list(0x5555558636a0, 24 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6106] <... set_robust_list resumed>) = 0 [pid 5022] <... ioctl resumed>) = 0 [pid 6106] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5022] close(3 [pid 5021] <... close resumed>) = 0 [pid 6106] <... prctl resumed>) = 0 [pid 6091] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5022] <... close resumed>) = 0 [pid 6106] setpgid(0, 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6106] <... setpgid resumed>) = 0 [pid 6091] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6106] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6091] <... futex resumed>) = 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6107 [pid 6106] <... openat resumed>) = 3 [pid 6091] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6106] write(3, "1000", 4 [pid 6091] <... mmap resumed>) = 0x7f4e2652d000 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6108 [pid 6106] <... write resumed>) = 4 [pid 6091] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6106] close(3) = 0 [pid 6091] <... mprotect resumed>) = 0 [pid 6106] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6091] rt_sigprocmask(SIG_BLOCK, ~[], ./strace-static-x86_64: Process 6107 attached [pid 6106] <... futex resumed>) = 0 [pid 6091] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6107] set_robust_list(0x5555558636a0, 24 [pid 6106] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6091] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6107] <... set_robust_list resumed>) = 0 [pid 6106] <... rt_sigaction resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6108 attached [pid 6107] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6106] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6091] <... clone3 resumed> => {parent_tid=[6109]}, 88) = 6109 [pid 6108] set_robust_list(0x5555558636a0, 24 [pid 6107] <... prctl resumed>) = 0 [pid 6106] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6091] rt_sigprocmask(SIG_SETMASK, [], [pid 6108] <... set_robust_list resumed>) = 0 [pid 6107] setpgid(0, 0 [pid 6106] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6091] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6108] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6107] <... setpgid resumed>) = 0 [pid 6106] <... mmap resumed>) = 0x7f4e2d94e000 [ 133.458376][ T6093] BTRFS info (device loop2): balance: start -d -m [ 133.479117][ T6093] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6091] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6109 attached [pid 6108] <... prctl resumed>) = 0 [pid 6107] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6106] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6098] <... ioctl resumed>) = 0 [pid 6107] <... openat resumed>) = 3 [pid 6106] <... mprotect resumed>) = 0 [pid 6107] write(3, "1000", 4 [pid 6106] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6107] <... write resumed>) = 4 [pid 6106] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6107] close(3 [pid 6106] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6107] <... close resumed>) = 0 [pid 6107] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6106] <... clone3 resumed> => {parent_tid=[6110]}, 88) = 6110 [pid 6107] <... futex resumed>) = 0 [pid 6106] rt_sigprocmask(SIG_SETMASK, [], [pid 6107] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6106] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6107] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6106] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6107] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6106] <... futex resumed>) = 0 [pid 6107] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6106] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6107] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6107] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6107] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 ./strace-static-x86_64: Process 6110 attached [pid 6107] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6091] <... futex resumed>) = 0 [pid 6110] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6107] <... clone3 resumed> => {parent_tid=[6111]}, 88) = 6111 [pid 6110] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6107] rt_sigprocmask(SIG_SETMASK, [], [pid 6110] <... set_robust_list resumed>) = 0 [pid 6107] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6110] rt_sigprocmask(SIG_SETMASK, [], [pid 6107] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6110] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6107] <... futex resumed>) = 0 [pid 6110] memfd_create("syzkaller", 0 [pid 6109] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6108] setpgid(0, 0 [pid 6107] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6091] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6110] <... memfd_create resumed>) = 3 [pid 6109] <... rseq resumed>) = 0 [pid 6108] <... setpgid resumed>) = 0 ./strace-static-x86_64: Process 6111 attached [pid 6110] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6108] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6111] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6110] <... mmap resumed>) = 0x7f4e2554e000 [pid 6109] set_robust_list(0x7f4e2654d9a0, 24 [pid 6108] <... openat resumed>) = 3 [pid 6111] <... rseq resumed>) = 0 [pid 6111] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6111] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6111] memfd_create("syzkaller", 0) = 3 [pid 6111] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6108] write(3, "1000", 4 [pid 6109] <... set_robust_list resumed>) = 0 [pid 6108] <... write resumed>) = 4 [pid 6109] rt_sigprocmask(SIG_SETMASK, [], [pid 6108] close(3 [pid 6098] close(4 [pid 6109] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6108] <... close resumed>) = 0 [pid 6098] <... close resumed>) = 0 [pid 6109] open("./file0", O_RDONLY [pid 6108] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6109] <... open resumed>) = 4 [pid 6108] <... futex resumed>) = 0 [pid 6109] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6108] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6098] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6109] <... futex resumed>) = 1 [pid 6108] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6098] <... futex resumed>) = 1 [pid 6097] <... futex resumed>) = 0 [pid 6091] <... futex resumed>) = 0 [pid 6109] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6108] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6098] open("./file0", O_RDONLY [pid 6097] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6091] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6108] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6097] <... futex resumed>) = 0 [pid 6091] <... futex resumed>) = 0 [pid 6108] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6097] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6091] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6108] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6109] <... ioctl resumed>) = 0 [pid 6108] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6098] <... open resumed>) = 3 [pid 6108] <... mprotect resumed>) = 0 [ 133.535875][ T6093] BTRFS info (device loop2): 2 enospc errors during balance [pid 6109] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6108] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6098] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6091] <... futex resumed>) = 0 [pid 6109] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6108] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6098] <... futex resumed>) = 1 [pid 6097] <... futex resumed>) = 0 [pid 6108] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6098] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6097] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6098] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6097] <... futex resumed>) = 0 [pid 6108] <... clone3 resumed> => {parent_tid=[6112]}, 88) = 6112 ./strace-static-x86_64: Process 6112 attached [pid 6112] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6108] rt_sigprocmask(SIG_SETMASK, [], [pid 6098] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6097] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6108] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6112] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6108] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6098] <... ioctl resumed>) = 0 [pid 6112] <... set_robust_list resumed>) = 0 [pid 6108] <... futex resumed>) = 0 [pid 6098] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6112] rt_sigprocmask(SIG_SETMASK, [], [pid 6108] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6098] <... futex resumed>) = 1 [pid 6097] <... futex resumed>) = 0 [pid 6112] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6098] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6097] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6112] memfd_create("syzkaller", 0 [pid 6098] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6097] <... futex resumed>) = 0 [pid 6112] <... memfd_create resumed>) = 3 [pid 6098] ioctl(3, 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 6097] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6112] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 133.580173][ T6093] BTRFS info (device loop2): balance: ended with status: -28 [pid 6098] <... 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}}) = 8 [pid 6093] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6093] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6098] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6093] <... futex resumed>) = 0 [pid 6098] <... futex resumed>) = 1 [pid 6097] <... futex resumed>) = 0 [pid 6093] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6098] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6097] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6098] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6097] <... futex resumed>) = 0 [pid 6091] exit_group(0 [pid 6098] open("./file0", O_RDONLY [pid 6097] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6093] <... futex resumed>) = ? [pid 6091] <... exit_group resumed>) = ? [pid 6109] <... futex resumed>) = ? [pid 6098] <... open resumed>) = 4 [pid 6093] +++ exited with 0 +++ [pid 6109] +++ exited with 0 +++ [pid 6091] +++ exited with 0 +++ [pid 6098] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6097] <... futex resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6091, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=28 /* 0.28 s */} --- [pid 6098] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6097] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6098] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6097] <... futex resumed>) = 0 [pid 6098] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6097] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6105] 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 6098] <... ioctl resumed>) = 0 [pid 5027] <... openat resumed>) = 3 [pid 6098] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6098] <... futex resumed>) = 1 [pid 6097] <... futex resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6098] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6097] exit_group(0 [pid 5027] close(3 [pid 6097] <... exit_group resumed>) = ? [pid 5027] <... close resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6113 ./strace-static-x86_64: Process 6113 attached [pid 6113] set_robust_list(0x5555558636a0, 24) = 0 [pid 6113] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6113] setpgid(0, 0) = 0 [pid 6113] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6113] write(3, "1000", 4) = 4 [pid 6113] close(3) = 0 [pid 6113] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6113] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6113] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6098] <... futex resumed>) = ? [pid 6113] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6113] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6113] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6098] +++ exited with 0 +++ [pid 6097] +++ exited with 0 +++ [pid 6113] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6097, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=26 /* 0.26 s */} --- [pid 6113] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5025] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 6113] <... clone3 resumed> => {parent_tid=[6114]}, 88) = 6114 [pid 6113] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6113] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... openat resumed>) = 3 [pid 6113] <... futex resumed>) = 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6113] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] close(3./strace-static-x86_64: Process 6114 attached ) = 0 [pid 6114] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6114] <... rseq resumed>) = 0 [pid 6114] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6115 [pid 6114] <... set_robust_list resumed>) = 0 [pid 6114] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6114] memfd_create("syzkaller", 0) = 3 [pid 6114] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 ./strace-static-x86_64: Process 6115 attached [pid 6115] set_robust_list(0x5555558636a0, 24) = 0 [pid 6115] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6115] setpgid(0, 0) = 0 [pid 6115] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6115] write(3, "1000", 4) = 4 [pid 6115] close(3) = 0 [pid 6115] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6115] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6115] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6115] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6115] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6115] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6115] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6116]}, 88) = 6116 [pid 6115] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6115] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6116 attached ) = 0 [pid 6116] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6115] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6116] <... rseq resumed>) = 0 [pid 6116] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6116] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6116] memfd_create("syzkaller", 0) = 3 [pid 6116] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6111] 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 6112] 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 6110] 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 6105] <... write resumed>) = 16777216 [pid 6105] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6105] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6105] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6105] close(3) = 0 [pid 6105] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6105] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6114] 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 6116] 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 6105] <... mount resumed>) = -1 EEXIST (File exists) [ 134.088733][ T6105] loop0: detected capacity change from 0 to 32768 [ 134.099246][ T6105] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6105) [pid 6105] ioctl(4, LOOP_CLR_FD [pid 6111] <... write resumed>) = 16777216 [pid 6112] <... write resumed>) = 16777216 [pid 6111] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6111] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6111] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6111] ioctl(4, LOOP_CLR_FD [pid 6112] munmap(0x7f4e2554e000, 16777216 [pid 6111] <... ioctl resumed>) = 0 [pid 6111] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6110] <... write resumed>) = 16777216 [pid 6111] close(4) = 0 [pid 6111] close(3 [pid 6112] <... munmap resumed>) = 0 [pid 6112] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6112] ioctl(4, LOOP_SET_FD, 3 [pid 6110] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6112] <... ioctl resumed>) = 0 [pid 6112] close(3) = 0 [pid 6112] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6112] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6110] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6110] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6110] close(3) = 0 [pid 6110] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 134.281792][ T6112] loop1: detected capacity change from 0 to 32768 [ 134.310649][ T6112] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6112) [ 134.324126][ T6110] loop4: detected capacity change from 0 to 32768 [pid 6110] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6112] <... mount resumed>) = -1 EEXIST (File exists) [pid 6112] ioctl(4, LOOP_CLR_FD [pid 6110] <... mount resumed>) = -1 EEXIST (File exists) [pid 6110] ioctl(4, LOOP_CLR_FD [pid 6105] <... ioctl resumed>) = 0 [pid 6105] close(4) = 0 [pid 6105] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6104] <... futex resumed>) = 0 [pid 6104] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6105] open("./file0", O_RDONLY [pid 6104] <... futex resumed>) = 0 [pid 6104] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6105] <... open resumed>) = 3 [pid 6105] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6104] <... futex resumed>) = 0 [pid 6105] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6104] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6104] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6105] <... ioctl resumed>) = 0 [ 134.357896][ T6110] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6110) [pid 6105] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6104] <... futex resumed>) = 0 [pid 6105] ioctl(3, 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 6104] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 134.436436][ T6105] BTRFS info (device loop2): balance: start -d -m [ 134.443177][ T6105] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6104] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6104] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6104] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6104] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6104] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6111] <... close resumed>) = 0 [pid 6104] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6104] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6111] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6104] <... clone3 resumed> => {parent_tid=[6118]}, 88) = 6118 [pid 6104] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6111] <... futex resumed>) = 1 [pid 6107] <... futex resumed>) = 0 [pid 6104] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6116] <... write resumed>) = 16777216 [pid 6114] <... write resumed>) = 16777216 [pid 6111] open("./file0", O_RDONLY [pid 6107] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6104] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6118 attached [pid 6116] munmap(0x7f4e2554e000, 16777216 [pid 6114] munmap(0x7f4e2554e000, 16777216 [pid 6111] <... open resumed>) = 3 [pid 6107] <... futex resumed>) = 0 [pid 6104] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6118] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6107] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6118] <... rseq resumed>) = 0 [pid 6118] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6118] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6118] open("./file0", O_RDONLY) = 4 [pid 6118] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6104] <... futex resumed>) = 0 [pid 6118] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6104] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6104] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6114] <... munmap resumed>) = 0 [pid 6111] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6107] <... futex resumed>) = 0 [pid 6111] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6107] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6118] <... ioctl resumed>) = 0 [pid 6111] <... ioctl resumed>) = 0 [pid 6107] <... futex resumed>) = 0 [pid 6118] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6116] <... munmap resumed>) = 0 [pid 6114] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6111] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6107] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6118] <... futex resumed>) = 1 [pid 6116] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6114] <... openat resumed>) = 4 [pid 6111] <... futex resumed>) = 0 [pid 6107] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6104] <... futex resumed>) = 0 [pid 6118] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6116] <... openat resumed>) = 4 [pid 6114] ioctl(4, LOOP_SET_FD, 3 [pid 6111] ioctl(3, 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}} [ 134.501831][ T6105] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 134.526586][ T6105] BTRFS info (device loop2): 2 enospc errors during balance [ 134.533909][ T6105] BTRFS info (device loop2): balance: ended with status: -28 [pid 6107] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6116] ioctl(4, LOOP_SET_FD, 3 [pid 6107] <... futex resumed>) = 0 [pid 6105] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6107] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6114] <... ioctl resumed>) = 0 [pid 6105] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6104] exit_group(0 [pid 6118] <... futex resumed>) = ? [pid 6104] <... exit_group resumed>) = ? [pid 6118] +++ exited with 0 +++ [pid 6114] close(3) = 0 [pid 6105] +++ exited with 0 +++ [pid 6104] +++ exited with 0 +++ [pid 6114] mkdir("./file0", 0777 [pid 6116] <... ioctl resumed>) = 0 [pid 6114] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6104, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=31 /* 0.31 s */} --- [pid 6114] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5020] restart_syscall(<... resuming interrupted clone ...> [ 134.566766][ T6114] loop5: detected capacity change from 0 to 32768 [ 134.574632][ T6116] loop3: detected capacity change from 0 to 32768 [ 134.581991][ T6111] BTRFS info (device loop2): balance: start -d -m [ 134.597406][ T6111] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6116] close(3 [pid 5020] <... restart_syscall resumed>) = 0 [pid 6116] <... close resumed>) = 0 [pid 6112] <... ioctl resumed>) = 0 [pid 6107] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6107] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6107] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5020] <... openat resumed>) = 3 [pid 6107] <... mmap resumed>) = 0x7f4e2652d000 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6107] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6107] <... mprotect resumed>) = 0 [pid 5020] close(3 [pid 6116] mkdir("./file0", 0777 [pid 6112] close(4 [pid 6107] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5020] <... close resumed>) = 0 [pid 6107] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6107] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6116] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6112] <... close resumed>) = 0 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6119 [pid 6116] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6112] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6107] <... clone3 resumed> => {parent_tid=[6120]}, 88) = 6120 [pid 6107] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6107] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6107] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6120 attached [pid 6120] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6120] set_robust_list(0x7f4e2654d9a0, 24 [pid 6112] <... futex resumed>) = 1 [pid 6108] <... futex resumed>) = 0 [pid 6120] <... set_robust_list resumed>) = 0 [pid 6112] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6120] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6112] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6108] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6120] open("./file0", O_RDONLY [pid 6112] open("./file0", O_RDONLY [pid 6108] <... futex resumed>) = 0 [pid 6120] <... open resumed>) = 4 [pid 6110] <... ioctl resumed>) = 0 [pid 6108] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6112] <... open resumed>) = 3 [pid 6120] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6112] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6110] close(4./strace-static-x86_64: Process 6119 attached [pid 6120] <... futex resumed>) = 1 [pid 6110] <... close resumed>) = 0 [pid 6107] <... futex resumed>) = 0 [pid 6120] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6110] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6107] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6120] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6110] <... futex resumed>) = 1 [pid 6107] <... futex resumed>) = 0 [pid 6106] <... futex resumed>) = 0 [pid 6120] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6110] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6107] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6106] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6110] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6106] <... futex resumed>) = 0 [pid 6112] <... futex resumed>) = 1 [ 134.606709][ T6114] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6114) [ 134.616570][ T6111] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 134.637154][ T6111] BTRFS info (device loop2): 2 enospc errors during balance [ 134.653237][ T6111] BTRFS info (device loop2): balance: ended with status: -28 [pid 6110] open("./file0", O_RDONLY [pid 6106] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6119] set_robust_list(0x5555558636a0, 24 [pid 6114] <... mount resumed>) = -1 EEXIST (File exists) [pid 6112] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6110] <... open resumed>) = 3 [pid 6108] <... futex resumed>) = 0 [pid 6114] ioctl(4, LOOP_CLR_FD [pid 6110] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6106] <... futex resumed>) = 0 [pid 6110] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6106] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6110] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6106] <... futex resumed>) = 0 [pid 6110] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6106] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6110] <... ioctl resumed>) = 0 [pid 6110] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6106] <... futex resumed>) = 0 [pid 6110] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6106] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6110] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6106] <... futex resumed>) = 0 [pid 6110] ioctl(3, 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 6106] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6119] <... set_robust_list resumed>) = 0 [pid 6108] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6116] <... mount resumed>) = -1 EEXIST (File exists) [pid 6119] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6112] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6108] <... futex resumed>) = 0 [pid 6112] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 6119] <... prctl resumed>) = 0 [pid 6108] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6119] setpgid(0, 0 [pid 6112] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6108] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6112] <... futex resumed>) = 0 [pid 6108] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6120] <... ioctl resumed>) = 0 [pid 6119] <... setpgid resumed>) = 0 [pid 6116] ioctl(4, LOOP_CLR_FD [pid 6112] ioctl(3, 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 6111] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6110] <... 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}}) = 8 [pid 6108] <... futex resumed>) = 0 [pid 6120] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6119] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6111] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6110] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6111] <... futex resumed>) = 0 [pid 6110] <... futex resumed>) = 1 [pid 6108] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6106] <... futex resumed>) = 0 [pid 6119] <... openat resumed>) = 3 [pid 6111] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6110] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6106] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6110] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6106] <... futex resumed>) = 0 [pid 6120] <... futex resumed>) = 1 [pid 6119] write(3, "1000", 4 [pid 6110] open("./file0", O_RDONLY [pid 6107] <... futex resumed>) = 0 [pid 6106] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6120] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6119] <... write resumed>) = 4 [pid 6110] <... open resumed>) = 4 [pid 6107] exit_group(0 [pid 6111] <... futex resumed>) = ? [pid 6110] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6107] <... exit_group resumed>) = ? [pid 6111] +++ exited with 0 +++ [pid 6110] <... futex resumed>) = 1 [pid 6106] <... futex resumed>) = 0 [pid 6110] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6106] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6110] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6106] <... futex resumed>) = 0 [pid 6110] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6106] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6120] <... futex resumed>) = ? [pid 6120] +++ exited with 0 +++ [pid 6107] +++ exited with 0 +++ [pid 6119] close(3 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6107, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- [pid 6119] <... close resumed>) = 0 [pid 6110] <... ioctl resumed>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3 [ 134.662164][ T6116] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6116) [ 134.685694][ T6112] BTRFS info (device loop2): balance: start -d -m [ 134.694908][ T6112] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6119] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6110] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... close resumed>) = 0 [pid 6119] <... futex resumed>) = 0 [pid 6108] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6110] <... futex resumed>) = 0 [pid 6106] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6106] exit_group(0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6121 [pid 6106] <... exit_group resumed>) = ? [pid 6119] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6108] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6119] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6108] <... futex resumed>) = 0 [pid 6110] +++ exited with 0 +++ [pid 6106] +++ exited with 0 +++ [pid 6108] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6119] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6108] <... mmap resumed>) = 0x7f4e2652d000 [pid 6119] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6108] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6119] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6108] <... mprotect resumed>) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6106, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=24 /* 0.24 s */} --- [pid 6119] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6108] rt_sigprocmask(SIG_BLOCK, ~[], ./strace-static-x86_64: Process 6121 attached [pid 6119] <... mprotect resumed>) = 0 [pid 6108] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6121] set_robust_list(0x5555558636a0, 24 [pid 6119] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6108] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR./strace-static-x86_64: Process 6123 attached [pid 6121] <... set_robust_list resumed>) = 0 [pid 6119] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6112] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5026] <... openat resumed>) = 3 [pid 6123] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6121] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6119] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6112] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6108] <... clone3 resumed> => {parent_tid=[6123]}, 88) = 6123 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6123] <... rseq resumed>) = 0 [pid 6121] <... prctl resumed>) = 0 [pid 6112] <... futex resumed>) = 0 [pid 6108] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6123] set_robust_list(0x7f4e2654d9a0, 24 [pid 6121] setpgid(0, 0 [pid 6119] <... clone3 resumed> => {parent_tid=[6124]}, 88) = 6124 [pid 6112] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6108] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] close(3 [pid 6123] <... set_robust_list resumed>) = 0 [pid 6121] <... setpgid resumed>) = 0 [pid 6119] rt_sigprocmask(SIG_SETMASK, [], [pid 6108] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... close resumed>) = 0 [pid 6123] rt_sigprocmask(SIG_SETMASK, [], [pid 6121] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6119] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6108] <... futex resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6123] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6121] <... openat resumed>) = 3 [pid 6119] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6108] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6123] open("./file0", O_RDONLY [pid 6121] write(3, "1000", 4 [pid 6119] <... futex resumed>) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6125 ./strace-static-x86_64: Process 6125 attached [pid 6123] <... open resumed>) = 4 [pid 6121] <... write resumed>) = 4 [pid 6119] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6124 attached [pid 6125] set_robust_list(0x5555558636a0, 24 [pid 6123] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6121] close(3 [pid 6125] <... set_robust_list resumed>) = 0 [pid 6124] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6123] <... futex resumed>) = 1 [pid 6121] <... close resumed>) = 0 [pid 6108] <... futex resumed>) = 0 [pid 6125] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6124] <... rseq resumed>) = 0 [pid 6123] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6121] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [ 134.714878][ T6112] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 134.728839][ T6112] BTRFS info (device loop2): 2 enospc errors during balance [ 134.736263][ T6112] BTRFS info (device loop2): balance: ended with status: -28 [pid 6108] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6125] <... prctl resumed>) = 0 [pid 6124] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6121] <... futex resumed>) = 0 [pid 6112] <... futex resumed>) = 0 [pid 6108] <... futex resumed>) = 1 [pid 6125] setpgid(0, 0 [pid 6124] <... set_robust_list resumed>) = 0 [pid 6121] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6112] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6108] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6125] <... setpgid resumed>) = 0 [pid 6124] rt_sigprocmask(SIG_SETMASK, [], [pid 6121] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6124] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6121] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6125] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6124] memfd_create("syzkaller", 0 [pid 6121] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6112] <... ioctl resumed>) = 0 [pid 6125] <... openat resumed>) = 3 [pid 6124] <... memfd_create resumed>) = 3 [pid 6121] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6112] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6125] write(3, "1000", 4 [pid 6124] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6121] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6112] <... futex resumed>) = 1 [pid 6108] <... futex resumed>) = 0 [pid 6125] <... write resumed>) = 4 [pid 6124] <... mmap resumed>) = 0x7f4e2554e000 [pid 6121] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6112] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6108] exit_group(0 [pid 6125] close(3 [pid 6123] <... futex resumed>) = ? [pid 6121] <... mprotect resumed>) = 0 [pid 6112] <... futex resumed>) = ? [pid 6108] <... exit_group resumed>) = ? [pid 6125] <... close resumed>) = 0 [pid 6123] +++ exited with 0 +++ [pid 6121] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6112] +++ exited with 0 +++ [pid 6125] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6121] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6108] +++ exited with 0 +++ [pid 6125] <... futex resumed>) = 0 [pid 6121] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6108, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=27 /* 0.27 s */} --- [pid 6125] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6121] <... clone3 resumed> => {parent_tid=[6126]}, 88) = 6126 [pid 6125] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6121] rt_sigprocmask(SIG_SETMASK, [], [pid 6125] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6121] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6116] <... ioctl resumed>) = 0 [pid 6125] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6121] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6126 attached [pid 6125] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6121] <... futex resumed>) = 0 [pid 6116] close(4 [pid 6126] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6125] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6121] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6116] <... close resumed>) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6126] <... rseq resumed>) = 0 [pid 6125] <... mprotect resumed>) = 0 [pid 6116] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] <... openat resumed>) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 6126] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5021] close(3 [pid 6125] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6126] <... set_robust_list resumed>) = 0 [pid 6125] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6116] <... futex resumed>) = 1 [pid 6115] <... futex resumed>) = 0 [pid 5021] <... close resumed>) = 0 [pid 6126] rt_sigprocmask(SIG_SETMASK, [], [pid 6125] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6116] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6115] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6126] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6116] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6115] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6127 attached [pid 6126] memfd_create("syzkaller", 0 [pid 6125] <... clone3 resumed> => {parent_tid=[6127]}, 88) = 6127 [pid 6116] open("./file0", O_RDONLY [pid 6115] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6128 [pid 6127] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6126] <... memfd_create resumed>) = 3 [pid 6125] rt_sigprocmask(SIG_SETMASK, [], [pid 6116] <... open resumed>) = 3 ./strace-static-x86_64: Process 6128 attached [pid 6128] set_robust_list(0x5555558636a0, 24) = 0 [pid 6128] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6127] <... rseq resumed>) = 0 [pid 6126] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6125] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6116] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6128] <... prctl resumed>) = 0 [pid 6127] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6126] <... mmap resumed>) = 0x7f4e2554e000 [pid 6125] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6116] <... futex resumed>) = 1 [pid 6115] <... futex resumed>) = 0 [pid 6128] setpgid(0, 0 [pid 6127] <... set_robust_list resumed>) = 0 [pid 6128] <... setpgid resumed>) = 0 [pid 6128] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6128] write(3, "1000", 4) = 4 [pid 6128] close(3) = 0 [pid 6128] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6127] rt_sigprocmask(SIG_SETMASK, [], [pid 6125] <... futex resumed>) = 0 [pid 6116] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6115] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6128] <... futex resumed>) = 0 [pid 6127] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6125] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6116] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6115] <... futex resumed>) = 0 [pid 6128] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6127] memfd_create("syzkaller", 0 [pid 6116] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6115] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6128] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6127] <... memfd_create resumed>) = 3 [pid 6116] <... ioctl resumed>) = 0 [pid 6128] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6127] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6116] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6128] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6127] <... mmap resumed>) = 0x7f4e2554e000 [pid 6116] <... futex resumed>) = 1 [pid 6115] <... futex resumed>) = 0 [pid 6128] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6128] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6128] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6128] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6129]}, 88) = 6129 [pid 6128] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6128] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6116] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6115] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6128] <... futex resumed>) = 0 [pid 6116] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6115] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6129 attached [pid 6128] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6116] ioctl(3, 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 6115] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6129] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6129] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6129] rt_sigprocmask(SIG_SETMASK, [], [pid 6114] <... ioctl resumed>) = 0 [pid 6129] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6114] close(4) = 0 [pid 6114] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6113] <... futex resumed>) = 0 [pid 6114] open("./file0", O_RDONLY [pid 6113] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6114] <... open resumed>) = 3 [pid 6113] <... futex resumed>) = 0 [pid 6114] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6113] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6114] <... futex resumed>) = 0 [pid 6113] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6114] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6113] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6114] <... ioctl resumed>) = 0 [pid 6113] <... futex resumed>) = 0 [pid 6114] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6113] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6129] memfd_create("syzkaller", 0 [pid 6114] <... futex resumed>) = 0 [pid 6113] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6129] <... memfd_create resumed>) = 3 [pid 6114] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6113] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6129] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6114] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6113] <... futex resumed>) = 0 [pid 6114] ioctl(3, 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 6113] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6114] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6114] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6113] <... futex resumed>) = 0 [pid 6114] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6113] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6129] <... mmap resumed>) = 0x7f4e2554e000 [pid 6114] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6113] <... futex resumed>) = 0 [pid 6114] open("./file0", O_RDONLY [pid 6113] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6114] <... open resumed>) = 4 [pid 6114] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6113] <... futex resumed>) = 0 [pid 6114] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6113] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6114] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6113] <... futex resumed>) = 0 [pid 6114] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6113] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6115] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6114] <... ioctl resumed>) = 0 [pid 6115] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6114] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6115] <... futex resumed>) = 0 [ 134.942921][ T6116] BTRFS info (device loop2): balance: start -d -m [ 134.952169][ T6116] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6114] <... futex resumed>) = 1 [pid 6113] <... futex resumed>) = 0 [pid 6115] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6114] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6113] exit_group(0 [pid 6115] <... mmap resumed>) = 0x7f4e2652d000 [pid 6114] <... futex resumed>) = ? [pid 6113] <... exit_group resumed>) = ? [pid 6115] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6114] +++ exited with 0 +++ [pid 6113] +++ exited with 0 +++ [pid 6115] <... mprotect resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6113, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=31 /* 0.31 s */} --- [pid 6115] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6115] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6115] <... clone3 resumed> => {parent_tid=[6130]}, 88) = 6130 [pid 5027] <... openat resumed>) = 3 [pid 6115] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6115] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6115] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] close(3 [pid 6115] <... futex resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 6115] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6130 attached , child_tidptr=0x555555863690) = 6131 [pid 6130] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6130] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6130] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6131 attached NULL, 8) = 0 [pid 6131] set_robust_list(0x5555558636a0, 24 [pid 6130] open("./file0", O_RDONLY [pid 6131] <... set_robust_list resumed>) = 0 [pid 6130] <... open resumed>) = 4 [pid 6131] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6130] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6131] <... prctl resumed>) = 0 [pid 6130] <... futex resumed>) = 1 [pid 6115] <... futex resumed>) = 0 [pid 6131] setpgid(0, 0 [pid 6130] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6115] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6131] <... setpgid resumed>) = 0 [pid 6130] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6115] <... futex resumed>) = 0 [pid 6131] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6130] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [ 135.020815][ T6116] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6115] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6131] <... openat resumed>) = 3 [pid 6131] write(3, "1000", 4 [pid 6130] <... ioctl resumed>) = 0 [pid 6131] <... write resumed>) = 4 [pid 6130] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6131] close(3 [pid 6130] <... futex resumed>) = 1 [pid 6115] <... futex resumed>) = 0 [pid 6131] <... close resumed>) = 0 [pid 6130] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6131] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6131] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6131] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6131] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6131] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6131] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6131] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6132]}, 88) = 6132 [pid 6131] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6131] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6131] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6132 attached [pid 6132] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6132] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6132] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6132] memfd_create("syzkaller", 0) = 3 [pid 6132] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6116] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6132] <... mmap resumed>) = 0x7f4e2554e000 [pid 6116] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6115] exit_group(0) = ? [pid 6130] <... futex resumed>) = ? [pid 6116] <... futex resumed>) = ? [pid 6130] +++ exited with 0 +++ [pid 6116] +++ exited with 0 +++ [pid 6115] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6115, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- [pid 5025] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 135.065381][ T6116] BTRFS info (device loop2): 2 enospc errors during balance [ 135.094330][ T6116] BTRFS info (device loop2): balance: ended with status: -28 [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6133 ./strace-static-x86_64: Process 6133 attached [pid 6133] set_robust_list(0x5555558636a0, 24) = 0 [pid 6133] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6133] setpgid(0, 0) = 0 [pid 6133] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6133] write(3, "1000", 4) = 4 [pid 6133] close(3) = 0 [pid 6133] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6133] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6133] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6133] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6133] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6133] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6133] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6134]}, 88) = 6134 [pid 6133] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6133] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6133] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6134 attached [pid 6134] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6134] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6134] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6134] memfd_create("syzkaller", 0) = 3 [pid 6134] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6124] 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 6127] 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 6126] 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 6129] 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 6132] 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 6134] 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 6124] <... write resumed>) = 16777216 [pid 6129] <... write resumed>) = 16777216 [pid 6124] munmap(0x7f4e2554e000, 16777216 [pid 6129] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6124] <... munmap resumed>) = 0 [pid 6129] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6124] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6129] <... openat resumed>) = 4 [pid 6124] ioctl(4, LOOP_SET_FD, 3 [pid 6129] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6124] <... ioctl resumed>) = 0 [pid 6124] close(3 [pid 6129] close(3) = 0 [pid 6124] <... close resumed>) = 0 [pid 6129] mkdir("./file0", 0777 [pid 6124] mkdir("./file0", 0777 [pid 6129] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6127] <... write resumed>) = 16777216 [pid 6124] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6129] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6124] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6126] <... write resumed>) = 16777216 [pid 6126] munmap(0x7f4e2554e000, 16777216 [pid 6127] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6126] <... munmap resumed>) = 0 [pid 6126] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [ 135.610836][ T6124] loop0: detected capacity change from 0 to 32768 [ 135.618640][ T6129] loop1: detected capacity change from 0 to 32768 [ 135.649041][ T6129] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6129) [pid 6126] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6126] ioctl(4, LOOP_CLR_FD) = 0 [pid 6129] <... mount resumed>) = -1 EEXIST (File exists) [pid 6127] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6129] ioctl(4, LOOP_CLR_FD [pid 6127] <... openat resumed>) = 4 [pid 6127] ioctl(4, LOOP_SET_FD, 3 [pid 6124] <... mount resumed>) = -1 EEXIST (File exists) [pid 6124] ioctl(4, LOOP_CLR_FD [pid 6126] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6126] close(4) = 0 [pid 6126] close(3 [pid 6127] <... ioctl resumed>) = 0 [ 135.674143][ T6124] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6124) [ 135.690612][ T6127] loop4: detected capacity change from 0 to 32768 [pid 6127] close(3) = 0 [pid 6127] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6127] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6132] <... write resumed>) = 16777216 [pid 6132] munmap(0x7f4e2554e000, 16777216 [pid 6127] <... mount resumed>) = -1 EEXIST (File exists) [pid 6127] ioctl(4, LOOP_CLR_FD [pid 6132] <... munmap resumed>) = 0 [ 135.741035][ T6127] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6127) [pid 6132] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6132] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6132] close(3) = 0 [pid 6132] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 135.803004][ T6132] loop5: detected capacity change from 0 to 32768 [pid 6132] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6126] <... close resumed>) = 0 [pid 6129] <... ioctl resumed>) = 0 [pid 6134] <... write resumed>) = 16777216 [pid 6134] munmap(0x7f4e2554e000, 16777216 [pid 6132] <... mount resumed>) = -1 EEXIST (File exists) [pid 6132] ioctl(4, LOOP_CLR_FD [pid 6134] <... munmap resumed>) = 0 [pid 6134] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6126] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6134] <... openat resumed>) = 4 [ 135.860577][ T6132] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6132) [pid 6134] ioctl(4, LOOP_SET_FD, 3 [pid 6121] <... futex resumed>) = 0 [pid 6121] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6121] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6126] <... futex resumed>) = 1 [pid 6126] open("./file0", O_RDONLY) = 3 [pid 6134] <... ioctl resumed>) = 0 [pid 6134] close(3 [pid 6126] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6121] <... futex resumed>) = 0 [pid 6126] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6121] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6126] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6121] <... futex resumed>) = 0 [pid 6126] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6121] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6134] <... close resumed>) = 0 [pid 6129] close(4 [pid 6126] <... ioctl resumed>) = 0 [pid 6134] mkdir("./file0", 0777 [pid 6126] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6134] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6129] <... close resumed>) = 0 [pid 6126] <... futex resumed>) = 1 [pid 6121] <... futex resumed>) = 0 [pid 6134] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6129] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6126] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 135.918087][ T6134] loop3: detected capacity change from 0 to 32768 [pid 6121] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6126] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6121] <... futex resumed>) = 0 [pid 6126] ioctl(3, 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 6121] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6129] <... futex resumed>) = 1 [pid 6128] <... futex resumed>) = 0 [pid 6129] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6128] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6134] <... mount resumed>) = -1 EEXIST (File exists) [pid 6129] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6128] <... futex resumed>) = 0 [pid 6134] ioctl(4, LOOP_CLR_FD [pid 6129] open("./file0", O_RDONLY [pid 6128] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6124] <... ioctl resumed>) = 0 [pid 6129] <... open resumed>) = 3 [pid 6124] close(4 [pid 6129] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6124] <... close resumed>) = 0 [pid 6129] <... futex resumed>) = 1 [pid 6128] <... futex resumed>) = 0 [pid 6124] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6129] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6128] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6124] <... futex resumed>) = 1 [pid 6121] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6119] <... futex resumed>) = 0 [pid 6129] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6128] <... futex resumed>) = 0 [pid 6121] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6128] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6121] <... futex resumed>) = 0 [pid 6124] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6119] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6129] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6121] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6119] <... futex resumed>) = 0 [pid 6129] <... ioctl resumed>) = 0 [pid 6124] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6121] <... mmap resumed>) = 0x7f4e2652d000 [pid 6119] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6129] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6124] open("./file0", O_RDONLY [pid 6121] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6129] <... futex resumed>) = 1 [pid 6128] <... futex resumed>) = 0 [ 135.962960][ T6134] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6134) [ 135.974981][ T6126] BTRFS info (device loop2): balance: start -d -m [ 135.988735][ T6126] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6127] <... ioctl resumed>) = 0 [pid 6124] <... open resumed>) = 3 [pid 6121] <... mprotect resumed>) = 0 [pid 6129] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6128] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6124] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6121] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6129] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6128] <... futex resumed>) = 0 [pid 6124] <... futex resumed>) = 1 [pid 6121] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6119] <... futex resumed>) = 0 [pid 6129] ioctl(3, 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 6128] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6124] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6121] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6119] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6129] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6124] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6119] <... futex resumed>) = 0 [pid 6129] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6124] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6121] <... clone3 resumed> => {parent_tid=[6136]}, 88) = 6136 [pid 6119] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6129] <... futex resumed>) = 1 [pid 6128] <... futex resumed>) = 0 [pid 6124] <... ioctl resumed>) = 0 [pid 6121] rt_sigprocmask(SIG_SETMASK, [], [pid 6129] open("./file0", O_RDONLY [pid 6128] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6124] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6121] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6136 attached [pid 6129] <... open resumed>) = 4 [pid 6128] <... futex resumed>) = 0 [pid 6124] <... futex resumed>) = 1 [pid 6121] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6119] <... futex resumed>) = 0 [pid 6136] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6129] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6128] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6124] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6121] <... futex resumed>) = 0 [pid 6119] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6136] <... rseq resumed>) = 0 [pid 6129] <... futex resumed>) = 0 [pid 6128] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6127] close(4 [pid 6124] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6121] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6136] set_robust_list(0x7f4e2654d9a0, 24 [pid 6128] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6127] <... close resumed>) = 0 [pid 6136] <... set_robust_list resumed>) = 0 [pid 6128] <... futex resumed>) = 0 [pid 6136] rt_sigprocmask(SIG_SETMASK, [], [pid 6128] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6127] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6136] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6129] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6127] <... futex resumed>) = 1 [pid 6125] <... futex resumed>) = 0 [pid 6124] ioctl(3, 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 6119] <... futex resumed>) = 0 [pid 6136] open("./file0", O_RDONLY [pid 6127] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6125] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6124] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6119] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6136] <... open resumed>) = 4 [pid 6129] <... ioctl resumed>) = 0 [pid 6127] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6125] <... futex resumed>) = 0 [pid 6124] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6136] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6129] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6127] open("./file0", O_RDONLY [pid 6125] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6124] <... futex resumed>) = 1 [pid 6119] <... futex resumed>) = 0 [pid 6136] <... futex resumed>) = 1 [pid 6129] <... futex resumed>) = 1 [pid 6128] <... futex resumed>) = 0 [pid 6127] <... open resumed>) = 3 [pid 6124] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6121] <... futex resumed>) = 0 [pid 6119] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6136] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6129] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6128] exit_group(0 [pid 6127] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6121] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6136] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6128] <... exit_group resumed>) = ? [pid 6127] <... futex resumed>) = 1 [pid 6121] <... futex resumed>) = 0 [pid 6136] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6127] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6121] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6129] <... futex resumed>) = ? [pid 6125] <... futex resumed>) = 0 [pid 6124] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6119] <... futex resumed>) = 0 [pid 6129] +++ exited with 0 +++ [pid 6128] +++ exited with 0 +++ [pid 6125] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6136] <... ioctl resumed>) = 0 [pid 6127] <... futex resumed>) = 0 [pid 6125] <... futex resumed>) = 1 [pid 6124] open("./file0", O_RDONLY [pid 6119] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6128, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=20 /* 0.20 s */} --- [pid 6136] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6127] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6125] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6124] <... open resumed>) = 4 [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 6136] <... futex resumed>) = 1 [pid 6127] <... ioctl resumed>) = 0 [pid 6124] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6121] <... futex resumed>) = 0 [pid 5021] <... restart_syscall resumed>) = 0 [pid 6136] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6127] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6124] <... futex resumed>) = 1 [pid 6119] <... futex resumed>) = 0 [pid 6127] <... futex resumed>) = 1 [pid 6125] <... futex resumed>) = 0 [pid 6124] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6119] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6127] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6125] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6124] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6119] <... futex resumed>) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6127] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6125] <... futex resumed>) = 0 [pid 6124] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6119] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] <... openat resumed>) = 3 [pid 6127] ioctl(3, 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 6125] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6127] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6127] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] close(3 [pid 6127] <... futex resumed>) = 1 [pid 6125] <... futex resumed>) = 0 [pid 6124] <... ioctl resumed>) = 0 [pid 5021] <... close resumed>) = 0 [pid 6127] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6125] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6127] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6125] <... futex resumed>) = 0 [pid 6127] open("./file0", O_RDONLY [pid 6125] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6124] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6137 [pid 6127] <... open resumed>) = 4 [pid 6124] <... futex resumed>) = 1 [pid 6119] <... futex resumed>) = 0 [pid 6127] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6124] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6119] exit_group(0 [pid 6127] <... futex resumed>) = 1 [pid 6125] <... futex resumed>) = 0 [pid 6124] <... futex resumed>) = ? [pid 6119] <... exit_group resumed>) = ? [pid 6127] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6125] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6124] +++ exited with 0 +++ [ 136.081019][ T6126] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata ./strace-static-x86_64: Process 6137 attached [pid 6127] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6125] <... futex resumed>) = 0 [pid 6119] +++ exited with 0 +++ [pid 6137] set_robust_list(0x5555558636a0, 24 [pid 6127] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6125] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6137] <... set_robust_list resumed>) = 0 [pid 6137] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6137] setpgid(0, 0) = 0 [pid 6137] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6137] write(3, "1000", 4) = 4 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6119, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=28 /* 0.28 s */} --- [pid 6137] close(3 [pid 6127] <... ioctl resumed>) = 0 [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 6137] <... close resumed>) = 0 [pid 6127] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... restart_syscall resumed>) = 0 [pid 6137] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6127] <... futex resumed>) = 1 [pid 6125] <... futex resumed>) = 0 [pid 6137] <... futex resumed>) = 0 [pid 6127] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6125] exit_group(0 [pid 6137] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6132] <... ioctl resumed>) = 0 [pid 6127] <... futex resumed>) = ? [pid 6125] <... exit_group resumed>) = ? [pid 6137] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6132] close(4 [pid 6127] +++ exited with 0 +++ [pid 6125] +++ exited with 0 +++ [pid 6137] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6132] <... close resumed>) = 0 [pid 6137] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6132] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6125, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=28 /* 0.28 s */} --- [pid 6137] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6132] <... futex resumed>) = 1 [pid 6131] <... futex resumed>) = 0 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6137] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6132] open("./file0", O_RDONLY [pid 6131] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... restart_syscall resumed>) = 0 [pid 6137] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6132] <... open resumed>) = 3 [pid 6131] <... futex resumed>) = 0 [pid 5020] <... openat resumed>) = 3 [pid 6137] <... mprotect resumed>) = 0 [pid 6132] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6131] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6137] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6132] <... futex resumed>) = 0 [pid 6131] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6137] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6132] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6131] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... openat resumed>) = 3 [pid 6137] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6132] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6131] <... futex resumed>) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6132] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6131] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6137] <... clone3 resumed> => {parent_tid=[6138]}, 88) = 6138 [pid 6132] <... ioctl resumed>) = 0 [pid 5026] close(3 [pid 5020] close(3 [pid 6137] rt_sigprocmask(SIG_SETMASK, [], [pid 6132] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... close resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 6137] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6132] <... futex resumed>) = 1 [pid 6131] <... futex resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6137] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6132] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6131] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6137] <... futex resumed>) = 0 [pid 6132] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6131] <... futex resumed>) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6139 ./strace-static-x86_64: Process 6138 attached [pid 6137] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6132] ioctl(3, 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 6131] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6140 [pid 6138] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053./strace-static-x86_64: Process 6140 attached ./strace-static-x86_64: Process 6139 attached ) = 0 [pid 6138] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6139] set_robust_list(0x5555558636a0, 24 [pid 6138] <... set_robust_list resumed>) = 0 [pid 6140] set_robust_list(0x5555558636a0, 24 [pid 6139] <... set_robust_list resumed>) = 0 [pid 6138] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6140] <... set_robust_list resumed>) = 0 [pid 6139] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6138] memfd_create("syzkaller", 0 [pid 6140] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6139] <... prctl resumed>) = 0 [pid 6138] <... memfd_create resumed>) = 3 [pid 6140] <... prctl resumed>) = 0 [pid 6139] setpgid(0, 0 [pid 6138] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6140] setpgid(0, 0 [pid 6139] <... setpgid resumed>) = 0 [pid 6138] <... mmap resumed>) = 0x7f4e2554e000 [pid 6140] <... setpgid resumed>) = 0 [pid 6139] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6140] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6139] <... openat resumed>) = 3 [pid 6140] <... openat resumed>) = 3 [pid 6139] write(3, "1000", 4 [pid 6132] <... 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}}) = 8 [pid 6126] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6140] write(3, "1000", 4 [pid 6139] <... write resumed>) = 4 [pid 6132] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6126] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6121] exit_group(0 [pid 6140] <... write resumed>) = 4 [pid 6139] close(3 [pid 6136] <... futex resumed>) = ? [pid 6132] <... futex resumed>) = 1 [pid 6131] <... futex resumed>) = 0 [ 136.132845][ T6126] BTRFS info (device loop2): 2 enospc errors during balance [ 136.152498][ T6126] BTRFS info (device loop2): balance: ended with status: -28 [pid 6126] <... futex resumed>) = ? [pid 6121] <... exit_group resumed>) = ? [pid 6136] +++ exited with 0 +++ [pid 6132] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6131] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6140] close(3 [pid 6139] <... close resumed>) = 0 [pid 6140] <... close resumed>) = 0 [pid 6132] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6131] <... futex resumed>) = 0 [pid 6140] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6139] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6132] open("./file0", O_RDONLY [pid 6131] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6126] +++ exited with 0 +++ [pid 6121] +++ exited with 0 +++ [pid 6140] <... futex resumed>) = 0 [pid 6139] <... futex resumed>) = 0 [pid 6132] <... open resumed>) = 4 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6121, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=27 /* 0.27 s */} --- [pid 6140] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6139] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6132] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 6140] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6139] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6132] <... futex resumed>) = 1 [pid 6131] <... futex resumed>) = 0 [pid 5022] <... restart_syscall resumed>) = 0 [pid 6140] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6139] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6132] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6131] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6140] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6139] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6132] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6131] <... futex resumed>) = 0 [pid 6140] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6139] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6132] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6131] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6140] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6139] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6132] <... ioctl resumed>) = 0 [pid 5022] <... openat resumed>) = 3 [pid 6140] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6139] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6132] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6140] <... mprotect resumed>) = 0 [pid 6139] <... mprotect resumed>) = 0 [pid 6132] <... futex resumed>) = 1 [pid 6131] <... futex resumed>) = 0 [pid 5022] <... ioctl resumed>) = 0 [pid 6140] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6139] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6134] <... ioctl resumed>) = 0 [pid 6132] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6131] exit_group(0 [pid 5022] close(3 [pid 6140] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6139] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6134] close(4 [pid 6132] <... futex resumed>) = ? [pid 6131] <... exit_group resumed>) = ? [pid 5022] <... close resumed>) = 0 [pid 6140] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6139] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6134] <... close resumed>) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6132] +++ exited with 0 +++ [pid 6134] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6131] +++ exited with 0 +++ ./strace-static-x86_64: Process 6142 attached ./strace-static-x86_64: Process 6141 attached [pid 6140] <... clone3 resumed> => {parent_tid=[6141]}, 88) = 6141 [pid 6139] <... clone3 resumed> => {parent_tid=[6142]}, 88) = 6142 [pid 6134] <... futex resumed>) = 1 [pid 6133] <... futex resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6131, si_uid=0, si_status=0, si_utime=0, si_stime=28 /* 0.28 s */} --- [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6143 [pid 6142] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6141] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6140] rt_sigprocmask(SIG_SETMASK, [], [pid 6139] rt_sigprocmask(SIG_SETMASK, [], [pid 6134] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6133] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6142] <... rseq resumed>) = 0 [pid 6141] <... rseq resumed>) = 0 [pid 6140] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6139] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6134] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6133] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6143 attached [pid 6142] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6141] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6140] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6139] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6134] open("./file0", O_RDONLY [pid 6133] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6143] set_robust_list(0x5555558636a0, 24 [pid 6142] <... set_robust_list resumed>) = 0 [pid 6141] <... set_robust_list resumed>) = 0 [pid 6140] <... futex resumed>) = 0 [pid 6139] <... futex resumed>) = 0 [pid 6134] <... open resumed>) = 3 [pid 6143] <... set_robust_list resumed>) = 0 [pid 6142] rt_sigprocmask(SIG_SETMASK, [], [pid 6141] rt_sigprocmask(SIG_SETMASK, [], [pid 6140] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6139] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6134] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6143] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6142] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6141] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6134] <... futex resumed>) = 1 [pid 6133] <... futex resumed>) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6143] <... prctl resumed>) = 0 [pid 6142] memfd_create("syzkaller", 0 [pid 6141] memfd_create("syzkaller", 0 [pid 6134] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6133] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... openat resumed>) = 3 [pid 6143] setpgid(0, 0 [pid 6142] <... memfd_create resumed>) = 3 [pid 6141] <... memfd_create resumed>) = 3 [pid 6134] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6133] <... futex resumed>) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6143] <... setpgid resumed>) = 0 [pid 6142] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6141] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6134] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6133] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6143] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6142] <... mmap resumed>) = 0x7f4e2554e000 [pid 6141] <... mmap resumed>) = 0x7f4e2554e000 [pid 6134] <... ioctl resumed>) = 0 [pid 5027] close(3 [pid 6143] <... openat resumed>) = 3 [pid 5027] <... close resumed>) = 0 [pid 6143] write(3, "1000", 4 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6143] <... write resumed>) = 4 [pid 6143] close(3 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6145 [pid 6143] <... close resumed>) = 0 [pid 6143] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6143] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6143] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], ./strace-static-x86_64: Process 6145 attached NULL, 8) = 0 [pid 6145] set_robust_list(0x5555558636a0, 24 [pid 6143] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6134] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6145] <... set_robust_list resumed>) = 0 [pid 6143] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6134] <... futex resumed>) = 1 [pid 6133] <... futex resumed>) = 0 [pid 6145] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6143] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6134] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6133] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6145] <... prctl resumed>) = 0 [pid 6143] <... mprotect resumed>) = 0 [pid 6134] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6133] <... futex resumed>) = 0 [pid 6145] setpgid(0, 0 [pid 6143] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6134] ioctl(3, 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 6133] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6145] <... setpgid resumed>) = 0 [pid 6143] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6145] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6143] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6145] <... openat resumed>) = 3 [pid 6145] write(3, "1000", 4 [pid 6143] <... clone3 resumed> => {parent_tid=[6146]}, 88) = 6146 [pid 6145] <... write resumed>) = 4 [pid 6143] rt_sigprocmask(SIG_SETMASK, [], [pid 6145] close(3 [pid 6143] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6145] <... close resumed>) = 0 [pid 6143] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6145] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6143] <... futex resumed>) = 0 [pid 6145] <... futex resumed>) = 0 [pid 6143] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6145] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 ./strace-static-x86_64: Process 6146 attached [pid 6145] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6146] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6145] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6146] <... rseq resumed>) = 0 [pid 6145] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6146] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6145] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6146] <... set_robust_list resumed>) = 0 [pid 6145] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6146] rt_sigprocmask(SIG_SETMASK, [], [pid 6145] <... mprotect resumed>) = 0 [pid 6146] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6145] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6146] memfd_create("syzkaller", 0 [pid 6145] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6146] <... memfd_create resumed>) = 3 [pid 6145] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6146] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6145] <... clone3 resumed> => {parent_tid=[6147]}, 88) = 6147 [pid 6145] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6145] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6145] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6147 attached [pid 6133] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6133] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6147] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6133] <... futex resumed>) = 0 [pid 6133] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6147] <... rseq resumed>) = 0 [pid 6133] <... mmap resumed>) = 0x7f4e2652d000 [pid 6133] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6147] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6133] <... mprotect resumed>) = 0 [pid 6133] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6147] <... set_robust_list resumed>) = 0 [pid 6133] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6147] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6133] <... clone3 resumed> => {parent_tid=[6148]}, 88) = 6148 [pid 6147] memfd_create("syzkaller", 0 [pid 6133] rt_sigprocmask(SIG_SETMASK, [], [pid 6147] <... memfd_create resumed>) = 3 [pid 6133] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6147] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [ 136.310504][ T6134] BTRFS info (device loop2): balance: start -d -m [ 136.322263][ T6134] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6133] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6147] <... mmap resumed>) = 0x7f4e2554e000 [pid 6133] <... futex resumed>) = 0 [pid 6133] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6148 attached [pid 6148] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6148] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6148] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6148] open("./file0", O_RDONLY) = 4 [pid 6148] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6133] <... futex resumed>) = 0 [pid 6148] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6133] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6148] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6133] <... futex resumed>) = 0 [pid 6148] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6133] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6148] <... ioctl resumed>) = 0 [pid 6148] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6133] <... futex resumed>) = 0 [ 136.382152][ T6134] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 136.439079][ T6134] BTRFS info (device loop2): 2 enospc errors during balance [pid 6148] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6134] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6134] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6133] exit_group(0 [pid 6148] <... futex resumed>) = ? [pid 6133] <... exit_group resumed>) = ? [ 136.489673][ T6134] BTRFS info (device loop2): balance: ended with status: -28 [pid 6148] +++ exited with 0 +++ [pid 6134] +++ exited with 0 +++ [pid 6133] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6133, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=27 /* 0.27 s */} --- [pid 5025] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6138] 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 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6149 ./strace-static-x86_64: Process 6149 attached [pid 6149] set_robust_list(0x5555558636a0, 24) = 0 [pid 6149] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6149] setpgid(0, 0) = 0 [pid 6149] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6149] write(3, "1000", 4) = 4 [pid 6149] close(3) = 0 [pid 6149] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6149] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6149] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6149] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6149] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6149] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6149] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6150]}, 88) = 6150 [pid 6149] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6149] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6149] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6150 attached [pid 6150] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6150] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6150] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6150] memfd_create("syzkaller", 0) = 3 [pid 6150] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6146] 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 6142] 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 6141] 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 6147] 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 6138] <... write resumed>) = 16777216 [pid 6138] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6150] 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 6138] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6138] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6138] close(3) = 0 [pid 6138] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6138] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6146] <... write resumed>) = 16777216 [pid 6146] munmap(0x7f4e2554e000, 16777216 [pid 6142] <... write resumed>) = 16777216 [pid 6141] <... write resumed>) = 16777216 [pid 6138] <... mount resumed>) = -1 EEXIST (File exists) [pid 6141] munmap(0x7f4e2554e000, 16777216 [pid 6146] <... munmap resumed>) = 0 [pid 6138] ioctl(4, LOOP_CLR_FD [pid 6141] <... munmap resumed>) = 0 [pid 6141] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6146] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6141] <... openat resumed>) = 4 [pid 6146] <... openat resumed>) = 4 [pid 6141] ioctl(4, LOOP_SET_FD, 3 [ 136.986950][ T6138] loop1: detected capacity change from 0 to 32768 [ 137.001603][ T6138] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6138) [pid 6146] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6146] ioctl(4, LOOP_CLR_FD) = 0 [pid 6142] munmap(0x7f4e2554e000, 16777216 [pid 6146] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6146] close(4 [pid 6147] <... write resumed>) = 16777216 [pid 6146] <... close resumed>) = 0 [pid 6141] <... ioctl resumed>) = 0 [pid 6146] close(3 [pid 6147] munmap(0x7f4e2554e000, 16777216 [pid 6141] close(3 [pid 6147] <... munmap resumed>) = 0 [pid 6141] <... close resumed>) = 0 [pid 6147] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6141] mkdir("./file0", 0777 [pid 6147] <... openat resumed>) = 4 [pid 6141] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6147] ioctl(4, LOOP_SET_FD, 3 [pid 6141] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6142] <... munmap resumed>) = 0 [ 137.051775][ T6141] loop0: detected capacity change from 0 to 32768 [ 137.089635][ T6147] loop5: detected capacity change from 0 to 32768 [pid 6142] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6142] ioctl(4, LOOP_SET_FD, 3 [pid 6147] <... ioctl resumed>) = 0 [pid 6147] close(3) = 0 [pid 6147] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6147] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6142] <... ioctl resumed>) = 0 [pid 6142] close(3 [pid 6141] <... mount resumed>) = -1 EEXIST (File exists) [pid 6142] <... close resumed>) = 0 [pid 6142] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6142] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6141] ioctl(4, LOOP_CLR_FD [pid 6147] <... mount resumed>) = -1 EEXIST (File exists) [ 137.101626][ T6141] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6141) [ 137.108543][ T6142] loop4: detected capacity change from 0 to 32768 [ 137.138704][ T6147] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6147) [pid 6147] ioctl(4, LOOP_CLR_FD [pid 6142] <... mount resumed>) = -1 EEXIST (File exists) [pid 6142] ioctl(4, LOOP_CLR_FD [pid 6146] <... close resumed>) = 0 [pid 6146] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6143] <... futex resumed>) = 0 [ 137.181014][ T6142] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6142) [pid 6143] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6143] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6146] <... futex resumed>) = 1 [pid 6146] open("./file0", O_RDONLY) = 3 [pid 6146] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6143] <... futex resumed>) = 0 [pid 6146] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6143] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6146] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6143] <... futex resumed>) = 0 [pid 6146] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6143] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6146] <... ioctl resumed>) = 0 [pid 6146] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6143] <... futex resumed>) = 0 [pid 6146] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6143] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6146] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6143] <... futex resumed>) = 0 [pid 6146] ioctl(3, 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 6143] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6138] <... ioctl resumed>) = 0 [pid 6138] close(4) = 0 [pid 6138] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6137] <... futex resumed>) = 0 [pid 6138] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6137] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6138] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6137] <... futex resumed>) = 0 [pid 6138] open("./file0", O_RDONLY [pid 6137] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6138] <... open resumed>) = 3 [pid 6138] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6137] <... futex resumed>) = 0 [pid 6138] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6137] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6138] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6137] <... futex resumed>) = 0 [pid 6138] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6137] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6138] <... ioctl resumed>) = 0 [pid 6138] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6137] <... futex resumed>) = 0 [pid 6138] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6137] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6138] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6137] <... futex resumed>) = 0 [pid 6138] ioctl(3, 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 6137] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6138] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6138] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6137] <... futex resumed>) = 0 [pid 6138] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6137] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6150] <... write resumed>) = 16777216 [pid 6138] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6137] <... futex resumed>) = 0 [pid 6150] munmap(0x7f4e2554e000, 16777216 [pid 6138] open("./file0", O_RDONLY [pid 6137] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6138] <... open resumed>) = 4 [pid 6138] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6137] <... futex resumed>) = 0 [pid 6138] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6137] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6138] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6137] <... futex resumed>) = 0 [pid 6138] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6137] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6138] <... ioctl resumed>) = 0 [pid 6143] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6143] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [ 137.307461][ T6146] BTRFS info (device loop2): balance: start -d -m [ 137.319467][ T6146] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6138] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6143] <... futex resumed>) = 0 [pid 6138] <... futex resumed>) = 1 [pid 6137] <... futex resumed>) = 0 [pid 6143] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6138] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6137] exit_group(0 [pid 6143] <... mmap resumed>) = 0x7f4e2652d000 [pid 6138] <... futex resumed>) = ? [pid 6137] <... exit_group resumed>) = ? [pid 6143] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6138] +++ exited with 0 +++ [pid 6150] <... munmap resumed>) = 0 [pid 6143] <... mprotect resumed>) = 0 [pid 6141] <... ioctl resumed>) = 0 [pid 6137] +++ exited with 0 +++ [pid 6150] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6143] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6150] <... openat resumed>) = 4 [pid 6143] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6137, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=21 /* 0.21 s */} --- [pid 6150] ioctl(4, LOOP_SET_FD, 3 [pid 6143] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 6143] <... clone3 resumed> => {parent_tid=[6152]}, 88) = 6152 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6143] rt_sigprocmask(SIG_SETMASK, [], [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6143] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5021] close(3 [pid 6150] <... ioctl resumed>) = 0 [pid 6143] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6141] close(4 [pid 5021] <... close resumed>) = 0 ./strace-static-x86_64: Process 6152 attached [pid 6150] close(3 [pid 6143] <... futex resumed>) = 0 [pid 6141] <... close resumed>) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6152] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6150] <... close resumed>) = 0 [pid 6143] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6141] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6153 attached [pid 6152] <... rseq resumed>) = 0 [pid 6150] mkdir("./file0", 0777 [pid 6147] <... ioctl resumed>) = 0 [pid 6141] <... futex resumed>) = 1 [pid 6140] <... futex resumed>) = 0 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6153 [pid 6153] set_robust_list(0x5555558636a0, 24 [pid 6152] set_robust_list(0x7f4e2654d9a0, 24 [pid 6150] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6147] close(4 [pid 6141] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6140] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6153] <... set_robust_list resumed>) = 0 [pid 6152] <... set_robust_list resumed>) = 0 [pid 6150] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6147] <... close resumed>) = 0 [pid 6141] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6140] <... futex resumed>) = 0 [pid 6152] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 137.368472][ T6146] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 137.401184][ T6150] loop3: detected capacity change from 0 to 32768 [pid 6141] open("./file0", O_RDONLY [pid 6140] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6152] open("./file0", O_RDONLY) = 4 [pid 6152] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6143] <... futex resumed>) = 0 [pid 6152] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6143] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6152] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6143] <... futex resumed>) = 0 [pid 6152] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6143] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6153] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6152] <... ioctl resumed>) = 0 [pid 6150] <... mount resumed>) = -1 EEXIST (File exists) [pid 6147] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6141] <... open resumed>) = 3 [pid 6153] <... prctl resumed>) = 0 [pid 6152] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6150] ioctl(4, LOOP_CLR_FD [pid 6147] <... futex resumed>) = 1 [pid 6145] <... futex resumed>) = 0 [pid 6141] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6153] setpgid(0, 0 [pid 6152] <... futex resumed>) = 1 [pid 6147] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6145] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6143] <... futex resumed>) = 0 [pid 6141] <... futex resumed>) = 1 [pid 6140] <... futex resumed>) = 0 [pid 6153] <... setpgid resumed>) = 0 [pid 6152] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6147] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6145] <... futex resumed>) = 0 [pid 6145] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6141] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 137.434648][ T6150] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6150) [ 137.451091][ T6146] BTRFS info (device loop2): 2 enospc errors during balance [pid 6140] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6153] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6147] open("./file0", O_RDONLY [pid 6142] <... ioctl resumed>) = 0 [pid 6141] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6140] <... futex resumed>) = 0 [pid 6153] <... openat resumed>) = 3 [pid 6147] <... open resumed>) = 3 [pid 6142] close(4 [pid 6141] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6140] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6153] write(3, "1000", 4 [pid 6147] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6142] <... close resumed>) = 0 [pid 6141] <... ioctl resumed>) = 0 [pid 6153] <... write resumed>) = 4 [pid 6147] <... futex resumed>) = 1 [pid 6146] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6145] <... futex resumed>) = 0 [pid 6142] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6141] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6153] close(3 [pid 6147] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6146] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6142] <... futex resumed>) = 1 [pid 6141] <... futex resumed>) = 1 [pid 6140] <... futex resumed>) = 0 [pid 6139] <... futex resumed>) = 0 [pid 6153] <... close resumed>) = 0 [pid 6146] <... futex resumed>) = 0 [pid 6142] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6141] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6140] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6139] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6153] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6146] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6142] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6141] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6140] <... futex resumed>) = 0 [pid 6139] <... futex resumed>) = 0 [pid 6153] <... futex resumed>) = 0 [pid 6142] open("./file0", O_RDONLY [pid 6141] ioctl(3, 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 6140] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6139] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6153] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6145] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6143] exit_group(0 [pid 6142] <... open resumed>) = 3 [pid 6153] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6152] <... futex resumed>) = ? [pid 6147] <... futex resumed>) = 0 [pid 6146] <... futex resumed>) = ? [pid 6145] <... futex resumed>) = 1 [pid 6143] <... exit_group resumed>) = ? [pid 6142] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6153] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6146] +++ exited with 0 +++ [pid 6142] <... futex resumed>) = 1 [pid 6139] <... futex resumed>) = 0 [pid 6153] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6142] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6139] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6153] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6142] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6139] <... futex resumed>) = 0 [pid 6153] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6142] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6139] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6153] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6142] <... ioctl resumed>) = 0 [pid 6153] <... mprotect resumed>) = 0 [pid 6142] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6153] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6142] <... futex resumed>) = 1 [pid 6139] <... futex resumed>) = 0 [pid 6153] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6142] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6139] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6153] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6142] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6139] <... futex resumed>) = 0 [pid 6142] ioctl(3, 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 6139] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6153] <... clone3 resumed> => {parent_tid=[6154]}, 88) = 6154 [pid 6152] +++ exited with 0 +++ [pid 6147] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6153] rt_sigprocmask(SIG_SETMASK, [], [pid 6145] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6153] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6153] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6153] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6154 attached [pid 6154] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6154] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6154] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6143] +++ exited with 0 +++ [pid 6147] <... ioctl resumed>) = 0 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6143, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=26 /* 0.26 s */} --- [pid 6147] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6145] <... futex resumed>) = 0 [pid 6145] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6147] ioctl(3, 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 6145] <... futex resumed>) = 0 [pid 6154] memfd_create("syzkaller", 0 [pid 6145] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6147] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6142] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6147] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6142] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6147] <... futex resumed>) = 1 [pid 6145] <... futex resumed>) = 0 [pid 6142] <... futex resumed>) = 1 [pid 6139] <... futex resumed>) = 0 [pid 6154] <... memfd_create resumed>) = 3 [pid 6147] open("./file0", O_RDONLY [pid 6145] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6142] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6139] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6154] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6147] <... open resumed>) = 4 [pid 6145] <... futex resumed>) = 0 [pid 6142] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6139] <... futex resumed>) = 0 [pid 6154] <... mmap resumed>) = 0x7f4e2554e000 [pid 6147] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6145] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 137.476374][ T6146] BTRFS info (device loop2): balance: ended with status: -28 [ 137.495832][ T6141] BTRFS info (device loop2): balance: start -d -m [ 137.507307][ T6141] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6142] open("./file0", O_RDONLY [pid 6139] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6147] <... futex resumed>) = 0 [pid 6145] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6142] <... open resumed>) = 4 [pid 6142] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6139] <... futex resumed>) = 0 [pid 6142] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6139] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6142] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6139] <... futex resumed>) = 0 [pid 6142] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6139] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] <... openat resumed>) = 3 [pid 6147] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6145] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6147] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6145] <... futex resumed>) = 0 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6147] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6145] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] <... ioctl resumed>) = 0 [pid 5022] close(3 [pid 6147] <... ioctl resumed>) = 0 [pid 6140] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5022] <... close resumed>) = 0 [pid 6142] <... ioctl resumed>) = 0 [pid 6142] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6140] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6142] <... futex resumed>) = 1 [pid 6140] <... futex resumed>) = 0 [pid 6139] <... futex resumed>) = 0 [pid 6142] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6140] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6139] exit_group(0 [pid 6142] <... futex resumed>) = ? [pid 6140] <... mmap resumed>) = 0x7f4e2652d000 [pid 6139] <... exit_group resumed>) = ? [pid 6147] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6142] +++ exited with 0 +++ [pid 6140] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6139] +++ exited with 0 +++ [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6140] <... mprotect resumed>) = 0 [pid 6140] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6140] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6155]}, 88) = 6155 [pid 6140] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6147] <... futex resumed>) = 1 [pid 6145] <... futex resumed>) = 0 [pid 6140] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6140] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6147] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6145] exit_group(0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6139, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=23 /* 0.23 s */} --- ./strace-static-x86_64: Process 6155 attached [pid 6145] <... exit_group resumed>) = ? [pid 6147] <... futex resumed>) = ? [pid 6155] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6147] +++ exited with 0 +++ [pid 6155] <... rseq resumed>) = 0 [pid 6155] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6155] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6155] open("./file0", O_RDONLY) = 4 [pid 6155] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6140] <... futex resumed>) = 0 [pid 6140] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6140] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6145] +++ exited with 0 +++ [pid 6155] <... futex resumed>) = 1 [pid 6155] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 5026] <... openat resumed>) = 3 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6145, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=19 /* 0.19 s */} --- [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6156 [pid 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6155] <... ioctl resumed>) = 0 [ 137.531045][ T6141] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 137.563625][ T6141] BTRFS info (device loop2): 2 enospc errors during balance [pid 5026] close(3./strace-static-x86_64: Process 6156 attached [pid 6155] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... openat resumed>) = 3 [pid 5026] <... close resumed>) = 0 [pid 6155] <... futex resumed>) = 1 [pid 6140] <... futex resumed>) = 0 [pid 6155] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6156] set_robust_list(0x5555558636a0, 24 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5027] close(3 [pid 6156] <... set_robust_list resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 6156] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6158 [pid 6156] <... prctl resumed>) = 0 [pid 6156] setpgid(0, 0) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6159 [pid 6156] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 ./strace-static-x86_64: Process 6158 attached [pid 6156] write(3, "1000", 4) = 4 [pid 6158] set_robust_list(0x5555558636a0, 24 [pid 6156] close(3 [pid 6158] <... set_robust_list resumed>) = 0 ./strace-static-x86_64: Process 6159 attached [pid 6158] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6156] <... close resumed>) = 0 [pid 6156] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6159] set_robust_list(0x5555558636a0, 24 [pid 6158] <... prctl resumed>) = 0 [pid 6156] <... futex resumed>) = 0 [pid 6159] <... set_robust_list resumed>) = 0 [pid 6158] setpgid(0, 0 [pid 6156] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6158] <... setpgid resumed>) = 0 [pid 6159] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6158] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6156] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6158] <... openat resumed>) = 3 [pid 6158] write(3, "1000", 4 [pid 6156] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6159] <... prctl resumed>) = 0 [pid 6158] <... write resumed>) = 4 [pid 6156] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6159] setpgid(0, 0 [pid 6158] close(3 [pid 6156] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6159] <... setpgid resumed>) = 0 [pid 6158] <... close resumed>) = 0 [pid 6156] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6141] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6158] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6159] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6158] <... futex resumed>) = 0 [pid 6156] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6141] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6159] <... openat resumed>) = 3 [pid 6158] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6140] exit_group(0 [pid 6158] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6155] <... futex resumed>) = ? [pid 6140] <... exit_group resumed>) = ? [pid 6159] write(3, "1000", 4 [pid 6158] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6156] <... mprotect resumed>) = 0 [pid 6155] +++ exited with 0 +++ [pid 6141] <... futex resumed>) = ? [pid 6159] <... write resumed>) = 4 [pid 6158] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6158] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6156] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6158] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6158] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6160]}, 88) = 6160 [pid 6158] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6158] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6141] +++ exited with 0 +++ [pid 6140] +++ exited with 0 +++ [pid 6159] close(3 [pid 6158] <... futex resumed>) = 0 [pid 6156] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6158] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6160 attached [pid 6160] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6160] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6160] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6160] memfd_create("syzkaller", 0 [pid 6159] <... close resumed>) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6140, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=30 /* 0.30 s */} --- [pid 6156] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6160] <... memfd_create resumed>) = 3 [ 137.582397][ T6141] BTRFS info (device loop2): balance: ended with status: -28 [pid 6160] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 6159] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... restart_syscall resumed>) = 0 ./strace-static-x86_64: Process 6161 attached [pid 6159] <... futex resumed>) = 0 [pid 6156] <... clone3 resumed> => {parent_tid=[6161]}, 88) = 6161 [pid 6161] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6159] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6156] rt_sigprocmask(SIG_SETMASK, [], [pid 6161] <... rseq resumed>) = 0 [pid 6159] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6156] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6159] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6156] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6161] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6161] <... set_robust_list resumed>) = 0 [pid 6159] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6156] <... futex resumed>) = 0 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6156] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6161] rt_sigprocmask(SIG_SETMASK, [], [pid 6159] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6159] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6161] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5020] close(3 [pid 6159] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6161] memfd_create("syzkaller", 0) = 3 [pid 6159] <... mprotect resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 6161] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6159] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6161] <... mmap resumed>) = 0x7f4e2554e000 [pid 6159] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6159] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6162 [pid 6159] <... clone3 resumed> => {parent_tid=[6163]}, 88) = 6163 [pid 6159] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6159] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6159] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6163 attached ./strace-static-x86_64: Process 6162 attached [pid 6163] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6162] set_robust_list(0x5555558636a0, 24 [pid 6150] <... ioctl resumed>) = 0 [pid 6163] <... rseq resumed>) = 0 [pid 6162] <... set_robust_list resumed>) = 0 [pid 6163] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6163] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6162] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6163] memfd_create("syzkaller", 0) = 3 [pid 6162] setpgid(0, 0 [pid 6163] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6162] <... setpgid resumed>) = 0 [pid 6162] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6163] <... mmap resumed>) = 0x7f4e2554e000 [pid 6162] <... openat resumed>) = 3 [pid 6162] write(3, "1000", 4) = 4 [pid 6162] close(3) = 0 [pid 6162] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6162] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6162] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6162] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6150] close(4 [pid 6162] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6150] <... close resumed>) = 0 [pid 6162] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6150] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6150] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6162] <... mprotect resumed>) = 0 [pid 6149] <... futex resumed>) = 0 [pid 6162] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6149] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6162] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6150] <... futex resumed>) = 0 [pid 6150] open("./file0", O_RDONLY [pid 6162] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6150] <... open resumed>) = 3 [pid 6149] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6150] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6150] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6149] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6149] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6162] <... clone3 resumed> => {parent_tid=[6164]}, 88) = 6164 [pid 6149] <... futex resumed>) = 1 [pid 6150] <... futex resumed>) = 0 [pid 6149] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6162] rt_sigprocmask(SIG_SETMASK, [], [pid 6150] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6162] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6150] <... ioctl resumed>) = 0 [pid 6162] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6150] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6162] <... futex resumed>) = 0 [pid 6150] <... futex resumed>) = 1 [pid 6149] <... futex resumed>) = 0 [pid 6162] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6150] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6149] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6150] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6150] ioctl(3, 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 6149] <... futex resumed>) = 0 [pid 6149] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6164 attached [pid 6164] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6164] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6164] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6164] memfd_create("syzkaller", 0) = 3 [pid 6164] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6149] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6149] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6149] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6149] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6149] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6149] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6165]}, 88) = 6165 [ 137.786590][ T6150] BTRFS info (device loop2): balance: start -d -m [ 137.793379][ T6150] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6149] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6165 attached NULL, 8) = 0 [pid 6149] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6149] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6165] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6165] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6165] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6165] open("./file0", O_RDONLY) = 4 [pid 6165] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6149] <... futex resumed>) = 0 [pid 6149] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6165] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6149] <... futex resumed>) = 0 [pid 6149] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6165] <... ioctl resumed>) = 0 [pid 6165] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6149] <... futex resumed>) = 0 [ 137.862041][ T6150] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6165] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6150] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6150] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6154] 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 6150] <... futex resumed>) = 0 [pid 6149] exit_group(0 [pid 6165] <... futex resumed>) = ? [pid 6161] 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 6149] <... exit_group resumed>) = ? [ 137.903731][ T6150] BTRFS info (device loop2): 2 enospc errors during balance [ 137.913319][ T6150] BTRFS info (device loop2): balance: ended with status: -28 [pid 6165] +++ exited with 0 +++ [pid 6150] +++ exited with 0 +++ [pid 6149] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6149, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=26 /* 0.26 s */} --- [pid 5025] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6166 ./strace-static-x86_64: Process 6166 attached [pid 6166] set_robust_list(0x5555558636a0, 24) = 0 [pid 6166] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6166] setpgid(0, 0) = 0 [pid 6166] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6166] write(3, "1000", 4) = 4 [pid 6166] close(3) = 0 [pid 6166] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6166] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6166] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6166] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6166] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6166] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6166] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6167]}, 88) = 6167 [pid 6166] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6166] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6166] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6167 attached [pid 6167] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6167] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6167] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6167] memfd_create("syzkaller", 0) = 3 [pid 6167] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6163] 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 6160] 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 6164] 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 6161] <... write resumed>) = 16777216 [pid 6161] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6161] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6161] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6161] ioctl(4, LOOP_CLR_FD) = 0 [pid 6161] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6161] close(4) = 0 [pid 6161] close(3 [pid 6154] <... write resumed>) = 16777216 [pid 6154] munmap(0x7f4e2554e000, 16777216 [pid 6160] <... write resumed>) = 16777216 [pid 6154] <... munmap resumed>) = 0 [pid 6154] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6154] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6154] close(3) = 0 [pid 6154] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6154] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6167] 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 6160] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6160] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 138.398369][ T6154] loop1: detected capacity change from 0 to 32768 [ 138.422522][ T6154] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6154) [pid 6160] ioctl(4, LOOP_SET_FD, 3 [pid 6154] <... mount resumed>) = -1 EEXIST (File exists) [pid 6154] ioctl(4, LOOP_CLR_FD [pid 6164] <... write resumed>) = 16777216 [pid 6164] munmap(0x7f4e2554e000, 16777216 [pid 6160] <... ioctl resumed>) = 0 [pid 6160] close(3) = 0 [pid 6160] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6160] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6163] <... write resumed>) = 16777216 [pid 6161] <... close resumed>) = 0 [pid 6164] <... munmap resumed>) = 0 [pid 6163] munmap(0x7f4e2554e000, 16777216 [pid 6164] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6164] ioctl(4, LOOP_SET_FD, 3 [pid 6163] <... munmap resumed>) = 0 [pid 6164] <... ioctl resumed>) = 0 [pid 6164] close(3) = 0 [pid 6164] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6164] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6160] <... mount resumed>) = -1 EEXIST (File exists) [ 138.455542][ T6160] loop4: detected capacity change from 0 to 32768 [ 138.480952][ T6160] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6160) [ 138.498711][ T6164] loop0: detected capacity change from 0 to 32768 [pid 6163] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6161] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6156] <... futex resumed>) = 0 [pid 6163] <... openat resumed>) = 4 [pid 6161] open("./file0", O_RDONLY [pid 6156] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6163] ioctl(4, LOOP_SET_FD, 3 [pid 6161] <... open resumed>) = 3 [pid 6156] <... futex resumed>) = 0 [pid 6161] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6156] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 EAGAIN (Resource temporarily unavailable) [pid 6161] <... futex resumed>) = 0 [pid 6156] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6163] <... ioctl resumed>) = 0 [pid 6161] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6156] <... futex resumed>) = 0 [pid 6163] close(3 [pid 6161] <... ioctl resumed>) = 0 [pid 6156] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6163] <... close resumed>) = 0 [pid 6161] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6160] ioctl(4, LOOP_CLR_FD [pid 6156] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6161] <... futex resumed>) = 0 [pid 6156] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6161] ioctl(3, 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 6156] <... futex resumed>) = 0 [pid 6156] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6163] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 138.510377][ T6164] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6164) [ 138.533147][ T6163] loop5: detected capacity change from 0 to 32768 [ 138.551957][ T6161] BTRFS info (device loop2): balance: start -d -m [pid 6163] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6164] <... mount resumed>) = -1 EEXIST (File exists) [pid 6164] ioctl(4, LOOP_CLR_FD [pid 6163] <... mount resumed>) = -1 EEXIST (File exists) [pid 6156] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6163] ioctl(4, LOOP_CLR_FD [pid 6156] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6156] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [ 138.566362][ T6161] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 138.576378][ T6163] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6163) [pid 6156] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6156] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6156] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6169]}, 88) = 6169 [pid 6156] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 138.613160][ T6161] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6156] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6156] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6169 attached [pid 6169] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6169] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6169] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6169] open("./file0", O_RDONLY) = 4 [pid 6169] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6156] <... futex resumed>) = 0 [pid 6169] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6156] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6156] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6169] <... ioctl resumed>) = 0 [pid 6169] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6156] <... futex resumed>) = 0 [ 138.658259][ T6161] BTRFS info (device loop2): 2 enospc errors during balance [ 138.665558][ T6161] BTRFS info (device loop2): balance: ended with status: -28 [pid 6169] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6161] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6161] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6161] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6156] exit_group(0 [pid 6154] <... ioctl resumed>) = 0 [pid 6169] <... futex resumed>) = ? [pid 6161] <... futex resumed>) = ? [pid 6156] <... exit_group resumed>) = ? [pid 6167] <... write resumed>) = 16777216 [pid 6154] close(4 [pid 6169] +++ exited with 0 +++ [pid 6161] +++ exited with 0 +++ [pid 6156] +++ exited with 0 +++ [pid 6167] munmap(0x7f4e2554e000, 16777216 [pid 6154] <... close resumed>) = 0 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6156, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3 [pid 6167] <... munmap resumed>) = 0 [pid 6154] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... close resumed>) = 0 [pid 6160] <... ioctl resumed>) = 0 [pid 6167] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6154] <... futex resumed>) = 1 [pid 6153] <... futex resumed>) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6167] <... openat resumed>) = 4 [pid 6160] close(4 [pid 6154] open("./file0", O_RDONLY [pid 6153] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6170 [pid 6167] ioctl(4, LOOP_SET_FD, 3 [pid 6160] <... close resumed>) = 0 [pid 6153] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6154] <... open resumed>) = 3 [pid 6160] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6154] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6160] <... futex resumed>) = 1 [pid 6158] <... futex resumed>) = 0 [pid 6154] <... futex resumed>) = 1 [pid 6153] <... futex resumed>) = 0 [pid 6167] <... ioctl resumed>) = 0 [pid 6160] open("./file0", O_RDONLY [pid 6158] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6154] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6153] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6170 attached [pid 6167] close(3 [pid 6160] <... open resumed>) = 3 [pid 6158] <... futex resumed>) = 0 [pid 6154] <... ioctl resumed>) = 0 [pid 6153] <... futex resumed>) = 0 [pid 6167] <... close resumed>) = 0 [pid 6158] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6153] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6167] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6170] set_robust_list(0x5555558636a0, 24 [pid 6167] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6160] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6154] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6170] <... set_robust_list resumed>) = 0 [pid 6164] <... ioctl resumed>) = 0 [pid 6160] <... futex resumed>) = 1 [pid 6158] <... futex resumed>) = 0 [pid 6154] <... futex resumed>) = 1 [pid 6153] <... futex resumed>) = 0 [pid 6170] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6164] close(4 [pid 6163] <... ioctl resumed>) = 0 [pid 6160] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6158] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6153] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6158] <... futex resumed>) = 0 [pid 6153] <... futex resumed>) = 0 [pid 6158] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6153] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6170] <... prctl resumed>) = 0 [pid 6154] ioctl(3, 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 6164] <... close resumed>) = 0 [pid 6163] close(4 [pid 6160] <... ioctl resumed>) = 0 [pid 6170] setpgid(0, 0 [pid 6163] <... close resumed>) = 0 [pid 6163] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6170] <... setpgid resumed>) = 0 [pid 6164] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6163] <... futex resumed>) = 1 [pid 6159] <... futex resumed>) = 0 [pid 6170] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6164] <... futex resumed>) = 1 [pid 6163] open("./file0", O_RDONLY [pid 6162] <... futex resumed>) = 0 [pid 6160] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6159] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6162] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6159] <... futex resumed>) = 0 [pid 6162] <... futex resumed>) = 0 [pid 6164] open("./file0", O_RDONLY [pid 6162] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6159] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6163] <... open resumed>) = 3 [pid 6160] <... futex resumed>) = 1 [pid 6164] <... open resumed>) = 3 [pid 6163] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6160] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6170] <... openat resumed>) = 3 [pid 6164] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6158] <... futex resumed>) = 0 [pid 6163] <... futex resumed>) = 1 [pid 6159] <... futex resumed>) = 0 [pid 6170] write(3, "1000", 4 [ 138.788452][ T6167] loop3: detected capacity change from 0 to 32768 [ 138.813054][ T6167] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6167) [pid 6158] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6164] <... futex resumed>) = 1 [pid 6170] <... write resumed>) = 4 [pid 6163] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6162] <... futex resumed>) = 0 [pid 6160] <... futex resumed>) = 0 [pid 6159] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6158] <... futex resumed>) = 1 [pid 6158] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6162] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6160] ioctl(3, 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 6164] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6159] <... futex resumed>) = 0 [pid 6170] close(3 [pid 6163] <... ioctl resumed>) = 0 [pid 6162] <... futex resumed>) = 0 [pid 6162] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6159] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6164] <... ioctl resumed>) = 0 [pid 6170] <... close resumed>) = 0 [pid 6164] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6163] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6159] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6170] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6164] <... futex resumed>) = 1 [pid 6163] <... futex resumed>) = 0 [pid 6162] <... futex resumed>) = 0 [pid 6159] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6170] <... futex resumed>) = 0 [pid 6164] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6163] ioctl(3, 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 6162] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6159] <... futex resumed>) = 0 [pid 6170] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6164] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6162] <... futex resumed>) = 0 [pid 6159] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6170] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6164] ioctl(3, 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 6162] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6170] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6167] <... mount resumed>) = -1 EEXIST (File exists) [pid 6164] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6163] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6160] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6170] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6164] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6163] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6160] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6170] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6163] <... futex resumed>) = 1 [pid 6159] <... futex resumed>) = 0 [pid 6170] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6167] ioctl(4, LOOP_CLR_FD [pid 6164] <... futex resumed>) = 1 [pid 6163] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6162] <... futex resumed>) = 0 [pid 6160] <... futex resumed>) = 1 [pid 6159] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6158] <... futex resumed>) = 0 [pid 6170] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6164] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6158] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6153] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6158] <... futex resumed>) = 0 [pid 6153] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6158] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6153] <... futex resumed>) = 0 [pid 6153] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6153] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6153] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6153] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6172]}, 88) = 6172 [pid 6153] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6153] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6153] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6172 attached [pid 6172] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6163] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6172] set_robust_list(0x7f4e2654d9a0, 24 [pid 6162] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6160] open("./file0", O_RDONLY [pid 6159] <... futex resumed>) = 0 [pid 6170] <... mprotect resumed>) = 0 [pid 6164] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6172] <... set_robust_list resumed>) = 0 [pid 6163] open("./file0", O_RDONLY [pid 6162] <... futex resumed>) = 0 [pid 6172] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6172] open("./file0", O_RDONLY) = 4 [pid 6172] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6164] open("./file0", O_RDONLY [pid 6163] <... open resumed>) = 4 [pid 6172] <... futex resumed>) = 1 [pid 6170] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6164] <... open resumed>) = 4 [pid 6163] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6162] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6160] <... open resumed>) = 4 [pid 6159] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6153] <... futex resumed>) = 0 [pid 6172] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6170] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6164] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6163] <... futex resumed>) = 0 [pid 6160] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6159] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6153] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6172] <... ioctl resumed>) = 0 [pid 6153] <... futex resumed>) = 0 [pid 6172] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6170] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6153] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6172] <... futex resumed>) = 0 [pid 6164] <... futex resumed>) = 1 [pid 6163] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6162] <... futex resumed>) = 0 [pid 6160] <... futex resumed>) = 1 [pid 6159] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6158] <... futex resumed>) = 0 [pid 6153] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6172] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6163] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6162] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6159] <... futex resumed>) = 0 [pid 6164] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6158] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6160] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6170] <... clone3 resumed> => {parent_tid=[6173]}, 88) = 6173 [pid 6163] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6162] <... futex resumed>) = 0 [pid 6159] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6158] <... futex resumed>) = 0 [pid 6170] rt_sigprocmask(SIG_SETMASK, [], [pid 6164] <... ioctl resumed>) = 0 [pid 6162] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6160] <... ioctl resumed>) = 0 [pid 6158] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6170] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6164] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6160] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6173 attached [pid 6163] <... ioctl resumed>) = 0 [pid 6173] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6173] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6173] rt_sigprocmask(SIG_SETMASK, [], [pid 6170] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6164] <... futex resumed>) = 1 [pid 6163] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6162] <... futex resumed>) = 0 [pid 6160] <... futex resumed>) = 1 [pid 6158] <... futex resumed>) = 0 [pid 6173] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 138.851898][ T6154] BTRFS info (device loop2): balance: start -d -m [ 138.869344][ T6154] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 138.891654][ T6154] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6158] exit_group(0 [pid 6170] <... futex resumed>) = 0 [pid 6164] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6173] memfd_create("syzkaller", 0 [pid 6163] <... futex resumed>) = 1 [pid 6162] exit_group(0 [pid 6159] <... futex resumed>) = 0 [pid 6158] <... exit_group resumed>) = ? [pid 6173] <... memfd_create resumed>) = 3 [pid 6170] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6163] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6162] <... exit_group resumed>) = ? [pid 6173] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6164] <... futex resumed>) = ? [pid 6160] +++ exited with 0 +++ [pid 6159] exit_group(0 [pid 6158] +++ exited with 0 +++ [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6158, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 6164] +++ exited with 0 +++ [pid 6162] +++ exited with 0 +++ [pid 6163] <... futex resumed>) = ? [pid 6159] <... exit_group resumed>) = ? [pid 5026] <... restart_syscall resumed>) = 0 [pid 6163] +++ exited with 0 +++ [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6162, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=24 /* 0.24 s */} --- [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6159] +++ exited with 0 +++ [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6159, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=30 /* 0.30 s */} --- [pid 5026] close(3 [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 5026] <... close resumed>) = 0 [pid 5020] <... restart_syscall resumed>) = 0 [pid 5027] <... restart_syscall resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6174 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 5027] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 138.925109][ T6154] BTRFS info (device loop2): 2 enospc errors during balance [pid 5027] close(3 [pid 5020] <... openat resumed>) = 3 ./strace-static-x86_64: Process 6174 attached [pid 5027] <... close resumed>) = 0 [pid 6174] set_robust_list(0x5555558636a0, 24 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6174] <... set_robust_list resumed>) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6175 [pid 6174] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5020] close(3 [pid 6174] <... prctl resumed>) = 0 ./strace-static-x86_64: Process 6175 attached [pid 6174] setpgid(0, 0 [pid 6175] set_robust_list(0x5555558636a0, 24 [pid 5020] <... close resumed>) = 0 [pid 6175] <... set_robust_list resumed>) = 0 [pid 6174] <... setpgid resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6174] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6175] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6174] write(3, "1000", 4 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6176 [pid 6174] <... write resumed>) = 4 [pid 6175] <... prctl resumed>) = 0 [pid 6174] close(3) = 0 [pid 6175] setpgid(0, 0 [pid 6174] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6175] <... setpgid resumed>) = 0 [pid 6174] <... futex resumed>) = 0 [pid 6174] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6175] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6174] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6174] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6175] <... openat resumed>) = 3 [pid 6174] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6175] write(3, "1000", 4 [pid 6174] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6175] <... write resumed>) = 4 [pid 6174] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6175] close(3 [pid 6174] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6175] <... close resumed>) = 0 [pid 6175] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6174] <... mprotect resumed>) = 0 [pid 6175] <... futex resumed>) = 0 [pid 6174] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6175] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6174] <... rt_sigprocmask resumed>[], 8) = 0 ./strace-static-x86_64: Process 6176 attached [pid 6175] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6154] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6176] set_robust_list(0x5555558636a0, 24 [pid 6175] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6174] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6154] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6153] exit_group(0 [pid 6176] <... set_robust_list resumed>) = 0 [pid 6175] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6172] <... futex resumed>) = ? [pid 6153] <... exit_group resumed>) = ? [pid 6176] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6175] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6174] <... clone3 resumed> => {parent_tid=[6177]}, 88) = 6177 [pid 6172] +++ exited with 0 +++ [pid 6154] +++ exited with 0 +++ [pid 6153] +++ exited with 0 +++ [ 138.986587][ T6154] BTRFS info (device loop2): balance: ended with status: -28 ./strace-static-x86_64: Process 6177 attached [pid 6176] <... prctl resumed>) = 0 [pid 6175] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6174] rt_sigprocmask(SIG_SETMASK, [], [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6153, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=30 /* 0.30 s */} --- [pid 6177] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6176] setpgid(0, 0 [pid 6175] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6174] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3 [pid 6177] <... rseq resumed>) = 0 [pid 6176] <... setpgid resumed>) = 0 [pid 6175] <... mprotect resumed>) = 0 [pid 6174] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] <... close resumed>) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6176] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6175] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6174] <... futex resumed>) = 0 [pid 6177] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6175] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6176] <... openat resumed>) = 3 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6178 [pid 6174] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6177] <... set_robust_list resumed>) = 0 [pid 6176] write(3, "1000", 4 [pid 6175] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6176] <... write resumed>) = 4 [pid 6176] close(3 [pid 6177] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6176] <... close resumed>) = 0 [pid 6175] <... clone3 resumed> => {parent_tid=[6179]}, 88) = 6179 [pid 6176] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6178 attached [pid 6177] memfd_create("syzkaller", 0 [pid 6176] <... futex resumed>) = 0 [pid 6175] rt_sigprocmask(SIG_SETMASK, [], [pid 6178] set_robust_list(0x5555558636a0, 24 [pid 6177] <... memfd_create resumed>) = 3 [pid 6176] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6175] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6178] <... set_robust_list resumed>) = 0 ./strace-static-x86_64: Process 6179 attached [pid 6178] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6177] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6176] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6175] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6179] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6178] <... prctl resumed>) = 0 [pid 6177] <... mmap resumed>) = 0x7f4e2554e000 [pid 6176] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6175] <... futex resumed>) = 0 [pid 6179] <... rseq resumed>) = 0 [pid 6178] setpgid(0, 0 [pid 6176] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6175] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6179] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6178] <... setpgid resumed>) = 0 [pid 6179] <... set_robust_list resumed>) = 0 [pid 6178] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6179] rt_sigprocmask(SIG_SETMASK, [], [pid 6178] <... openat resumed>) = 3 [pid 6179] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6178] write(3, "1000", 4 [pid 6179] memfd_create("syzkaller", 0 [pid 6178] <... write resumed>) = 4 [pid 6179] <... memfd_create resumed>) = 3 [pid 6178] close(3 [pid 6179] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6178] <... close resumed>) = 0 [pid 6179] <... mmap resumed>) = 0x7f4e2554e000 [pid 6178] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6176] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6178] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6176] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6178] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6176] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6178] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6178] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6176] <... mprotect resumed>) = 0 [pid 6178] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6176] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6178] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6176] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6167] <... ioctl resumed>) = 0 [pid 6178] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6178] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6176] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6167] close(4 [pid 6178] <... clone3 resumed> => {parent_tid=[6180]}, 88) = 6180 [pid 6178] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6178] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6181 attached ./strace-static-x86_64: Process 6180 attached ) = 0 [pid 6167] <... close resumed>) = 0 [pid 6181] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6180] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6178] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6181] <... rseq resumed>) = 0 [pid 6180] <... rseq resumed>) = 0 [pid 6176] <... clone3 resumed> => {parent_tid=[6181]}, 88) = 6181 [pid 6167] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6181] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6180] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6176] rt_sigprocmask(SIG_SETMASK, [], [pid 6167] <... futex resumed>) = 1 [pid 6166] <... futex resumed>) = 0 [pid 6180] <... set_robust_list resumed>) = 0 [pid 6181] <... set_robust_list resumed>) = 0 [pid 6176] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6167] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6166] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6180] rt_sigprocmask(SIG_SETMASK, [], [pid 6181] rt_sigprocmask(SIG_SETMASK, [], [pid 6176] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6167] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6166] <... futex resumed>) = 0 [pid 6181] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6180] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6176] <... futex resumed>) = 0 [pid 6167] open("./file0", O_RDONLY [pid 6166] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6181] memfd_create("syzkaller", 0 [pid 6180] memfd_create("syzkaller", 0 [pid 6176] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6167] <... open resumed>) = 3 [pid 6181] <... memfd_create resumed>) = 3 [pid 6180] <... memfd_create resumed>) = 3 [pid 6167] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6181] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6180] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6167] <... futex resumed>) = 1 [pid 6166] <... futex resumed>) = 0 [pid 6181] <... mmap resumed>) = 0x7f4e2554e000 [pid 6180] <... mmap resumed>) = 0x7f4e2554e000 [pid 6167] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6166] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6167] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6166] <... futex resumed>) = 0 [pid 6167] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6166] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6167] <... ioctl resumed>) = 0 [pid 6167] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6166] <... futex resumed>) = 0 [pid 6167] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6166] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6167] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6166] <... futex resumed>) = 0 [pid 6167] ioctl(3, 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}} [ 139.171578][ T6167] BTRFS info (device loop2): balance: start -d -m [ 139.196256][ T6167] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6166] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6166] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6166] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6166] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6166] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6166] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6182]}, 88) = 6182 [pid 6166] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 139.221818][ T6167] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6166] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6182 attached [pid 6182] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6182] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6182] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6182] open("./file0", O_RDONLY) = 4 [pid 6182] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6182] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL) = 0 [pid 6166] <... futex resumed>) = 1 [pid 6182] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6166] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 EAGAIN (Resource temporarily unavailable) [pid 6166] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6182] <... futex resumed>) = 0 [pid 6166] <... futex resumed>) = 1 [pid 6182] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0}) = 0 [pid 6182] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6182] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6166] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 EAGAIN (Resource temporarily unavailable) [pid 6177] 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 6167] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6167] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6167] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6166] exit_group(0 [pid 6182] <... futex resumed>) = ? [pid 6166] <... exit_group resumed>) = ? [pid 6167] <... futex resumed>) = ? [pid 6182] +++ exited with 0 +++ [pid 6167] +++ exited with 0 +++ [pid 6166] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6166, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=27 /* 0.27 s */} --- [pid 5025] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [ 139.264597][ T6167] BTRFS info (device loop2): 2 enospc errors during balance [ 139.283362][ T6167] BTRFS info (device loop2): balance: ended with status: -28 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6183 ./strace-static-x86_64: Process 6183 attached [pid 6183] set_robust_list(0x5555558636a0, 24) = 0 [pid 6183] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6183] setpgid(0, 0) = 0 [pid 6183] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6173] 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 6183] <... openat resumed>) = 3 [pid 6183] write(3, "1000", 4) = 4 [pid 6183] close(3) = 0 [pid 6183] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6183] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6183] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6183] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6183] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6183] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6183] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6184]}, 88) = 6184 [pid 6183] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6183] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6183] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6184 attached [pid 6184] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6184] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6184] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6184] memfd_create("syzkaller", 0) = 3 [pid 6184] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6180] 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 6179] 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 6181] 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 6177] <... write resumed>) = 16777216 [pid 6177] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6177] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6177] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6177] close(3) = 0 [pid 6177] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6177] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 139.686917][ T6177] loop4: detected capacity change from 0 to 32768 [ 139.699677][ T6177] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6177) [pid 6177] ioctl(4, LOOP_CLR_FD [pid 6173] <... write resumed>) = 16777216 [pid 6173] munmap(0x7f4e2554e000, 16777216 [pid 6180] <... write resumed>) = 16777216 [pid 6173] <... munmap resumed>) = 0 [pid 6180] munmap(0x7f4e2554e000, 16777216 [pid 6173] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6173] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6173] ioctl(4, LOOP_CLR_FD) = 0 [pid 6173] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6173] close(4 [pid 6180] <... munmap resumed>) = 0 [pid 6173] <... close resumed>) = 0 [pid 6173] close(3 [pid 6181] <... write resumed>) = 16777216 [pid 6180] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6181] munmap(0x7f4e2554e000, 16777216 [pid 6180] <... openat resumed>) = 4 [pid 6184] 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 6180] ioctl(4, LOOP_SET_FD, 3 [pid 6181] <... munmap resumed>) = 0 [pid 6181] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6181] ioctl(4, LOOP_SET_FD, 3 [pid 6180] <... ioctl resumed>) = 0 [pid 6180] close(3) = 0 [pid 6180] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6180] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6181] <... ioctl resumed>) = 0 [pid 6181] close(3) = 0 [pid 6181] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 139.863453][ T6180] loop1: detected capacity change from 0 to 32768 [ 139.873114][ T6181] loop0: detected capacity change from 0 to 32768 [ 139.888417][ T6180] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6180) [pid 6181] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6180] <... mount resumed>) = -1 EEXIST (File exists) [pid 6181] <... mount resumed>) = -1 EEXIST (File exists) [pid 6180] ioctl(4, LOOP_CLR_FD [pid 6179] <... write resumed>) = 16777216 [pid 6177] <... ioctl resumed>) = 0 [pid 6181] ioctl(4, LOOP_CLR_FD [pid 6179] munmap(0x7f4e2554e000, 16777216 [pid 6177] close(4 [pid 6179] <... munmap resumed>) = 0 [pid 6177] <... close resumed>) = 0 [pid 6177] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6174] <... futex resumed>) = 0 [pid 6177] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6174] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6179] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6177] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6174] <... futex resumed>) = 0 [pid 6179] <... openat resumed>) = 4 [pid 6177] open("./file0", O_RDONLY [pid 6174] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6179] ioctl(4, LOOP_SET_FD, 3 [pid 6177] <... open resumed>) = 3 [ 139.927683][ T6181] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6181) [pid 6177] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6174] <... futex resumed>) = 0 [pid 6177] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6174] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6177] <... ioctl resumed>) = 0 [pid 6174] <... futex resumed>) = 0 [pid 6177] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6174] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6177] <... futex resumed>) = 0 [pid 6174] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6177] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6174] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6177] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6174] <... futex resumed>) = 0 [pid 6179] <... ioctl resumed>) = 0 [pid 6177] ioctl(3, 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 6174] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 139.970782][ T6179] loop5: detected capacity change from 0 to 32768 [pid 6179] close(3) = 0 [pid 6179] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6173] <... close resumed>) = 0 [pid 6179] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6173] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6170] <... futex resumed>) = 0 [pid 6170] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6173] open("./file0", O_RDONLY [pid 6170] <... futex resumed>) = 0 [pid 6174] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6173] <... open resumed>) = 3 [pid 6170] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6174] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6173] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6170] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6174] <... futex resumed>) = 0 [pid 6173] <... futex resumed>) = 0 [pid 6170] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6174] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6173] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6170] <... futex resumed>) = 0 [pid 6174] <... mmap resumed>) = 0x7f4e2652d000 [pid 6173] <... ioctl resumed>) = 0 [pid 6170] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6174] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6173] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6170] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6174] <... mprotect resumed>) = 0 [pid 6173] <... futex resumed>) = 0 [pid 6170] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6174] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6173] ioctl(3, 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 6170] <... futex resumed>) = 0 [pid 6174] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6173] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6170] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6174] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6173] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6170] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6173] <... futex resumed>) = 0 [pid 6170] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6174] <... clone3 resumed> => {parent_tid=[6186]}, 88) = 6186 [pid 6173] open("./file0", O_RDONLY [pid 6170] <... futex resumed>) = 0 [pid 6174] rt_sigprocmask(SIG_SETMASK, [], [pid 6173] <... open resumed>) = 4 [pid 6170] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6179] <... mount resumed>) = -1 EEXIST (File exists) [pid 6174] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6173] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6170] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) ./strace-static-x86_64: Process 6186 attached [pid 6179] ioctl(4, LOOP_CLR_FD [pid 6174] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6173] <... futex resumed>) = 0 [pid 6186] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6174] <... futex resumed>) = 0 [ 140.023107][ T6177] BTRFS info (device loop2): balance: start -d -m [ 140.045523][ T6179] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6179) [ 140.056990][ T6177] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6173] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6170] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6186] <... rseq resumed>) = 0 [pid 6174] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6173] <... ioctl resumed>) = 0 [pid 6170] <... futex resumed>) = 0 [pid 6186] set_robust_list(0x7f4e2654d9a0, 24 [pid 6173] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6186] <... set_robust_list resumed>) = 0 [pid 6173] <... futex resumed>) = 0 [pid 6186] rt_sigprocmask(SIG_SETMASK, [], [pid 6173] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6186] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6186] open("./file0", O_RDONLY) = 4 [pid 6186] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6186] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6174] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6170] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6174] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6170] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6186] <... futex resumed>) = 0 [pid 6174] <... futex resumed>) = 1 [pid 6170] exit_group(0 [pid 6186] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6174] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6173] <... futex resumed>) = ? [pid 6170] <... exit_group resumed>) = ? [pid 6186] <... ioctl resumed>) = 0 [pid 6173] +++ exited with 0 +++ [pid 6186] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6174] <... futex resumed>) = 0 [pid 6170] +++ exited with 0 +++ [pid 6186] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6170, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=28 /* 0.28 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6187 ./strace-static-x86_64: Process 6187 attached [pid 6187] set_robust_list(0x5555558636a0, 24) = 0 [pid 6187] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6187] setpgid(0, 0) = 0 [ 140.105721][ T6177] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6187] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6187] write(3, "1000", 4) = 4 [pid 6187] close(3) = 0 [pid 6187] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6187] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6187] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6187] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6187] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6187] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6184] <... write resumed>) = 16777216 [pid 6187] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6187] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6188]}, 88) = 6188 [pid 6187] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6187] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 6188 attached [pid 6187] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6188] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6188] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6188] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6188] memfd_create("syzkaller", 0) = 3 [pid 6188] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 140.170817][ T6177] BTRFS info (device loop2): 2 enospc errors during balance [pid 6184] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6181] <... ioctl resumed>) = 0 [pid 6180] <... ioctl resumed>) = 0 [pid 6184] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6184] ioctl(4, LOOP_SET_FD, 3 [pid 6181] close(4 [pid 6180] close(4 [pid 6181] <... close resumed>) = 0 [pid 6180] <... close resumed>) = 0 [pid 6177] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6181] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6180] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6177] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6181] <... futex resumed>) = 1 [pid 6180] <... futex resumed>) = 1 [pid 6178] <... futex resumed>) = 0 [pid 6177] <... futex resumed>) = 0 [pid 6176] <... futex resumed>) = 0 [pid 6181] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6180] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6178] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6177] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6176] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6174] exit_group(0 [pid 6186] <... futex resumed>) = ? [pid 6181] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6180] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6178] <... futex resumed>) = 0 [pid 6177] <... futex resumed>) = ? [pid 6176] <... futex resumed>) = 0 [pid 6174] <... exit_group resumed>) = ? [pid 6186] +++ exited with 0 +++ [pid 6181] open("./file0", O_RDONLY [pid 6180] open("./file0", O_RDONLY [pid 6178] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6177] +++ exited with 0 +++ [pid 6176] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6174] +++ exited with 0 +++ [pid 6181] <... open resumed>) = 3 [pid 6180] <... open resumed>) = 3 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6174, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=21 /* 0.21 s */} --- [pid 6181] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6180] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6181] <... futex resumed>) = 1 [pid 6180] <... futex resumed>) = 1 [pid 6178] <... futex resumed>) = 0 [pid 6176] <... futex resumed>) = 0 [pid 6181] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6180] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6178] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6176] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6181] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6180] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6178] <... futex resumed>) = 0 [pid 6176] <... futex resumed>) = 0 [pid 6184] <... ioctl resumed>) = 0 [pid 6181] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6180] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6178] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6176] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6184] close(3 [pid 6181] <... ioctl resumed>) = 0 [pid 6180] <... ioctl resumed>) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6184] <... close resumed>) = 0 [pid 6181] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6180] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... openat resumed>) = 3 [pid 6184] mkdir("./file0", 0777 [pid 6181] <... futex resumed>) = 1 [pid 6180] <... futex resumed>) = 1 [pid 6178] <... futex resumed>) = 0 [pid 6176] <... futex resumed>) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6184] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6184] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 140.215973][ T6177] BTRFS info (device loop2): balance: ended with status: -28 [ 140.244291][ T6184] loop3: detected capacity change from 0 to 32768 [pid 5026] close(3 [pid 6181] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6180] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6178] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6176] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... close resumed>) = 0 [pid 6181] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6180] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6178] <... futex resumed>) = 0 [pid 6176] <... futex resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6181] ioctl(3, 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 6180] ioctl(3, 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 6178] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6176] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6189 [pid 6184] <... mount resumed>) = -1 EEXIST (File exists) [pid 6184] ioctl(4, LOOP_CLR_FD [pid 6179] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 6189 attached [pid 6180] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6180] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6178] <... futex resumed>) = 0 [ 140.295226][ T6184] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6184) [ 140.320126][ T6181] BTRFS info (device loop2): balance: start -d -m [ 140.329057][ T6181] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6189] set_robust_list(0x5555558636a0, 24 [pid 6179] close(4 [pid 6189] <... set_robust_list resumed>) = 0 [pid 6180] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6179] <... close resumed>) = 0 [pid 6178] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6180] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6176] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6189] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6180] open("./file0", O_RDONLY [pid 6179] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6178] <... futex resumed>) = 0 [pid 6189] <... prctl resumed>) = 0 [pid 6180] <... open resumed>) = 4 [pid 6179] <... futex resumed>) = 1 [pid 6178] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6176] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6175] <... futex resumed>) = 0 [pid 6189] setpgid(0, 0 [pid 6180] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6179] open("./file0", O_RDONLY [pid 6176] <... futex resumed>) = 0 [pid 6175] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6189] <... setpgid resumed>) = 0 [pid 6180] <... futex resumed>) = 1 [pid 6179] <... open resumed>) = 3 [pid 6178] <... futex resumed>) = 0 [pid 6176] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6175] <... futex resumed>) = 0 [pid 6189] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6178] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6176] <... mmap resumed>) = 0x7f4e2652d000 [pid 6175] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6189] <... openat resumed>) = 3 [pid 6180] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6179] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6178] <... futex resumed>) = 0 [ 140.345585][ T6181] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 140.383608][ T6181] BTRFS info (device loop2): 2 enospc errors during balance [pid 6176] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6189] write(3, "1000", 4 [pid 6179] <... futex resumed>) = 1 [pid 6178] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6176] <... mprotect resumed>) = 0 [pid 6189] <... write resumed>) = 4 [pid 6179] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6176] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6175] <... futex resumed>) = 0 [pid 6189] close(3 [pid 6181] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6180] <... ioctl resumed>) = 0 [pid 6176] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6175] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6189] <... close resumed>) = 0 [pid 6181] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6180] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6179] <... futex resumed>) = 0 [pid 6176] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6175] <... futex resumed>) = 1 [pid 6189] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6181] <... futex resumed>) = 0 [pid 6180] <... futex resumed>) = 1 [pid 6179] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6178] <... futex resumed>) = 0 [pid 6175] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6189] <... futex resumed>) = 0 [pid 6181] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6180] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6179] <... ioctl resumed>) = 0 [pid 6178] exit_group(0 [pid 6176] <... clone3 resumed> => {parent_tid=[6190]}, 88) = 6190 [pid 6189] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6180] <... futex resumed>) = ? [pid 6179] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6178] <... exit_group resumed>) = ? [pid 6176] rt_sigprocmask(SIG_SETMASK, [], [pid 6189] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6180] +++ exited with 0 +++ [pid 6179] <... futex resumed>) = 1 [pid 6178] +++ exited with 0 +++ [pid 6176] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6175] <... futex resumed>) = 0 [pid 6189] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6179] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6176] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6175] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6178, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=27 /* 0.27 s */} --- ./strace-static-x86_64: Process 6190 attached [pid 6189] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6179] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6176] <... futex resumed>) = 0 [pid 6175] <... futex resumed>) = 0 [ 140.390976][ T6181] BTRFS info (device loop2): balance: ended with status: -28 [pid 6190] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6189] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6179] ioctl(3, 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 6176] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6175] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6190] <... rseq resumed>) = 0 [pid 6189] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6190] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6189] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6190] rt_sigprocmask(SIG_SETMASK, [], [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6190] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5021] <... openat resumed>) = 3 [pid 6190] open("./file0", O_RDONLY [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6190] <... open resumed>) = 4 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6190] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] close(3 [pid 6190] <... futex resumed>) = 1 [pid 6189] <... mprotect resumed>) = 0 [pid 6176] <... futex resumed>) = 0 [pid 5021] <... close resumed>) = 0 [pid 6190] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6176] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6189] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6181] <... futex resumed>) = 0 [pid 6176] <... futex resumed>) = 1 [pid 6189] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6181] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6176] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6191 [pid 6189] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6192]}, 88) = 6192 [pid 6189] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6189] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6181] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 6192 attached ./strace-static-x86_64: Process 6191 attached [pid 6189] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6181] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6191] set_robust_list(0x5555558636a0, 24 [pid 6192] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6191] <... set_robust_list resumed>) = 0 [pid 6181] <... futex resumed>) = 1 [pid 6176] <... futex resumed>) = 0 [pid 6192] <... rseq resumed>) = 0 [pid 6191] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6181] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6176] exit_group(0 [pid 6191] <... prctl resumed>) = 0 [pid 6190] <... futex resumed>) = ? [pid 6176] <... exit_group resumed>) = ? [pid 6192] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6191] setpgid(0, 0 [pid 6190] +++ exited with 0 +++ [pid 6181] <... futex resumed>) = ? [pid 6192] <... set_robust_list resumed>) = 0 [pid 6191] <... setpgid resumed>) = 0 [pid 6191] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6191] write(3, "1000", 4) = 4 [pid 6191] close(3 [pid 6181] +++ exited with 0 +++ [pid 6176] +++ exited with 0 +++ [pid 6192] rt_sigprocmask(SIG_SETMASK, [], [pid 6191] <... close resumed>) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6176, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=28 /* 0.28 s */} --- [pid 6192] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6191] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 6191] <... futex resumed>) = 0 [pid 5020] <... restart_syscall resumed>) = 0 [pid 6191] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6192] memfd_create("syzkaller", 0 [pid 6191] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6191] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6191] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6192] <... memfd_create resumed>) = 3 [pid 5020] <... openat resumed>) = 3 [pid 6192] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6191] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6192] <... mmap resumed>) = 0x7f4e2554e000 [pid 6191] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6184] <... ioctl resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6184] close(4) = 0 [pid 6184] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6183] <... futex resumed>) = 0 [pid 6184] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6183] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6184] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6183] <... futex resumed>) = 0 [pid 6184] open("./file0", O_RDONLY [pid 6183] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6175] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6184] <... open resumed>) = 3 [pid 6175] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6184] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6175] <... futex resumed>) = 0 [pid 6184] <... futex resumed>) = 1 [pid 6183] <... futex resumed>) = 0 [pid 6175] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6184] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6183] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6175] <... mmap resumed>) = 0x7f4e2652d000 [pid 6184] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6183] <... futex resumed>) = 0 [pid 6175] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5020] close(3 [pid 6191] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6184] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6183] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6175] <... mprotect resumed>) = 0 [pid 6191] <... mprotect resumed>) = 0 [pid 6184] <... ioctl resumed>) = 0 [ 140.432180][ T6179] BTRFS info (device loop2): balance: start -d -m [ 140.447743][ T6179] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6175] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5020] <... close resumed>) = 0 [pid 6191] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6184] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6175] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6191] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6184] <... futex resumed>) = 1 [pid 6183] <... futex resumed>) = 0 [pid 6175] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6191] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6184] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6183] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6184] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6183] <... futex resumed>) = 0 [pid 6175] <... clone3 resumed> => {parent_tid=[6194]}, 88) = 6194 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6193 [pid 6191] <... clone3 resumed> => {parent_tid=[6195]}, 88) = 6195 [pid 6184] ioctl(3, 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 6183] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6175] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6195 attached ./strace-static-x86_64: Process 6193 attached [pid 6191] rt_sigprocmask(SIG_SETMASK, [], [pid 6184] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6175] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6195] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6193] set_robust_list(0x5555558636a0, 24 [pid 6191] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6184] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6175] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6194 attached [pid 6195] <... rseq resumed>) = 0 [pid 6193] <... set_robust_list resumed>) = 0 [pid 6191] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6184] <... futex resumed>) = 1 [pid 6183] <... futex resumed>) = 0 [pid 6175] <... futex resumed>) = 0 [pid 6195] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6194] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6193] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6191] <... futex resumed>) = 0 [pid 6184] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6183] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6175] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6195] <... set_robust_list resumed>) = 0 [pid 6194] <... rseq resumed>) = 0 [pid 6193] <... prctl resumed>) = 0 [pid 6191] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6184] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6183] <... futex resumed>) = 0 [pid 6195] rt_sigprocmask(SIG_SETMASK, [], [pid 6194] set_robust_list(0x7f4e2654d9a0, 24 [pid 6193] setpgid(0, 0 [pid 6184] open("./file0", O_RDONLY [pid 6183] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6195] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6194] <... set_robust_list resumed>) = 0 [pid 6193] <... setpgid resumed>) = 0 [pid 6184] <... open resumed>) = 4 [pid 6195] memfd_create("syzkaller", 0 [pid 6194] rt_sigprocmask(SIG_SETMASK, [], [pid 6193] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6184] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6195] <... memfd_create resumed>) = 3 [pid 6194] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6193] <... openat resumed>) = 3 [pid 6184] <... futex resumed>) = 1 [pid 6183] <... futex resumed>) = 0 [pid 6195] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6194] open("./file0", O_RDONLY [pid 6193] write(3, "1000", 4 [pid 6184] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6183] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6195] <... mmap resumed>) = 0x7f4e2554e000 [pid 6194] <... open resumed>) = 4 [pid 6193] <... write resumed>) = 4 [pid 6184] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6183] <... futex resumed>) = 0 [pid 6194] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6193] close(3 [pid 6184] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6183] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6194] <... futex resumed>) = 1 [pid 6193] <... close resumed>) = 0 [pid 6175] <... futex resumed>) = 0 [pid 6194] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6193] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6175] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6194] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6193] <... futex resumed>) = 0 [pid 6175] <... futex resumed>) = 0 [pid 6194] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6193] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6175] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6193] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6193] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6193] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6193] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6193] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6193] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6196]}, 88) = 6196 [pid 6193] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6193] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6193] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6194] <... ioctl resumed>) = 0 [pid 6184] <... ioctl resumed>) = 0 [pid 6194] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6184] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6194] <... futex resumed>) = 1 [pid 6184] <... futex resumed>) = 1 [pid 6183] <... futex resumed>) = 0 [ 140.499343][ T6179] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 140.533905][ T6179] BTRFS info (device loop2): 2 enospc errors during balance [pid 6175] <... futex resumed>) = 0 [pid 6194] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6184] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6183] exit_group(0 [pid 6184] <... futex resumed>) = ? [pid 6183] <... exit_group resumed>) = ? ./strace-static-x86_64: Process 6196 attached [pid 6184] +++ exited with 0 +++ [pid 6183] +++ exited with 0 +++ [pid 6196] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6183, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=28 /* 0.28 s */} --- [pid 6196] <... rseq resumed>) = 0 [pid 6196] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6196] rt_sigprocmask(SIG_SETMASK, [], [pid 5025] <... openat resumed>) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6196] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6196] memfd_create("syzkaller", 0 [pid 5025] close(3 [pid 6196] <... memfd_create resumed>) = 3 [pid 6196] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5025] <... close resumed>) = 0 [pid 6196] <... mmap resumed>) = 0x7f4e2554e000 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6197 ./strace-static-x86_64: Process 6197 attached [pid 6197] set_robust_list(0x5555558636a0, 24) = 0 [pid 6197] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6188] 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 6179] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6179] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6197] setpgid(0, 0) = 0 [pid 6179] <... futex resumed>) = 0 [pid 6197] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6179] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6175] exit_group(0 [pid 6197] <... openat resumed>) = 3 [pid 6194] <... futex resumed>) = ? [pid 6179] <... futex resumed>) = ? [pid 6175] <... exit_group resumed>) = ? [pid 6197] write(3, "1000", 4 [pid 6194] +++ exited with 0 +++ [pid 6179] +++ exited with 0 +++ [pid 6175] +++ exited with 0 +++ [pid 6197] <... write resumed>) = 4 [pid 6197] close(3 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6175, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=28 /* 0.28 s */} --- [pid 6197] <... close resumed>) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6197] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [ 140.560726][ T6179] BTRFS info (device loop2): balance: ended with status: -28 [pid 5027] <... openat resumed>) = 3 [pid 6197] <... futex resumed>) = 0 [pid 6197] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6197] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6197] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5027] close(3 [pid 6197] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] <... close resumed>) = 0 [pid 6197] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6197] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6197] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6198 [pid 6197] <... mprotect resumed>) = 0 [pid 6197] rt_sigprocmask(SIG_BLOCK, ~[], ./strace-static-x86_64: Process 6198 attached [], 8) = 0 [pid 6197] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6198] set_robust_list(0x5555558636a0, 24) = 0 [pid 6197] <... clone3 resumed> => {parent_tid=[6199]}, 88) = 6199 [pid 6197] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6197] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6198] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6197] <... futex resumed>) = 0 [pid 6197] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6198] <... prctl resumed>) = 0 [pid 6198] setpgid(0, 0) = 0 [pid 6198] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6198] write(3, "1000", 4) = 4 [pid 6198] close(3) = 0 [pid 6198] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6198] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6198] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6198] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 ./strace-static-x86_64: Process 6199 attached [pid 6198] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6199] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6198] <... mprotect resumed>) = 0 [pid 6199] <... rseq resumed>) = 0 [pid 6198] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6199] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6198] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6199] <... set_robust_list resumed>) = 0 [pid 6198] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6199] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6199] memfd_create("syzkaller", 0 [pid 6198] <... clone3 resumed> => {parent_tid=[6200]}, 88) = 6200 [pid 6199] <... memfd_create resumed>) = 3 [pid 6198] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6200 attached [pid 6199] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6198] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6200] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6199] <... mmap resumed>) = 0x7f4e2554e000 [pid 6198] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6200] <... rseq resumed>) = 0 [pid 6198] <... futex resumed>) = 0 [pid 6198] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6200] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6200] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6200] memfd_create("syzkaller", 0) = 3 [pid 6200] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6192] 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 6195] 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 6196] 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 6188] <... write resumed>) = 16777216 [pid 6188] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6199] 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 6188] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6188] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6188] ioctl(4, LOOP_CLR_FD) = 0 [pid 6188] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6188] close(4) = 0 [pid 6188] close(3 [pid 6200] 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 6192] <... write resumed>) = 16777216 [pid 6192] munmap(0x7f4e2554e000, 16777216 [pid 6195] <... write resumed>) = 16777216 [pid 6192] <... munmap resumed>) = 0 [pid 6195] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6192] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6192] ioctl(4, LOOP_SET_FD, 3 [pid 6195] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6195] ioctl(4, LOOP_SET_FD, 3 [pid 6188] <... close resumed>) = 0 [pid 6188] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6192] <... ioctl resumed>) = 0 [pid 6188] <... futex resumed>) = 1 [pid 6187] <... futex resumed>) = 0 [pid 6192] close(3 [pid 6187] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6192] <... close resumed>) = 0 [pid 6187] <... futex resumed>) = 0 [pid 6192] mkdir("./file0", 0777 [pid 6188] open("./file0", O_RDONLY [pid 6187] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6192] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6192] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6188] <... open resumed>) = 3 [pid 6196] <... write resumed>) = 16777216 [pid 6195] <... ioctl resumed>) = 0 [pid 6196] munmap(0x7f4e2554e000, 16777216 [pid 6195] close(3 [pid 6188] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6195] <... close resumed>) = 0 [pid 6188] <... futex resumed>) = 1 [pid 6187] <... futex resumed>) = 0 [pid 6187] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6195] mkdir("./file0", 0777 [pid 6188] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6187] <... futex resumed>) = 0 [pid 6187] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6196] <... munmap resumed>) = 0 [pid 6195] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6188] <... ioctl resumed>) = 0 [pid 6196] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6195] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6188] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6196] <... openat resumed>) = 4 [pid 6196] ioctl(4, LOOP_SET_FD, 3 [pid 6188] <... futex resumed>) = 1 [pid 6187] <... futex resumed>) = 0 [ 141.217457][ T6192] loop4: detected capacity change from 0 to 32768 [ 141.229731][ T6195] loop1: detected capacity change from 0 to 32768 [ 141.249198][ T6192] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6192) [pid 6196] <... ioctl resumed>) = 0 [pid 6188] ioctl(3, 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 6187] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6187] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6192] <... mount resumed>) = -1 EEXIST (File exists) [pid 6192] ioctl(4, LOOP_CLR_FD [pid 6196] close(3) = 0 [pid 6196] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 141.279041][ T6196] loop0: detected capacity change from 0 to 32768 [ 141.289798][ T6195] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6195) [ 141.301499][ T6188] BTRFS info (device loop2): balance: start -d -m [ 141.312522][ T6188] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6196] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6195] <... mount resumed>) = -1 EEXIST (File exists) [pid 6187] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6187] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=0}) = -1 ETIMEDOUT (Connection timed out) [pid 6195] ioctl(4, LOOP_CLR_FD [pid 6187] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6199] <... write resumed>) = 16777216 [pid 6196] <... mount resumed>) = -1 EEXIST (File exists) [pid 6187] <... futex resumed>) = 0 [pid 6187] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6187] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6187] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6187] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6202]}, 88) = 6202 [pid 6187] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6187] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6187] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6202 attached [pid 6202] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6202] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6202] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6202] open("./file0", O_RDONLY) = 4 [pid 6202] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6187] <... futex resumed>) = 0 [pid 6202] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [ 141.326278][ T6196] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6196) [ 141.348842][ T6188] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6187] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6199] munmap(0x7f4e2554e000, 16777216 [pid 6196] ioctl(4, LOOP_CLR_FD [pid 6187] <... futex resumed>) = 0 [pid 6187] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6199] <... munmap resumed>) = 0 [pid 6202] <... ioctl resumed>) = 0 [pid 6199] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6202] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6199] <... openat resumed>) = 4 [pid 6187] <... futex resumed>) = 0 [pid 6202] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [ 141.376133][ T6188] BTRFS info (device loop2): 2 enospc errors during balance [ 141.383441][ T6188] BTRFS info (device loop2): balance: ended with status: -28 [pid 6199] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6199] close(3) = 0 [pid 6188] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6199] mkdir("./file0", 0777 [pid 6188] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6199] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6188] <... futex resumed>) = 0 [pid 6199] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6188] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6187] exit_group(0 [pid 6202] <... futex resumed>) = ? [pid 6187] <... exit_group resumed>) = ? [pid 6202] +++ exited with 0 +++ [pid 6188] <... futex resumed>) = ? [pid 6188] +++ exited with 0 +++ [pid 6187] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6187, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=29 /* 0.29 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 6200] <... write resumed>) = 16777216 [pid 6200] munmap(0x7f4e2554e000, 16777216 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 6199] <... mount resumed>) = -1 EEXIST (File exists) [pid 6199] ioctl(4, LOOP_CLR_FD [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3 [pid 6200] <... munmap resumed>) = 0 [pid 5022] <... close resumed>) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6203 [pid 6200] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [ 141.426872][ T6199] loop3: detected capacity change from 0 to 32768 [ 141.458096][ T6199] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6199) [pid 6200] ioctl(4, LOOP_SET_FD, 3 [pid 6195] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 6203 attached [pid 6203] set_robust_list(0x5555558636a0, 24) = 0 [pid 6203] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6203] setpgid(0, 0 [pid 6195] close(4 [pid 6203] <... setpgid resumed>) = 0 [pid 6203] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6203] write(3, "1000", 4) = 4 [pid 6203] close(3) = 0 [pid 6203] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6195] <... close resumed>) = 0 [pid 6203] <... futex resumed>) = 0 [pid 6203] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6200] <... ioctl resumed>) = 0 [pid 6195] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6203] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6200] close(3 [pid 6195] <... futex resumed>) = 1 [pid 6191] <... futex resumed>) = 0 [pid 6200] <... close resumed>) = 0 [pid 6191] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6200] mkdir("./file0", 0777 [pid 6191] <... futex resumed>) = 0 [pid 6200] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6191] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6200] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6203] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6195] open("./file0", O_RDONLY [pid 6203] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6195] <... open resumed>) = 3 [pid 6203] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6195] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6203] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6195] <... futex resumed>) = 1 [pid 6191] <... futex resumed>) = 0 [pid 6191] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6191] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6203] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6195] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6203] <... mprotect resumed>) = 0 [pid 6195] <... ioctl resumed>) = 0 [pid 6203] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6195] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6203] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6195] <... futex resumed>) = 1 [pid 6191] <... futex resumed>) = 0 [pid 6203] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6195] ioctl(3, 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}} [ 141.499188][ T6200] loop5: detected capacity change from 0 to 32768 [ 141.529860][ T6200] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6200) [pid 6191] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6191] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6203] <... clone3 resumed> => {parent_tid=[6205]}, 88) = 6205 [pid 6203] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6203] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6203] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6205 attached [pid 6205] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6205] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6192] <... ioctl resumed>) = 0 [pid 6205] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6205] memfd_create("syzkaller", 0 [pid 6192] close(4 [pid 6205] <... memfd_create resumed>) = 3 [pid 6192] <... close resumed>) = 0 [pid 6205] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6192] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6205] <... mmap resumed>) = 0x7f4e2554e000 [pid 6192] <... futex resumed>) = 1 [pid 6200] <... mount resumed>) = -1 EEXIST (File exists) [pid 6192] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6189] <... futex resumed>) = 0 [pid 6200] ioctl(4, LOOP_CLR_FD [pid 6189] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6192] <... futex resumed>) = 0 [pid 6189] <... futex resumed>) = 1 [pid 6192] open("./file0", O_RDONLY [pid 6189] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6192] <... open resumed>) = 3 [pid 6192] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6189] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6192] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6189] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6196] <... ioctl resumed>) = 0 [pid 6192] <... futex resumed>) = 0 [pid 6189] <... futex resumed>) = 1 [pid 6192] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6189] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6192] <... ioctl resumed>) = 0 [pid 6192] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6192] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6196] close(4 [pid 6189] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6189] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6192] <... futex resumed>) = 0 [pid 6189] <... futex resumed>) = 1 [pid 6192] ioctl(3, 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 6189] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6196] <... close resumed>) = 0 [pid 6192] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6196] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6192] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6196] <... futex resumed>) = 1 [pid 6193] <... futex resumed>) = 0 [pid 6192] <... futex resumed>) = 1 [pid 6189] <... futex resumed>) = 0 [pid 6196] open("./file0", O_RDONLY [pid 6193] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6192] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6189] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6196] <... open resumed>) = 3 [pid 6193] <... futex resumed>) = 0 [pid 6192] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6189] <... futex resumed>) = 0 [pid 6196] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6193] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6192] open("./file0", O_RDONLY [pid 6189] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6196] <... futex resumed>) = 0 [pid 6193] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6192] <... open resumed>) = 4 [pid 6196] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6193] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6192] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6196] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6193] <... futex resumed>) = 0 [pid 6192] <... futex resumed>) = 1 [pid 6189] <... futex resumed>) = 0 [pid 6196] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6193] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6192] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6189] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6196] <... ioctl resumed>) = 0 [pid 6192] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6189] <... futex resumed>) = 0 [pid 6196] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6192] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6191] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6189] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6196] <... futex resumed>) = 1 [pid 6193] <... futex resumed>) = 0 [pid 6192] <... ioctl resumed>) = 0 [pid 6191] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6196] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6193] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6192] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6191] <... futex resumed>) = 0 [ 141.569407][ T6195] BTRFS info (device loop2): balance: start -d -m [ 141.586267][ T6195] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6196] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6193] <... futex resumed>) = 0 [pid 6192] <... futex resumed>) = 1 [pid 6191] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6189] <... futex resumed>) = 0 [pid 6196] ioctl(3, 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 6193] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6192] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6191] <... mmap resumed>) = 0x7f4e2652d000 [pid 6189] exit_group(0 [pid 6196] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6191] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6196] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6191] <... mprotect resumed>) = 0 [pid 6196] <... futex resumed>) = 0 [pid 6191] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6196] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6193] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6191] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6192] <... futex resumed>) = ? [pid 6189] <... exit_group resumed>) = ? [pid 6193] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6192] +++ exited with 0 +++ [pid 6191] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6206]}, 88) = 6206 [pid 6191] rt_sigprocmask(SIG_SETMASK, [], [pid 6196] <... futex resumed>) = 0 [pid 6193] <... futex resumed>) = 1 [pid 6191] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6189] +++ exited with 0 +++ [pid 6196] open("./file0", O_RDONLY [pid 6193] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6191] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6196] <... open resumed>) = 4 [pid 6191] <... futex resumed>) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6189, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=27 /* 0.27 s */} --- [pid 6196] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6191] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6196] <... futex resumed>) = 1 [pid 6193] <... futex resumed>) = 0 [pid 5026] <... openat resumed>) = 3 ./strace-static-x86_64: Process 6206 attached [pid 6196] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6193] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6206] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6196] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6193] <... futex resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6206] <... rseq resumed>) = 0 [pid 6196] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6193] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] close(3 [pid 6206] set_robust_list(0x7f4e2654d9a0, 24 [pid 6196] <... ioctl resumed>) = 0 [pid 5026] <... close resumed>) = 0 [pid 6206] <... set_robust_list resumed>) = 0 [pid 6196] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6206] rt_sigprocmask(SIG_SETMASK, [], [pid 6196] <... futex resumed>) = 0 [pid 6193] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6206] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6196] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6193] exit_group(0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6207 [pid 6206] open("./file0", O_RDONLY [pid 6196] <... futex resumed>) = ? [pid 6193] <... exit_group resumed>) = ? [pid 6206] <... open resumed>) = 4 [pid 6196] +++ exited with 0 +++ [pid 6206] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6191] <... futex resumed>) = 0 [pid 6206] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6191] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6207 attached [pid 6206] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6193] +++ exited with 0 +++ [pid 6191] <... futex resumed>) = 0 [pid 6207] set_robust_list(0x5555558636a0, 24 [pid 6206] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6191] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6193, si_uid=0, si_status=0, si_utime=0, si_stime=25 /* 0.25 s */} --- [pid 6207] <... set_robust_list resumed>) = 0 [pid 6206] <... ioctl resumed>) = 0 [pid 6207] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6206] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6207] <... prctl resumed>) = 0 [pid 6206] <... futex resumed>) = 1 [pid 6191] <... futex resumed>) = 0 [pid 6207] setpgid(0, 0 [pid 6206] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6207] <... setpgid resumed>) = 0 [pid 6207] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6207] write(3, "1000", 4 [pid 5020] <... openat resumed>) = 3 [pid 6207] <... write resumed>) = 4 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6207] close(3 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6207] <... close resumed>) = 0 [pid 5020] close(3 [pid 6207] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... close resumed>) = 0 [pid 6207] <... futex resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6207] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6208 [pid 6207] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6207] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 ./strace-static-x86_64: Process 6208 attached [pid 6207] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6208] set_robust_list(0x5555558636a0, 24 [pid 6207] <... mprotect resumed>) = 0 [pid 6208] <... set_robust_list resumed>) = 0 [pid 6207] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6208] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6207] <... rt_sigprocmask resumed>[], 8) = 0 [ 141.672968][ T6195] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6208] <... prctl resumed>) = 0 [pid 6207] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6208] setpgid(0, 0) = 0 [pid 6207] <... clone3 resumed> => {parent_tid=[6209]}, 88) = 6209 [pid 6208] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6207] rt_sigprocmask(SIG_SETMASK, [], [pid 6208] <... openat resumed>) = 3 [pid 6207] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6208] write(3, "1000", 4 [pid 6207] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6208] <... write resumed>) = 4 [pid 6207] <... futex resumed>) = 0 [pid 6208] close(3 [pid 6207] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6208] <... close resumed>) = 0 [pid 6208] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6208] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6208] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6208] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6208] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6208] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6208] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6210]}, 88) = 6210 [pid 6208] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6208] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 6209 attached [pid 6208] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6209] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 ./strace-static-x86_64: Process 6210 attached [pid 6209] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6210] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6209] <... set_robust_list resumed>) = 0 [pid 6210] <... rseq resumed>) = 0 [pid 6210] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6209] rt_sigprocmask(SIG_SETMASK, [], [pid 6210] rt_sigprocmask(SIG_SETMASK, [], [pid 6209] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6210] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6210] memfd_create("syzkaller", 0 [pid 6209] memfd_create("syzkaller", 0 [pid 6210] <... memfd_create resumed>) = 3 [pid 6209] <... memfd_create resumed>) = 3 [pid 6210] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6209] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6195] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6195] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6199] <... ioctl resumed>) = 0 [pid 6195] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 141.737549][ T6195] BTRFS info (device loop2): 2 enospc errors during balance [ 141.745103][ T6195] BTRFS info (device loop2): balance: ended with status: -28 [pid 6191] exit_group(0 [pid 6206] <... futex resumed>) = ? [pid 6199] close(4 [pid 6195] <... futex resumed>) = ? [pid 6191] <... exit_group resumed>) = ? [pid 6206] +++ exited with 0 +++ [pid 6195] +++ exited with 0 +++ [pid 6191] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6191, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=25 /* 0.25 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6211 [pid 6199] <... close resumed>) = 0 [pid 6200] <... ioctl resumed>) = 0 [pid 6199] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6200] close(4) = 0 [pid 6200] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6198] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6211 attached [pid 6200] open("./file0", O_RDONLY [pid 6199] <... futex resumed>) = 1 [pid 6198] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6197] <... futex resumed>) = 0 [pid 6200] <... open resumed>) = 3 [pid 6198] <... futex resumed>) = 0 [pid 6197] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] set_robust_list(0x5555558636a0, 24 [pid 6200] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6199] open("./file0", O_RDONLY [pid 6198] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6197] <... futex resumed>) = 0 [pid 6200] <... futex resumed>) = 0 [pid 6198] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6197] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6211] <... set_robust_list resumed>) = 0 [pid 6200] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6199] <... open resumed>) = 3 [pid 6198] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6200] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6198] <... futex resumed>) = 0 [pid 6200] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6198] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6200] <... ioctl resumed>) = 0 [pid 6200] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6198] <... futex resumed>) = 0 [pid 6211] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6200] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6199] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6198] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] <... prctl resumed>) = 0 [pid 6200] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6199] <... futex resumed>) = 1 [pid 6198] <... futex resumed>) = 0 [pid 6197] <... futex resumed>) = 0 [pid 6211] setpgid(0, 0 [pid 6200] ioctl(3, 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 6199] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6198] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6197] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] <... setpgid resumed>) = 0 [pid 6211] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6199] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6197] <... futex resumed>) = 0 [pid 6211] <... openat resumed>) = 3 [pid 6199] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6197] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6211] write(3, "1000", 4 [pid 6199] <... ioctl resumed>) = 0 [pid 6211] <... write resumed>) = 4 [pid 6199] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] close(3 [pid 6199] <... futex resumed>) = 1 [pid 6197] <... futex resumed>) = 0 [pid 6211] <... close resumed>) = 0 [pid 6199] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6197] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6199] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6197] <... futex resumed>) = 0 [pid 6211] <... futex resumed>) = 0 [pid 6199] ioctl(3, 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 6197] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6211] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6199] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6211] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6199] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6199] <... futex resumed>) = 1 [pid 6197] <... futex resumed>) = 0 [pid 6211] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6199] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6197] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6199] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6197] <... futex resumed>) = 0 [pid 6211] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6199] open("./file0", O_RDONLY [pid 6197] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6211] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6199] <... open resumed>) = 4 [pid 6211] <... mprotect resumed>) = 0 [pid 6199] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6198] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6198] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6199] <... futex resumed>) = 1 [pid 6198] <... futex resumed>) = 0 [pid 6197] <... futex resumed>) = 0 [pid 6198] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6211] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6199] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6198] <... mmap resumed>) = 0x7f4e2652d000 [ 141.864818][ T6200] BTRFS info (device loop2): balance: start -d -m [ 141.878018][ T6200] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6197] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6198] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6197] <... futex resumed>) = 0 [pid 6199] <... ioctl resumed>) = 0 [pid 6211] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6199] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6198] <... mprotect resumed>) = 0 [pid 6197] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6212 attached [pid 6199] <... futex resumed>) = 0 [pid 6198] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6199] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6198] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6211] <... clone3 resumed> => {parent_tid=[6212]}, 88) = 6212 [pid 6198] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6197] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6198] <... clone3 resumed> => {parent_tid=[6213]}, 88) = 6213 [pid 6198] rt_sigprocmask(SIG_SETMASK, [], [pid 6212] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6211] rt_sigprocmask(SIG_SETMASK, [], [pid 6198] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6197] exit_group(0 [pid 6211] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6199] <... futex resumed>) = ? [pid 6198] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6197] <... exit_group resumed>) = ? [pid 6199] +++ exited with 0 +++ [pid 6198] <... futex resumed>) = 0 [pid 6211] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6198] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6211] <... futex resumed>) = 0 [pid 6197] +++ exited with 0 +++ [pid 6211] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6212] <... rseq resumed>) = 0 ./strace-static-x86_64: Process 6213 attached [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6197, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- [pid 6213] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6212] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6212] <... set_robust_list resumed>) = 0 [pid 6213] <... rseq resumed>) = 0 [pid 5025] <... openat resumed>) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 6212] rt_sigprocmask(SIG_SETMASK, [], [pid 6213] set_robust_list(0x7f4e2654d9a0, 24 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6214 [pid 6213] <... set_robust_list resumed>) = 0 [pid 6212] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6213] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6212] memfd_create("syzkaller", 0 [pid 6213] open("./file0", O_RDONLY [pid 6212] <... memfd_create resumed>) = 3 [pid 6213] <... open resumed>) = 4 [pid 6212] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6213] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6212] <... mmap resumed>) = 0x7f4e2554e000 [pid 6198] <... futex resumed>) = 0 [pid 6213] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6198] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6213] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6198] <... futex resumed>) = 0 [pid 6213] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [ 141.941793][ T6200] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6198] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6213] <... ioctl resumed>) = 0 [pid 6213] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6198] <... futex resumed>) = 0 [pid 6213] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6205] 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./strace-static-x86_64: Process 6214 attached [pid 6214] set_robust_list(0x5555558636a0, 24) = 0 [pid 6214] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6209] 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 6214] <... prctl resumed>) = 0 [pid 6214] setpgid(0, 0) = 0 [pid 6214] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6214] write(3, "1000", 4) = 4 [pid 6214] close(3) = 0 [pid 6214] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6214] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6214] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6214] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6214] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6214] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6214] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6215]}, 88) = 6215 [pid 6214] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6214] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 141.992467][ T6200] BTRFS info (device loop2): 2 enospc errors during balance [ 142.030659][ T6200] BTRFS info (device loop2): balance: ended with status: -28 [pid 6214] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6215 attached [pid 6200] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6215] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6200] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6200] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6215] <... rseq resumed>) = 0 [pid 6198] exit_group(0 [pid 6200] <... futex resumed>) = ? [pid 6198] <... exit_group resumed>) = ? [pid 6215] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6213] <... futex resumed>) = ? [pid 6200] +++ exited with 0 +++ [pid 6215] <... set_robust_list resumed>) = 0 [pid 6213] +++ exited with 0 +++ [pid 6198] +++ exited with 0 +++ [pid 6215] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6198, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=32 /* 0.32 s */} --- [pid 6215] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6215] memfd_create("syzkaller", 0 [pid 5027] <... openat resumed>) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5027] close(3) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6216 [pid 6215] <... memfd_create resumed>) = 3 [pid 6215] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 ./strace-static-x86_64: Process 6216 attached [pid 6216] set_robust_list(0x5555558636a0, 24) = 0 [pid 6216] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6216] setpgid(0, 0) = 0 [pid 6216] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6216] write(3, "1000", 4) = 4 [pid 6216] close(3) = 0 [pid 6216] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6216] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6216] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6216] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6216] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6216] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6216] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6217]}, 88) = 6217 [pid 6216] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6216] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6216] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6217 attached [pid 6217] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6217] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6217] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6217] memfd_create("syzkaller", 0) = 3 [pid 6217] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6210] 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 6212] 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 6215] 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 6209] <... write resumed>) = 16777216 [pid 6209] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6209] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6209] ioctl(4, LOOP_SET_FD, 3 [pid 6205] <... write resumed>) = 16777216 [pid 6205] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6205] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6205] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6205] ioctl(4, LOOP_CLR_FD) = 0 [pid 6205] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6205] close(4) = 0 [ 142.404839][ T6209] loop4: detected capacity change from 0 to 32768 [pid 6205] close(3 [pid 6209] <... ioctl resumed>) = 0 [pid 6209] close(3) = 0 [pid 6209] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6209] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6217] 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 6209] <... mount resumed>) = -1 EEXIST (File exists) [ 142.487752][ T6209] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6209) [pid 6209] ioctl(4, LOOP_CLR_FD [pid 6210] <... write resumed>) = 16777216 [pid 6210] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6210] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6210] ioctl(4, LOOP_SET_FD, 3 [pid 6205] <... close resumed>) = 0 [pid 6212] <... write resumed>) = 16777216 [pid 6212] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6210] <... ioctl resumed>) = 0 [pid 6212] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6210] close(3) = 0 [pid 6205] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [ 142.594884][ T6210] loop0: detected capacity change from 0 to 32768 [pid 6210] mkdir("./file0", 0777 [pid 6212] <... openat resumed>) = 4 [pid 6210] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6205] <... futex resumed>) = 1 [pid 6203] <... futex resumed>) = 0 [pid 6205] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6212] ioctl(4, LOOP_SET_FD, 3 [pid 6210] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6203] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6205] <... futex resumed>) = 0 [pid 6203] <... futex resumed>) = 1 [pid 6205] open("./file0", O_RDONLY) = 3 [pid 6205] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6205] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6212] <... ioctl resumed>) = 0 [pid 6203] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 EAGAIN (Resource temporarily unavailable) [pid 6212] close(3 [pid 6203] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6212] <... close resumed>) = 0 [pid 6212] mkdir("./file0", 0777 [pid 6205] <... futex resumed>) = 0 [pid 6203] <... futex resumed>) = 1 [pid 6205] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6203] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6212] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6205] <... ioctl resumed>) = 0 [pid 6205] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6212] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6210] <... mount resumed>) = -1 EEXIST (File exists) [pid 6205] <... futex resumed>) = 1 [pid 6203] <... futex resumed>) = 0 [pid 6205] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6203] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6210] ioctl(4, LOOP_CLR_FD [pid 6205] <... futex resumed>) = 0 [pid 6203] <... futex resumed>) = 1 [pid 6205] ioctl(3, 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}} [ 142.660770][ T6212] loop1: detected capacity change from 0 to 32768 [ 142.667395][ T6210] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6210) [ 142.698085][ T6212] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6212) [pid 6203] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6215] <... write resumed>) = 16777216 [pid 6212] <... mount resumed>) = -1 EEXIST (File exists) [pid 6212] ioctl(4, LOOP_CLR_FD [pid 6215] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6209] <... ioctl resumed>) = 0 [pid 6215] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6209] close(4 [pid 6215] <... openat resumed>) = 4 [pid 6209] <... close resumed>) = 0 [pid 6215] ioctl(4, LOOP_SET_FD, 3 [ 142.717992][ T6205] BTRFS info (device loop2): balance: start -d -m [ 142.740553][ T6205] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6209] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6203] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6209] <... futex resumed>) = 1 [pid 6207] <... futex resumed>) = 0 [pid 6207] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6207] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6209] open("./file0", O_RDONLY [pid 6203] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6209] <... open resumed>) = 3 [pid 6203] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6215] <... ioctl resumed>) = 0 [pid 6209] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6203] <... mmap resumed>) = 0x7f4e2652d000 [pid 6215] close(3 [pid 6209] <... futex resumed>) = 1 [pid 6207] <... futex resumed>) = 0 [pid 6203] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6215] <... close resumed>) = 0 [pid 6207] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6209] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6207] <... futex resumed>) = 0 [pid 6215] mkdir("./file0", 0777 [pid 6207] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6203] <... mprotect resumed>) = 0 [pid 6209] <... ioctl resumed>) = 0 [pid 6215] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6215] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6209] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6203] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6209] <... futex resumed>) = 1 [pid 6207] <... futex resumed>) = 0 [ 142.776260][ T6215] loop3: detected capacity change from 0 to 32768 [ 142.789065][ T6205] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6203] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6209] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6207] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6207] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6209] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6203] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6217] <... write resumed>) = 16777216 [pid 6209] ioctl(3, 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}}) = -1 EINPROGRESS (Operation now in progress) [pid 6209] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6203] <... clone3 resumed> => {parent_tid=[6219]}, 88) = 6219 [pid 6209] <... futex resumed>) = 1 [pid 6207] <... futex resumed>) = 0 [pid 6203] rt_sigprocmask(SIG_SETMASK, [], [pid 6209] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6207] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6203] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6219 attached [pid 6209] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6207] <... futex resumed>) = 0 [pid 6203] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6219] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6215] <... mount resumed>) = -1 EEXIST (File exists) [pid 6209] open("./file0", O_RDONLY [pid 6207] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6203] <... futex resumed>) = 0 [pid 6219] <... rseq resumed>) = 0 [pid 6209] <... open resumed>) = 4 [pid 6203] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6219] set_robust_list(0x7f4e2654d9a0, 24 [pid 6215] ioctl(4, LOOP_CLR_FD [pid 6209] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6219] <... set_robust_list resumed>) = 0 [pid 6209] <... futex resumed>) = 1 [pid 6207] <... futex resumed>) = 0 [pid 6219] rt_sigprocmask(SIG_SETMASK, [], [pid 6207] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6219] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6207] <... futex resumed>) = 0 [pid 6219] open("./file0", O_RDONLY [pid 6207] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6219] <... open resumed>) = 4 [pid 6219] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6217] munmap(0x7f4e2554e000, 16777216 [pid 6203] <... futex resumed>) = 0 [pid 6219] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6217] <... munmap resumed>) = 0 [pid 6209] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6203] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6219] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6203] <... futex resumed>) = 0 [ 142.826304][ T6215] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6215) [ 142.847398][ T6205] BTRFS info (device loop2): 2 enospc errors during balance [ 142.854716][ T6205] BTRFS info (device loop2): balance: ended with status: -28 [pid 6219] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6203] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6219] <... ioctl resumed>) = 0 [pid 6219] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6203] <... futex resumed>) = 0 [pid 6219] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6217] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6217] ioctl(4, LOOP_SET_FD, 3 [pid 6209] <... ioctl resumed>) = 0 [pid 6209] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6207] <... futex resumed>) = 0 [pid 6209] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6207] exit_group(0 [pid 6209] <... futex resumed>) = ? [pid 6207] <... exit_group resumed>) = ? [pid 6209] +++ exited with 0 +++ [pid 6207] +++ exited with 0 +++ [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6207, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5026] close(3) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6220 [pid 6205] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6205] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6205] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6203] exit_group(0 [pid 6219] <... futex resumed>) = ? [pid 6205] <... futex resumed>) = ? [pid 6203] <... exit_group resumed>) = ? [pid 6219] +++ exited with 0 +++ [pid 6205] +++ exited with 0 +++ [pid 6203] +++ exited with 0 +++ ./strace-static-x86_64: Process 6220 attached [pid 6212] <... ioctl resumed>) = 0 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6203, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=29 /* 0.29 s */} --- [pid 6220] set_robust_list(0x5555558636a0, 24 [pid 6217] <... ioctl resumed>) = 0 [pid 6220] <... set_robust_list resumed>) = 0 [pid 6217] close(3 [pid 6220] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6217] <... close resumed>) = 0 [pid 6220] <... prctl resumed>) = 0 [pid 6217] mkdir("./file0", 0777 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6220] setpgid(0, 0 [pid 6217] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5022] <... openat resumed>) = 3 [pid 6220] <... setpgid resumed>) = 0 [pid 6217] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6220] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6212] close(4 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6220] <... openat resumed>) = 3 [pid 6220] write(3, "1000", 4) = 4 [pid 6212] <... close resumed>) = 0 [pid 5022] <... ioctl resumed>) = 0 [pid 6220] close(3) = 0 [pid 6220] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6220] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6220] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6212] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] close(3 [pid 6220] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6220] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6212] <... futex resumed>) = 1 [pid 6211] <... futex resumed>) = 0 [pid 5022] <... close resumed>) = 0 [pid 6220] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6211] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6220] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6212] open("./file0", O_RDONLY [pid 6211] <... futex resumed>) = 0 [pid 6220] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6220] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6212] <... open resumed>) = 3 [pid 6211] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6220] <... clone3 resumed> => {parent_tid=[6221]}, 88) = 6221 [pid 6212] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6222 [pid 6220] rt_sigprocmask(SIG_SETMASK, [], [pid 6212] <... futex resumed>) = 0 [pid 6211] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6220] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6212] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6211] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6222 attached [pid 6220] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6212] <... ioctl resumed>) = 0 [pid 6211] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6222] set_robust_list(0x5555558636a0, 24 [pid 6220] <... futex resumed>) = 0 [pid 6212] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) ./strace-static-x86_64: Process 6221 attached [pid 6222] <... set_robust_list resumed>) = 0 [pid 6220] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6212] <... futex resumed>) = 0 [ 142.891636][ T6217] loop5: detected capacity change from 0 to 32768 [ 142.928914][ T6217] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6217) [pid 6211] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6222] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6221] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6212] ioctl(3, 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 6211] <... futex resumed>) = 0 [pid 6222] <... prctl resumed>) = 0 [pid 6221] <... rseq resumed>) = 0 [pid 6222] setpgid(0, 0 [pid 6221] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6222] <... setpgid resumed>) = 0 [pid 6221] <... set_robust_list resumed>) = 0 [pid 6222] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6221] rt_sigprocmask(SIG_SETMASK, [], [pid 6211] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6222] <... openat resumed>) = 3 [pid 6221] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6222] write(3, "1000", 4 [pid 6221] memfd_create("syzkaller", 0 [pid 6222] <... write resumed>) = 4 [pid 6221] <... memfd_create resumed>) = 3 [pid 6222] close(3 [pid 6221] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6222] <... close resumed>) = 0 [pid 6221] <... mmap resumed>) = 0x7f4e2554e000 [pid 6217] <... mount resumed>) = -1 EEXIST (File exists) [pid 6222] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6217] ioctl(4, LOOP_CLR_FD [pid 6222] <... futex resumed>) = 0 [pid 6222] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6222] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6222] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6222] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6222] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6222] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6223]}, 88) = 6223 [pid 6222] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6222] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6222] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6210] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 6223 attached [pid 6223] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6223] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6223] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6223] memfd_create("syzkaller", 0) = 3 [pid 6223] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6210] close(4) = 0 [pid 6210] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6208] <... futex resumed>) = 0 [pid 6211] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6210] open("./file0", O_RDONLY [pid 6208] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6210] <... open resumed>) = 3 [pid 6208] <... futex resumed>) = 0 [pid 6210] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6208] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6210] <... futex resumed>) = 0 [pid 6208] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6210] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6208] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6210] <... ioctl resumed>) = 0 [pid 6208] <... futex resumed>) = 0 [pid 6211] <... futex resumed>) = 0 [pid 6210] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6208] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6211] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6210] <... futex resumed>) = 0 [pid 6208] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6210] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6208] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] <... mmap resumed>) = 0x7f4e2652d000 [pid 6210] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6208] <... futex resumed>) = 0 [pid 6211] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6210] ioctl(3, 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 6208] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6211] <... mprotect resumed>) = 0 [pid 6210] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6211] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6210] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6210] <... futex resumed>) = 1 [pid 6208] <... futex resumed>) = 0 [pid 6211] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6210] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6208] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6210] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6208] <... futex resumed>) = 0 [pid 6210] open("./file0", O_RDONLY [pid 6208] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6211] <... clone3 resumed> => {parent_tid=[6225]}, 88) = 6225 [pid 6210] <... open resumed>) = 4 [pid 6211] rt_sigprocmask(SIG_SETMASK, [], [pid 6210] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6210] <... futex resumed>) = 1 [pid 6208] <... futex resumed>) = 0 [ 142.960971][ T6212] BTRFS info (device loop2): balance: start -d -m [ 142.985756][ T6212] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6211] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6210] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6208] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6225 attached [pid 6211] <... futex resumed>) = 0 [pid 6210] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6208] <... futex resumed>) = 0 [pid 6225] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6211] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6210] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6208] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6225] <... rseq resumed>) = 0 [pid 6210] <... ioctl resumed>) = 0 [pid 6225] set_robust_list(0x7f4e2654d9a0, 24 [pid 6210] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6225] <... set_robust_list resumed>) = 0 [pid 6210] <... futex resumed>) = 1 [pid 6208] <... futex resumed>) = 0 [pid 6225] rt_sigprocmask(SIG_SETMASK, [], [pid 6210] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6208] exit_group(0 [pid 6225] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6210] <... futex resumed>) = ? [pid 6208] <... exit_group resumed>) = ? [pid 6225] open("./file0", O_RDONLY [pid 6210] +++ exited with 0 +++ [pid 6208] +++ exited with 0 +++ [pid 6225] <... open resumed>) = 4 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6208, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=21 /* 0.21 s */} --- [pid 6225] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6211] <... futex resumed>) = 0 [pid 6225] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6211] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6225] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6211] <... futex resumed>) = 0 [pid 5020] <... openat resumed>) = 3 [pid 6225] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6211] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6225] <... ioctl resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6225] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] close(3 [pid 6225] <... futex resumed>) = 1 [pid 6211] <... futex resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 6225] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6226 ./strace-static-x86_64: Process 6226 attached [pid 6226] set_robust_list(0x5555558636a0, 24) = 0 [pid 6226] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6226] setpgid(0, 0) = 0 [pid 6226] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6226] write(3, "1000", 4) = 4 [pid 6226] close(3) = 0 [pid 6226] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6226] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6226] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6226] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6226] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6226] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6226] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6227]}, 88) = 6227 [pid 6226] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 143.058679][ T6212] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6226] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6226] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6227 attached [pid 6227] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6227] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6227] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6227] memfd_create("syzkaller", 0) = 3 [pid 6227] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6215] <... ioctl resumed>) = 0 [pid 6215] close(4) = 0 [pid 6215] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6214] <... futex resumed>) = 0 [pid 6215] open("./file0", O_RDONLY [pid 6214] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6215] <... open resumed>) = 3 [pid 6214] <... futex resumed>) = 0 [pid 6215] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6214] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6215] <... futex resumed>) = 0 [pid 6214] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6215] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6214] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6215] <... ioctl resumed>) = 0 [pid 6214] <... futex resumed>) = 0 [ 143.121221][ T6212] BTRFS info (device loop2): 2 enospc errors during balance [ 143.154165][ T6212] BTRFS info (device loop2): balance: ended with status: -28 [pid 6215] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6214] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6212] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6215] <... futex resumed>) = 0 [pid 6214] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6212] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6211] exit_group(0 [pid 6225] <... futex resumed>) = ? [pid 6215] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6214] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6212] <... futex resumed>) = ? [pid 6211] <... exit_group resumed>) = ? [pid 6225] +++ exited with 0 +++ [pid 6215] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6214] <... futex resumed>) = 0 [pid 6212] +++ exited with 0 +++ [pid 6211] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6211, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=28 /* 0.28 s */} --- [pid 6215] ioctl(3, 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 6214] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6228 ./strace-static-x86_64: Process 6228 attached [pid 6217] <... ioctl resumed>) = 0 [pid 6228] set_robust_list(0x5555558636a0, 24) = 0 [pid 6228] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6228] setpgid(0, 0) = 0 [pid 6228] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6228] write(3, "1000", 4) = 4 [pid 6214] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 143.227245][ T6215] BTRFS info (device loop2): balance: start -d -m [ 143.234097][ T6215] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6228] close(3 [pid 6214] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6217] close(4) = 0 [pid 6217] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6216] <... futex resumed>) = 0 [pid 6216] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6216] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6228] <... close resumed>) = 0 [pid 6217] <... futex resumed>) = 1 [pid 6214] <... futex resumed>) = 0 [pid 6217] open("./file0", O_RDONLY) = 3 [pid 6217] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6216] <... futex resumed>) = 0 [pid 6217] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6216] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6217] <... ioctl resumed>) = 0 [pid 6216] <... futex resumed>) = 0 [pid 6217] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6216] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6217] <... futex resumed>) = 0 [pid 6216] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6217] ioctl(3, 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 6216] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6217] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6216] <... futex resumed>) = 0 [pid 6217] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6216] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6217] <... futex resumed>) = 0 [pid 6216] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6217] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6216] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6217] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6216] <... futex resumed>) = 0 [pid 6217] open("./file0", O_RDONLY [pid 6216] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6217] <... open resumed>) = 4 [pid 6228] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6217] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6214] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6217] <... futex resumed>) = 1 [pid 6216] <... futex resumed>) = 0 [pid 6217] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6216] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6217] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6216] <... futex resumed>) = 0 [pid 6217] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6216] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6217] <... ioctl resumed>) = 0 [pid 6217] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6216] <... futex resumed>) = 0 [pid 6217] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6216] exit_group(0 [pid 6217] <... futex resumed>) = ? [pid 6216] <... exit_group resumed>) = ? [pid 6228] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6217] +++ exited with 0 +++ [pid 6216] +++ exited with 0 +++ [pid 6214] <... mmap resumed>) = 0x7f4e2652d000 [pid 6228] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6214] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6228] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6214] <... mprotect resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6216, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=19 /* 0.19 s */} --- [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 6228] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6214] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5027] close(3 [pid 6228] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6214] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5027] <... close resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6228] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6214] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6228] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6229 [pid 6228] <... mprotect resumed>) = 0 [pid 6214] <... clone3 resumed> => {parent_tid=[6230]}, 88) = 6230 [pid 6228] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6214] rt_sigprocmask(SIG_SETMASK, [], [pid 6228] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6214] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6229 attached [pid 6229] set_robust_list(0x5555558636a0, 24 [pid 6214] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6231 attached [pid 6229] <... set_robust_list resumed>) = 0 [pid 6228] <... clone3 resumed> => {parent_tid=[6231]}, 88) = 6231 [pid 6214] <... futex resumed>) = 0 [pid 6229] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6228] rt_sigprocmask(SIG_SETMASK, [], [pid 6214] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6229] <... prctl resumed>) = 0 [pid 6228] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6231] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6229] setpgid(0, 0 [pid 6228] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6231] <... rseq resumed>) = 0 [pid 6229] <... setpgid resumed>) = 0 [pid 6228] <... futex resumed>) = 0 [pid 6231] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6229] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [ 143.274874][ T6215] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 143.312846][ T6215] BTRFS info (device loop2): 2 enospc errors during balance [pid 6228] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6231] <... set_robust_list resumed>) = 0 [pid 6229] <... openat resumed>) = 3 ./strace-static-x86_64: Process 6230 attached [pid 6231] rt_sigprocmask(SIG_SETMASK, [], [pid 6229] write(3, "1000", 4 [pid 6231] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6229] <... write resumed>) = 4 [pid 6231] memfd_create("syzkaller", 0 [pid 6229] close(3 [pid 6231] <... memfd_create resumed>) = 3 [pid 6229] <... close resumed>) = 0 [pid 6231] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6230] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6229] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6231] <... mmap resumed>) = 0x7f4e2554e000 [pid 6230] <... rseq resumed>) = 0 [pid 6229] <... futex resumed>) = 0 [pid 6230] set_robust_list(0x7f4e2654d9a0, 24 [pid 6229] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6215] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6229] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6230] <... set_robust_list resumed>) = 0 [pid 6229] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6215] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6229] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6229] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6229] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6230] rt_sigprocmask(SIG_SETMASK, [], [pid 6229] <... mprotect resumed>) = 0 [pid 6215] <... futex resumed>) = 0 [pid 6230] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6229] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6215] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6229] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6229] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6230] open("./file0", O_RDONLY [pid 6229] <... clone3 resumed> => {parent_tid=[6232]}, 88) = 6232 [pid 6230] <... open resumed>) = 4 [pid 6229] rt_sigprocmask(SIG_SETMASK, [], [pid 6230] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6229] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6230] <... futex resumed>) = 1 [pid 6229] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6214] <... futex resumed>) = 0 [pid 6230] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6229] <... futex resumed>) = 0 [pid 6214] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6229] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6215] <... futex resumed>) = 0 [pid 6214] <... futex resumed>) = 1 ./strace-static-x86_64: Process 6232 attached [pid 6223] 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 6221] 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 6215] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6214] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6232] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6215] <... ioctl resumed>) = 0 [ 143.356592][ T6215] BTRFS info (device loop2): balance: ended with status: -28 [pid 6232] <... rseq resumed>) = 0 [pid 6215] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6232] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6215] <... futex resumed>) = 1 [pid 6214] <... futex resumed>) = 0 [pid 6232] <... set_robust_list resumed>) = 0 [pid 6215] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6214] exit_group(0 [pid 6232] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6230] <... futex resumed>) = ? [pid 6214] <... exit_group resumed>) = ? [pid 6215] <... futex resumed>) = ? [pid 6232] memfd_create("syzkaller", 0 [pid 6230] +++ exited with 0 +++ [pid 6215] +++ exited with 0 +++ [pid 6214] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6214, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- [pid 6232] <... memfd_create resumed>) = 3 [pid 6232] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6232] <... mmap resumed>) = 0x7f4e2554e000 [pid 5025] <... openat resumed>) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6233 ./strace-static-x86_64: Process 6233 attached [pid 6233] set_robust_list(0x5555558636a0, 24) = 0 [pid 6233] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6233] setpgid(0, 0) = 0 [pid 6233] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6233] write(3, "1000", 4) = 4 [pid 6233] close(3) = 0 [pid 6233] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6233] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6233] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6233] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6233] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6233] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6233] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6234]}, 88) = 6234 [pid 6233] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6234 attached NULL, 8) = 0 [pid 6233] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6234] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6233] <... futex resumed>) = 0 [pid 6233] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6234] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6234] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6234] memfd_create("syzkaller", 0) = 3 [pid 6234] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6227] 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 6223] <... write resumed>) = 16777216 [pid 6223] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6223] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6223] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6223] ioctl(4, LOOP_CLR_FD) = 0 [pid 6223] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6223] close(4) = 0 [pid 6223] close(3 [pid 6231] 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 6232] 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 6221] <... write resumed>) = 16777216 [pid 6221] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6221] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6221] ioctl(4, LOOP_SET_FD, 3 [pid 6234] 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 6221] <... ioctl resumed>) = 0 [pid 6221] close(3) = 0 [pid 6221] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 143.850410][ T6221] loop4: detected capacity change from 0 to 32768 [pid 6221] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6223] <... close resumed>) = 0 [pid 6223] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6223] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6222] <... futex resumed>) = 0 [pid 6222] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6222] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6223] <... futex resumed>) = 0 [pid 6223] open("./file0", O_RDONLY) = 3 [pid 6223] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6222] <... futex resumed>) = 0 [pid 6223] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6222] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6223] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6222] <... futex resumed>) = 0 [pid 6223] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6222] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6223] <... ioctl resumed>) = 0 [pid 6223] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6222] <... futex resumed>) = 0 [pid 6223] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6222] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6223] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6222] <... futex resumed>) = 0 [pid 6223] ioctl(3, 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 6222] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6221] <... mount resumed>) = -1 EEXIST (File exists) [ 143.891717][ T6221] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6221) [ 143.916199][ T6223] BTRFS info (device loop2): balance: start -d -m [ 143.922983][ T6223] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6221] ioctl(4, LOOP_CLR_FD [pid 6227] <... write resumed>) = 16777216 [pid 6222] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6222] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6222] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6222] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6222] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6227] munmap(0x7f4e2554e000, 16777216 [pid 6222] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6227] <... munmap resumed>) = 0 [pid 6222] <... clone3 resumed> => {parent_tid=[6236]}, 88) = 6236 [pid 6222] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6222] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6227] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6222] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6236 attached [pid 6227] <... openat resumed>) = 4 [pid 6236] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6227] ioctl(4, LOOP_SET_FD, 3 [pid 6236] <... rseq resumed>) = 0 [pid 6236] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6236] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6236] open("./file0", O_RDONLY) = 4 [pid 6236] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [ 143.996292][ T6223] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 144.033297][ T6227] loop0: detected capacity change from 0 to 32768 [pid 6236] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6222] <... futex resumed>) = 0 [pid 6222] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6236] <... futex resumed>) = 0 [pid 6222] <... futex resumed>) = 1 [pid 6236] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6222] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6227] <... ioctl resumed>) = 0 [pid 6227] close(3 [pid 6236] <... ioctl resumed>) = 0 [pid 6227] <... close resumed>) = 0 [pid 6236] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6227] mkdir("./file0", 0777 [pid 6236] <... futex resumed>) = 1 [pid 6227] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6222] <... futex resumed>) = 0 [pid 6236] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [ 144.038666][ T6223] BTRFS info (device loop2): 2 enospc errors during balance [pid 6227] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 144.070946][ T6227] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6227) [ 144.076311][ T6223] BTRFS info (device loop2): balance: ended with status: -28 [pid 6227] ioctl(4, LOOP_CLR_FD [pid 6223] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6223] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6231] <... write resumed>) = 16777216 [pid 6223] <... futex resumed>) = 0 [pid 6231] munmap(0x7f4e2554e000, 16777216 [pid 6223] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6222] exit_group(0 [pid 6236] <... futex resumed>) = ? [pid 6223] <... futex resumed>) = ? [pid 6222] <... exit_group resumed>) = ? [pid 6236] +++ exited with 0 +++ [pid 6232] <... write resumed>) = 16777216 [pid 6223] +++ exited with 0 +++ [pid 6231] <... munmap resumed>) = 0 [pid 6222] +++ exited with 0 +++ [pid 6221] <... ioctl resumed>) = 0 [pid 6231] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6231] ioctl(4, LOOP_SET_FD, 3 [pid 6232] munmap(0x7f4e2554e000, 16777216 [pid 6221] close(4 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6222, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=28 /* 0.28 s */} --- [pid 6232] <... munmap resumed>) = 0 [pid 6221] <... close resumed>) = 0 [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 6232] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6221] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... restart_syscall resumed>) = 0 [pid 6232] <... openat resumed>) = 4 [pid 6221] <... futex resumed>) = 1 [pid 6220] <... futex resumed>) = 0 [pid 6220] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6220] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6221] open("./file0", O_RDONLY [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6221] <... open resumed>) = 3 [pid 6232] ioctl(4, LOOP_SET_FD, 3 [pid 6221] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... openat resumed>) = 3 [pid 6221] <... futex resumed>) = 1 [pid 6220] <... futex resumed>) = 0 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6221] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6220] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... ioctl resumed>) = 0 [pid 6221] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6220] <... futex resumed>) = 0 [pid 5022] close(3 [pid 6221] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6220] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6232] <... ioctl resumed>) = 0 [pid 6221] <... ioctl resumed>) = 0 [pid 5022] <... close resumed>) = 0 [pid 6232] close(3 [pid 6221] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6232] <... close resumed>) = 0 [pid 6231] <... ioctl resumed>) = 0 [pid 6221] <... futex resumed>) = 1 [pid 6220] <... futex resumed>) = 0 [pid 6231] close(3 [pid 6220] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6231] <... close resumed>) = 0 [pid 6220] <... futex resumed>) = 0 [pid 6231] mkdir("./file0", 0777 [pid 6220] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6232] mkdir("./file0", 0777 [pid 6231] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6221] ioctl(3, 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}} [ 144.162172][ T6231] loop1: detected capacity change from 0 to 32768 [ 144.199224][ T6232] loop5: detected capacity change from 0 to 32768 [pid 6231] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,"./strace-static-x86_64: Process 6238 attached [pid 6232] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6238 [pid 6232] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6238] set_robust_list(0x5555558636a0, 24) = 0 [pid 6238] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6238] setpgid(0, 0) = 0 [pid 6238] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6238] write(3, "1000", 4 [pid 6231] <... mount resumed>) = -1 EEXIST (File exists) [pid 6231] ioctl(4, LOOP_CLR_FD [pid 6238] <... write resumed>) = 4 [pid 6238] close(3) = 0 [pid 6220] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6220] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=0}) = -1 ETIMEDOUT (Connection timed out) [pid 6220] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6220] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6238] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6220] <... mmap resumed>) = 0x7f4e2652d000 [pid 6238] <... futex resumed>) = 0 [pid 6220] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6238] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6220] <... mprotect resumed>) = 0 [pid 6238] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6234] <... write resumed>) = 16777216 [pid 6220] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6238] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6220] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6238] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6220] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6238] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6220] <... clone3 resumed> => {parent_tid=[6239]}, 88) = 6239 [pid 6238] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6220] rt_sigprocmask(SIG_SETMASK, [], [pid 6234] munmap(0x7f4e2554e000, 16777216 [pid 6238] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6220] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6238] <... mprotect resumed>) = 0 [pid 6220] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6238] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6220] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6238] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6238] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6240]}, 88) = 6240 [pid 6238] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6238] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6238] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6239 attached ./strace-static-x86_64: Process 6240 attached [pid 6239] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6240] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6239] <... rseq resumed>) = 0 [pid 6240] <... rseq resumed>) = 0 [pid 6239] set_robust_list(0x7f4e2654d9a0, 24 [pid 6240] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6239] <... set_robust_list resumed>) = 0 [pid 6240] <... set_robust_list resumed>) = 0 [pid 6239] rt_sigprocmask(SIG_SETMASK, [], [pid 6240] rt_sigprocmask(SIG_SETMASK, [], [pid 6239] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6240] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6239] open("./file0", O_RDONLY [pid 6240] memfd_create("syzkaller", 0 [pid 6239] <... open resumed>) = 4 [pid 6240] <... memfd_create resumed>) = 3 [pid 6239] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6240] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6239] <... futex resumed>) = 1 [pid 6220] <... futex resumed>) = 0 [pid 6240] <... mmap resumed>) = 0x7f4e2554e000 [ 144.218861][ T6231] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6231) [ 144.230607][ T6221] BTRFS info (device loop2): balance: start -d -m [ 144.243888][ T6221] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 144.256751][ T6232] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6232) [pid 6239] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6220] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6239] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6234] <... munmap resumed>) = 0 [pid 6232] <... mount resumed>) = -1 EEXIST (File exists) [pid 6220] <... futex resumed>) = 0 [pid 6239] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6234] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6232] ioctl(4, LOOP_CLR_FD [pid 6220] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6239] <... ioctl resumed>) = 0 [pid 6234] <... openat resumed>) = 4 [pid 6239] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6220] <... futex resumed>) = 0 [pid 6239] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6234] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6234] close(3) = 0 [ 144.302786][ T6221] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 144.327915][ T6234] loop3: detected capacity change from 0 to 32768 [pid 6234] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6234] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6227] <... ioctl resumed>) = 0 [pid 6227] close(4) = 0 [pid 6227] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6226] <... futex resumed>) = 0 [pid 6227] open("./file0", O_RDONLY [pid 6226] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6227] <... open resumed>) = 3 [pid 6226] <... futex resumed>) = 0 [pid 6227] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6226] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6227] <... futex resumed>) = 0 [pid 6226] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6227] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6226] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6227] <... ioctl resumed>) = 0 [pid 6226] <... futex resumed>) = 0 [pid 6227] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6226] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6227] <... futex resumed>) = 0 [pid 6226] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6227] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6226] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6227] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6226] <... futex resumed>) = 0 [pid 6227] ioctl(3, 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 6226] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6227] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6227] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6226] <... futex resumed>) = 0 [pid 6227] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6226] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6227] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6226] <... futex resumed>) = 0 [pid 6227] open("./file0", O_RDONLY [pid 6226] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6227] <... open resumed>) = 4 [pid 6227] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6226] <... futex resumed>) = 0 [pid 6227] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6226] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6227] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6226] <... futex resumed>) = 0 [ 144.361448][ T6221] BTRFS info (device loop2): 2 enospc errors during balance [ 144.370319][ T6234] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6234) [pid 6227] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6226] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6227] <... ioctl resumed>) = 0 [pid 6227] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6226] <... futex resumed>) = 0 [pid 6227] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6226] exit_group(0 [pid 6227] <... futex resumed>) = ? [pid 6226] <... exit_group resumed>) = ? [pid 6227] +++ exited with 0 +++ [pid 6226] +++ exited with 0 +++ [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6226, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=28 /* 0.28 s */} --- [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6241 [pid 6234] <... mount resumed>) = -1 EEXIST (File exists) ./strace-static-x86_64: Process 6241 attached [pid 6234] ioctl(4, LOOP_CLR_FD [pid 6221] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6241] set_robust_list(0x5555558636a0, 24 [pid 6221] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6241] <... set_robust_list resumed>) = 0 [pid 6221] <... futex resumed>) = 0 [pid 6241] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6221] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6220] exit_group(0 [pid 6241] <... prctl resumed>) = 0 [pid 6239] <... futex resumed>) = ? [pid 6221] <... futex resumed>) = ? [pid 6220] <... exit_group resumed>) = ? [pid 6241] setpgid(0, 0 [pid 6239] +++ exited with 0 +++ [pid 6241] <... setpgid resumed>) = 0 [pid 6221] +++ exited with 0 +++ [pid 6220] +++ exited with 0 +++ [pid 6241] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6220, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=28 /* 0.28 s */} --- [pid 6241] write(3, "1000", 4 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6241] <... write resumed>) = 4 [pid 5026] <... openat resumed>) = 3 [ 144.415953][ T6221] BTRFS info (device loop2): balance: ended with status: -28 [pid 6241] close(3 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6241] <... close resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6241] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] close(3 [pid 6241] <... futex resumed>) = 0 [pid 5026] <... close resumed>) = 0 [pid 6241] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6241] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6241] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6242 [pid 6241] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6241] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6241] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6241] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6241] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6243]}, 88) = 6243 [pid 6241] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6241] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6241] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6243 attached ./strace-static-x86_64: Process 6242 attached [pid 6243] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6242] set_robust_list(0x5555558636a0, 24 [pid 6243] <... rseq resumed>) = 0 [pid 6242] <... set_robust_list resumed>) = 0 [pid 6242] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6243] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6243] rt_sigprocmask(SIG_SETMASK, [], [pid 6242] <... prctl resumed>) = 0 [pid 6243] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6243] memfd_create("syzkaller", 0 [pid 6242] setpgid(0, 0 [pid 6243] <... memfd_create resumed>) = 3 [pid 6242] <... setpgid resumed>) = 0 [pid 6242] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6243] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6242] <... openat resumed>) = 3 [pid 6242] write(3, "1000", 4) = 4 [pid 6242] close(3) = 0 [pid 6242] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6242] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6242] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6242] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6242] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6242] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6242] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6244]}, 88) = 6244 [pid 6242] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6242] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6231] <... ioctl resumed>) = 0 [pid 6231] close(4 [pid 6242] <... futex resumed>) = 0 [pid 6231] <... close resumed>) = 0 [pid 6231] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6231] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6242] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6228] <... futex resumed>) = 0 [pid 6232] <... ioctl resumed>) = 0 [pid 6228] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6231] <... futex resumed>) = 0 [pid 6228] <... futex resumed>) = 1 [pid 6231] open("./file0", O_RDONLY [pid 6228] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6231] <... open resumed>) = 3 [pid 6231] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6231] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6232] close(4 [pid 6228] <... futex resumed>) = 0 [pid 6228] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6232] <... close resumed>) = 0 [pid 6231] <... futex resumed>) = 0 [pid 6228] <... futex resumed>) = 1 [pid 6232] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6231] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6228] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6232] <... futex resumed>) = 1 [pid 6231] <... ioctl resumed>) = 0 [pid 6229] <... futex resumed>) = 0 [pid 6232] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6231] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6229] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6232] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6231] <... futex resumed>) = 1 [pid 6229] <... futex resumed>) = 0 [pid 6228] <... futex resumed>) = 0 [pid 6232] open("./file0", O_RDONLY [pid 6231] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6229] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6228] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6232] <... open resumed>) = 3 [pid 6231] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6228] <... futex resumed>) = 0 [pid 6232] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6231] ioctl(3, 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 6228] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6232] <... futex resumed>) = 1 [pid 6229] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6244 attached [pid 6232] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6229] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6232] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6229] <... futex resumed>) = 0 [pid 6232] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6229] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6244] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6232] <... ioctl resumed>) = 0 [pid 6244] <... rseq resumed>) = 0 [pid 6232] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6244] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6232] <... futex resumed>) = 1 [pid 6229] <... futex resumed>) = 0 [pid 6232] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6229] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6232] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6229] <... futex resumed>) = 0 [pid 6232] ioctl(3, 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 6229] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6244] <... set_robust_list resumed>) = 0 [pid 6232] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6232] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6244] rt_sigprocmask(SIG_SETMASK, [], [pid 6232] <... futex resumed>) = 1 [pid 6229] <... futex resumed>) = 0 [pid 6232] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6229] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6244] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6232] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6229] <... futex resumed>) = 0 [pid 6232] open("./file0", O_RDONLY [pid 6229] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6244] memfd_create("syzkaller", 0 [pid 6232] <... open resumed>) = 4 [pid 6244] <... memfd_create resumed>) = 3 [pid 6232] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6244] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6232] <... futex resumed>) = 1 [pid 6229] <... futex resumed>) = 0 [pid 6244] <... mmap resumed>) = 0x7f4e2554e000 [pid 6232] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6229] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6232] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6229] <... futex resumed>) = 0 [pid 6232] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6229] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6232] <... ioctl resumed>) = 0 [pid 6232] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6229] <... futex resumed>) = 0 [pid 6232] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6229] exit_group(0 [pid 6232] <... futex resumed>) = ? [pid 6229] <... exit_group resumed>) = ? [pid 6232] +++ exited with 0 +++ [pid 6229] +++ exited with 0 +++ [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6229, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5027] close(3) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6228] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6228] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6245 [ 144.593306][ T6231] BTRFS info (device loop2): balance: start -d -m [ 144.608864][ T6231] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6228] <... futex resumed>) = 0 [pid 6228] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6228] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE./strace-static-x86_64: Process 6245 attached ) = 0 [pid 6228] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6245] set_robust_list(0x5555558636a0, 24 [pid 6228] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6245] <... set_robust_list resumed>) = 0 [pid 6245] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6228] <... clone3 resumed> => {parent_tid=[6246]}, 88) = 6246 [pid 6245] <... prctl resumed>) = 0 [pid 6228] rt_sigprocmask(SIG_SETMASK, [], [pid 6245] setpgid(0, 0 [pid 6228] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6245] <... setpgid resumed>) = 0 [pid 6228] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6245] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6228] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6246 attached [pid 6245] <... openat resumed>) = 3 [pid 6228] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6246] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6245] write(3, "1000", 4 [pid 6246] <... rseq resumed>) = 0 [pid 6245] <... write resumed>) = 4 [pid 6246] set_robust_list(0x7f4e2654d9a0, 24 [pid 6245] close(3 [pid 6246] <... set_robust_list resumed>) = 0 [pid 6245] <... close resumed>) = 0 [pid 6246] rt_sigprocmask(SIG_SETMASK, [], [pid 6245] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6246] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6245] <... futex resumed>) = 0 [pid 6246] open("./file0", O_RDONLY [pid 6245] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6246] <... open resumed>) = 4 [pid 6245] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6246] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6245] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6246] <... futex resumed>) = 1 [pid 6245] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6228] <... futex resumed>) = 0 [pid 6246] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6245] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6228] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6246] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6245] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6228] <... futex resumed>) = 0 [pid 6246] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6245] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6228] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6246] <... ioctl resumed>) = 0 [pid 6245] <... mprotect resumed>) = 0 [ 144.659447][ T6231] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6246] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6245] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6240] 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 6246] <... futex resumed>) = 1 [pid 6245] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6228] <... futex resumed>) = 0 [pid 6246] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6245] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6247]}, 88) = 6247 [pid 6245] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6245] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6245] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6247 attached [pid 6247] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6247] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6247] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6247] memfd_create("syzkaller", 0) = 3 [pid 6247] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 144.703841][ T6231] BTRFS info (device loop2): 2 enospc errors during balance [pid 6234] <... ioctl resumed>) = 0 [pid 6231] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6231] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6234] close(4 [pid 6231] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6228] exit_group(0 [pid 6234] <... close resumed>) = 0 [pid 6246] <... futex resumed>) = ? [pid 6234] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6231] <... futex resumed>) = ? [pid 6228] <... exit_group resumed>) = ? [pid 6246] +++ exited with 0 +++ [pid 6231] +++ exited with 0 +++ [pid 6228] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6228, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=33 /* 0.33 s */} --- [pid 5021] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 6234] <... futex resumed>) = 1 [pid 6233] <... futex resumed>) = 0 [pid 6234] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6233] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6234] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6233] <... futex resumed>) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6234] open("./file0", O_RDONLY [ 144.747215][ T6231] BTRFS info (device loop2): balance: ended with status: -28 [pid 6233] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] <... openat resumed>) = 3 [pid 6234] <... open resumed>) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6234] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6234] <... futex resumed>) = 1 [pid 6233] <... futex resumed>) = 0 [pid 5021] close(3 [pid 6234] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6233] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] <... close resumed>) = 0 [pid 6234] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6233] <... futex resumed>) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6234] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6233] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6234] <... ioctl resumed>) = 0 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6248 [pid 6234] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6233] <... futex resumed>) = 0 [pid 6234] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6233] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6234] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6233] <... futex resumed>) = 0 [pid 6234] ioctl(3, 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 6233] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6248 attached [pid 6248] set_robust_list(0x5555558636a0, 24) = 0 [pid 6248] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6248] setpgid(0, 0) = 0 [pid 6248] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6248] write(3, "1000", 4) = 4 [pid 6248] close(3) = 0 [pid 6248] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6248] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6248] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6248] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6248] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6248] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6248] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6249]}, 88) = 6249 [pid 6248] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6248] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6248] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6249 attached [pid 6249] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6249] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6249] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6249] memfd_create("syzkaller", 0) = 3 [pid 6249] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6233] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6233] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6233] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6233] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6233] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6233] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6250]}, 88) = 6250 [pid 6233] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6233] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 144.830015][ T6234] BTRFS info (device loop2): balance: start -d -m [ 144.857896][ T6234] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6233] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6250 attached [pid 6250] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6250] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6250] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6250] open("./file0", O_RDONLY) = 4 [pid 6243] 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 6250] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6233] <... futex resumed>) = 0 [pid 6250] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6233] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6250] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6233] <... futex resumed>) = 0 [pid 6250] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6233] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6250] <... ioctl resumed>) = 0 [pid 6250] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6233] <... futex resumed>) = 0 [ 144.895363][ T6234] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 144.931395][ T6234] BTRFS info (device loop2): 2 enospc errors during balance [pid 6250] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6244] 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 6234] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6234] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6233] exit_group(0 [pid 6250] <... futex resumed>) = ? [ 144.956619][ T6234] BTRFS info (device loop2): balance: ended with status: -28 [pid 6233] <... exit_group resumed>) = ? [pid 6250] +++ exited with 0 +++ [pid 6234] +++ exited with 0 +++ [pid 6233] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6233, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=16 /* 0.16 s */} --- [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6251 ./strace-static-x86_64: Process 6251 attached [pid 6251] set_robust_list(0x5555558636a0, 24) = 0 [pid 6251] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6251] setpgid(0, 0) = 0 [pid 6251] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6251] write(3, "1000", 4) = 4 [pid 6251] close(3) = 0 [pid 6251] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6251] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6251] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6251] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6251] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6251] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6251] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6252]}, 88) = 6252 [pid 6251] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6251] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6251] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6252 attached [pid 6252] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6252] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6240] <... write resumed>) = 16777216 [pid 6252] <... set_robust_list resumed>) = 0 [pid 6252] rt_sigprocmask(SIG_SETMASK, [], [pid 6240] munmap(0x7f4e2554e000, 16777216 [pid 6252] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6252] memfd_create("syzkaller", 0) = 3 [pid 6252] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6240] <... munmap resumed>) = 0 [pid 6240] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6240] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6240] ioctl(4, LOOP_CLR_FD) = 0 [pid 6247] 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 6240] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6240] close(4) = 0 [pid 6240] close(3 [pid 6249] 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 6244] <... write resumed>) = 16777216 [pid 6243] <... write resumed>) = 16777216 [pid 6244] munmap(0x7f4e2554e000, 16777216 [pid 6240] <... close resumed>) = 0 [pid 6240] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6238] <... futex resumed>) = 0 [pid 6240] open("./file0", O_RDONLY [pid 6238] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6240] <... open resumed>) = 3 [pid 6238] <... futex resumed>) = 0 [pid 6240] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6238] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6243] munmap(0x7f4e2554e000, 16777216 [pid 6240] <... futex resumed>) = 0 [pid 6238] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6243] <... munmap resumed>) = 0 [pid 6240] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6238] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6240] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6238] <... futex resumed>) = 0 [pid 6244] <... munmap resumed>) = 0 [pid 6240] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6238] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6244] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6240] <... ioctl resumed>) = 0 [pid 6244] <... openat resumed>) = 4 [pid 6240] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6244] ioctl(4, LOOP_SET_FD, 3 [pid 6240] <... futex resumed>) = 1 [pid 6238] <... futex resumed>) = 0 [pid 6243] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6243] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6240] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6238] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6244] <... ioctl resumed>) = 0 [pid 6240] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6238] <... futex resumed>) = 0 [pid 6244] close(3 [pid 6240] ioctl(3, 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 6238] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6244] <... close resumed>) = 0 [pid 6244] mkdir("./file0", 0777 [pid 6243] close(3) = 0 [pid 6243] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 145.390839][ T6244] loop4: detected capacity change from 0 to 32768 [ 145.397062][ T6243] loop0: detected capacity change from 0 to 32768 [ 145.418947][ T6240] BTRFS info (device loop2): balance: start -d -m [ 145.425811][ T6240] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6243] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6244] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6244] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 145.434556][ T6243] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6243) [pid 6252] 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 6238] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6238] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6238] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6243] <... mount resumed>) = -1 EEXIST (File exists) [pid 6243] ioctl(4, LOOP_CLR_FD [pid 6238] <... mmap resumed>) = 0x7f4e2652d000 [ 145.463065][ T6240] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 145.501008][ T6240] BTRFS info (device loop2): 2 enospc errors during balance [pid 6238] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6238] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6238] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6254]}, 88) = 6254 ./strace-static-x86_64: Process 6254 attached [pid 6244] <... mount resumed>) = -1 EEXIST (File exists) [pid 6238] rt_sigprocmask(SIG_SETMASK, [], [pid 6254] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6244] ioctl(4, LOOP_CLR_FD [pid 6238] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6254] <... rseq resumed>) = 0 [pid 6247] <... write resumed>) = 16777216 [pid 6238] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6254] set_robust_list(0x7f4e2654d9a0, 24 [pid 6238] <... futex resumed>) = 0 [pid 6254] <... set_robust_list resumed>) = 0 [pid 6238] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6254] rt_sigprocmask(SIG_SETMASK, [], [pid 6240] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6254] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6240] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6254] open("./file0", O_RDONLY [pid 6240] <... futex resumed>) = 0 [pid 6254] <... open resumed>) = 4 [pid 6240] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6254] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6247] munmap(0x7f4e2554e000, 16777216 [pid 6238] <... futex resumed>) = 0 [pid 6254] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6238] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6240] <... futex resumed>) = 0 [pid 6238] <... futex resumed>) = 1 [ 145.509420][ T6244] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6244) [ 145.523733][ T6240] BTRFS info (device loop2): balance: ended with status: -28 [pid 6240] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6238] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6240] <... ioctl resumed>) = 0 [pid 6240] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6238] <... futex resumed>) = 0 [pid 6247] <... munmap resumed>) = 0 [pid 6240] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6238] exit_group(0 [pid 6247] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6240] <... futex resumed>) = ? [pid 6238] <... exit_group resumed>) = ? [pid 6254] <... futex resumed>) = ? [pid 6247] <... openat resumed>) = 4 [pid 6240] +++ exited with 0 +++ [pid 6247] ioctl(4, LOOP_SET_FD, 3 [pid 6254] +++ exited with 0 +++ [pid 6238] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6238, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=28 /* 0.28 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 6247] <... ioctl resumed>) = 0 [pid 6247] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6247] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6247] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6256 ./strace-static-x86_64: Process 6256 attached [pid 6256] set_robust_list(0x5555558636a0, 24) = 0 [pid 6256] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6256] setpgid(0, 0) = 0 [pid 6256] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6256] write(3, "1000", 4) = 4 [pid 6256] close(3) = 0 [pid 6256] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6256] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6256] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6256] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6256] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6256] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6256] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6257]}, 88) = 6257 [ 145.603777][ T6247] loop5: detected capacity change from 0 to 32768 [ 145.639531][ T6247] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6247) [pid 6256] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6249] <... write resumed>) = 16777216 ./strace-static-x86_64: Process 6257 attached [pid 6256] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6257] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6256] <... futex resumed>) = 0 [pid 6257] <... rseq resumed>) = 0 [pid 6256] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6257] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6257] rt_sigprocmask(SIG_SETMASK, [], [pid 6247] <... mount resumed>) = -1 EEXIST (File exists) [pid 6257] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6247] ioctl(4, LOOP_CLR_FD [pid 6257] memfd_create("syzkaller", 0) = 3 [pid 6249] munmap(0x7f4e2554e000, 16777216 [pid 6257] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6249] <... munmap resumed>) = 0 [pid 6257] <... mmap resumed>) = 0x7f4e2554e000 [pid 6249] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6249] ioctl(4, LOOP_SET_FD, 3 [pid 6243] <... ioctl resumed>) = 0 [pid 6249] <... ioctl resumed>) = 0 [pid 6249] close(3) = 0 [pid 6249] mkdir("./file0", 0777 [pid 6252] <... write resumed>) = 16777216 [pid 6252] munmap(0x7f4e2554e000, 16777216 [pid 6249] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6249] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6252] <... munmap resumed>) = 0 [pid 6244] <... ioctl resumed>) = 0 [pid 6252] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6244] close(4 [pid 6252] <... openat resumed>) = 4 [pid 6244] <... close resumed>) = 0 [pid 6244] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6252] ioctl(4, LOOP_SET_FD, 3 [pid 6244] <... futex resumed>) = 1 [pid 6242] <... futex resumed>) = 0 [ 145.725625][ T6249] loop1: detected capacity change from 0 to 32768 [ 145.761691][ T6249] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6249) [pid 6244] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6243] close(4) = 0 [pid 6243] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6241] <... futex resumed>) = 0 [pid 6243] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6241] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6244] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6243] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6242] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6241] <... futex resumed>) = 0 [pid 6244] open("./file0", O_RDONLY [pid 6243] open("./file0", O_RDONLY [pid 6242] <... futex resumed>) = 0 [pid 6241] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6244] <... open resumed>) = 3 [pid 6243] <... open resumed>) = 3 [pid 6242] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6244] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6243] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6242] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6244] <... futex resumed>) = 0 [pid 6243] <... futex resumed>) = 1 [pid 6242] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6241] <... futex resumed>) = 0 [pid 6244] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6243] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6242] <... futex resumed>) = 0 [pid 6241] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6244] <... ioctl resumed>) = 0 [pid 6243] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6242] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6241] <... futex resumed>) = 0 [pid 6244] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6243] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6242] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6241] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6244] <... futex resumed>) = 0 [pid 6243] <... ioctl resumed>) = 0 [pid 6242] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6249] <... mount resumed>) = -1 EEXIST (File exists) [pid 6244] ioctl(3, 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 6243] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6242] <... futex resumed>) = 0 [pid 6252] <... ioctl resumed>) = 0 [pid 6249] ioctl(4, LOOP_CLR_FD [pid 6243] <... futex resumed>) = 1 [pid 6241] <... futex resumed>) = 0 [ 145.785329][ T6252] loop3: detected capacity change from 0 to 32768 [pid 6252] close(3 [pid 6243] ioctl(3, 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 6242] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6241] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6252] <... close resumed>) = 0 [pid 6252] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6241] <... futex resumed>) = 0 [pid 6252] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6241] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6243] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6243] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6241] <... futex resumed>) = 0 [pid 6243] open("./file0", O_RDONLY [pid 6241] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6243] <... open resumed>) = 4 [pid 6241] <... futex resumed>) = 0 [pid 6243] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6241] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6243] <... futex resumed>) = 0 [pid 6241] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6243] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6241] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6241] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6243] <... ioctl resumed>) = 0 [pid 6243] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6241] <... futex resumed>) = 0 [pid 6243] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6241] exit_group(0 [pid 6247] <... ioctl resumed>) = 0 [pid 6243] <... futex resumed>) = ? [pid 6241] <... exit_group resumed>) = ? [pid 6243] +++ exited with 0 +++ [pid 6241] +++ exited with 0 +++ [pid 6252] <... mount resumed>) = -1 EEXIST (File exists) [pid 6252] ioctl(4, LOOP_CLR_FD [pid 6242] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6242] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6241, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=28 /* 0.28 s */} --- [pid 6242] <... futex resumed>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6242] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5020] <... openat resumed>) = 3 [pid 6242] <... mmap resumed>) = 0x7f4e2652d000 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6242] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [ 145.839340][ T6244] BTRFS info (device loop2): balance: start -d -m [ 145.847459][ T6252] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6252) [ 145.861592][ T6244] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5020] close(3 [pid 6242] <... mprotect resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6258 [pid 6242] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6242] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6259]}, 88) = 6259 ./strace-static-x86_64: Process 6258 attached [pid 6247] close(4 [pid 6242] rt_sigprocmask(SIG_SETMASK, [], [pid 6258] set_robust_list(0x5555558636a0, 24 [pid 6247] <... close resumed>) = 0 [pid 6242] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6247] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6242] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6247] <... futex resumed>) = 1 [pid 6245] <... futex resumed>) = 0 [pid 6242] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6259 attached [pid 6247] open("./file0", O_RDONLY [pid 6245] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6242] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6259] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6258] <... set_robust_list resumed>) = 0 [pid 6247] <... open resumed>) = 3 [pid 6245] <... futex resumed>) = 0 [pid 6259] <... rseq resumed>) = 0 [pid 6258] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6247] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [ 145.915694][ T6244] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6245] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6259] set_robust_list(0x7f4e2654d9a0, 24 [pid 6258] <... prctl resumed>) = 0 [pid 6247] <... futex resumed>) = 0 [pid 6245] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6259] <... set_robust_list resumed>) = 0 [pid 6247] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6245] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6259] rt_sigprocmask(SIG_SETMASK, [], [pid 6247] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6245] <... futex resumed>) = 0 [pid 6259] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6247] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6245] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6259] open("./file0", O_RDONLY [pid 6247] <... ioctl resumed>) = 0 [pid 6259] <... open resumed>) = 4 [pid 6258] setpgid(0, 0 [pid 6247] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6259] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6247] <... futex resumed>) = 1 [pid 6245] <... futex resumed>) = 0 [pid 6259] <... futex resumed>) = 1 [pid 6258] <... setpgid resumed>) = 0 [pid 6247] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6245] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6242] <... futex resumed>) = 0 [pid 6259] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6247] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6245] <... futex resumed>) = 0 [pid 6242] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6259] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6258] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6247] ioctl(3, 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 6245] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6242] <... futex resumed>) = 0 [pid 6259] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6247] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6242] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6259] <... ioctl resumed>) = 0 [pid 6258] <... openat resumed>) = 3 [pid 6247] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6259] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6258] write(3, "1000", 4 [pid 6247] <... futex resumed>) = 1 [pid 6245] <... futex resumed>) = 0 [pid 6259] <... futex resumed>) = 1 [pid 6258] <... write resumed>) = 4 [pid 6247] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6245] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6242] <... futex resumed>) = 0 [pid 6259] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6258] close(3 [pid 6247] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6245] <... futex resumed>) = 0 [pid 6258] <... close resumed>) = 0 [pid 6247] open("./file0", O_RDONLY [pid 6245] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6258] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6247] <... open resumed>) = 4 [pid 6258] <... futex resumed>) = 0 [pid 6247] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6258] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6247] <... futex resumed>) = 1 [pid 6245] <... futex resumed>) = 0 [pid 6258] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6247] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6245] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6258] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6247] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6245] <... futex resumed>) = 0 [pid 6258] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6247] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6245] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6258] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6247] <... ioctl resumed>) = 0 [pid 6258] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6247] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6258] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6247] <... futex resumed>) = 1 [pid 6245] <... futex resumed>) = 0 [pid 6258] <... mprotect resumed>) = 0 [pid 6247] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6245] exit_group(0 [pid 6258] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6247] <... futex resumed>) = ? [pid 6245] <... exit_group resumed>) = ? [pid 6258] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6247] +++ exited with 0 +++ [pid 6245] +++ exited with 0 +++ [pid 6258] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6245, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=29 /* 0.29 s */} --- [pid 6258] <... clone3 resumed> => {parent_tid=[6260]}, 88) = 6260 [pid 6258] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 6260 attached ) = -1 ENXIO (No such device or address) [pid 6260] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5027] close(3 [pid 6260] <... rseq resumed>) = 0 [pid 6258] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] <... close resumed>) = 0 [pid 6260] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6258] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6260] <... set_robust_list resumed>) = 0 [pid 6258] <... futex resumed>) = 0 [pid 6260] rt_sigprocmask(SIG_SETMASK, [], [pid 6258] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6261 [pid 6260] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6260] memfd_create("syzkaller", 0) = 3 [pid 6244] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6260] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6244] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6260] <... mmap resumed>) = 0x7f4e2554e000 [ 145.961454][ T6244] BTRFS info (device loop2): 2 enospc errors during balance [ 145.998228][ T6244] BTRFS info (device loop2): balance: ended with status: -28 ./strace-static-x86_64: Process 6261 attached [pid 6244] <... futex resumed>) = 0 [pid 6242] exit_group(0 [pid 6261] set_robust_list(0x5555558636a0, 24 [pid 6259] <... futex resumed>) = ? [pid 6242] <... exit_group resumed>) = ? [pid 6261] <... set_robust_list resumed>) = 0 [pid 6259] +++ exited with 0 +++ [pid 6261] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6261] setpgid(0, 0) = 0 [pid 6244] +++ exited with 0 +++ [pid 6242] +++ exited with 0 +++ [pid 6261] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6242, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- [pid 6261] write(3, "1000", 4 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 6261] <... write resumed>) = 4 [pid 5026] <... restart_syscall resumed>) = 0 [pid 6261] close(3) = 0 [pid 6261] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6261] <... futex resumed>) = 0 [pid 5026] <... openat resumed>) = 3 [pid 6261] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6261] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6261] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5026] close(3 [pid 6261] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] <... close resumed>) = 0 [pid 6261] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6261] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6261] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6262 [pid 6261] <... mprotect resumed>) = 0 [pid 6261] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6261] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6263]}, 88) = 6263 [pid 6261] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6261] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6261] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6263 attached [pid 6263] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6263] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6263] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ./strace-static-x86_64: Process 6262 attached [pid 6263] memfd_create("syzkaller", 0) = 3 [pid 6262] set_robust_list(0x5555558636a0, 24 [pid 6263] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6262] <... set_robust_list resumed>) = 0 [pid 6257] 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 6249] <... ioctl resumed>) = 0 [pid 6263] <... mmap resumed>) = 0x7f4e2554e000 [pid 6262] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6262] setpgid(0, 0) = 0 [pid 6262] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6262] write(3, "1000", 4) = 4 [pid 6262] close(3) = 0 [pid 6262] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6262] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6262] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6249] close(4 [pid 6262] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6249] <... close resumed>) = 0 [pid 6249] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6248] <... futex resumed>) = 0 [pid 6248] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6248] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6249] <... futex resumed>) = 1 [pid 6249] open("./file0", O_RDONLY [pid 6262] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6262] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6249] <... open resumed>) = 3 [pid 6249] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6262] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6249] <... futex resumed>) = 1 [pid 6248] <... futex resumed>) = 0 [pid 6262] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6249] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6248] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6262] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6249] <... ioctl resumed>) = 0 [pid 6248] <... futex resumed>) = 0 [pid 6249] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6248] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6249] <... futex resumed>) = 0 [pid 6248] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6262] <... clone3 resumed> => {parent_tid=[6264]}, 88) = 6264 [pid 6249] ioctl(3, 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 6248] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6262] rt_sigprocmask(SIG_SETMASK, [], [pid 6252] <... ioctl resumed>) = 0 [pid 6248] <... futex resumed>) = 0 [pid 6262] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6252] close(4 [pid 6248] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6264 attached [pid 6262] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6252] <... close resumed>) = 0 [pid 6264] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6264] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6264] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6264] memfd_create("syzkaller", 0) = 3 [pid 6264] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6262] <... futex resumed>) = 0 [pid 6252] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6262] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6252] <... futex resumed>) = 1 [pid 6251] <... futex resumed>) = 0 [pid 6251] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6251] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6252] open("./file0", O_RDONLY) = 3 [pid 6252] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6251] <... futex resumed>) = 0 [pid 6252] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6251] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6252] <... ioctl resumed>) = 0 [pid 6251] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6252] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6251] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6252] <... futex resumed>) = 0 [pid 6251] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6252] ioctl(3, 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 6251] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6252] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6252] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6251] <... futex resumed>) = 0 [pid 6252] open("./file0", O_RDONLY [pid 6251] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6251] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6252] <... open resumed>) = 4 [pid 6252] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6251] <... futex resumed>) = 0 [pid 6252] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6251] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6251] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6252] <... ioctl resumed>) = 0 [pid 6248] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6252] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6248] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6252] <... futex resumed>) = 1 [pid 6251] <... futex resumed>) = 0 [pid 6248] <... futex resumed>) = 0 [pid 6252] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6251] exit_group(0 [pid 6248] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6252] <... futex resumed>) = ? [pid 6251] <... exit_group resumed>) = ? [pid 6248] <... mmap resumed>) = 0x7f4e2652d000 [pid 6252] +++ exited with 0 +++ [pid 6251] +++ exited with 0 +++ [pid 6248] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6248] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6251, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=23 /* 0.23 s */} --- [pid 6248] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6248] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5025] <... openat resumed>) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6248] <... clone3 resumed> => {parent_tid=[6265]}, 88) = 6265 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6248] rt_sigprocmask(SIG_SETMASK, [], [ 146.140119][ T6249] BTRFS info (device loop2): balance: start -d -m [ 146.171110][ T6249] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5025] close(3 [pid 6248] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5025] <... close resumed>) = 0 [pid 6248] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6248] <... futex resumed>) = 0 [pid 6248] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6266 ./strace-static-x86_64: Process 6265 attached [pid 6265] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6265] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6265] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6265] open("./file0", O_RDONLY) = 4 [pid 6265] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6266 attached ) = 1 [pid 6248] <... futex resumed>) = 0 [pid 6266] set_robust_list(0x5555558636a0, 24 [pid 6265] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6248] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6266] <... set_robust_list resumed>) = 0 [pid 6248] <... futex resumed>) = 0 [pid 6266] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6248] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6266] <... prctl resumed>) = 0 [pid 6266] setpgid(0, 0) = 0 [pid 6265] <... ioctl resumed>) = 0 [pid 6266] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6265] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6266] <... openat resumed>) = 3 [pid 6265] <... futex resumed>) = 1 [pid 6248] <... futex resumed>) = 0 [pid 6266] write(3, "1000", 4 [pid 6265] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6266] <... write resumed>) = 4 [pid 6266] close(3) = 0 [pid 6266] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6266] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6266] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6266] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6266] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6266] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6266] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6267]}, 88) = 6267 [ 146.223689][ T6249] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6266] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6266] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6266] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6267 attached [pid 6267] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6267] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6267] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6267] memfd_create("syzkaller", 0) = 3 [pid 6267] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6249] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6249] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6248] exit_group(0 [pid 6265] <... futex resumed>) = ? [pid 6248] <... exit_group resumed>) = ? [pid 6265] +++ exited with 0 +++ [pid 6249] +++ exited with 0 +++ [pid 6248] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6248, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=29 /* 0.29 s */} --- [pid 5021] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6268 ./strace-static-x86_64: Process 6268 attached [pid 6268] set_robust_list(0x5555558636a0, 24) = 0 [pid 6268] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6268] setpgid(0, 0) = 0 [ 146.267867][ T6249] BTRFS info (device loop2): 2 enospc errors during balance [ 146.296019][ T6249] BTRFS info (device loop2): balance: ended with status: -28 [pid 6268] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6268] write(3, "1000", 4) = 4 [pid 6268] close(3) = 0 [pid 6268] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6268] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6268] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6268] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6268] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6268] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6260] 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 6268] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6268] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6269]}, 88) = 6269 [pid 6268] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6268] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6268] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6269 attached [pid 6269] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6269] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6269] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6269] memfd_create("syzkaller", 0) = 3 [pid 6269] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6257] <... write resumed>) = 16777216 [pid 6263] 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 6257] munmap(0x7f4e2554e000, 16777216 [pid 6264] 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 6257] <... munmap resumed>) = 0 [pid 6257] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6257] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6257] ioctl(4, LOOP_CLR_FD) = 0 [pid 6257] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6257] close(4) = 0 [pid 6257] close(3 [pid 6267] 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 6257] <... close resumed>) = 0 [pid 6269] 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 6257] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6256] <... futex resumed>) = 0 [pid 6257] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6256] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6257] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6256] <... futex resumed>) = 0 [pid 6257] open("./file0", O_RDONLY [pid 6256] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6257] <... open resumed>) = 3 [pid 6257] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6256] <... futex resumed>) = 0 [pid 6257] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6256] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6257] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6257] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6256] <... futex resumed>) = 0 [pid 6257] <... ioctl resumed>) = 0 [pid 6256] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6257] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6256] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6257] <... futex resumed>) = 0 [pid 6256] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6257] ioctl(3, 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 6256] <... futex resumed>) = 0 [pid 6256] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6260] <... write resumed>) = 16777216 [pid 6260] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6260] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 146.751586][ T6257] BTRFS info (device loop2): balance: start -d -m [ 146.776472][ T6257] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6260] ioctl(4, LOOP_SET_FD, 3 [pid 6256] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6256] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6256] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6256] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6260] <... ioctl resumed>) = 0 [pid 6256] <... mprotect resumed>) = 0 [pid 6260] close(3 [pid 6256] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6260] <... close resumed>) = 0 [pid 6256] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6260] mkdir("./file0", 0777 [pid 6256] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6260] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6260] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6256] <... clone3 resumed> => {parent_tid=[6271]}, 88) = 6271 [ 146.808054][ T6260] loop0: detected capacity change from 0 to 32768 [ 146.816991][ T6257] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6256] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6256] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6256] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6271 attached [pid 6271] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6263] <... write resumed>) = 16777216 [pid 6260] <... mount resumed>) = -1 EEXIST (File exists) [pid 6271] <... rseq resumed>) = 0 [pid 6271] set_robust_list(0x7f4e2654d9a0, 24 [pid 6263] munmap(0x7f4e2554e000, 16777216 [pid 6260] ioctl(4, LOOP_CLR_FD [pid 6257] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6271] <... set_robust_list resumed>) = 0 [pid 6263] <... munmap resumed>) = 0 [pid 6271] rt_sigprocmask(SIG_SETMASK, [], [pid 6257] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6271] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6263] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6257] <... futex resumed>) = 0 [pid 6271] open("./file0", O_RDONLY [pid 6263] <... openat resumed>) = 4 [pid 6257] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6271] <... open resumed>) = 4 [pid 6263] ioctl(4, LOOP_SET_FD, 3 [ 146.851601][ T6260] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6260) [ 146.865698][ T6257] BTRFS info (device loop2): 2 enospc errors during balance [ 146.886064][ T6257] BTRFS info (device loop2): balance: ended with status: -28 [pid 6271] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6263] <... ioctl resumed>) = 0 [pid 6256] <... futex resumed>) = 0 [pid 6271] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6264] <... write resumed>) = 16777216 [pid 6263] close(3 [pid 6256] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6264] munmap(0x7f4e2554e000, 16777216 [pid 6263] <... close resumed>) = 0 [pid 6257] <... futex resumed>) = 0 [pid 6256] <... futex resumed>) = 1 [pid 6264] <... munmap resumed>) = 0 [pid 6263] mkdir("./file0", 0777 [pid 6257] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6256] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6263] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6263] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6264] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6264] ioctl(4, LOOP_SET_FD, 3 [pid 6257] <... ioctl resumed>) = 0 [pid 6257] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6256] <... futex resumed>) = 0 [pid 6257] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6256] exit_group(0) = ? [pid 6257] <... futex resumed>) = ? [pid 6271] <... futex resumed>) = ? [pid 6257] +++ exited with 0 +++ [pid 6271] +++ exited with 0 +++ [pid 6256] +++ exited with 0 +++ [pid 6263] <... mount resumed>) = -1 EEXIST (File exists) [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6256, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 6263] ioctl(4, LOOP_CLR_FD [ 146.907129][ T6263] loop5: detected capacity change from 0 to 32768 [ 146.940035][ T6263] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6263) [ 146.949374][ T6264] loop4: detected capacity change from 0 to 32768 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6272 [pid 6264] <... ioctl resumed>) = 0 [pid 6264] close(3./strace-static-x86_64: Process 6272 attached ) = 0 [pid 6272] set_robust_list(0x5555558636a0, 24 [pid 6264] mkdir("./file0", 0777 [pid 6272] <... set_robust_list resumed>) = 0 [pid 6264] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6272] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6264] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6272] <... prctl resumed>) = 0 [pid 6272] setpgid(0, 0) = 0 [pid 6272] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6272] write(3, "1000", 4) = 4 [pid 6272] close(3) = 0 [pid 6272] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6272] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6272] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6269] <... write resumed>) = 16777216 [pid 6272] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6269] munmap(0x7f4e2554e000, 16777216 [pid 6272] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6272] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6272] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6272] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6273]}, 88) = 6273 [pid 6272] rt_sigprocmask(SIG_SETMASK, [], [pid 6269] <... munmap resumed>) = 0 [pid 6272] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6272] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6264] <... mount resumed>) = -1 EEXIST (File exists) [pid 6272] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6273 attached [pid 6273] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6273] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6273] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6273] memfd_create("syzkaller", 0) = 3 [pid 6273] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6267] <... write resumed>) = 16777216 [ 147.011774][ T6264] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6264) [pid 6269] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6267] munmap(0x7f4e2554e000, 16777216 [pid 6264] ioctl(4, LOOP_CLR_FD [pid 6269] <... openat resumed>) = 4 [pid 6267] <... munmap resumed>) = 0 [pid 6269] ioctl(4, LOOP_SET_FD, 3 [pid 6267] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6267] ioctl(4, LOOP_SET_FD, 3 [pid 6269] <... ioctl resumed>) = 0 [pid 6260] <... ioctl resumed>) = 0 [pid 6269] close(3) = 0 [pid 6269] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6269] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6267] <... ioctl resumed>) = 0 [pid 6267] close(3) = 0 [pid 6267] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6267] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 147.084006][ T6269] loop1: detected capacity change from 0 to 32768 [ 147.089491][ T6267] loop3: detected capacity change from 0 to 32768 [ 147.106847][ T6269] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6269) [pid 6260] close(4 [pid 6269] <... mount resumed>) = -1 EEXIST (File exists) [pid 6260] <... close resumed>) = 0 [pid 6269] ioctl(4, LOOP_CLR_FD [pid 6260] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6258] <... futex resumed>) = 0 [pid 6260] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6258] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6260] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6258] <... futex resumed>) = 0 [pid 6260] open("./file0", O_RDONLY [pid 6258] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6260] <... open resumed>) = 3 [pid 6260] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6258] <... futex resumed>) = 0 [pid 6267] <... mount resumed>) = -1 EEXIST (File exists) [pid 6260] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6258] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6267] ioctl(4, LOOP_CLR_FD [pid 6260] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6258] <... futex resumed>) = 0 [pid 6260] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6258] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6260] <... ioctl resumed>) = 0 [pid 6260] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6258] <... futex resumed>) = 0 [pid 6260] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6258] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6260] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6258] <... futex resumed>) = 0 [pid 6260] ioctl(3, 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}} [ 147.159674][ T6267] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6267) [ 147.202778][ T6260] BTRFS info (device loop2): balance: start -d -m [pid 6258] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6263] <... ioctl resumed>) = 0 [pid 6258] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6263] close(4) = 0 [pid 6258] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6263] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6258] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6263] <... futex resumed>) = 1 [pid 6261] <... futex resumed>) = 0 [pid 6263] open("./file0", O_RDONLY [pid 6261] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6258] <... mmap resumed>) = 0x7f4e2652d000 [pid 6263] <... open resumed>) = 3 [pid 6261] <... futex resumed>) = 0 [pid 6258] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6263] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6261] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6258] <... mprotect resumed>) = 0 [pid 6261] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6261] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6261] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6263] <... futex resumed>) = 1 [pid 6261] <... futex resumed>) = 0 [pid 6258] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6263] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6261] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=31000000} [pid 6258] <... rt_sigprocmask resumed>[], 8) = 0 [ 147.249900][ T6260] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 147.285406][ T6260] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6263] <... ioctl resumed>) = 0 [pid 6258] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6263] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6261] <... futex resumed>) = 0 [pid 6263] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6261] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6258] <... clone3 resumed> => {parent_tid=[6274]}, 88) = 6274 [pid 6264] <... ioctl resumed>) = 0 [pid 6263] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6261] <... futex resumed>) = 0 [pid 6258] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6274 attached [pid 6264] close(4 [pid 6263] ioctl(3, 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 6261] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6258] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6258] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6258] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6274] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6264] <... close resumed>) = 0 [pid 6274] <... rseq resumed>) = 0 [pid 6264] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6274] set_robust_list(0x7f4e2654d9a0, 24 [pid 6264] <... futex resumed>) = 1 [pid 6262] <... futex resumed>) = 0 [pid 6274] <... set_robust_list resumed>) = 0 [pid 6264] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6262] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6274] rt_sigprocmask(SIG_SETMASK, [], [pid 6269] <... ioctl resumed>) = 0 [pid 6264] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6263] <... 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}}) = 8 [pid 6262] <... futex resumed>) = 0 [pid 6260] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6274] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 147.321197][ T6260] BTRFS info (device loop2): 2 enospc errors during balance [ 147.333416][ T6260] BTRFS info (device loop2): balance: ended with status: -28 [pid 6269] close(4 [pid 6274] open("./file0", O_RDONLY [pid 6264] open("./file0", O_RDONLY [pid 6263] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6262] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6260] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6269] <... close resumed>) = 0 [pid 6274] <... open resumed>) = 4 [pid 6269] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6264] <... open resumed>) = 3 [pid 6263] <... futex resumed>) = 1 [pid 6261] <... futex resumed>) = 0 [pid 6260] <... futex resumed>) = 0 [pid 6274] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6269] <... futex resumed>) = 1 [pid 6268] <... futex resumed>) = 0 [pid 6267] <... ioctl resumed>) = 0 [pid 6264] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6263] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6261] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6260] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6258] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6274] <... futex resumed>) = 0 [pid 6269] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6268] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6264] <... futex resumed>) = 1 [pid 6263] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6262] <... futex resumed>) = 0 [pid 6261] <... futex resumed>) = 0 [pid 6258] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6274] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6269] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6268] <... futex resumed>) = 0 [pid 6264] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6263] open("./file0", O_RDONLY [pid 6262] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6261] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6260] <... futex resumed>) = 0 [pid 6258] <... futex resumed>) = 1 [pid 6269] open("./file0", O_RDONLY [pid 6268] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6264] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6263] <... open resumed>) = 4 [pid 6262] <... futex resumed>) = 0 [pid 6260] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6258] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6269] <... open resumed>) = 3 [pid 6264] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6263] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6262] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6269] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6264] <... ioctl resumed>) = 0 [pid 6263] <... futex resumed>) = 1 [pid 6261] <... futex resumed>) = 0 [pid 6269] <... futex resumed>) = 1 [pid 6268] <... futex resumed>) = 0 [pid 6264] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6263] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6261] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6269] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6268] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6267] close(4 [pid 6264] <... futex resumed>) = 1 [pid 6263] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6262] <... futex resumed>) = 0 [pid 6261] <... futex resumed>) = 0 [pid 6260] <... ioctl resumed>) = 0 [pid 6273] 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 6269] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6268] <... futex resumed>) = 0 [pid 6264] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6263] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6262] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6261] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6260] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6269] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6268] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6267] <... close resumed>) = 0 [pid 6264] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6262] <... futex resumed>) = 0 [pid 6260] <... futex resumed>) = 1 [pid 6258] <... futex resumed>) = 0 [pid 6269] <... ioctl resumed>) = 0 [pid 6267] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6264] ioctl(3, 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 6263] <... ioctl resumed>) = 0 [pid 6262] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6260] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6258] exit_group(0 [pid 6269] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6267] <... futex resumed>) = 1 [pid 6266] <... futex resumed>) = 0 [pid 6263] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6258] <... exit_group resumed>) = ? [pid 6274] <... futex resumed>) = ? [pid 6269] <... futex resumed>) = 1 [pid 6268] <... futex resumed>) = 0 [pid 6267] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6266] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6263] <... futex resumed>) = 1 [pid 6261] <... futex resumed>) = 0 [pid 6260] <... futex resumed>) = ? [pid 6268] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6267] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6266] <... futex resumed>) = 0 [pid 6263] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6261] exit_group(0 [pid 6268] <... futex resumed>) = 0 [pid 6267] open("./file0", O_RDONLY [pid 6266] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6263] <... futex resumed>) = ? [pid 6261] <... exit_group resumed>) = ? [pid 6274] +++ exited with 0 +++ [pid 6269] ioctl(3, 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 6268] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6267] <... open resumed>) = 3 [pid 6263] +++ exited with 0 +++ [pid 6261] +++ exited with 0 +++ [pid 6267] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6260] +++ exited with 0 +++ [pid 6258] +++ exited with 0 +++ [pid 6267] <... futex resumed>) = 1 [pid 6266] <... futex resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6261, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=29 /* 0.29 s */} --- [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6258, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=30 /* 0.30 s */} --- [pid 6267] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6266] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 6267] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6266] <... futex resumed>) = 0 [pid 5027] <... openat resumed>) = 3 [pid 5020] <... restart_syscall resumed>) = 0 [pid 6267] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6266] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6267] <... ioctl resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6267] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] close(3 [pid 6269] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6269] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6267] <... futex resumed>) = 1 [pid 6266] <... futex resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 5020] <... openat resumed>) = 3 [pid 6269] <... futex resumed>) = 1 [pid 6268] <... futex resumed>) = 0 [pid 6267] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6266] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6269] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6268] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6267] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6266] <... futex resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6269] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6268] <... futex resumed>) = 0 [pid 6267] ioctl(3, 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 6266] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6275 [pid 5020] close(3 [pid 6269] open("./file0", O_RDONLY [pid 6268] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6267] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5020] <... close resumed>) = 0 [pid 6267] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6267] <... futex resumed>) = 1 [ 147.428782][ T6264] BTRFS info (device loop2): balance: start -d -m [ 147.446389][ T6264] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6266] <... futex resumed>) = 0 [pid 6262] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6267] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6266] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6262] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6276 ./strace-static-x86_64: Process 6275 attached [pid 6267] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6266] <... futex resumed>) = 0 [pid 6262] <... futex resumed>) = 0 [pid 6275] set_robust_list(0x5555558636a0, 24 [pid 6269] <... open resumed>) = 4 [pid 6267] open("./file0", O_RDONLY [pid 6266] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6262] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6275] <... set_robust_list resumed>) = 0 [pid 6269] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6267] <... open resumed>) = 4 [pid 6262] <... mmap resumed>) = 0x7f4e2652d000 ./strace-static-x86_64: Process 6276 attached [pid 6275] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6269] <... futex resumed>) = 1 [pid 6268] <... futex resumed>) = 0 [pid 6267] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6262] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6276] set_robust_list(0x5555558636a0, 24 [pid 6275] <... prctl resumed>) = 0 [pid 6269] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6268] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6267] <... futex resumed>) = 1 [pid 6266] <... futex resumed>) = 0 [pid 6262] <... mprotect resumed>) = 0 [pid 6276] <... set_robust_list resumed>) = 0 [pid 6275] setpgid(0, 0 [pid 6269] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6268] <... futex resumed>) = 0 [pid 6267] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6266] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6262] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6276] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6275] <... setpgid resumed>) = 0 [pid 6269] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6268] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6267] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6266] <... futex resumed>) = 0 [pid 6262] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6275] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6267] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6266] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6262] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6275] <... openat resumed>) = 3 [pid 6275] write(3, "1000", 4 [pid 6262] <... clone3 resumed> => {parent_tid=[6277]}, 88) = 6277 [pid 6276] <... prctl resumed>) = 0 [pid 6269] <... ioctl resumed>) = 0 [pid 6276] setpgid(0, 0 [pid 6275] <... write resumed>) = 4 [pid 6269] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6267] <... ioctl resumed>) = 0 [pid 6262] rt_sigprocmask(SIG_SETMASK, [], [pid 6276] <... setpgid resumed>) = 0 [pid 6275] close(3 [pid 6269] <... futex resumed>) = 1 [pid 6268] <... futex resumed>) = 0 [pid 6267] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6262] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6276] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6275] <... close resumed>) = 0 [pid 6269] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6268] exit_group(0 [pid 6267] <... futex resumed>) = 1 [ 147.472429][ T6264] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6266] <... futex resumed>) = 0 [pid 6262] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6277 attached [pid 6276] <... openat resumed>) = 3 [pid 6275] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6267] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6266] exit_group(0 [pid 6262] <... futex resumed>) = 0 [pid 6277] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6275] <... futex resumed>) = 0 [pid 6267] <... futex resumed>) = ? [pid 6266] <... exit_group resumed>) = ? [pid 6262] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6277] <... rseq resumed>) = 0 [pid 6275] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6267] +++ exited with 0 +++ [pid 6266] +++ exited with 0 +++ [pid 6277] set_robust_list(0x7f4e2654d9a0, 24 [pid 6275] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6266, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=27 /* 0.27 s */} --- [pid 6277] <... set_robust_list resumed>) = 0 [pid 6275] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6268] <... exit_group resumed>) = ? [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 6277] rt_sigprocmask(SIG_SETMASK, [], [pid 6276] write(3, "1000", 4 [pid 6275] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6269] <... futex resumed>) = ? [pid 5025] <... restart_syscall resumed>) = 0 [pid 6277] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6276] <... write resumed>) = 4 [pid 6275] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6277] open("./file0", O_RDONLY [pid 6276] close(3 [pid 6275] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6269] +++ exited with 0 +++ [pid 6268] +++ exited with 0 +++ [pid 6277] <... open resumed>) = 4 [pid 6276] <... close resumed>) = 0 [pid 6275] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6268, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=22 /* 0.22 s */} --- [pid 6277] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6276] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6275] <... mprotect resumed>) = 0 [pid 5025] <... openat resumed>) = 3 [pid 6277] <... futex resumed>) = 1 [pid 6276] <... futex resumed>) = 0 [pid 6275] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6262] <... futex resumed>) = 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6277] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6276] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6275] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6262] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6277] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6276] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6275] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6262] <... futex resumed>) = 0 [pid 5025] close(3 [pid 6277] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6276] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6262] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] <... close resumed>) = 0 [pid 6276] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6275] <... clone3 resumed> => {parent_tid=[6278]}, 88) = 6278 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6277] <... ioctl resumed>) = 0 [pid 6276] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6275] rt_sigprocmask(SIG_SETMASK, [], [pid 5021] <... openat resumed>) = 3 [pid 6277] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6276] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6275] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6279 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6277] <... futex resumed>) = 1 [pid 6276] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6275] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6262] <... futex resumed>) = 0 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6277] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6276] <... mprotect resumed>) = 0 [pid 6275] <... futex resumed>) = 0 [pid 5021] close(3./strace-static-x86_64: Process 6278 attached [pid 6276] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6275] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5021] <... close resumed>) = 0 ./strace-static-x86_64: Process 6279 attached [pid 6278] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6276] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6264] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6280 attached [pid 6279] set_robust_list(0x5555558636a0, 24 [pid 6278] <... rseq resumed>) = 0 [pid 6276] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6264] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6280] set_robust_list(0x5555558636a0, 24 [pid 6279] <... set_robust_list resumed>) = 0 [pid 6278] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6264] <... futex resumed>) = 0 [pid 6262] exit_group(0 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6280 [pid 6280] <... set_robust_list resumed>) = 0 [pid 6279] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6278] <... set_robust_list resumed>) = 0 [pid 6277] <... futex resumed>) = ? [pid 6276] <... clone3 resumed> => {parent_tid=[6281]}, 88) = 6281 [pid 6262] <... exit_group resumed>) = ? [pid 6280] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6279] <... prctl resumed>) = 0 [pid 6278] rt_sigprocmask(SIG_SETMASK, [], [pid 6277] +++ exited with 0 +++ [pid 6276] rt_sigprocmask(SIG_SETMASK, [], [pid 6264] +++ exited with 0 +++ [pid 6279] setpgid(0, 0 [pid 6278] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6276] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6262] +++ exited with 0 +++ [pid 6280] <... prctl resumed>) = 0 ./strace-static-x86_64: Process 6281 attached [pid 6280] setpgid(0, 0 [pid 6279] <... setpgid resumed>) = 0 [pid 6278] memfd_create("syzkaller", 0 [pid 6276] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6281] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6280] <... setpgid resumed>) = 0 [pid 6279] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6278] <... memfd_create resumed>) = 3 [pid 6276] <... futex resumed>) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6262, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=28 /* 0.28 s */} --- [pid 6281] <... rseq resumed>) = 0 [pid 6280] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6279] <... openat resumed>) = 3 [pid 6278] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6276] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6281] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6280] <... openat resumed>) = 3 [pid 6279] write(3, "1000", 4 [pid 6278] <... mmap resumed>) = 0x7f4e2554e000 [ 147.502611][ T6264] BTRFS info (device loop2): 2 enospc errors during balance [ 147.520995][ T6264] BTRFS info (device loop2): balance: ended with status: -28 [pid 5026] <... openat resumed>) = 3 [pid 6281] <... set_robust_list resumed>) = 0 [pid 6280] write(3, "1000", 4 [pid 6279] <... write resumed>) = 4 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6281] rt_sigprocmask(SIG_SETMASK, [], [pid 6280] <... write resumed>) = 4 [pid 6279] close(3 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6281] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6280] close(3 [pid 6279] <... close resumed>) = 0 [pid 5026] close(3 [pid 6281] memfd_create("syzkaller", 0 [pid 6280] <... close resumed>) = 0 [pid 6279] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6273] <... write resumed>) = 16777216 [pid 5026] <... close resumed>) = 0 [pid 6281] <... memfd_create resumed>) = 3 [pid 6280] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6279] <... futex resumed>) = 0 [pid 6273] munmap(0x7f4e2554e000, 16777216 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6281] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6280] <... futex resumed>) = 0 [pid 6279] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6282 [pid 6279] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6281] <... mmap resumed>) = 0x7f4e2554e000 [pid 6280] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6279] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6279] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6279] rt_sigprocmask(SIG_BLOCK, ~[], ./strace-static-x86_64: Process 6282 attached [], 8) = 0 [pid 6282] set_robust_list(0x5555558636a0, 24 [pid 6279] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6282] <... set_robust_list resumed>) = 0 [pid 6282] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6279] <... clone3 resumed> => {parent_tid=[6283]}, 88) = 6283 [pid 6282] <... prctl resumed>) = 0 [pid 6279] rt_sigprocmask(SIG_SETMASK, [], [pid 6282] setpgid(0, 0 [pid 6280] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6279] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6282] <... setpgid resumed>) = 0 [pid 6280] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6279] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6282] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6280] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6279] <... futex resumed>) = 0 [pid 6273] <... munmap resumed>) = 0 [pid 6282] <... openat resumed>) = 3 [pid 6280] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6279] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6273] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6282] write(3, "1000", 4 [pid 6280] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6273] <... openat resumed>) = 4 [pid 6282] <... write resumed>) = 4 [pid 6280] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6273] ioctl(4, LOOP_SET_FD, 3./strace-static-x86_64: Process 6283 attached [pid 6282] close(3 [pid 6280] <... mprotect resumed>) = 0 [pid 6273] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6283] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6282] <... close resumed>) = 0 [pid 6280] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6273] ioctl(4, LOOP_CLR_FD [pid 6283] <... rseq resumed>) = 0 [pid 6282] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6280] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6273] <... ioctl resumed>) = 0 [pid 6283] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6282] <... futex resumed>) = 0 [pid 6280] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6283] <... set_robust_list resumed>) = 0 [pid 6282] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6283] rt_sigprocmask(SIG_SETMASK, [], [pid 6282] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6280] <... clone3 resumed> => {parent_tid=[6284]}, 88) = 6284 [pid 6283] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6282] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6280] rt_sigprocmask(SIG_SETMASK, [], [pid 6273] ioctl(4, LOOP_SET_FD, 3 [pid 6283] memfd_create("syzkaller", 0 [pid 6282] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6280] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6273] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) ./strace-static-x86_64: Process 6284 attached [pid 6283] <... memfd_create resumed>) = 3 [pid 6282] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6280] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6273] close(4 [pid 6284] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6283] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6282] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6280] <... futex resumed>) = 0 [pid 6273] <... close resumed>) = 0 [pid 6284] <... rseq resumed>) = 0 [pid 6283] <... mmap resumed>) = 0x7f4e2554e000 [pid 6282] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6280] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6273] close(3 [pid 6284] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6282] <... mprotect resumed>) = 0 [pid 6284] <... set_robust_list resumed>) = 0 [pid 6282] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6284] rt_sigprocmask(SIG_SETMASK, [], [pid 6282] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6284] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6282] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6284] memfd_create("syzkaller", 0) = 3 [pid 6282] <... clone3 resumed> => {parent_tid=[6286]}, 88) = 6286 [pid 6284] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6282] rt_sigprocmask(SIG_SETMASK, [], [pid 6284] <... mmap resumed>) = 0x7f4e2554e000 [pid 6282] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6282] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6282] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6286 attached [pid 6286] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6286] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6286] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6286] memfd_create("syzkaller", 0) = 3 [pid 6286] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6278] 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 6273] <... close resumed>) = 0 [pid 6273] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6272] <... futex resumed>) = 0 [pid 6273] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6272] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6273] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6272] <... futex resumed>) = 0 [pid 6273] open("./file0", O_RDONLY [pid 6272] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6273] <... open resumed>) = 3 [pid 6273] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6272] <... futex resumed>) = 0 [pid 6273] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6272] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6273] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6272] <... futex resumed>) = 0 [pid 6273] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6272] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6273] <... ioctl resumed>) = 0 [pid 6281] 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 6273] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6272] <... futex resumed>) = 0 [pid 6273] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6272] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6273] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6272] <... futex resumed>) = 0 [pid 6273] ioctl(3, 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 6272] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6283] 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 6272] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6272] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6272] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [ 147.950243][ T6273] BTRFS info (device loop2): balance: start -d -m [ 147.963238][ T6273] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6272] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6272] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6272] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6287]}, 88) = 6287 [pid 6272] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6272] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6272] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6287 attached [pid 6287] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6287] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6287] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6287] open("./file0", O_RDONLY) = 4 [pid 6287] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6272] <... futex resumed>) = 0 [pid 6287] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6272] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6287] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6272] <... futex resumed>) = 0 [pid 6287] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6272] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6287] <... ioctl resumed>) = 0 [pid 6287] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6272] <... futex resumed>) = 0 [pid 6287] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [ 148.021681][ T6273] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6284] 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 [ 148.077281][ T6273] BTRFS info (device loop2): 2 enospc errors during balance [ 148.084611][ T6273] BTRFS info (device loop2): balance: ended with status: -28 [pid 6286] 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 6273] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6273] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6273] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6272] exit_group(0 [pid 6287] <... futex resumed>) = ? [pid 6272] <... exit_group resumed>) = ? [pid 6273] <... futex resumed>) = ? [pid 6287] +++ exited with 0 +++ [pid 6273] +++ exited with 0 +++ [pid 6272] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6272, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=28 /* 0.28 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6288 ./strace-static-x86_64: Process 6288 attached [pid 6288] set_robust_list(0x5555558636a0, 24) = 0 [pid 6288] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6288] setpgid(0, 0) = 0 [pid 6288] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6288] write(3, "1000", 4) = 4 [pid 6288] close(3) = 0 [pid 6288] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6288] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6288] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6288] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6288] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6288] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6288] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6290]}, 88) = 6290 [pid 6288] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6288] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6288] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6290 attached [pid 6290] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6290] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6290] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6290] memfd_create("syzkaller", 0) = 3 [pid 6290] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6278] <... write resumed>) = 16777216 [pid 6278] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6278] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6281] <... write resumed>) = 16777216 [pid 6278] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6281] munmap(0x7f4e2554e000, 16777216 [pid 6278] close(3) = 0 [pid 6278] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6278] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6281] <... munmap resumed>) = 0 [pid 6281] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6283] <... write resumed>) = 16777216 [pid 6281] ioctl(4, LOOP_SET_FD, 3 [pid 6283] munmap(0x7f4e2554e000, 16777216 [pid 6278] <... mount resumed>) = -1 EEXIST (File exists) [ 148.347507][ T6278] loop5: detected capacity change from 0 to 32768 [ 148.361712][ T6278] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6278) [pid 6281] <... ioctl resumed>) = 0 [pid 6283] <... munmap resumed>) = 0 [pid 6283] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6278] ioctl(4, LOOP_CLR_FD [pid 6283] <... openat resumed>) = 4 [pid 6283] ioctl(4, LOOP_SET_FD, 3 [pid 6281] close(3) = 0 [pid 6281] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6283] <... ioctl resumed>) = 0 [ 148.388028][ T6281] loop0: detected capacity change from 0 to 32768 [ 148.403044][ T6283] loop3: detected capacity change from 0 to 32768 [pid 6281] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6283] close(3 [pid 6284] <... write resumed>) = 16777216 [pid 6284] munmap(0x7f4e2554e000, 16777216 [pid 6283] <... close resumed>) = 0 [pid 6283] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6283] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6281] <... mount resumed>) = -1 EEXIST (File exists) [pid 6281] ioctl(4, LOOP_CLR_FD [pid 6284] <... munmap resumed>) = 0 [pid 6284] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6284] ioctl(4, LOOP_SET_FD, 3 [pid 6286] <... write resumed>) = 16777216 [pid 6286] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6283] <... mount resumed>) = -1 EEXIST (File exists) [pid 6283] ioctl(4, LOOP_CLR_FD [pid 6286] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6284] <... ioctl resumed>) = 0 [pid 6286] <... openat resumed>) = 4 [pid 6284] close(3 [pid 6286] ioctl(4, LOOP_SET_FD, 3 [pid 6284] <... close resumed>) = 0 [ 148.457323][ T6281] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6281) [ 148.476983][ T6283] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6283) [ 148.495438][ T6284] loop1: detected capacity change from 0 to 32768 [pid 6284] mkdir("./file0", 0777 [pid 6286] <... ioctl resumed>) = 0 [pid 6284] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6286] close(3 [pid 6284] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6278] <... ioctl resumed>) = 0 [pid 6278] close(4 [pid 6286] <... close resumed>) = 0 [pid 6286] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6286] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6284] <... mount resumed>) = -1 EEXIST (File exists) [pid 6278] <... close resumed>) = 0 [pid 6278] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6278] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6284] ioctl(4, LOOP_CLR_FD [pid 6275] <... futex resumed>) = 0 [pid 6275] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6278] <... futex resumed>) = 0 [pid 6275] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6278] open("./file0", O_RDONLY) = 3 [pid 6290] 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 6286] <... mount resumed>) = -1 EEXIST (File exists) [pid 6278] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6286] ioctl(4, LOOP_CLR_FD [pid 6278] <... futex resumed>) = 1 [pid 6278] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6275] <... futex resumed>) = 0 [pid 6278] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 148.538611][ T6286] loop4: detected capacity change from 0 to 32768 [ 148.548281][ T6284] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6284) [ 148.576163][ T6286] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6286) [pid 6275] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6278] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 6275] <... futex resumed>) = 0 [pid 6278] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6275] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6278] <... futex resumed>) = 0 [pid 6275] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6278] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6275] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6278] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6275] <... futex resumed>) = 0 [pid 6278] ioctl(3, 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 6275] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6275] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6275] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6275] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6275] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6275] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6291]}, 88) = 6291 [ 148.634943][ T6278] BTRFS info (device loop2): balance: start -d -m [ 148.649613][ T6278] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6275] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6281] <... ioctl resumed>) = 0 [pid 6275] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6291 attached ) = 0 [pid 6291] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6275] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6291] <... rseq resumed>) = 0 [pid 6291] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6291] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6291] open("./file0", O_RDONLY) = 4 [pid 6291] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6275] <... futex resumed>) = 0 [pid 6291] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6275] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6291] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6291] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6275] <... futex resumed>) = 0 [pid 6291] <... ioctl resumed>) = 0 [pid 6275] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6291] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6275] <... futex resumed>) = 0 [pid 6291] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6281] close(4) = 0 [pid 6281] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6276] <... futex resumed>) = 0 [pid 6281] open("./file0", O_RDONLY [pid 6276] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6281] <... open resumed>) = 3 [pid 6276] <... futex resumed>) = 0 [pid 6281] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6276] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6281] <... futex resumed>) = 0 [pid 6276] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6281] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6276] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6281] <... ioctl resumed>) = 0 [pid 6276] <... futex resumed>) = 0 [pid 6281] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6276] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6281] <... futex resumed>) = 0 [pid 6276] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6281] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6276] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6281] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6276] <... futex resumed>) = 0 [pid 6281] ioctl(3, 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 6276] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6281] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6281] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6276] <... futex resumed>) = 0 [pid 6281] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6276] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6281] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6276] <... futex resumed>) = 0 [pid 6281] open("./file0", O_RDONLY [pid 6276] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6281] <... open resumed>) = 4 [pid 6281] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6276] <... futex resumed>) = 0 [pid 6281] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6276] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6281] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 148.718679][ T6278] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6276] <... futex resumed>) = 0 [pid 6281] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6276] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6281] <... ioctl resumed>) = 0 [pid 6281] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6276] <... futex resumed>) = 0 [pid 6281] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6276] exit_group(0 [pid 6281] <... futex resumed>) = ? [pid 6276] <... exit_group resumed>) = ? [pid 6281] +++ exited with 0 +++ [pid 6276] +++ exited with 0 +++ [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6276, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6292 [pid 6283] <... ioctl resumed>) = 0 [pid 6283] close(4) = 0 [pid 6283] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6279] <... futex resumed>) = 0 [pid 6279] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6279] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6283] open("./file0", O_RDONLY) = 3 [pid 6283] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6279] <... futex resumed>) = 0 [pid 6279] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6278] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6278] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6279] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6292 attached [pid 6279] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6283] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6275] exit_group(0 [pid 6291] <... futex resumed>) = ? [pid 6275] <... exit_group resumed>) = ? [pid 6292] set_robust_list(0x5555558636a0, 24 [pid 6291] +++ exited with 0 +++ [pid 6283] <... ioctl resumed>) = 0 [pid 6278] <... futex resumed>) = ? [pid 6292] <... set_robust_list resumed>) = 0 [pid 6283] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6278] +++ exited with 0 +++ [pid 6275] +++ exited with 0 +++ [pid 6292] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6283] <... futex resumed>) = 1 [pid 6279] <... futex resumed>) = 0 [pid 6279] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6275, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- [pid 6279] <... futex resumed>) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6279] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] <... openat resumed>) = 3 [pid 6292] <... prctl resumed>) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6292] setpgid(0, 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6292] <... setpgid resumed>) = 0 [ 148.768450][ T6278] BTRFS info (device loop2): 2 enospc errors during balance [ 148.775779][ T6278] BTRFS info (device loop2): balance: ended with status: -28 [pid 5027] close(3 [pid 6292] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6283] ioctl(3, 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 5027] <... close resumed>) = 0 [pid 6292] write(3, "1000", 4 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6292] <... write resumed>) = 4 [pid 6292] close(3) = 0 [pid 6292] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6292] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6292] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6292] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6293 [pid 6292] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6292] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6292] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6292] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0}./strace-static-x86_64: Process 6293 attached [pid 6293] set_robust_list(0x5555558636a0, 24 [pid 6292] <... clone3 resumed> => {parent_tid=[6294]}, 88) = 6294 [pid 6293] <... set_robust_list resumed>) = 0 [pid 6292] rt_sigprocmask(SIG_SETMASK, [], [pid 6293] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6292] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6293] <... prctl resumed>) = 0 [pid 6292] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6293] setpgid(0, 0 [pid 6292] <... futex resumed>) = 0 [pid 6293] <... setpgid resumed>) = 0 [pid 6292] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6293] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 6294 attached ) = 3 [pid 6294] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6293] write(3, "1000", 4 [pid 6294] <... rseq resumed>) = 0 [pid 6293] <... write resumed>) = 4 [pid 6294] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6293] close(3 [pid 6294] <... set_robust_list resumed>) = 0 [pid 6293] <... close resumed>) = 0 [pid 6294] rt_sigprocmask(SIG_SETMASK, [], [pid 6293] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6294] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6293] <... futex resumed>) = 0 [pid 6294] memfd_create("syzkaller", 0 [pid 6293] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6294] <... memfd_create resumed>) = 3 [pid 6293] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6294] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6293] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6294] <... mmap resumed>) = 0x7f4e2554e000 [pid 6293] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6293] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6284] <... ioctl resumed>) = 0 [pid 6293] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6293] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6293] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6293] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6295]}, 88) = 6295 [pid 6293] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6293] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6293] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6295 attached [pid 6295] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6295] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6295] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6295] memfd_create("syzkaller", 0) = 3 [pid 6295] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6279] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6279] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6279] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6284] close(4 [pid 6279] <... mmap resumed>) = 0x7f4e2652d000 [pid 6279] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6279] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6279] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6296]}, 88) = 6296 [pid 6279] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6279] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6279] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6284] <... close resumed>) = 0 [pid 6284] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6280] <... futex resumed>) = 0 [pid 6280] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6284] open("./file0", O_RDONLY [pid 6280] <... futex resumed>) = 0 [pid 6284] <... open resumed>) = 3 [pid 6280] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6284] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6280] <... futex resumed>) = 0 [pid 6284] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6280] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6284] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6280] <... futex resumed>) = 0 [ 148.835619][ T6283] BTRFS info (device loop2): balance: start -d -m [ 148.875712][ T6283] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6280] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6286] <... ioctl resumed>) = 0 [pid 6284] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6286] close(4 [pid 6284] <... ioctl resumed>) = 0 [pid 6286] <... close resumed>) = 0 [pid 6284] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6296 attached [pid 6296] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6296] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6296] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6296] open("./file0", O_RDONLY) = 4 [pid 6296] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6296] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6279] <... futex resumed>) = 0 [pid 6286] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6284] <... futex resumed>) = 1 [pid 6279] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6284] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6279] <... futex resumed>) = 1 [pid 6286] <... futex resumed>) = 1 [pid 6282] <... futex resumed>) = 0 [pid 6280] <... futex resumed>) = 0 [pid 6280] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6296] <... futex resumed>) = 0 [pid 6284] <... futex resumed>) = 0 [pid 6282] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6286] open("./file0", O_RDONLY [pid 6280] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6279] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6296] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6286] <... open resumed>) = 3 [pid 6284] ioctl(3, 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 6282] <... futex resumed>) = 0 [pid 6284] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6282] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6286] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6282] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6284] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6286] <... futex resumed>) = 0 [pid 6284] <... futex resumed>) = 1 [pid 6282] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6280] <... futex resumed>) = 0 [pid 6286] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6284] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6282] <... futex resumed>) = 0 [pid 6280] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6286] <... ioctl resumed>) = 0 [pid 6284] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6282] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6280] <... futex resumed>) = 0 [pid 6284] open("./file0", O_RDONLY [pid 6286] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6280] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6286] <... futex resumed>) = 1 [ 148.915443][ T6283] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 148.941779][ T6283] BTRFS info (device loop2): 2 enospc errors during balance [pid 6284] <... open resumed>) = 4 [pid 6282] <... futex resumed>) = 0 [pid 6296] <... ioctl resumed>) = 0 [pid 6286] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6296] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6296] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6286] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6284] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6282] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6279] <... futex resumed>) = 0 [pid 6286] ioctl(3, 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 6284] <... futex resumed>) = 1 [pid 6282] <... futex resumed>) = 0 [pid 6280] <... futex resumed>) = 0 [pid 6284] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6282] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6280] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6280] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6290] <... write resumed>) = 16777216 [pid 6286] <... 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}}) = 8 [pid 6284] <... ioctl resumed>) = 0 [pid 6283] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6286] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6284] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6283] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6286] <... futex resumed>) = 1 [pid 6282] <... futex resumed>) = 0 [pid 6284] <... futex resumed>) = 1 [pid 6280] <... futex resumed>) = 0 [pid 6280] exit_group(0) = ? [pid 6286] open("./file0", O_RDONLY [pid 6283] <... futex resumed>) = 0 [pid 6282] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6290] munmap(0x7f4e2554e000, 16777216 [pid 6286] <... open resumed>) = 4 [pid 6283] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6282] <... futex resumed>) = 0 [pid 6284] +++ exited with 0 +++ [pid 6280] +++ exited with 0 +++ [pid 6279] exit_group(0 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6280, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=24 /* 0.24 s */} --- [pid 6286] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6282] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6286] <... futex resumed>) = 0 [pid 6283] <... futex resumed>) = ? [pid 6279] <... exit_group resumed>) = ? [pid 6296] <... futex resumed>) = ? [pid 6296] +++ exited with 0 +++ [pid 6283] +++ exited with 0 +++ [pid 6282] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6279] +++ exited with 0 +++ [pid 6282] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6279, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=28 /* 0.28 s */} --- [pid 6286] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6282] <... futex resumed>) = 0 [pid 6282] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5021] <... openat resumed>) = 3 [pid 5025] <... openat resumed>) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5021] close(3 [pid 5025] close(3 [pid 6290] <... munmap resumed>) = 0 [pid 6286] <... ioctl resumed>) = 0 [pid 5025] <... close resumed>) = 0 [pid 5021] <... close resumed>) = 0 [pid 6286] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6286] <... futex resumed>) = 1 [pid 6282] <... futex resumed>) = 0 [pid 6282] exit_group(0 [pid 6286] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL) = ? [pid 6282] <... exit_group resumed>) = ? [pid 6286] +++ exited with 0 +++ [pid 6282] +++ exited with 0 +++ [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6282, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=26 /* 0.26 s */} --- [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6298 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6297 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6290] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6290] <... openat resumed>) = 4 [pid 5026] close(3 [pid 6290] ioctl(4, LOOP_SET_FD, 3 [pid 5026] <... close resumed>) = 0 [pid 6290] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) ./strace-static-x86_64: Process 6297 attached [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6290] ioctl(4, LOOP_CLR_FD [pid 6297] set_robust_list(0x5555558636a0, 24 [pid 6290] <... ioctl resumed>) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6299 [pid 6297] <... set_robust_list resumed>) = 0 [pid 6297] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 6298 attached [pid 6290] ioctl(4, LOOP_SET_FD, 3./strace-static-x86_64: Process 6299 attached ) = -1 EBUSY (Device or resource busy) [ 148.965972][ T6283] BTRFS info (device loop2): balance: ended with status: -28 [pid 6298] set_robust_list(0x5555558636a0, 24 [pid 6297] <... prctl resumed>) = 0 [pid 6290] close(4 [pid 6299] set_robust_list(0x5555558636a0, 24 [pid 6290] <... close resumed>) = 0 [pid 6299] <... set_robust_list resumed>) = 0 [pid 6298] <... set_robust_list resumed>) = 0 [pid 6297] setpgid(0, 0 [pid 6290] close(3 [pid 6299] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6298] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6297] <... setpgid resumed>) = 0 [pid 6298] <... prctl resumed>) = 0 [pid 6297] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6298] setpgid(0, 0 [pid 6297] <... openat resumed>) = 3 [pid 6298] <... setpgid resumed>) = 0 [pid 6297] write(3, "1000", 4 [pid 6298] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6297] <... write resumed>) = 4 [pid 6298] <... openat resumed>) = 3 [pid 6297] close(3 [pid 6298] write(3, "1000", 4 [pid 6297] <... close resumed>) = 0 [pid 6298] <... write resumed>) = 4 [pid 6297] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6298] close(3 [pid 6297] <... futex resumed>) = 0 [pid 6298] <... close resumed>) = 0 [pid 6297] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6298] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6297] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6298] <... futex resumed>) = 0 [pid 6297] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6298] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6297] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6298] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6297] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6298] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6297] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6298] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6297] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6298] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6297] <... mprotect resumed>) = 0 [pid 6298] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6297] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6298] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6297] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6298] <... mprotect resumed>) = 0 [pid 6297] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6298] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6297] <... clone3 resumed> => {parent_tid=[6300]}, 88) = 6300 [pid 6298] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6297] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6299] <... prctl resumed>) = 0 [pid 6298] <... clone3 resumed> => {parent_tid=[6301]}, 88) = 6301 [pid 6297] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6298] rt_sigprocmask(SIG_SETMASK, [], [pid 6297] <... futex resumed>) = 0 [pid 6298] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6297] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6299] setpgid(0, 0 [pid 6298] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6299] <... setpgid resumed>) = 0 [pid 6298] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6301 attached [pid 6299] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6298] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6300 attached [pid 6301] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6300] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6299] <... openat resumed>) = 3 [pid 6301] <... rseq resumed>) = 0 [pid 6300] <... rseq resumed>) = 0 [pid 6300] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6301] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6299] write(3, "1000", 4 [pid 6300] rt_sigprocmask(SIG_SETMASK, [], [pid 6301] <... set_robust_list resumed>) = 0 [pid 6299] <... write resumed>) = 4 [pid 6300] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6301] rt_sigprocmask(SIG_SETMASK, [], [pid 6299] close(3 [pid 6301] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6300] memfd_create("syzkaller", 0 [pid 6299] <... close resumed>) = 0 [pid 6300] <... memfd_create resumed>) = 3 [pid 6300] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6301] memfd_create("syzkaller", 0 [pid 6299] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6301] <... memfd_create resumed>) = 3 [pid 6300] <... mmap resumed>) = 0x7f4e2554e000 [pid 6301] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6299] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6301] <... mmap resumed>) = 0x7f4e2554e000 [pid 6299] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6299] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6299] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6299] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6299] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6299] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6302]}, 88) = 6302 [pid 6299] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ./strace-static-x86_64: Process 6302 attached [pid 6299] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6302] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6299] <... futex resumed>) = 0 [pid 6302] <... rseq resumed>) = 0 [pid 6299] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6302] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6302] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6302] memfd_create("syzkaller", 0) = 3 [pid 6302] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6294] 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 6290] <... close resumed>) = 0 [pid 6290] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6290] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6288] <... futex resumed>) = 0 [pid 6288] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6290] <... futex resumed>) = 0 [pid 6288] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6290] open("./file0", O_RDONLY [pid 6295] 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 6290] <... open resumed>) = 3 [pid 6290] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6288] <... futex resumed>) = 0 [pid 6290] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6288] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6290] <... futex resumed>) = 0 [pid 6288] <... futex resumed>) = 1 [pid 6290] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 6288] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6290] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6288] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6290] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6288] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6290] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6288] <... futex resumed>) = 0 [pid 6290] ioctl(3, 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}} [ 149.268495][ T6290] BTRFS info (device loop2): balance: start -d -m [ 149.275308][ T6290] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6288] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6288] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6288] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6288] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6288] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6288] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6304]}, 88) = 6304 [pid 6288] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6288] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6288] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6304 attached [pid 6304] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6304] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6304] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6304] open("./file0", O_RDONLY) = 4 [pid 6304] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6288] <... futex resumed>) = 0 [pid 6304] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6288] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6288] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6304] <... ioctl resumed>) = 0 [pid 6304] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6288] <... futex resumed>) = 0 [ 149.349876][ T6290] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6304] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6300] 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 6301] 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 6290] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6290] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6288] exit_group(0 [pid 6290] ???( [pid 6304] <... futex resumed>) = ? [pid 6288] <... exit_group resumed>) = ? [pid 6290] <... ??? resumed>) = ? [pid 6304] +++ exited with 0 +++ [ 149.416987][ T6290] BTRFS info (device loop2): 2 enospc errors during balance [ 149.447853][ T6290] BTRFS info (device loop2): balance: ended with status: -28 [pid 6302] 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 6290] +++ exited with 0 +++ [pid 6288] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6288, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=24 /* 0.24 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6305 ./strace-static-x86_64: Process 6305 attached [pid 6305] set_robust_list(0x5555558636a0, 24) = 0 [pid 6305] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6305] setpgid(0, 0) = 0 [pid 6305] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6305] write(3, "1000", 4) = 4 [pid 6305] close(3) = 0 [pid 6305] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6305] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6305] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6305] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6305] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6305] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6305] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6306]}, 88) = 6306 [pid 6305] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6305] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6305] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6306 attached [pid 6306] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6306] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6306] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6306] memfd_create("syzkaller", 0) = 3 [pid 6306] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6294] <... write resumed>) = 16777216 [pid 6294] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6294] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6294] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6294] close(3) = 0 [pid 6294] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6294] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6295] <... write resumed>) = 16777216 [pid 6295] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6295] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [ 149.634748][ T6294] loop0: detected capacity change from 0 to 32768 [ 149.672192][ T6294] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6294) [pid 6295] ioctl(4, LOOP_SET_FD, 3 [pid 6294] <... mount resumed>) = -1 EEXIST (File exists) [pid 6294] ioctl(4, LOOP_CLR_FD [pid 6295] <... ioctl resumed>) = 0 [pid 6295] close(3) = 0 [pid 6295] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6295] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 149.695381][ T6295] loop5: detected capacity change from 0 to 32768 [ 149.725996][ T6295] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6295) [pid 6295] ioctl(4, LOOP_CLR_FD [pid 6301] <... write resumed>) = 16777216 [pid 6301] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6301] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6301] ioctl(4, LOOP_SET_FD, 3 [pid 6300] <... write resumed>) = 16777216 [pid 6301] <... ioctl resumed>) = 0 [pid 6301] close(3) = 0 [pid 6301] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6301] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6302] <... write resumed>) = 16777216 [pid 6302] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6302] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6302] ioctl(4, LOOP_SET_FD, 3 [ 149.803035][ T6301] loop1: detected capacity change from 0 to 32768 [ 149.830987][ T6301] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6301) [pid 6300] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6300] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6300] ioctl(4, LOOP_SET_FD, 3 [pid 6306] 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 6302] <... ioctl resumed>) = 0 [pid 6301] <... mount resumed>) = -1 EEXIST (File exists) [pid 6300] <... ioctl resumed>) = 0 [pid 6302] close(3 [pid 6301] ioctl(4, LOOP_CLR_FD [pid 6302] <... close resumed>) = 0 [pid 6302] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 149.853646][ T6302] loop4: detected capacity change from 0 to 32768 [ 149.868045][ T6300] loop3: detected capacity change from 0 to 32768 [pid 6302] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6300] close(3) = 0 [pid 6300] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6300] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6302] <... mount resumed>) = -1 EEXIST (File exists) [pid 6302] ioctl(4, LOOP_CLR_FD [pid 6294] <... ioctl resumed>) = 0 [pid 6300] <... mount resumed>) = -1 EEXIST (File exists) [pid 6294] close(4 [pid 6300] ioctl(4, LOOP_CLR_FD [pid 6295] <... ioctl resumed>) = 0 [pid 6294] <... close resumed>) = 0 [pid 6295] close(4 [pid 6294] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6292] <... futex resumed>) = 0 [pid 6295] <... close resumed>) = 0 [pid 6294] open("./file0", O_RDONLY [pid 6292] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6295] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6294] <... open resumed>) = 3 [pid 6292] <... futex resumed>) = 0 [pid 6295] <... futex resumed>) = 1 [pid 6294] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6293] <... futex resumed>) = 0 [pid 6292] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6295] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6294] <... futex resumed>) = 0 [ 149.901276][ T6302] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6302) [ 149.917399][ T6300] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6300) [pid 6293] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6292] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6295] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6294] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6293] <... futex resumed>) = 0 [pid 6292] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6295] open("./file0", O_RDONLY [pid 6294] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6293] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6292] <... futex resumed>) = 0 [pid 6295] <... open resumed>) = 3 [pid 6294] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6292] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6295] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6294] <... ioctl resumed>) = 0 [pid 6295] <... futex resumed>) = 1 [pid 6294] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6293] <... futex resumed>) = 0 [pid 6295] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6294] <... futex resumed>) = 1 [pid 6293] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6292] <... futex resumed>) = 0 [pid 6295] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6294] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6293] <... futex resumed>) = 0 [pid 6292] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6295] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6294] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6293] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6292] <... futex resumed>) = 0 [pid 6295] <... ioctl resumed>) = 0 [pid 6294] ioctl(3, 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 6292] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6295] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6293] <... futex resumed>) = 0 [pid 6295] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6293] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6295] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6293] <... futex resumed>) = 0 [pid 6295] ioctl(3, 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 6293] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6295] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6295] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6293] <... futex resumed>) = 0 [pid 6295] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6293] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6295] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6293] <... futex resumed>) = 0 [pid 6295] open("./file0", O_RDONLY [pid 6293] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6295] <... open resumed>) = 4 [pid 6295] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6293] <... futex resumed>) = 0 [pid 6295] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6293] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6295] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6293] <... futex resumed>) = 0 [ 150.021527][ T6294] BTRFS info (device loop2): balance: start -d -m [ 150.029389][ T6294] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 150.051124][ T6294] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6292] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6295] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6293] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6292] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6292] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6292] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6295] <... ioctl resumed>) = 0 [pid 6295] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6292] <... mprotect resumed>) = 0 [pid 6295] <... futex resumed>) = 1 [pid 6293] <... futex resumed>) = 0 [pid 6292] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6295] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6293] exit_group(0 [pid 6292] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6293] <... exit_group resumed>) = ? [pid 6292] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6295] <... futex resumed>) = ? [pid 6292] <... clone3 resumed> => {parent_tid=[6307]}, 88) = 6307 ./strace-static-x86_64: Process 6307 attached [pid 6301] <... ioctl resumed>) = 0 [pid 6295] +++ exited with 0 +++ [pid 6294] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6293] +++ exited with 0 +++ [pid 6292] rt_sigprocmask(SIG_SETMASK, [], [pid 6307] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6301] close(4 [pid 6294] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6292] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6307] <... rseq resumed>) = 0 [pid 6301] <... close resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6293, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=31 /* 0.31 s */} --- [pid 6307] set_robust_list(0x7f4e2654d9a0, 24 [pid 6301] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6294] <... futex resumed>) = 0 [pid 6292] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 6307] <... set_robust_list resumed>) = 0 [pid 6301] <... futex resumed>) = 1 [pid 6298] <... futex resumed>) = 0 [pid 6294] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5027] <... restart_syscall resumed>) = 0 [pid 6307] rt_sigprocmask(SIG_SETMASK, [], [pid 6301] open("./file0", O_RDONLY [pid 6298] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6292] <... futex resumed>) = 0 [pid 6307] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6301] <... open resumed>) = 3 [pid 6298] <... futex resumed>) = 0 [pid 6292] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6307] open("./file0", O_RDONLY [pid 6301] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6298] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6307] <... open resumed>) = 4 [pid 6301] <... futex resumed>) = 0 [pid 6298] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5027] <... openat resumed>) = 3 [pid 6307] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6302] <... ioctl resumed>) = 0 [pid 6301] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6298] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6307] <... futex resumed>) = 1 [pid 6302] close(4 [pid 6301] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6298] <... futex resumed>) = 0 [pid 6292] <... futex resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6307] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6302] <... close resumed>) = 0 [pid 6301] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6298] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] close(3) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6308 ./strace-static-x86_64: Process 6308 attached [pid 6308] set_robust_list(0x5555558636a0, 24) = 0 [ 150.075453][ T6294] BTRFS info (device loop2): 2 enospc errors during balance [ 150.096070][ T6294] BTRFS info (device loop2): balance: ended with status: -28 [pid 6308] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6308] setpgid(0, 0) = 0 [pid 6308] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6308] write(3, "1000", 4) = 4 [pid 6292] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6308] close(3 [pid 6302] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6301] <... ioctl resumed>) = 0 [pid 6308] <... close resumed>) = 0 [pid 6302] <... futex resumed>) = 1 [pid 6299] <... futex resumed>) = 0 [pid 6294] <... futex resumed>) = 0 [pid 6292] <... futex resumed>) = 1 [pid 6301] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6308] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6302] open("./file0", O_RDONLY [pid 6299] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6301] <... futex resumed>) = 1 [pid 6294] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6298] <... futex resumed>) = 0 [pid 6292] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6308] <... futex resumed>) = 0 [pid 6302] <... open resumed>) = 3 [pid 6301] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6299] <... futex resumed>) = 0 [pid 6298] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6308] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6302] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6301] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6299] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6298] <... futex resumed>) = 0 [pid 6294] <... ioctl resumed>) = 0 [pid 6308] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6302] <... futex resumed>) = 0 [pid 6301] ioctl(3, 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 6299] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6298] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6294] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6308] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6302] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6299] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6308] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6302] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6299] <... futex resumed>) = 0 [pid 6294] <... futex resumed>) = 1 [pid 6292] <... futex resumed>) = 0 [pid 6308] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6302] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6299] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6294] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6292] exit_group(0 [pid 6308] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6307] <... futex resumed>) = ? [pid 6302] <... ioctl resumed>) = 0 [pid 6294] <... futex resumed>) = ? [pid 6292] <... exit_group resumed>) = ? [pid 6308] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6307] +++ exited with 0 +++ [pid 6302] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6294] +++ exited with 0 +++ [pid 6308] <... mprotect resumed>) = 0 [pid 6308] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6292] +++ exited with 0 +++ [pid 6302] <... futex resumed>) = 1 [pid 6299] <... futex resumed>) = 0 [pid 6308] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6302] ioctl(3, 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 6299] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6292, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=28 /* 0.28 s */} --- [pid 6308] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6302] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6299] <... futex resumed>) = 0 [pid 6302] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6299] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6308] <... clone3 resumed> => {parent_tid=[6309]}, 88) = 6309 [pid 6302] <... futex resumed>) = 0 [pid 6299] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR./strace-static-x86_64: Process 6309 attached [pid 6308] rt_sigprocmask(SIG_SETMASK, [], [pid 6302] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6299] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... openat resumed>) = 3 [pid 6309] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6308] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6302] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6299] <... futex resumed>) = 0 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6309] <... rseq resumed>) = 0 [pid 6308] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6302] open("./file0", O_RDONLY [pid 6300] <... ioctl resumed>) = 0 [pid 6299] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6309] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6308] <... futex resumed>) = 0 [pid 6302] <... open resumed>) = 4 [pid 6300] close(4 [pid 5020] close(3 [pid 6309] <... set_robust_list resumed>) = 0 [pid 6308] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6302] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... close resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6310 ./strace-static-x86_64: Process 6310 attached [pid 6310] set_robust_list(0x5555558636a0, 24) = 0 [pid 6309] rt_sigprocmask(SIG_SETMASK, [], [pid 6302] <... futex resumed>) = 1 [pid 6300] <... close resumed>) = 0 [pid 6299] <... futex resumed>) = 0 [pid 6309] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6302] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6300] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6299] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6310] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6309] memfd_create("syzkaller", 0 [pid 6302] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6300] <... futex resumed>) = 1 [pid 6299] <... futex resumed>) = 0 [pid 6297] <... futex resumed>) = 0 [pid 6310] <... prctl resumed>) = 0 [pid 6299] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6298] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6310] setpgid(0, 0) = 0 [pid 6310] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6309] <... memfd_create resumed>) = 3 [pid 6302] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6300] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6298] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [ 150.173245][ T6301] BTRFS info (device loop2): balance: start -d -m [ 150.187199][ T6301] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6297] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6310] write(3, "1000", 4 [pid 6309] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6300] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6298] <... futex resumed>) = 0 [pid 6297] <... futex resumed>) = 0 [pid 6310] <... write resumed>) = 4 [pid 6309] <... mmap resumed>) = 0x7f4e2554e000 [pid 6306] <... write resumed>) = 16777216 [pid 6302] <... ioctl resumed>) = 0 [pid 6300] open("./file0", O_RDONLY [pid 6298] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6297] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6310] close(3 [pid 6306] munmap(0x7f4e2554e000, 16777216 [pid 6302] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6300] <... open resumed>) = 3 [pid 6298] <... mmap resumed>) = 0x7f4e2652d000 [pid 6310] <... close resumed>) = 0 [pid 6302] <... futex resumed>) = 1 [pid 6300] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6299] <... futex resumed>) = 0 [pid 6298] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6310] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6302] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6300] <... futex resumed>) = 1 [pid 6299] exit_group(0 [pid 6298] <... mprotect resumed>) = 0 [pid 6297] <... futex resumed>) = 0 [pid 6310] <... futex resumed>) = 0 [pid 6302] <... futex resumed>) = ? [pid 6300] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6299] <... exit_group resumed>) = ? [pid 6298] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6297] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6310] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6302] +++ exited with 0 +++ [pid 6300] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6299] +++ exited with 0 +++ [pid 6298] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6297] <... futex resumed>) = 0 [pid 6310] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6300] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6298] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6297] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6299, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=24 /* 0.24 s */} --- [pid 6310] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6300] <... ioctl resumed>) = 0 [pid 6310] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6300] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6298] <... clone3 resumed> => {parent_tid=[6311]}, 88) = 6311 [pid 6310] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6300] <... futex resumed>) = 1 [pid 6298] rt_sigprocmask(SIG_SETMASK, [], [pid 6297] <... futex resumed>) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR./strace-static-x86_64: Process 6311 attached [pid 6310] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6306] <... munmap resumed>) = 0 [pid 6300] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6298] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6297] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... openat resumed>) = 3 [pid 6311] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6310] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6306] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6300] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6298] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6297] <... futex resumed>) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6311] <... rseq resumed>) = 0 [pid 6310] <... mprotect resumed>) = 0 [pid 6311] set_robust_list(0x7f4e2654d9a0, 24 [pid 6310] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6300] ioctl(3, 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 6298] <... futex resumed>) = 0 [pid 6297] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6311] <... set_robust_list resumed>) = 0 [pid 6310] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6300] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6298] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] close(3 [pid 6311] rt_sigprocmask(SIG_SETMASK, [], [pid 6310] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6300] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... close resumed>) = 0 [pid 6311] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6311] open("./file0", O_RDONLY [pid 6310] <... clone3 resumed> => {parent_tid=[6312]}, 88) = 6312 [pid 6311] <... open resumed>) = 4 [pid 6310] rt_sigprocmask(SIG_SETMASK, [], [pid 6311] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6310] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6311] <... futex resumed>) = 1 [pid 6310] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6306] <... openat resumed>) = 4 [pid 6300] <... futex resumed>) = 1 [pid 6298] <... futex resumed>) = 0 [pid 6297] <... futex resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6311] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6310] <... futex resumed>) = 0 [pid 6300] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6298] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6297] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6311] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6310] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6306] ioctl(4, LOOP_SET_FD, 3 [pid 6300] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6298] <... futex resumed>) = 0 [pid 6297] <... futex resumed>) = 0 [ 150.237476][ T6301] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata ./strace-static-x86_64: Process 6312 attached [pid 6311] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6306] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6300] open("./file0", O_RDONLY [pid 6298] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6297] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6313 [pid 6312] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6311] <... ioctl resumed>) = 0 [pid 6306] ioctl(4, LOOP_CLR_FD [pid 6300] <... open resumed>) = 4 ./strace-static-x86_64: Process 6313 attached [pid 6312] <... rseq resumed>) = 0 [pid 6311] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6306] <... ioctl resumed>) = 0 [pid 6300] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6313] set_robust_list(0x5555558636a0, 24 [pid 6312] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6311] <... futex resumed>) = 1 [pid 6298] <... futex resumed>) = 0 [pid 6300] <... futex resumed>) = 1 [pid 6297] <... futex resumed>) = 0 [pid 6313] <... set_robust_list resumed>) = 0 [pid 6312] <... set_robust_list resumed>) = 0 [pid 6311] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6300] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6297] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6313] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6312] rt_sigprocmask(SIG_SETMASK, [], [pid 6306] ioctl(4, LOOP_SET_FD, 3 [pid 6300] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6297] <... futex resumed>) = 0 [pid 6313] <... prctl resumed>) = 0 [pid 6312] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6306] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6300] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6297] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6313] setpgid(0, 0 [pid 6312] memfd_create("syzkaller", 0 [pid 6306] close(4 [pid 6313] <... setpgid resumed>) = 0 [pid 6312] <... memfd_create resumed>) = 3 [pid 6300] <... ioctl resumed>) = 0 [pid 6306] <... close resumed>) = 0 [pid 6312] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6313] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6306] close(3 [pid 6300] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6301] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6313] <... openat resumed>) = 3 [pid 6300] <... futex resumed>) = 1 [pid 6297] <... futex resumed>) = 0 [ 150.281131][ T6301] BTRFS info (device loop2): 2 enospc errors during balance [ 150.294289][ T6301] BTRFS info (device loop2): balance: ended with status: -28 [pid 6313] write(3, "1000", 4 [pid 6300] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6297] exit_group(0 [pid 6313] <... write resumed>) = 4 [pid 6301] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6300] <... futex resumed>) = ? [pid 6297] <... exit_group resumed>) = ? [pid 6313] close(3 [pid 6301] <... futex resumed>) = 0 [pid 6300] +++ exited with 0 +++ [pid 6313] <... close resumed>) = 0 [pid 6301] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6297] +++ exited with 0 +++ [pid 6313] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6298] exit_group(0 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6297, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=22 /* 0.22 s */} --- [pid 6313] <... futex resumed>) = 0 [pid 6311] <... futex resumed>) = ? [pid 6301] <... futex resumed>) = ? [pid 6298] <... exit_group resumed>) = ? [pid 6313] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6311] +++ exited with 0 +++ [pid 6301] +++ exited with 0 +++ [pid 6298] +++ exited with 0 +++ [pid 6313] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6298, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=24 /* 0.24 s */} --- [pid 6313] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6313] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6313] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5025] <... openat resumed>) = 3 [pid 6313] <... mprotect resumed>) = 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6313] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6313] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5025] close(3 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6313] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5025] <... close resumed>) = 0 [pid 5021] <... openat resumed>) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6313] <... clone3 resumed> => {parent_tid=[6315]}, 88) = 6315 [pid 5021] close(3 [pid 6313] rt_sigprocmask(SIG_SETMASK, [], [pid 5021] <... close resumed>) = 0 [pid 6313] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6316 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6313] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6315 attached ) = 0 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6317 ./strace-static-x86_64: Process 6316 attached [pid 6315] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6313] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6316] set_robust_list(0x5555558636a0, 24 [pid 6315] <... rseq resumed>) = 0 [pid 6316] <... set_robust_list resumed>) = 0 [pid 6315] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6316] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6315] <... set_robust_list resumed>) = 0 ./strace-static-x86_64: Process 6317 attached [pid 6316] <... prctl resumed>) = 0 [pid 6315] rt_sigprocmask(SIG_SETMASK, [], [pid 6317] set_robust_list(0x5555558636a0, 24 [pid 6316] setpgid(0, 0 [pid 6315] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6317] <... set_robust_list resumed>) = 0 [pid 6315] memfd_create("syzkaller", 0 [pid 6317] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6315] <... memfd_create resumed>) = 3 [pid 6317] <... prctl resumed>) = 0 [pid 6315] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6317] setpgid(0, 0 [pid 6315] <... mmap resumed>) = 0x7f4e2554e000 [pid 6317] <... setpgid resumed>) = 0 [pid 6316] <... setpgid resumed>) = 0 [pid 6317] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6316] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6317] <... openat resumed>) = 3 [pid 6316] <... openat resumed>) = 3 [pid 6317] write(3, "1000", 4 [pid 6316] write(3, "1000", 4 [pid 6317] <... write resumed>) = 4 [pid 6316] <... write resumed>) = 4 [pid 6317] close(3 [pid 6316] close(3 [pid 6317] <... close resumed>) = 0 [pid 6316] <... close resumed>) = 0 [pid 6317] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6316] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6317] <... futex resumed>) = 0 [pid 6316] <... futex resumed>) = 0 [pid 6317] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6316] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6317] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6316] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6317] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6316] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6317] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6316] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6317] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6316] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6317] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6316] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6317] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6316] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6317] <... mprotect resumed>) = 0 [pid 6317] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6316] <... mprotect resumed>) = 0 [pid 6317] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6316] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6317] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6316] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6316] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6317] <... clone3 resumed> => {parent_tid=[6318]}, 88) = 6318 [pid 6317] rt_sigprocmask(SIG_SETMASK, [], [pid 6316] <... clone3 resumed> => {parent_tid=[6319]}, 88) = 6319 [pid 6317] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6316] rt_sigprocmask(SIG_SETMASK, [], [pid 6317] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6316] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6317] <... futex resumed>) = 0 [pid 6316] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6318 attached [pid 6317] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6316] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6319 attached [pid 6318] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6316] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6318] <... rseq resumed>) = 0 [pid 6319] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6318] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6319] <... rseq resumed>) = 0 [pid 6318] <... set_robust_list resumed>) = 0 [pid 6319] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6318] rt_sigprocmask(SIG_SETMASK, [], [pid 6319] <... set_robust_list resumed>) = 0 [pid 6318] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6319] rt_sigprocmask(SIG_SETMASK, [], [pid 6318] memfd_create("syzkaller", 0) = 3 [pid 6319] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6318] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6319] memfd_create("syzkaller", 0 [pid 6318] <... mmap resumed>) = 0x7f4e2554e000 [pid 6319] <... memfd_create resumed>) = 3 [pid 6319] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6306] <... close resumed>) = 0 [pid 6306] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6305] <... futex resumed>) = 0 [pid 6305] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6306] open("./file0", O_RDONLY [pid 6305] <... futex resumed>) = 0 [pid 6306] <... open resumed>) = 3 [pid 6305] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6306] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6305] <... futex resumed>) = 0 [pid 6305] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6309] 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 6306] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6305] <... futex resumed>) = 0 [pid 6306] <... ioctl resumed>) = 0 [pid 6305] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6306] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6305] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6306] <... futex resumed>) = 0 [pid 6305] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6306] ioctl(3, 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 6305] <... futex resumed>) = 0 [pid 6305] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6305] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6305] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6305] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6305] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [ 150.570701][ T6306] BTRFS info (device loop2): balance: start -d -m [ 150.581744][ T6306] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6305] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6320]}, 88) = 6320 [pid 6305] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6305] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6305] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6320 attached [pid 6320] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6320] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6320] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6320] open("./file0", O_RDONLY) = 4 [pid 6320] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6305] <... futex resumed>) = 0 [pid 6320] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6305] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6320] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6305] <... futex resumed>) = 0 [pid 6320] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6305] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6320] <... ioctl resumed>) = 0 [pid 6320] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6305] <... futex resumed>) = 0 [ 150.634278][ T6306] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6320] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6312] 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 6306] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6306] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 150.684122][ T6306] BTRFS info (device loop2): 2 enospc errors during balance [ 150.712408][ T6306] BTRFS info (device loop2): balance: ended with status: -28 [pid 6306] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6305] exit_group(0 [pid 6320] <... futex resumed>) = ? [pid 6306] <... futex resumed>) = ? [pid 6305] <... exit_group resumed>) = ? [pid 6320] +++ exited with 0 +++ [pid 6306] +++ exited with 0 +++ [pid 6305] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6305, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=27 /* 0.27 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3 [pid 6319] 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 5022] <... close resumed>) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6321 ./strace-static-x86_64: Process 6321 attached [pid 6321] set_robust_list(0x5555558636a0, 24) = 0 [pid 6321] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6321] setpgid(0, 0) = 0 [pid 6321] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6321] write(3, "1000", 4) = 4 [pid 6315] 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 6321] close(3) = 0 [pid 6321] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6321] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6321] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6321] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6321] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6321] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6321] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6323]}, 88) = 6323 [pid 6321] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6321] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6321] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6323 attached [pid 6323] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6323] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6323] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6323] memfd_create("syzkaller", 0) = 3 [pid 6323] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6318] 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 6309] <... write resumed>) = 16777216 [pid 6309] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6309] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6309] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6309] close(3) = 0 [pid 6309] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6309] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 150.969999][ T6309] loop5: detected capacity change from 0 to 32768 [ 151.001407][ T6309] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6309) [pid 6309] ioctl(4, LOOP_CLR_FD [pid 6312] <... write resumed>) = 16777216 [pid 6312] munmap(0x7f4e2554e000, 16777216 [pid 6315] <... write resumed>) = 16777216 [pid 6315] munmap(0x7f4e2554e000, 16777216 [pid 6319] <... write resumed>) = 16777216 [pid 6319] munmap(0x7f4e2554e000, 16777216 [pid 6315] <... munmap resumed>) = 0 [pid 6312] <... munmap resumed>) = 0 [pid 6312] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6312] ioctl(4, LOOP_SET_FD, 3 [pid 6315] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6315] ioctl(4, LOOP_SET_FD, 3 [pid 6319] <... munmap resumed>) = 0 [pid 6318] <... write resumed>) = 16777216 [pid 6319] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6319] ioctl(4, LOOP_SET_FD, 3 [pid 6323] 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 6319] <... ioctl resumed>) = 0 [pid 6319] close(3) = 0 [pid 6312] <... ioctl resumed>) = 0 [pid 6319] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6312] close(3 [pid 6319] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6312] <... close resumed>) = 0 [pid 6318] munmap(0x7f4e2554e000, 16777216 [pid 6312] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6312] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6315] <... ioctl resumed>) = 0 [pid 6315] close(3) = 0 [pid 6315] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6318] <... munmap resumed>) = 0 [pid 6315] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6309] <... ioctl resumed>) = 0 [ 151.213452][ T6312] loop0: detected capacity change from 0 to 32768 [ 151.215028][ T6315] loop4: detected capacity change from 0 to 32768 [ 151.238703][ T6319] loop3: detected capacity change from 0 to 32768 [ 151.252895][ T6319] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6319) [pid 6318] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6319] <... mount resumed>) = -1 EEXIST (File exists) [pid 6318] <... openat resumed>) = 4 [pid 6312] <... mount resumed>) = -1 EEXIST (File exists) [pid 6309] close(4 [pid 6319] ioctl(4, LOOP_CLR_FD [pid 6312] ioctl(4, LOOP_CLR_FD [pid 6309] <... close resumed>) = 0 [pid 6309] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6309] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6308] <... futex resumed>) = 0 [pid 6308] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6309] <... futex resumed>) = 0 [pid 6308] <... futex resumed>) = 1 [pid 6309] open("./file0", O_RDONLY [pid 6308] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6318] ioctl(4, LOOP_SET_FD, 3 [pid 6315] <... mount resumed>) = -1 EEXIST (File exists) [pid 6309] <... open resumed>) = 3 [pid 6309] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6309] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6308] <... futex resumed>) = 0 [pid 6318] <... ioctl resumed>) = 0 [pid 6315] ioctl(4, LOOP_CLR_FD [pid 6308] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6318] close(3 [pid 6309] <... futex resumed>) = 0 [pid 6308] <... futex resumed>) = 1 [pid 6318] <... close resumed>) = 0 [pid 6309] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6308] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6318] mkdir("./file0", 0777 [pid 6309] <... ioctl resumed>) = 0 [pid 6318] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6309] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6318] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6309] <... futex resumed>) = 1 [pid 6308] <... futex resumed>) = 0 [ 151.271254][ T6312] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6312) [ 151.283008][ T6315] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6315) [ 151.301336][ T6318] loop1: detected capacity change from 0 to 32768 [pid 6309] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6318] <... mount resumed>) = -1 EEXIST (File exists) [pid 6308] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6318] ioctl(4, LOOP_CLR_FD [pid 6309] <... futex resumed>) = 0 [pid 6308] <... futex resumed>) = 1 [pid 6309] ioctl(3, 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}} [ 151.318912][ T6318] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6318) [ 151.358528][ T6309] BTRFS info (device loop2): balance: start -d -m [ 151.365415][ T6309] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6308] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6308] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6308] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6308] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6308] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6308] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6324]}, 88) = 6324 [pid 6308] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6308] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6308] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6324 attached [ 151.440866][ T6309] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6324] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6324] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6324] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6324] open("./file0", O_RDONLY) = 4 [pid 6324] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6324] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6308] <... futex resumed>) = 0 [pid 6308] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6324] <... futex resumed>) = 0 [pid 6308] <... futex resumed>) = 1 [pid 6324] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6308] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6324] <... ioctl resumed>) = 0 [pid 6324] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6308] <... futex resumed>) = 0 [pid 6324] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6315] <... ioctl resumed>) = 0 [pid 6315] close(4) = 0 [pid 6315] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6313] <... futex resumed>) = 0 [pid 6315] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6313] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6315] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6313] <... futex resumed>) = 0 [pid 6315] open("./file0", O_RDONLY [pid 6313] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6315] <... open resumed>) = 3 [pid 6315] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6313] <... futex resumed>) = 0 [pid 6315] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6313] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6323] <... write resumed>) = 16777216 [pid 6315] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6313] <... futex resumed>) = 0 [pid 6323] munmap(0x7f4e2554e000, 16777216 [pid 6319] <... ioctl resumed>) = 0 [pid 6315] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6313] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6309] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6312] <... ioctl resumed>) = 0 [pid 6312] close(4) = 0 [pid 6312] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6310] <... futex resumed>) = 0 [pid 6315] <... ioctl resumed>) = 0 [pid 6310] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6309] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [ 151.484370][ T6309] BTRFS info (device loop2): 2 enospc errors during balance [ 151.508813][ T6309] BTRFS info (device loop2): balance: ended with status: -28 [pid 6315] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6312] open("./file0", O_RDONLY [pid 6310] <... futex resumed>) = 0 [pid 6309] <... futex resumed>) = 0 [pid 6308] exit_group(0 [pid 6324] <... futex resumed>) = ? [pid 6323] <... munmap resumed>) = 0 [pid 6315] <... futex resumed>) = 1 [pid 6313] <... futex resumed>) = 0 [pid 6312] <... open resumed>) = 3 [pid 6310] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6308] <... exit_group resumed>) = ? [pid 6324] +++ exited with 0 +++ [pid 6323] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6319] close(4 [pid 6315] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6313] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6312] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6309] +++ exited with 0 +++ [pid 6323] <... openat resumed>) = 4 [pid 6319] <... close resumed>) = 0 [pid 6315] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6313] <... futex resumed>) = 0 [pid 6312] <... futex resumed>) = 1 [pid 6310] <... futex resumed>) = 0 [pid 6308] +++ exited with 0 +++ [pid 6319] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6313] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6312] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6308, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=29 /* 0.29 s */} --- [pid 6319] <... futex resumed>) = 1 [pid 6316] <... futex resumed>) = 0 [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 6319] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6316] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6315] ioctl(3, 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 6310] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... restart_syscall resumed>) = 0 [pid 6323] ioctl(4, LOOP_SET_FD, 3 [pid 6319] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6316] <... futex resumed>) = 0 [pid 6319] open("./file0", O_RDONLY [pid 6316] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6312] <... futex resumed>) = 0 [pid 6310] <... futex resumed>) = 1 [pid 6319] <... open resumed>) = 3 [pid 6312] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6319] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6312] <... ioctl resumed>) = 0 [pid 5027] <... openat resumed>) = 3 [pid 6319] <... futex resumed>) = 1 [pid 6316] <... futex resumed>) = 0 [pid 6312] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6319] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6316] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6312] <... futex resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6319] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6316] <... futex resumed>) = 0 [pid 6312] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6310] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] close(3 [pid 6319] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6316] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] <... close resumed>) = 0 [pid 6319] <... ioctl resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6319] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6316] <... futex resumed>) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6325 [pid 6319] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6316] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6319] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6316] <... futex resumed>) = 0 [pid 6319] ioctl(3, 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 6316] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6319] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6323] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6319] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6310] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6319] <... futex resumed>) = 1 [pid 6316] <... futex resumed>) = 0 [pid 6319] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6316] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6319] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6316] <... futex resumed>) = 0 [pid 6319] open("./file0", O_RDONLY [pid 6316] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6325 attached [pid 6319] <... open resumed>) = 4 [pid 6325] set_robust_list(0x5555558636a0, 24 [pid 6323] ioctl(4, LOOP_CLR_FD [pid 6319] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6325] <... set_robust_list resumed>) = 0 [pid 6319] <... futex resumed>) = 1 [pid 6316] <... futex resumed>) = 0 [pid 6310] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6325] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6319] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6316] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6325] <... prctl resumed>) = 0 [pid 6319] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6316] <... futex resumed>) = 0 [pid 6325] setpgid(0, 0 [pid 6319] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6316] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6325] <... setpgid resumed>) = 0 [pid 6325] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6325] write(3, "1000", 4) = 4 [pid 6325] close(3) = 0 [pid 6325] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6325] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6323] <... ioctl resumed>) = 0 [pid 6312] <... futex resumed>) = 0 [pid 6310] <... futex resumed>) = 1 [pid 6325] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6319] <... ioctl resumed>) = 0 [pid 6312] ioctl(3, 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 6310] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6325] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6319] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6312] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6325] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6323] ioctl(4, LOOP_SET_FD, 3 [pid 6319] <... futex resumed>) = 1 [pid 6316] <... futex resumed>) = 0 [pid 6312] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6325] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6323] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6319] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6316] exit_group(0 [pid 6312] <... futex resumed>) = 1 [pid 6310] <... futex resumed>) = 0 [pid 6325] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6323] close(4 [pid 6319] <... futex resumed>) = ? [pid 6316] <... exit_group resumed>) = ? [pid 6312] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6310] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6325] <... mprotect resumed>) = 0 [pid 6323] <... close resumed>) = 0 [pid 6319] +++ exited with 0 +++ [pid 6316] +++ exited with 0 +++ [pid 6313] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6312] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6310] <... futex resumed>) = 0 [pid 6325] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6323] close(3 [pid 6313] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6312] open("./file0", O_RDONLY [pid 6310] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6316, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=26 /* 0.26 s */} --- [pid 6325] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6313] <... futex resumed>) = 0 [pid 6312] <... open resumed>) = 4 [pid 6325] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6313] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6312] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6313] <... mmap resumed>) = 0x7f4e2652d000 [pid 6312] <... futex resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6325] <... clone3 resumed> => {parent_tid=[6326]}, 88) = 6326 [pid 6313] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6312] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5025] <... openat resumed>) = 3 [pid 6325] rt_sigprocmask(SIG_SETMASK, [], [pid 6313] <... mprotect resumed>) = 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6325] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6313] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6310] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6325] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6313] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6310] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] close(3 [pid 6325] <... futex resumed>) = 0 [pid 6313] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5025] <... close resumed>) = 0 [pid 6325] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6326 attached [pid 6313] <... clone3 resumed> => {parent_tid=[6327]}, 88) = 6327 [pid 6312] <... futex resumed>) = 0 [pid 6310] <... futex resumed>) = 1 [pid 6326] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6313] rt_sigprocmask(SIG_SETMASK, [], [pid 6312] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6310] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6328 ./strace-static-x86_64: Process 6328 attached [pid 6326] <... rseq resumed>) = 0 [pid 6313] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6312] <... ioctl resumed>) = 0 [pid 6326] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6313] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6312] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6327 attached [pid 6328] set_robust_list(0x5555558636a0, 24 [pid 6326] <... set_robust_list resumed>) = 0 [pid 6313] <... futex resumed>) = 0 [pid 6312] <... futex resumed>) = 1 [pid 6310] <... futex resumed>) = 0 [pid 6328] <... set_robust_list resumed>) = 0 [pid 6327] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6326] rt_sigprocmask(SIG_SETMASK, [], [pid 6313] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6312] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6310] exit_group(0 [pid 6327] <... rseq resumed>) = 0 [pid 6326] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6312] <... futex resumed>) = ? [pid 6310] <... exit_group resumed>) = ? [pid 6327] set_robust_list(0x7f4e2654d9a0, 24 [pid 6326] memfd_create("syzkaller", 0 [pid 6312] +++ exited with 0 +++ [pid 6327] <... set_robust_list resumed>) = 0 [pid 6326] <... memfd_create resumed>) = 3 [pid 6310] +++ exited with 0 +++ [pid 6327] rt_sigprocmask(SIG_SETMASK, [], [pid 6326] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6327] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 151.579179][ T6315] BTRFS info (device loop2): balance: start -d -m [ 151.586389][ T6315] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 151.602067][ T6315] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6326] <... mmap resumed>) = 0x7f4e2554e000 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6310, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=25 /* 0.25 s */} --- [pid 6328] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6327] open("./file0", O_RDONLY [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 6327] <... open resumed>) = 4 [pid 5020] <... restart_syscall resumed>) = 0 [pid 6327] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6313] <... futex resumed>) = 0 [pid 6327] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6313] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6327] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6313] <... futex resumed>) = 0 [pid 5020] <... openat resumed>) = 3 [pid 6328] <... prctl resumed>) = 0 [pid 6327] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6313] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6328] setpgid(0, 0 [pid 6327] <... ioctl resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6328] <... setpgid resumed>) = 0 [pid 6327] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6318] <... ioctl resumed>) = 0 [pid 5020] close(3 [pid 6328] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6327] <... futex resumed>) = 1 [pid 6318] close(4 [pid 6313] <... futex resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 6328] <... openat resumed>) = 3 [pid 6327] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6318] <... close resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6328] write(3, "1000", 4 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6329 ./strace-static-x86_64: Process 6329 attached [pid 6329] set_robust_list(0x5555558636a0, 24) = 0 [pid 6329] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6318] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6328] <... write resumed>) = 4 [pid 6329] <... prctl resumed>) = 0 [pid 6318] <... futex resumed>) = 1 [pid 6317] <... futex resumed>) = 0 [pid 6328] close(3 [pid 6329] setpgid(0, 0 [pid 6328] <... close resumed>) = 0 [pid 6318] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6317] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6329] <... setpgid resumed>) = 0 [pid 6328] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6318] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6317] <... futex resumed>) = 0 [pid 6329] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6328] <... futex resumed>) = 0 [pid 6318] open("./file0", O_RDONLY [pid 6317] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6329] <... openat resumed>) = 3 [pid 6328] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6318] <... open resumed>) = 3 [pid 6329] write(3, "1000", 4 [pid 6328] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6318] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6329] <... write resumed>) = 4 [pid 6329] close(3) = 0 [pid 6329] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6328] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6318] <... futex resumed>) = 1 [pid 6317] <... futex resumed>) = 0 [pid 6329] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6328] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6318] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6317] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6329] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6328] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6318] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6317] <... futex resumed>) = 0 [pid 6329] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6328] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6318] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6317] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6329] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6328] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6318] <... ioctl resumed>) = 0 [pid 6329] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6328] <... mprotect resumed>) = 0 [pid 6318] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6329] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6328] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6318] <... futex resumed>) = 1 [pid 6317] <... futex resumed>) = 0 [pid 6329] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6328] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6318] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6317] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6329] <... mprotect resumed>) = 0 [pid 6328] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6318] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6317] <... futex resumed>) = 0 [pid 6329] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6318] ioctl(3, 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 6317] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6329] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6328] <... clone3 resumed> => {parent_tid=[6330]}, 88) = 6330 [pid 6315] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [ 151.660452][ T6315] BTRFS info (device loop2): 2 enospc errors during balance [ 151.695262][ T6315] BTRFS info (device loop2): balance: ended with status: -28 [pid 6329] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6328] rt_sigprocmask(SIG_SETMASK, [], [pid 6329] <... clone3 resumed> => {parent_tid=[6331]}, 88) = 6331 [pid 6329] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6329] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6329] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6328] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6315] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6330 attached [pid 6328] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6315] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6331 attached [pid 6330] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6328] <... futex resumed>) = 0 [pid 6315] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6313] exit_group(0 [pid 6331] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6327] <... futex resumed>) = ? [pid 6313] <... exit_group resumed>) = ? [pid 6331] <... rseq resumed>) = 0 [pid 6327] +++ exited with 0 +++ [pid 6331] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6331] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6331] memfd_create("syzkaller", 0) = 3 [pid 6331] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6330] <... rseq resumed>) = 0 [pid 6328] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6315] <... futex resumed>) = ? [pid 6330] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6315] +++ exited with 0 +++ [pid 6313] +++ exited with 0 +++ [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6313, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=36 /* 0.36 s */} --- [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 6330] <... set_robust_list resumed>) = 0 [pid 5026] close(3 [pid 6330] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] <... close resumed>) = 0 [pid 6330] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6330] memfd_create("syzkaller", 0) = 3 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6332 [pid 6330] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6317] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6330] <... mmap resumed>) = 0x7f4e2554e000 [pid 6317] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6332 attached [pid 6332] set_robust_list(0x5555558636a0, 24 [pid 6317] <... futex resumed>) = 0 [pid 6332] <... set_robust_list resumed>) = 0 [pid 6332] prctl(PR_SET_PDEATHSIG, SIGKILL [ 151.741517][ T6318] BTRFS info (device loop2): balance: start -d -m [ 151.751076][ T6318] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6317] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6332] <... prctl resumed>) = 0 [pid 6317] <... mmap resumed>) = 0x7f4e2652d000 [pid 6332] setpgid(0, 0 [pid 6317] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6332] <... setpgid resumed>) = 0 [pid 6317] <... mprotect resumed>) = 0 [pid 6332] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6317] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6332] <... openat resumed>) = 3 [pid 6332] write(3, "1000", 4) = 4 [pid 6332] close(3) = 0 [pid 6332] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6332] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6332] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6332] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6317] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6332] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6317] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6332] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6317] <... clone3 resumed> => {parent_tid=[6334]}, 88) = 6334 [pid 6332] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6317] rt_sigprocmask(SIG_SETMASK, [], [pid 6332] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6317] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6334 attached [pid 6332] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6317] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6334] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6317] <... futex resumed>) = 0 [pid 6334] <... rseq resumed>) = 0 [pid 6332] <... clone3 resumed> => {parent_tid=[6335]}, 88) = 6335 [pid 6317] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6334] set_robust_list(0x7f4e2654d9a0, 24 [pid 6332] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6335 attached [pid 6334] <... set_robust_list resumed>) = 0 [pid 6332] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 151.809309][ T6318] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6334] rt_sigprocmask(SIG_SETMASK, [], [pid 6332] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6335] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6334] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6332] <... futex resumed>) = 0 [pid 6335] <... rseq resumed>) = 0 [pid 6334] open("./file0", O_RDONLY [pid 6332] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6334] <... open resumed>) = 4 [pid 6334] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6317] <... futex resumed>) = 0 [pid 6335] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6334] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6317] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6334] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6323] <... close resumed>) = 0 [pid 6317] <... futex resumed>) = 0 [pid 6334] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6317] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6334] <... ioctl resumed>) = 0 [pid 6334] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6323] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6317] <... futex resumed>) = 0 [pid 6335] <... set_robust_list resumed>) = 0 [pid 6334] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6323] <... futex resumed>) = 1 [pid 6321] <... futex resumed>) = 0 [pid 6318] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6335] rt_sigprocmask(SIG_SETMASK, [], [pid 6323] open("./file0", O_RDONLY [pid 6321] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6318] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6335] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6323] <... open resumed>) = 3 [pid 6321] <... futex resumed>) = 0 [pid 6318] <... futex resumed>) = 0 [pid 6335] memfd_create("syzkaller", 0 [pid 6323] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6321] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6318] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6317] exit_group(0 [pid 6335] <... memfd_create resumed>) = 3 [pid 6334] <... futex resumed>) = ? [pid 6323] <... futex resumed>) = 0 [pid 6321] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6318] <... futex resumed>) = ? [pid 6317] <... exit_group resumed>) = ? [pid 6335] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6334] +++ exited with 0 +++ [pid 6323] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6321] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6318] +++ exited with 0 +++ [pid 6317] +++ exited with 0 +++ [pid 6335] <... mmap resumed>) = 0x7f4e2554e000 [pid 6323] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6321] <... futex resumed>) = 0 [pid 6323] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6321] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6317, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- [pid 6323] <... ioctl resumed>) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6323] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6321] <... futex resumed>) = 0 [ 151.855879][ T6318] BTRFS info (device loop2): 2 enospc errors during balance [ 151.867337][ T6318] BTRFS info (device loop2): balance: ended with status: -28 [pid 5021] <... openat resumed>) = 3 [pid 6323] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6321] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6323] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6321] <... futex resumed>) = 0 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6323] ioctl(3, 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 6321] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6336 ./strace-static-x86_64: Process 6336 attached [pid 6336] set_robust_list(0x5555558636a0, 24) = 0 [pid 6336] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6336] setpgid(0, 0) = 0 [pid 6336] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6336] write(3, "1000", 4) = 4 [pid 6336] close(3 [pid 6321] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6336] <... close resumed>) = 0 [pid 6321] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6336] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6321] <... futex resumed>) = 0 [pid 6336] <... futex resumed>) = 0 [pid 6321] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6336] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6321] <... mmap resumed>) = 0x7f4e2652d000 [pid 6336] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6321] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6336] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6321] <... mprotect resumed>) = 0 [pid 6336] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6321] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6336] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6321] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6336] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [ 151.937476][ T6323] BTRFS info (device loop2): balance: start -d -m [ 151.944575][ T6323] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6321] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6336] <... mprotect resumed>) = 0 [pid 6336] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6321] <... clone3 resumed> => {parent_tid=[6337]}, 88) = 6337 [pid 6336] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6321] rt_sigprocmask(SIG_SETMASK, [], [pid 6336] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6321] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6321] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6337 attached [pid 6336] <... clone3 resumed> => {parent_tid=[6338]}, 88) = 6338 [pid 6321] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6338 attached [pid 6337] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6336] rt_sigprocmask(SIG_SETMASK, [], [pid 6338] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6337] <... rseq resumed>) = 0 [pid 6321] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6338] <... rseq resumed>) = 0 [pid 6337] set_robust_list(0x7f4e2654d9a0, 24 [pid 6336] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6337] <... set_robust_list resumed>) = 0 [pid 6337] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6337] open("./file0", O_RDONLY) = 4 [pid 6337] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6321] <... futex resumed>) = 0 [pid 6337] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6321] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6338] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6337] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6336] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6321] <... futex resumed>) = 0 [pid 6338] <... set_robust_list resumed>) = 0 [pid 6337] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6336] <... futex resumed>) = 0 [pid 6321] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6338] rt_sigprocmask(SIG_SETMASK, [], [pid 6337] <... ioctl resumed>) = 0 [pid 6336] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6338] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6337] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6326] 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 6338] memfd_create("syzkaller", 0 [pid 6337] <... futex resumed>) = 1 [pid 6321] <... futex resumed>) = 0 [pid 6338] <... memfd_create resumed>) = 3 [pid 6337] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6338] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 151.988018][ T6323] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 152.027669][ T6323] BTRFS info (device loop2): 2 enospc errors during balance [pid 6323] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6323] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6321] exit_group(0 [pid 6337] <... futex resumed>) = ? [pid 6323] <... futex resumed>) = ? [ 152.065996][ T6323] BTRFS info (device loop2): balance: ended with status: -28 [pid 6321] <... exit_group resumed>) = ? [pid 6337] +++ exited with 0 +++ [pid 6323] +++ exited with 0 +++ [pid 6321] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6321, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=25 /* 0.25 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6339 ./strace-static-x86_64: Process 6339 attached [pid 6339] set_robust_list(0x5555558636a0, 24) = 0 [pid 6339] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6339] setpgid(0, 0) = 0 [pid 6339] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6339] write(3, "1000", 4) = 4 [pid 6339] close(3) = 0 [pid 6339] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6339] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6339] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6339] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6331] 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 6339] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6339] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6339] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6339] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6340]}, 88) = 6340 [pid 6339] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6339] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6339] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6330] 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./strace-static-x86_64: Process 6340 attached [pid 6340] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6340] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6340] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6340] memfd_create("syzkaller", 0) = 3 [pid 6340] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6335] 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 6338] 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 6326] <... write resumed>) = 16777216 [pid 6326] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6326] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6326] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6326] close(3) = 0 [pid 6326] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6326] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6340] 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 6331] <... write resumed>) = 16777216 [pid 6331] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6331] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 152.498533][ T6326] loop5: detected capacity change from 0 to 32768 [ 152.527382][ T6326] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6326) [pid 6331] ioctl(4, LOOP_SET_FD, 3 [pid 6330] <... write resumed>) = 16777216 [pid 6330] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6331] <... ioctl resumed>) = 0 [pid 6331] close(3) = 0 [pid 6326] <... mount resumed>) = -1 EEXIST (File exists) [pid 6331] mkdir("./file0", 0777 [pid 6326] ioctl(4, LOOP_CLR_FD [pid 6331] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6331] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6330] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6330] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6330] close(3) = 0 [pid 6330] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6330] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6331] <... mount resumed>) = -1 EEXIST (File exists) [ 152.569051][ T6331] loop0: detected capacity change from 0 to 32768 [ 152.586673][ T6331] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6331) [ 152.588410][ T6330] loop3: detected capacity change from 0 to 32768 [pid 6331] ioctl(4, LOOP_CLR_FD [pid 6335] <... write resumed>) = 16777216 [pid 6335] munmap(0x7f4e2554e000, 16777216 [pid 6330] <... mount resumed>) = -1 EEXIST (File exists) [ 152.616757][ T6330] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6330) [pid 6330] ioctl(4, LOOP_CLR_FD [pid 6335] <... munmap resumed>) = 0 [pid 6335] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6335] ioctl(4, LOOP_SET_FD, 3 [pid 6338] <... write resumed>) = 16777216 [pid 6338] munmap(0x7f4e2554e000, 16777216 [pid 6335] <... ioctl resumed>) = 0 [pid 6338] <... munmap resumed>) = 0 [ 152.684539][ T6335] loop4: detected capacity change from 0 to 32768 [pid 6335] close(3 [pid 6338] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6335] <... close resumed>) = 0 [pid 6338] <... openat resumed>) = 4 [pid 6335] mkdir("./file0", 0777 [pid 6338] ioctl(4, LOOP_SET_FD, 3 [pid 6335] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6335] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6338] <... ioctl resumed>) = 0 [pid 6338] close(3) = 0 [pid 6338] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6338] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6335] <... mount resumed>) = -1 EEXIST (File exists) [pid 6335] ioctl(4, LOOP_CLR_FD [pid 6338] <... mount resumed>) = -1 EEXIST (File exists) [pid 6338] ioctl(4, LOOP_CLR_FD [pid 6340] <... write resumed>) = 16777216 [pid 6326] <... ioctl resumed>) = 0 [pid 6340] munmap(0x7f4e2554e000, 16777216 [ 152.754074][ T6338] loop1: detected capacity change from 0 to 32768 [ 152.762107][ T6335] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6335) [ 152.790914][ T6338] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6338) [pid 6326] close(4 [pid 6340] <... munmap resumed>) = 0 [pid 6331] <... ioctl resumed>) = 0 [pid 6326] <... close resumed>) = 0 [pid 6340] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6331] close(4 [pid 6326] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6340] <... openat resumed>) = 4 [pid 6331] <... close resumed>) = 0 [pid 6326] <... futex resumed>) = 1 [pid 6325] <... futex resumed>) = 0 [pid 6340] ioctl(4, LOOP_SET_FD, 3 [pid 6331] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6326] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6325] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6340] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6331] <... futex resumed>) = 1 [pid 6329] <... futex resumed>) = 0 [pid 6326] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6325] <... futex resumed>) = 0 [pid 6340] ioctl(4, LOOP_CLR_FD [pid 6331] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6329] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6326] open("./file0", O_RDONLY [pid 6325] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6340] <... ioctl resumed>) = 0 [pid 6331] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6329] <... futex resumed>) = 0 [pid 6326] <... open resumed>) = 3 [pid 6331] open("./file0", O_RDONLY [pid 6329] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6326] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6331] <... open resumed>) = 3 [pid 6326] <... futex resumed>) = 1 [pid 6325] <... futex resumed>) = 0 [pid 6340] ioctl(4, LOOP_SET_FD, 3 [pid 6331] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6326] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6325] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6340] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6331] <... futex resumed>) = 1 [pid 6329] <... futex resumed>) = 0 [pid 6326] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6325] <... futex resumed>) = 0 [pid 6340] close(4 [pid 6331] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6329] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6326] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6325] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6340] <... close resumed>) = 0 [pid 6331] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6329] <... futex resumed>) = 0 [pid 6326] <... ioctl resumed>) = 0 [pid 6340] close(3 [pid 6331] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6329] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6326] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6325] <... futex resumed>) = 0 [pid 6326] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6325] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6326] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6325] <... futex resumed>) = 0 [pid 6326] ioctl(3, 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 6325] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6331] <... ioctl resumed>) = 0 [pid 6330] <... ioctl resumed>) = 0 [pid 6331] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6330] close(4 [pid 6331] <... futex resumed>) = 1 [pid 6330] <... close resumed>) = 0 [pid 6329] <... futex resumed>) = 0 [pid 6331] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6330] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6329] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6331] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6330] <... futex resumed>) = 1 [pid 6329] <... futex resumed>) = 0 [pid 6328] <... futex resumed>) = 0 [pid 6331] ioctl(3, 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 6330] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6329] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6328] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6331] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6330] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6328] <... futex resumed>) = 0 [pid 6331] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6330] open("./file0", O_RDONLY [pid 6328] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6331] <... futex resumed>) = 1 [pid 6330] <... open resumed>) = 3 [pid 6329] <... futex resumed>) = 0 [pid 6331] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6330] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6329] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6331] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6330] <... futex resumed>) = 1 [pid 6329] <... futex resumed>) = 0 [pid 6328] <... futex resumed>) = 0 [pid 6331] open("./file0", O_RDONLY [pid 6330] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6329] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6328] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6331] <... open resumed>) = 4 [pid 6330] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6328] <... futex resumed>) = 0 [pid 6331] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6330] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6328] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6331] <... futex resumed>) = 1 [pid 6330] <... ioctl resumed>) = 0 [pid 6329] <... futex resumed>) = 0 [pid 6331] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6330] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6329] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6331] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6330] <... futex resumed>) = 1 [pid 6329] <... futex resumed>) = 0 [pid 6328] <... futex resumed>) = 0 [pid 6331] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6330] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6329] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6328] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6330] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6328] <... futex resumed>) = 0 [pid 6330] ioctl(3, 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 6328] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6331] <... ioctl resumed>) = 0 [pid 6330] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6325] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6331] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6330] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6325] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6331] <... futex resumed>) = 1 [pid 6330] <... futex resumed>) = 1 [pid 6329] <... futex resumed>) = 0 [pid 6328] <... futex resumed>) = 0 [pid 6325] <... futex resumed>) = 0 [pid 6331] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 152.892437][ T6326] BTRFS info (device loop2): balance: start -d -m [ 152.908659][ T6326] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6330] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6329] exit_group(0 [pid 6328] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6325] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6331] <... futex resumed>) = ? [pid 6330] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6329] <... exit_group resumed>) = ? [pid 6328] <... futex resumed>) = 0 [pid 6325] <... mmap resumed>) = 0x7f4e2652d000 [pid 6331] +++ exited with 0 +++ [pid 6330] open("./file0", O_RDONLY [pid 6325] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6330] <... open resumed>) = 4 [pid 6329] +++ exited with 0 +++ [pid 6328] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6325] <... mprotect resumed>) = 0 [pid 6330] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6328] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6325] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6329, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=26 /* 0.26 s */} --- [pid 6330] <... futex resumed>) = 0 [pid 6328] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6325] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6330] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6328] <... futex resumed>) = 0 [pid 6325] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6330] <... ioctl resumed>) = 0 [pid 6328] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6330] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6328] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6325] <... clone3 resumed> => {parent_tid=[6341]}, 88) = 6341 [pid 6330] <... futex resumed>) = 0 [pid 6328] exit_group(0 [pid 6325] rt_sigprocmask(SIG_SETMASK, [], [pid 6328] <... exit_group resumed>) = ? [pid 6325] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6330] +++ exited with 0 +++ [pid 6325] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6328] +++ exited with 0 +++ [pid 6325] <... futex resumed>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6325] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6341 attached [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6328, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=27 /* 0.27 s */} --- [pid 5020] <... openat resumed>) = 3 [pid 6341] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6341] <... rseq resumed>) = 0 [pid 5025] <... restart_syscall resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6341] set_robust_list(0x7f4e2654d9a0, 24 [pid 5020] close(3 [pid 6341] <... set_robust_list resumed>) = 0 [pid 6341] rt_sigprocmask(SIG_SETMASK, [], [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5020] <... close resumed>) = 0 [pid 6341] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5025] <... openat resumed>) = 3 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6341] open("./file0", O_RDONLY [pid 6335] <... ioctl resumed>) = 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6341] <... open resumed>) = 4 [pid 6335] close(4 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6341] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6335] <... close resumed>) = 0 [ 152.963100][ T6326] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5025] close(3 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6342 [pid 6341] <... futex resumed>) = 1 [pid 6335] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6325] <... futex resumed>) = 0 [pid 5025] <... close resumed>) = 0 ./strace-static-x86_64: Process 6342 attached [pid 6341] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6335] <... futex resumed>) = 1 [pid 6332] <... futex resumed>) = 0 [pid 6325] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6341] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6335] open("./file0", O_RDONLY [pid 6332] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6325] <... futex resumed>) = 0 [pid 6342] set_robust_list(0x5555558636a0, 24 [pid 6341] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6335] <... open resumed>) = 3 [pid 6332] <... futex resumed>) = 0 [pid 6325] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6343 [pid 6342] <... set_robust_list resumed>) = 0 [pid 6341] <... ioctl resumed>) = 0 [pid 6335] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6332] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6343 attached [pid 6342] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6341] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6335] <... futex resumed>) = 0 [pid 6332] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6343] set_robust_list(0x5555558636a0, 24 [pid 6342] <... prctl resumed>) = 0 [pid 6341] <... futex resumed>) = 1 [pid 6335] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6332] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6325] <... futex resumed>) = 0 [pid 6343] <... set_robust_list resumed>) = 0 [pid 6342] setpgid(0, 0 [pid 6341] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6338] <... ioctl resumed>) = 0 [pid 6335] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6332] <... futex resumed>) = 0 [pid 6343] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6342] <... setpgid resumed>) = 0 [pid 6340] <... close resumed>) = 0 [pid 6338] close(4 [pid 6335] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6332] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6343] <... prctl resumed>) = 0 [pid 6342] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6340] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6338] <... close resumed>) = 0 [pid 6335] <... ioctl resumed>) = 0 [pid 6343] setpgid(0, 0 [pid 6342] <... openat resumed>) = 3 [pid 6340] <... futex resumed>) = 1 [pid 6339] <... futex resumed>) = 0 [pid 6338] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6335] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6343] <... setpgid resumed>) = 0 [pid 6342] write(3, "1000", 4 [pid 6340] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6339] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6338] <... futex resumed>) = 1 [pid 6336] <... futex resumed>) = 0 [pid 6335] <... futex resumed>) = 1 [pid 6332] <... futex resumed>) = 0 [pid 6343] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6342] <... write resumed>) = 4 [pid 6340] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6339] <... futex resumed>) = 0 [pid 6338] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6336] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6335] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6332] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6343] <... openat resumed>) = 3 [pid 6342] close(3 [pid 6340] open("./file0", O_RDONLY [pid 6339] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6338] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6336] <... futex resumed>) = 0 [pid 6335] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6332] <... futex resumed>) = 0 [pid 6343] write(3, "1000", 4 [pid 6342] <... close resumed>) = 0 [pid 6340] <... open resumed>) = 3 [pid 6338] open("./file0", O_RDONLY [pid 6336] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6335] ioctl(3, 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 6332] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6343] <... write resumed>) = 4 [pid 6342] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6340] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6338] <... open resumed>) = 3 [pid 6343] close(3 [pid 6342] <... futex resumed>) = 0 [pid 6340] <... futex resumed>) = 1 [pid 6339] <... futex resumed>) = 0 [pid 6338] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6343] <... close resumed>) = 0 [pid 6342] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6340] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6339] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6338] <... futex resumed>) = 1 [pid 6336] <... futex resumed>) = 0 [pid 6343] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6342] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6340] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6339] <... futex resumed>) = 0 [pid 6338] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6336] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6343] <... futex resumed>) = 0 [pid 6342] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6340] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6339] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6338] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6336] <... futex resumed>) = 0 [pid 6343] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6342] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6340] <... ioctl resumed>) = 0 [pid 6338] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6336] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6343] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6342] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6340] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6338] <... ioctl resumed>) = 0 [pid 6343] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6342] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6340] <... futex resumed>) = 1 [pid 6339] <... futex resumed>) = 0 [pid 6338] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6343] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6342] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6340] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6339] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6338] <... futex resumed>) = 1 [pid 6336] <... futex resumed>) = 0 [pid 6343] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [ 153.030874][ T6326] BTRFS info (device loop2): 2 enospc errors during balance [ 153.069579][ T6326] BTRFS info (device loop2): balance: ended with status: -28 [pid 6342] <... mprotect resumed>) = 0 [pid 6340] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6339] <... futex resumed>) = 0 [pid 6338] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6336] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6343] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6342] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6340] ioctl(3, 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 6339] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6338] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6336] <... futex resumed>) = 0 [pid 6343] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6342] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6338] ioctl(3, 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 6336] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6343] <... mprotect resumed>) = 0 [pid 6342] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6340] <... 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}}) = 8 [pid 6335] <... 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}}) = 8 [pid 6326] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6343] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6326] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6343] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6326] <... futex resumed>) = 0 [pid 6343] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6326] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6343] <... clone3 resumed> => {parent_tid=[6345]}, 88) = 6345 [pid 6343] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6343] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6340] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6335] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6325] exit_group(0 [pid 6343] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6345 attached [pid 6345] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6345] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6345] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6345] memfd_create("syzkaller", 0 [pid 6332] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6345] <... memfd_create resumed>) = 3 [pid 6342] <... clone3 resumed> => {parent_tid=[6346]}, 88) = 6346 [pid 6341] <... futex resumed>) = ? [pid 6340] <... futex resumed>) = 1 [pid 6339] <... futex resumed>) = 0 [pid 6335] <... futex resumed>) = 0 [pid 6332] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6326] <... futex resumed>) = ? [pid 6325] <... exit_group resumed>) = ? [pid 6345] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6342] rt_sigprocmask(SIG_SETMASK, [], [pid 6341] +++ exited with 0 +++ [pid 6340] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6339] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6335] open("./file0", O_RDONLY [pid 6332] <... futex resumed>) = 0 [pid 6326] +++ exited with 0 +++ ./strace-static-x86_64: Process 6346 attached [pid 6345] <... mmap resumed>) = 0x7f4e2554e000 [pid 6342] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6340] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6339] <... futex resumed>) = 0 [pid 6335] <... open resumed>) = 4 [pid 6332] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6325] +++ exited with 0 +++ [pid 6346] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6325, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=25 /* 0.25 s */} --- [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 6346] <... rseq resumed>) = 0 [pid 6342] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6340] open("./file0", O_RDONLY [pid 6339] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6335] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6346] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6342] <... futex resumed>) = 0 [pid 6340] <... open resumed>) = 4 [pid 6335] <... futex resumed>) = 1 [pid 6332] <... futex resumed>) = 0 [pid 5027] close(3 [pid 6346] <... set_robust_list resumed>) = 0 [pid 6342] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6340] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6336] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6335] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6332] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... close resumed>) = 0 [pid 6346] rt_sigprocmask(SIG_SETMASK, [], [ 153.117352][ T6338] BTRFS info (device loop2): balance: start -d -m [ 153.124509][ T6338] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 153.151767][ T6338] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6340] <... futex resumed>) = 1 [pid 6339] <... futex resumed>) = 0 [pid 6336] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6335] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6332] <... futex resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6346] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6340] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6339] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6336] <... futex resumed>) = 0 [pid 6335] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6332] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6346] memfd_create("syzkaller", 0 [pid 6340] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6339] <... futex resumed>) = 0 [pid 6336] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6347 [pid 6346] <... memfd_create resumed>) = 3 [pid 6340] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6339] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6336] <... mmap resumed>) = 0x7f4e2652d000 [pid 6335] <... ioctl resumed>) = 0 [pid 6346] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6336] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE./strace-static-x86_64: Process 6347 attached [pid 6346] <... mmap resumed>) = 0x7f4e2554e000 [pid 6336] <... mprotect resumed>) = 0 [pid 6335] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6340] <... ioctl resumed>) = 0 [pid 6347] set_robust_list(0x5555558636a0, 24 [pid 6336] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6347] <... set_robust_list resumed>) = 0 [pid 6340] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6336] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6335] <... futex resumed>) = 1 [pid 6332] <... futex resumed>) = 0 [pid 6347] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6340] <... futex resumed>) = 1 [pid 6339] <... futex resumed>) = 0 [pid 6336] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6335] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6332] exit_group(0 [pid 6347] <... prctl resumed>) = 0 [pid 6340] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6339] exit_group(0 [pid 6335] <... futex resumed>) = ? [pid 6332] <... exit_group resumed>) = ? [pid 6347] setpgid(0, 0 [pid 6340] <... futex resumed>) = ? [pid 6339] <... exit_group resumed>) = ? [pid 6336] <... clone3 resumed> => {parent_tid=[6348]}, 88) = 6348 [pid 6335] +++ exited with 0 +++ [pid 6332] +++ exited with 0 +++ [pid 6347] <... setpgid resumed>) = 0 [pid 6340] +++ exited with 0 +++ [pid 6336] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6348 attached [pid 6347] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6339] +++ exited with 0 +++ [pid 6336] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6332, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=26 /* 0.26 s */} --- [pid 6348] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6347] <... openat resumed>) = 3 [pid 6336] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6339, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- [pid 6348] <... rseq resumed>) = 0 [pid 6347] write(3, "1000", 4 [pid 6336] <... futex resumed>) = 0 [pid 5026] <... restart_syscall resumed>) = 0 [pid 6348] set_robust_list(0x7f4e2654d9a0, 24 [pid 6347] <... write resumed>) = 4 [pid 6336] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6348] <... set_robust_list resumed>) = 0 [pid 6347] close(3 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6348] rt_sigprocmask(SIG_SETMASK, [], [pid 6347] <... close resumed>) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5022] <... openat resumed>) = 3 [pid 6348] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6347] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... openat resumed>) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6348] open("./file0", O_RDONLY [pid 6347] <... futex resumed>) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5022] <... ioctl resumed>) = 0 [pid 6348] <... open resumed>) = 4 [pid 6347] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5022] close(3 [pid 6348] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6347] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5026] close(3 [pid 5022] <... close resumed>) = 0 [pid 6348] <... futex resumed>) = 1 [pid 6347] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6336] <... futex resumed>) = 0 [pid 5026] <... close resumed>) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6348] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6347] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6338] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6336] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6348] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6347] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6338] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6336] <... futex resumed>) = 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6349 ./strace-static-x86_64: Process 6349 attached ./strace-static-x86_64: Process 6350 attached [pid 6348] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6347] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6338] <... futex resumed>) = 0 [pid 6336] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6350 [pid 6350] set_robust_list(0x5555558636a0, 24 [pid 6349] set_robust_list(0x5555558636a0, 24 [pid 6348] <... ioctl resumed>) = 0 [pid 6347] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6338] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6350] <... set_robust_list resumed>) = 0 [pid 6349] <... set_robust_list resumed>) = 0 [pid 6348] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6347] <... mprotect resumed>) = 0 [ 153.174132][ T6338] BTRFS info (device loop2): 2 enospc errors during balance [ 153.212447][ T6338] BTRFS info (device loop2): balance: ended with status: -28 [pid 6350] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6349] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6348] <... futex resumed>) = 1 [pid 6347] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6336] <... futex resumed>) = 0 [pid 6350] <... prctl resumed>) = 0 [pid 6349] <... prctl resumed>) = 0 [pid 6348] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6347] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6336] exit_group(0 [pid 6350] setpgid(0, 0 [pid 6349] setpgid(0, 0 [pid 6348] <... futex resumed>) = ? [pid 6347] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6338] <... futex resumed>) = ? [pid 6336] <... exit_group resumed>) = ? [pid 6350] <... setpgid resumed>) = 0 [pid 6349] <... setpgid resumed>) = 0 [pid 6348] +++ exited with 0 +++ [pid 6338] +++ exited with 0 +++ [pid 6336] +++ exited with 0 +++ ./strace-static-x86_64: Process 6351 attached [pid 6350] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6349] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6347] <... clone3 resumed> => {parent_tid=[6351]}, 88) = 6351 [pid 6351] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6350] <... openat resumed>) = 3 [pid 6349] <... openat resumed>) = 3 [pid 6347] rt_sigprocmask(SIG_SETMASK, [], [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6336, si_uid=0, si_status=0, si_utime=0, si_stime=26 /* 0.26 s */} --- [pid 6351] <... rseq resumed>) = 0 [pid 6350] write(3, "1000", 4 [pid 6349] write(3, "1000", 4 [pid 6347] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 6351] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6350] <... write resumed>) = 4 [pid 6349] <... write resumed>) = 4 [pid 6347] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] <... restart_syscall resumed>) = 0 [pid 6351] <... set_robust_list resumed>) = 0 [pid 6350] close(3 [pid 6349] close(3 [pid 6347] <... futex resumed>) = 0 [pid 6351] rt_sigprocmask(SIG_SETMASK, [], [pid 6350] <... close resumed>) = 0 [pid 6349] <... close resumed>) = 0 [pid 6347] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6351] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6350] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6349] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6351] memfd_create("syzkaller", 0 [pid 6350] <... futex resumed>) = 0 [pid 6349] <... futex resumed>) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6351] <... memfd_create resumed>) = 3 [pid 6350] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6349] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5021] <... openat resumed>) = 3 [pid 6351] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6350] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6349] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6351] <... mmap resumed>) = 0x7f4e2554e000 [pid 6350] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6349] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6350] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6349] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6350] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6349] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5021] close(3 [pid 6350] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6349] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5021] <... close resumed>) = 0 [pid 6350] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6349] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6350] <... mprotect resumed>) = 0 [pid 6349] <... mprotect resumed>) = 0 [pid 6350] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6349] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6350] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6352 [pid 6350] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6349] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6349] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6350] <... clone3 resumed> => {parent_tid=[6353]}, 88) = 6353 [pid 6350] rt_sigprocmask(SIG_SETMASK, [], [pid 6349] <... clone3 resumed> => {parent_tid=[6354]}, 88) = 6354 ./strace-static-x86_64: Process 6352 attached [pid 6350] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6349] rt_sigprocmask(SIG_SETMASK, [], [pid 6352] set_robust_list(0x5555558636a0, 24 [pid 6350] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6349] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6352] <... set_robust_list resumed>) = 0 [pid 6350] <... futex resumed>) = 0 [pid 6349] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6353 attached ./strace-static-x86_64: Process 6354 attached [pid 6352] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6350] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6349] <... futex resumed>) = 0 [pid 6354] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6353] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6352] <... prctl resumed>) = 0 [pid 6349] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6354] <... rseq resumed>) = 0 [pid 6353] <... rseq resumed>) = 0 [pid 6352] setpgid(0, 0 [pid 6354] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6353] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6352] <... setpgid resumed>) = 0 [pid 6354] <... set_robust_list resumed>) = 0 [pid 6353] <... set_robust_list resumed>) = 0 [pid 6352] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6354] rt_sigprocmask(SIG_SETMASK, [], [pid 6353] rt_sigprocmask(SIG_SETMASK, [], [pid 6352] <... openat resumed>) = 3 [pid 6354] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6353] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6352] write(3, "1000", 4 [pid 6354] memfd_create("syzkaller", 0 [pid 6353] memfd_create("syzkaller", 0 [pid 6352] <... write resumed>) = 4 [pid 6354] <... memfd_create resumed>) = 3 [pid 6353] <... memfd_create resumed>) = 3 [pid 6352] close(3 [pid 6354] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6353] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6352] <... close resumed>) = 0 [pid 6346] 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 6354] <... mmap resumed>) = 0x7f4e2554e000 [pid 6353] <... mmap resumed>) = 0x7f4e2554e000 [pid 6352] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6352] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6352] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6352] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6352] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6352] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6352] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6355]}, 88) = 6355 [pid 6352] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6352] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6352] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6355 attached [pid 6355] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6355] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6355] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6355] memfd_create("syzkaller", 0) = 3 [pid 6355] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6345] 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 6351] 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 6353] 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 6354] 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 6346] <... write resumed>) = 16777216 [pid 6346] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6346] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6355] 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 6346] <... openat resumed>) = 4 [pid 6346] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6346] close(3) = 0 [pid 6346] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6346] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 153.757778][ T6346] loop0: detected capacity change from 0 to 32768 [ 153.787020][ T6346] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6346) [pid 6346] ioctl(4, LOOP_CLR_FD [pid 6345] <... write resumed>) = 16777216 [pid 6351] <... write resumed>) = 16777216 [pid 6345] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6351] munmap(0x7f4e2554e000, 16777216 [pid 6345] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6345] ioctl(4, LOOP_SET_FD, 3 [pid 6351] <... munmap resumed>) = 0 [pid 6351] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6351] ioctl(4, LOOP_SET_FD, 3 [pid 6345] <... ioctl resumed>) = 0 [pid 6345] close(3) = 0 [pid 6345] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6345] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6351] <... ioctl resumed>) = 0 [pid 6351] close(3) = 0 [pid 6351] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6351] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6345] <... mount resumed>) = -1 EEXIST (File exists) [ 153.919578][ T6345] loop3: detected capacity change from 0 to 32768 [ 153.946925][ T6351] loop5: detected capacity change from 0 to 32768 [ 153.955208][ T6345] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6345) [pid 6345] ioctl(4, LOOP_CLR_FD [pid 6353] <... write resumed>) = 16777216 [pid 6353] munmap(0x7f4e2554e000, 16777216 [pid 6351] <... mount resumed>) = -1 EEXIST (File exists) [pid 6353] <... munmap resumed>) = 0 [pid 6353] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6351] ioctl(4, LOOP_CLR_FD [pid 6346] <... ioctl resumed>) = 0 [pid 6353] <... openat resumed>) = 4 [pid 6346] close(4 [pid 6353] ioctl(4, LOOP_SET_FD, 3 [pid 6346] <... close resumed>) = 0 [ 153.979933][ T6351] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6351) [pid 6353] <... ioctl resumed>) = 0 [pid 6346] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6354] <... write resumed>) = 16777216 [pid 6353] close(3 [pid 6346] <... futex resumed>) = 1 [pid 6342] <... futex resumed>) = 0 [pid 6354] munmap(0x7f4e2554e000, 16777216 [pid 6353] <... close resumed>) = 0 [pid 6346] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6342] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6353] mkdir("./file0", 0777 [pid 6346] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6342] <... futex resumed>) = 0 [pid 6355] <... write resumed>) = 16777216 [pid 6354] <... munmap resumed>) = 0 [pid 6353] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6346] open("./file0", O_RDONLY [pid 6342] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6355] munmap(0x7f4e2554e000, 16777216 [pid 6354] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6346] <... open resumed>) = 3 [pid 6355] <... munmap resumed>) = 0 [pid 6354] <... openat resumed>) = 4 [pid 6353] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6346] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6354] ioctl(4, LOOP_SET_FD, 3 [pid 6346] <... futex resumed>) = 1 [pid 6354] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6346] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6354] ioctl(4, LOOP_CLR_FD) = 0 [ 154.036679][ T6353] loop4: detected capacity change from 0 to 32768 [pid 6342] <... futex resumed>) = 0 [pid 6354] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6354] close(4) = 0 [pid 6354] close(3 [pid 6342] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6346] <... futex resumed>) = 0 [pid 6342] <... futex resumed>) = 1 [pid 6346] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 6342] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6346] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6342] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6346] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6342] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6355] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6346] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6342] <... futex resumed>) = 0 [pid 6355] <... openat resumed>) = 4 [pid 6346] ioctl(3, 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 6342] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6355] ioctl(4, LOOP_SET_FD, 3 [pid 6353] <... mount resumed>) = -1 EEXIST (File exists) [ 154.080971][ T6353] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6353) [ 154.110769][ T6346] BTRFS info (device loop2): balance: start -d -m [ 154.117997][ T6355] loop1: detected capacity change from 0 to 32768 [pid 6353] ioctl(4, LOOP_CLR_FD [pid 6355] <... ioctl resumed>) = 0 [pid 6355] close(3) = 0 [pid 6355] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6355] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6345] <... ioctl resumed>) = 0 [pid 6345] close(4 [pid 6342] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6345] <... close resumed>) = 0 [pid 6342] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6355] <... mount resumed>) = -1 EEXIST (File exists) [pid 6345] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6342] <... futex resumed>) = 0 [pid 6355] ioctl(4, LOOP_CLR_FD [pid 6342] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6345] <... futex resumed>) = 1 [pid 6343] <... futex resumed>) = 0 [pid 6342] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6343] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6343] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6345] open("./file0", O_RDONLY [pid 6342] <... mprotect resumed>) = 0 [pid 6345] <... open resumed>) = 3 [pid 6345] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6342] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6345] <... futex resumed>) = 1 [pid 6343] <... futex resumed>) = 0 [ 154.125802][ T6346] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 154.142844][ T6355] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6355) [pid 6345] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6343] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6342] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6345] <... ioctl resumed>) = 0 [pid 6343] <... futex resumed>) = 0 [pid 6342] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6343] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6345] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6343] <... futex resumed>) = 0 [pid 6342] <... clone3 resumed> => {parent_tid=[6357]}, 88) = 6357 [pid 6345] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6343] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6345] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6343] <... futex resumed>) = 0 [pid 6342] rt_sigprocmask(SIG_SETMASK, [], [pid 6345] ioctl(3, 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 6343] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6342] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6345] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6345] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6342] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6345] <... futex resumed>) = 1 [pid 6343] <... futex resumed>) = 0 [pid 6342] <... futex resumed>) = 0 [pid 6345] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6343] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6342] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6345] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6343] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6357 attached [pid 6357] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6357] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6357] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6357] open("./file0", O_RDONLY) = 4 [pid 6357] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6345] open("./file0", O_RDONLY [pid 6343] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6357] <... futex resumed>) = 1 [pid 6357] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6345] <... open resumed>) = 4 [pid 6342] <... futex resumed>) = 0 [pid 6345] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6342] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6345] <... futex resumed>) = 1 [pid 6357] <... futex resumed>) = 0 [pid 6357] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6342] <... futex resumed>) = 1 [pid 6343] <... futex resumed>) = 0 [pid 6345] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6357] <... ioctl resumed>) = 0 [pid 6357] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6357] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6345] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6343] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6342] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6345] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6343] <... futex resumed>) = 0 [pid 6342] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6343] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6345] <... ioctl resumed>) = 0 [pid 6345] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6343] <... futex resumed>) = 0 [pid 6345] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6343] exit_group(0) = ? [pid 6345] <... futex resumed>) = ? [pid 6345] +++ exited with 0 +++ [pid 6343] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6343, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=24 /* 0.24 s */} --- [ 154.230955][ T6346] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 154.261319][ T6346] BTRFS info (device loop2): 2 enospc errors during balance [pid 6351] <... ioctl resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6358 ./strace-static-x86_64: Process 6358 attached [pid 6358] set_robust_list(0x5555558636a0, 24 [pid 6346] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6358] <... set_robust_list resumed>) = 0 [pid 6346] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6358] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6346] <... futex resumed>) = 0 [ 154.287660][ T6346] BTRFS info (device loop2): balance: ended with status: -28 [pid 6351] close(4 [pid 6358] <... prctl resumed>) = 0 [pid 6354] <... close resumed>) = 0 [pid 6353] <... ioctl resumed>) = 0 [pid 6351] <... close resumed>) = 0 [pid 6346] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6342] exit_group(0 [pid 6351] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6351] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6358] setpgid(0, 0 [pid 6354] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6353] close(4 [pid 6357] <... futex resumed>) = ? [pid 6354] <... futex resumed>) = 1 [pid 6349] <... futex resumed>) = 0 [pid 6347] <... futex resumed>) = 0 [pid 6346] <... futex resumed>) = ? [pid 6342] <... exit_group resumed>) = ? [pid 6357] +++ exited with 0 +++ [pid 6349] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6347] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6346] +++ exited with 0 +++ [pid 6349] <... futex resumed>) = 0 [pid 6349] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6351] <... futex resumed>) = 0 [pid 6347] <... futex resumed>) = 1 [pid 6342] +++ exited with 0 +++ [pid 6358] <... setpgid resumed>) = 0 [pid 6354] open("./file0", O_RDONLY [pid 6351] open("./file0", O_RDONLY [pid 6347] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6342, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=31 /* 0.31 s */} --- [pid 6358] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6354] <... open resumed>) = 3 [pid 6353] <... close resumed>) = 0 [pid 6351] <... open resumed>) = 3 [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 6358] <... openat resumed>) = 3 [pid 6354] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6353] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6351] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... restart_syscall resumed>) = 0 [pid 6358] write(3, "1000", 4 [pid 6354] <... futex resumed>) = 1 [pid 6353] <... futex resumed>) = 1 [pid 6351] <... futex resumed>) = 1 [pid 6350] <... futex resumed>) = 0 [pid 6349] <... futex resumed>) = 0 [pid 6347] <... futex resumed>) = 0 [pid 6358] <... write resumed>) = 4 [pid 6354] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6353] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6351] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6350] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6349] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6347] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6358] close(3 [pid 6354] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6353] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6351] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6350] <... futex resumed>) = 0 [pid 6349] <... futex resumed>) = 0 [pid 6347] <... futex resumed>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6358] <... close resumed>) = 0 [pid 6354] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6353] open("./file0", O_RDONLY [pid 6351] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6347] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6350] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6349] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6358] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6354] <... ioctl resumed>) = 0 [pid 6353] <... open resumed>) = 3 [pid 6351] <... ioctl resumed>) = 0 [pid 5020] <... openat resumed>) = 3 [pid 6358] <... futex resumed>) = 0 [pid 6354] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6353] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6351] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6358] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6354] <... futex resumed>) = 1 [pid 6353] <... futex resumed>) = 1 [pid 6351] <... futex resumed>) = 1 [pid 6350] <... futex resumed>) = 0 [pid 6349] <... futex resumed>) = 0 [pid 6347] <... futex resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6358] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6354] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6353] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6351] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6350] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6349] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6347] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] close(3 [pid 6358] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6354] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6353] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6351] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6350] <... futex resumed>) = 0 [pid 6349] <... futex resumed>) = 0 [pid 6347] <... futex resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 6358] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6354] ioctl(3, 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 6353] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6351] ioctl(3, 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 6350] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6349] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6347] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6358] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6355] <... ioctl resumed>) = 0 [pid 6353] <... ioctl resumed>) = 0 [pid 6351] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6351] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6359 [pid 6351] <... futex resumed>) = 0 [pid 6351] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6355] close(4./strace-static-x86_64: Process 6359 attached [pid 6358] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6355] <... close resumed>) = 0 [pid 6353] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6347] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6359] set_robust_list(0x5555558636a0, 24 [pid 6358] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6353] <... futex resumed>) = 1 [pid 6350] <... futex resumed>) = 0 [pid 6347] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6350] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6358] <... mprotect resumed>) = 0 [pid 6359] <... set_robust_list resumed>) = 0 [pid 6353] ioctl(3, 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 6351] <... futex resumed>) = 0 [pid 6350] <... futex resumed>) = 0 [pid 6347] <... futex resumed>) = 1 [pid 6351] open("./file0", O_RDONLY [pid 6350] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6351] <... open resumed>) = 4 [pid 6351] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6351] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6347] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6353] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6347] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6359] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6358] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6355] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6353] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6347] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6359] <... prctl resumed>) = 0 [pid 6358] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6355] <... futex resumed>) = 1 [pid 6353] <... futex resumed>) = 1 [pid 6352] <... futex resumed>) = 0 [pid 6351] <... futex resumed>) = 0 [pid 6350] <... futex resumed>) = 0 [pid 6347] <... futex resumed>) = 1 [pid 6359] setpgid(0, 0 [pid 6358] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6355] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6352] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [ 154.398970][ T6354] BTRFS info (device loop2): balance: start -d -m [ 154.405785][ T6354] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 154.427144][ T6354] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6351] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6350] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6359] <... setpgid resumed>) = 0 [pid 6355] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6353] open("./file0", O_RDONLY [pid 6352] <... futex resumed>) = 0 [pid 6351] <... ioctl resumed>) = 0 [pid 6350] <... futex resumed>) = 0 [pid 6347] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6359] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6352] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6351] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6350] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6353] <... open resumed>) = 4 [pid 6351] <... futex resumed>) = 0 [pid 6351] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6347] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6358] <... clone3 resumed> => {parent_tid=[6360]}, 88) = 6360 [pid 6355] open("./file0", O_RDONLY [pid 6359] <... openat resumed>) = 3 [pid 6347] exit_group(0 [pid 6358] rt_sigprocmask(SIG_SETMASK, [], [pid 6359] write(3, "1000", 4 [pid 6358] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6355] <... open resumed>) = 3 [pid 6353] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6351] <... futex resumed>) = ? [pid 6347] <... exit_group resumed>) = ? ./strace-static-x86_64: Process 6360 attached [pid 6359] <... write resumed>) = 4 [pid 6358] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6355] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6353] <... futex resumed>) = 1 [pid 6351] +++ exited with 0 +++ [pid 6350] <... futex resumed>) = 0 [pid 6360] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6350] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6360] <... rseq resumed>) = 0 [pid 6350] <... futex resumed>) = 0 [pid 6360] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6350] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6360] <... set_robust_list resumed>) = 0 [pid 6347] +++ exited with 0 +++ [pid 6360] rt_sigprocmask(SIG_SETMASK, [], [pid 6359] close(3 [pid 6358] <... futex resumed>) = 0 [pid 6355] <... futex resumed>) = 1 [pid 6353] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6352] <... futex resumed>) = 0 [pid 6349] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6360] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6352] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6349] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6347, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=18 /* 0.18 s */} --- [pid 6360] memfd_create("syzkaller", 0 [pid 6352] <... futex resumed>) = 0 [pid 6349] <... futex resumed>) = 0 [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 6360] <... memfd_create resumed>) = 3 [pid 6352] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6349] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5027] <... restart_syscall resumed>) = 0 [pid 6360] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6359] <... close resumed>) = 0 [pid 6358] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6355] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6349] <... mmap resumed>) = 0x7f4e2652d000 [pid 6360] <... mmap resumed>) = 0x7f4e2554e000 [pid 6349] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6359] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6355] <... ioctl resumed>) = 0 [pid 6349] <... mprotect resumed>) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6359] <... futex resumed>) = 0 [pid 6355] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6354] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6353] <... ioctl resumed>) = 0 [pid 6349] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5027] <... openat resumed>) = 3 [pid 6359] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6355] <... futex resumed>) = 1 [pid 6354] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6353] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6352] <... futex resumed>) = 0 [pid 6349] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6359] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6355] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6354] <... futex resumed>) = 0 [pid 6353] <... futex resumed>) = 1 [pid 6352] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6350] <... futex resumed>) = 0 [pid 6349] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6359] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6355] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6354] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6353] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6352] <... futex resumed>) = 0 [pid 6350] exit_group(0 [pid 5027] close(3 [pid 6359] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6355] ioctl(3, 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}} [ 154.443941][ T6354] BTRFS info (device loop2): 2 enospc errors during balance [ 154.456509][ T6354] BTRFS info (device loop2): balance: ended with status: -28 [pid 6353] <... futex resumed>) = ? [pid 6352] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6350] <... exit_group resumed>) = ? [pid 6349] <... clone3 resumed> => {parent_tid=[6361]}, 88) = 6361 [pid 5027] <... close resumed>) = 0 [pid 6359] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6353] +++ exited with 0 +++ [pid 6359] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6350] +++ exited with 0 +++ [pid 6349] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6359] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6349] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6359] <... mprotect resumed>) = 0 [pid 6349] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6350, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=22 /* 0.22 s */} --- ./strace-static-x86_64: Process 6361 attached [pid 6359] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6349] <... futex resumed>) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6362 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR./strace-static-x86_64: Process 6362 attached [pid 6361] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6359] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6349] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] <... openat resumed>) = 3 [pid 6362] set_robust_list(0x5555558636a0, 24 [pid 6361] <... rseq resumed>) = 0 [pid 6359] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6362] <... set_robust_list resumed>) = 0 [pid 6361] set_robust_list(0x7f4e2654d9a0, 24 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6362] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6361] <... set_robust_list resumed>) = 0 [pid 6359] <... clone3 resumed> => {parent_tid=[6363]}, 88) = 6363 [pid 5026] close(3./strace-static-x86_64: Process 6363 attached [pid 6362] <... prctl resumed>) = 0 [pid 6361] rt_sigprocmask(SIG_SETMASK, [], [pid 6359] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] <... close resumed>) = 0 [pid 6363] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6362] setpgid(0, 0 [pid 6361] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6359] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6359] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6363] <... rseq resumed>) = 0 [pid 6362] <... setpgid resumed>) = 0 [pid 6363] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6361] open("./file0", O_RDONLY [pid 6359] <... futex resumed>) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6364 [pid 6363] <... set_robust_list resumed>) = 0 [pid 6362] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6361] <... open resumed>) = 4 [pid 6359] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6363] rt_sigprocmask(SIG_SETMASK, [], [pid 6362] <... openat resumed>) = 3 [pid 6361] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6364 attached [pid 6363] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6362] write(3, "1000", 4 [pid 6361] <... futex resumed>) = 1 [pid 6349] <... futex resumed>) = 0 [pid 6364] set_robust_list(0x5555558636a0, 24 [pid 6363] memfd_create("syzkaller", 0 [pid 6362] <... write resumed>) = 4 [pid 6361] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6349] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6364] <... set_robust_list resumed>) = 0 [pid 6363] <... memfd_create resumed>) = 3 [pid 6362] close(3 [pid 6354] <... futex resumed>) = 0 [pid 6349] <... futex resumed>) = 1 [pid 6364] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6363] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6362] <... close resumed>) = 0 [pid 6354] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6349] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6364] <... prctl resumed>) = 0 [pid 6363] <... mmap resumed>) = 0x7f4e2554e000 [pid 6362] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6364] setpgid(0, 0 [pid 6354] <... ioctl resumed>) = 0 [pid 6364] <... setpgid resumed>) = 0 [pid 6354] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6364] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6362] <... futex resumed>) = 0 [pid 6354] <... futex resumed>) = 1 [pid 6352] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6349] <... futex resumed>) = 0 [pid 6364] <... openat resumed>) = 3 [ 154.491432][ T6355] BTRFS info (device loop2): balance: start -d -m [ 154.505424][ T6355] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6362] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6354] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6352] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6349] exit_group(0 [pid 6364] write(3, "1000", 4) = 4 [pid 6364] close(3 [pid 6362] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6361] <... futex resumed>) = ? [pid 6354] <... futex resumed>) = ? [pid 6352] <... futex resumed>) = 0 [pid 6349] <... exit_group resumed>) = ? [pid 6364] <... close resumed>) = 0 [pid 6362] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6361] +++ exited with 0 +++ [pid 6354] +++ exited with 0 +++ [pid 6352] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6364] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6362] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6349] +++ exited with 0 +++ [pid 6352] <... mmap resumed>) = 0x7f4e2652d000 [pid 6364] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6362] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6352] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6349, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=28 /* 0.28 s */} --- [pid 6364] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6362] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6352] <... mprotect resumed>) = 0 [pid 6364] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6362] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6352] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6364] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6362] <... mprotect resumed>) = 0 [pid 6352] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6364] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6362] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6352] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6364] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6362] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6364] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6362] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6352] <... clone3 resumed> => {parent_tid=[6365]}, 88) = 6365 ./strace-static-x86_64: Process 6365 attached [pid 6364] <... mprotect resumed>) = 0 [pid 6352] rt_sigprocmask(SIG_SETMASK, [], [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6365] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6364] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6362] <... clone3 resumed> => {parent_tid=[6366]}, 88) = 6366 [pid 6352] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5022] <... openat resumed>) = 3 [pid 6365] <... rseq resumed>) = 0 [pid 6364] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6362] rt_sigprocmask(SIG_SETMASK, [], [pid 6352] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6365] set_robust_list(0x7f4e2654d9a0, 24 [pid 6364] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6362] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6352] <... futex resumed>) = 0 [pid 5022] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 6366 attached [pid 6365] <... set_robust_list resumed>) = 0 [pid 6362] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6352] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] close(3 [pid 6366] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6365] rt_sigprocmask(SIG_SETMASK, [], [pid 6364] <... clone3 resumed> => {parent_tid=[6367]}, 88) = 6367 [pid 6362] <... futex resumed>) = 0 [pid 5022] <... close resumed>) = 0 [pid 6364] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6362] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6364] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6367 attached ) = 0 [pid 6367] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6364] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6367] <... rseq resumed>) = 0 [pid 6367] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6367] rt_sigprocmask(SIG_SETMASK, [], [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6368 [pid 6367] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6367] memfd_create("syzkaller", 0) = 3 [pid 6367] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 154.561290][ T6355] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata ./strace-static-x86_64: Process 6368 attached [pid 6366] <... rseq resumed>) = 0 [pid 6365] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6368] set_robust_list(0x5555558636a0, 24 [pid 6366] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6365] open("./file0", O_RDONLY [pid 6368] <... set_robust_list resumed>) = 0 [pid 6366] <... set_robust_list resumed>) = 0 [pid 6365] <... open resumed>) = 4 [pid 6368] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6366] rt_sigprocmask(SIG_SETMASK, [], [pid 6365] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6368] <... prctl resumed>) = 0 [pid 6366] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6365] <... futex resumed>) = 1 [pid 6352] <... futex resumed>) = 0 [pid 6368] setpgid(0, 0 [pid 6366] memfd_create("syzkaller", 0 [pid 6365] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6352] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6368] <... setpgid resumed>) = 0 [pid 6366] <... memfd_create resumed>) = 3 [pid 6365] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6352] <... futex resumed>) = 0 [pid 6368] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6366] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6365] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6352] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6368] <... openat resumed>) = 3 [pid 6366] <... mmap resumed>) = 0x7f4e2554e000 [pid 6368] write(3, "1000", 4) = 4 [pid 6365] <... ioctl resumed>) = 0 [pid 6368] close(3 [pid 6365] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6368] <... close resumed>) = 0 [pid 6365] <... futex resumed>) = 1 [pid 6352] <... futex resumed>) = 0 [pid 6368] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6365] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6368] <... futex resumed>) = 0 [pid 6368] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6368] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6368] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6368] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6368] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6368] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6370]}, 88) = 6370 [pid 6368] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6368] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 6370 attached [pid 6368] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6370] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6370] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6370] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6370] memfd_create("syzkaller", 0) = 3 [ 154.603936][ T6355] BTRFS info (device loop2): 2 enospc errors during balance [ 154.635081][ T6355] BTRFS info (device loop2): balance: ended with status: -28 [pid 6370] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6355] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6370] <... mmap resumed>) = 0x7f4e2554e000 [pid 6355] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6355] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6352] exit_group(0 [pid 6365] <... futex resumed>) = ? [pid 6355] <... futex resumed>) = ? [pid 6352] <... exit_group resumed>) = ? [pid 6365] +++ exited with 0 +++ [pid 6355] +++ exited with 0 +++ [pid 6352] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6352, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=27 /* 0.27 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6371 ./strace-static-x86_64: Process 6371 attached [pid 6371] set_robust_list(0x5555558636a0, 24) = 0 [pid 6371] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6371] setpgid(0, 0) = 0 [pid 6371] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6371] write(3, "1000", 4) = 4 [pid 6371] close(3) = 0 [pid 6371] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6371] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6371] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6371] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6371] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6371] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6371] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6372]}, 88) = 6372 [pid 6371] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6371] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6371] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6372 attached [pid 6372] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6360] 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 6372] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6372] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6372] memfd_create("syzkaller", 0) = 3 [pid 6372] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6363] 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 6367] 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 6366] 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 6370] 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 6372] 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 6360] <... write resumed>) = 16777216 [pid 6360] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6360] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6360] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6360] close(3) = 0 [pid 6360] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6360] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 155.187391][ T6360] loop3: detected capacity change from 0 to 32768 [ 155.218817][ T6360] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6360) [pid 6360] ioctl(4, LOOP_CLR_FD [pid 6363] <... write resumed>) = 16777216 [pid 6363] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6363] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6363] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6363] close(3 [pid 6367] <... write resumed>) = 16777216 [pid 6363] <... close resumed>) = 0 [pid 6367] munmap(0x7f4e2554e000, 16777216 [pid 6363] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6363] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6367] <... munmap resumed>) = 0 [pid 6366] <... write resumed>) = 16777216 [pid 6366] munmap(0x7f4e2554e000, 16777216 [pid 6367] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 155.302433][ T6363] loop0: detected capacity change from 0 to 32768 [ 155.340975][ T6363] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6363) [pid 6367] ioctl(4, LOOP_SET_FD, 3 [pid 6363] <... mount resumed>) = -1 EEXIST (File exists) [pid 6363] ioctl(4, LOOP_CLR_FD [pid 6366] <... munmap resumed>) = 0 [pid 6367] <... ioctl resumed>) = 0 [pid 6366] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6367] close(3) = 0 [pid 6366] ioctl(4, LOOP_SET_FD, 3 [pid 6367] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6367] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6366] <... ioctl resumed>) = 0 [pid 6366] close(3) = 0 [pid 6366] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6366] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6372] <... write resumed>) = 16777216 [ 155.359820][ T6367] loop4: detected capacity change from 0 to 32768 [ 155.389774][ T6366] loop5: detected capacity change from 0 to 32768 [ 155.398091][ T6367] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6367) [pid 6372] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6372] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6370] <... write resumed>) = 16777216 [pid 6367] <... mount resumed>) = -1 EEXIST (File exists) [pid 6366] <... mount resumed>) = -1 EEXIST (File exists) [pid 6372] ioctl(4, LOOP_SET_FD, 3 [pid 6370] munmap(0x7f4e2554e000, 16777216 [pid 6367] ioctl(4, LOOP_CLR_FD [pid 6366] ioctl(4, LOOP_CLR_FD [pid 6360] <... ioctl resumed>) = 0 [pid 6370] <... munmap resumed>) = 0 [pid 6360] close(4 [pid 6370] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6360] <... close resumed>) = 0 [pid 6370] <... openat resumed>) = 4 [pid 6360] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6370] ioctl(4, LOOP_SET_FD, 3 [pid 6360] <... futex resumed>) = 1 [pid 6358] <... futex resumed>) = 0 [pid 6370] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6360] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6358] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6370] ioctl(4, LOOP_CLR_FD [pid 6360] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6358] <... futex resumed>) = 0 [pid 6370] <... ioctl resumed>) = 0 [pid 6360] open("./file0", O_RDONLY [pid 6358] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6360] <... open resumed>) = 3 [pid 6360] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6370] ioctl(4, LOOP_SET_FD, 3 [pid 6360] <... futex resumed>) = 1 [pid 6358] <... futex resumed>) = 0 [pid 6370] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6360] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6358] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6372] <... ioctl resumed>) = 0 [pid 6370] close(4 [pid 6360] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6358] <... futex resumed>) = 0 [pid 6372] close(3 [pid 6370] <... close resumed>) = 0 [pid 6358] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 155.427501][ T6366] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6366) [ 155.459405][ T6372] loop1: detected capacity change from 0 to 32768 [pid 6372] <... close resumed>) = 0 [pid 6372] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6372] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6360] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6370] close(3 [pid 6360] <... ioctl resumed>) = 0 [pid 6372] <... mount resumed>) = -1 EEXIST (File exists) [pid 6372] ioctl(4, LOOP_CLR_FD [pid 6360] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6358] <... futex resumed>) = 0 [pid 6360] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6358] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6360] <... futex resumed>) = 0 [pid 6358] <... futex resumed>) = 1 [pid 6360] ioctl(3, 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}} [ 155.512325][ T6372] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6372) [ 155.541414][ T6360] BTRFS info (device loop2): balance: start -d -m [pid 6358] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6363] <... ioctl resumed>) = 0 [pid 6363] close(4) = 0 [pid 6363] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6359] <... futex resumed>) = 0 [pid 6359] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6359] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6363] <... futex resumed>) = 1 [pid 6363] open("./file0", O_RDONLY) = 3 [pid 6363] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6359] <... futex resumed>) = 0 [pid 6363] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6359] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6363] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6359] <... futex resumed>) = 0 [pid 6363] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6359] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6363] <... ioctl resumed>) = 0 [pid 6363] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6359] <... futex resumed>) = 0 [pid 6358] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6363] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6359] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6358] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6363] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6359] <... futex resumed>) = 0 [pid 6358] <... futex resumed>) = 0 [pid 6363] ioctl(3, 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 6359] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6358] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6363] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6358] <... mmap resumed>) = 0x7f4e2652d000 [pid 6363] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6358] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6363] <... futex resumed>) = 1 [pid 6359] <... futex resumed>) = 0 [pid 6358] <... mprotect resumed>) = 0 [ 155.559749][ T6360] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6363] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6359] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6358] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6363] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6359] <... futex resumed>) = 0 [pid 6358] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6363] open("./file0", O_RDONLY [pid 6359] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6358] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6363] <... open resumed>) = 4 [pid 6363] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6358] <... clone3 resumed> => {parent_tid=[6373]}, 88) = 6373 [pid 6363] <... futex resumed>) = 1 [pid 6359] <... futex resumed>) = 0 [pid 6358] rt_sigprocmask(SIG_SETMASK, [], [pid 6363] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6359] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6358] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6363] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6359] <... futex resumed>) = 0 [pid 6358] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6363] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6359] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6358] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6373 attached [pid 6363] <... ioctl resumed>) = 0 [pid 6358] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6373] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6363] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6373] <... rseq resumed>) = 0 [pid 6363] <... futex resumed>) = 1 [pid 6359] <... futex resumed>) = 0 [pid 6373] set_robust_list(0x7f4e2654d9a0, 24 [pid 6363] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6359] exit_group(0 [pid 6373] <... set_robust_list resumed>) = 0 [pid 6363] <... futex resumed>) = ? [pid 6359] <... exit_group resumed>) = ? [pid 6373] rt_sigprocmask(SIG_SETMASK, [], [pid 6363] +++ exited with 0 +++ [pid 6359] +++ exited with 0 +++ [pid 6373] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6359, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- [pid 6373] open("./file0", O_RDONLY) = 4 [pid 6373] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6373] <... futex resumed>) = 1 [pid 6358] <... futex resumed>) = 0 [pid 5020] <... openat resumed>) = 3 [pid 6373] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6358] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6373] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6358] <... futex resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6373] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6358] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] close(3 [pid 6373] <... ioctl resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 6373] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6373] <... futex resumed>) = 1 [pid 6358] <... futex resumed>) = 0 [pid 6373] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6375 ./strace-static-x86_64: Process 6375 attached [pid 6375] set_robust_list(0x5555558636a0, 24) = 0 [pid 6375] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6375] setpgid(0, 0) = 0 [ 155.623828][ T6360] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6375] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6375] write(3, "1000", 4) = 4 [pid 6375] close(3) = 0 [pid 6375] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6375] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6375] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6375] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6375] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6375] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6375] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6376]}, 88) = 6376 [pid 6375] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6375] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6375] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6376 attached [pid 6376] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6376] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6376] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6376] memfd_create("syzkaller", 0) = 3 [pid 6376] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6372] <... ioctl resumed>) = 0 [pid 6360] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6360] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6360] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6358] exit_group(0 [pid 6373] <... futex resumed>) = ? [pid 6360] <... futex resumed>) = ? [pid 6358] <... exit_group resumed>) = ? [pid 6373] +++ exited with 0 +++ [ 155.685065][ T6360] BTRFS info (device loop2): 2 enospc errors during balance [ 155.708433][ T6360] BTRFS info (device loop2): balance: ended with status: -28 [pid 6360] +++ exited with 0 +++ [pid 6358] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6358, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=31 /* 0.31 s */} --- [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6372] close(4 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6377 [pid 6372] <... close resumed>) = 0 [pid 6372] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6371] <... futex resumed>) = 0 [pid 6372] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6371] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6372] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6371] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6377 attached [pid 6372] open("./file0", O_RDONLY [pid 6371] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6370] <... close resumed>) = 0 [pid 6377] set_robust_list(0x5555558636a0, 24 [pid 6372] <... open resumed>) = 3 [pid 6370] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6367] <... ioctl resumed>) = 0 [pid 6377] <... set_robust_list resumed>) = 0 [pid 6372] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6370] <... futex resumed>) = 1 [pid 6368] <... futex resumed>) = 0 [pid 6367] close(4 [pid 6366] <... ioctl resumed>) = 0 [pid 6377] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6372] <... futex resumed>) = 1 [pid 6371] <... futex resumed>) = 0 [pid 6370] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6368] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6367] <... close resumed>) = 0 [pid 6377] <... prctl resumed>) = 0 [pid 6372] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6371] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6370] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6368] <... futex resumed>) = 0 [pid 6367] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6377] setpgid(0, 0 [pid 6372] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6371] <... futex resumed>) = 0 [pid 6370] open("./file0", O_RDONLY [pid 6368] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6367] <... futex resumed>) = 1 [pid 6366] close(4 [pid 6364] <... futex resumed>) = 0 [pid 6377] <... setpgid resumed>) = 0 [pid 6372] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6371] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6370] <... open resumed>) = 3 [pid 6367] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6366] <... close resumed>) = 0 [pid 6364] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6377] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6372] <... ioctl resumed>) = 0 [pid 6370] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6367] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6366] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6364] <... futex resumed>) = 0 [pid 6377] <... openat resumed>) = 3 [pid 6372] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6370] <... futex resumed>) = 1 [pid 6368] <... futex resumed>) = 0 [pid 6367] open("./file0", O_RDONLY [pid 6366] <... futex resumed>) = 1 [pid 6364] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6362] <... futex resumed>) = 0 [pid 6377] write(3, "1000", 4 [pid 6372] <... futex resumed>) = 1 [pid 6371] <... futex resumed>) = 0 [pid 6370] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6368] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6367] <... open resumed>) = 3 [pid 6366] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6362] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6377] <... write resumed>) = 4 [pid 6372] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6371] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6370] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6368] <... futex resumed>) = 0 [pid 6367] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6366] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6362] <... futex resumed>) = 0 [pid 6377] close(3 [pid 6372] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6371] <... futex resumed>) = 0 [pid 6370] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6368] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6367] <... futex resumed>) = 1 [pid 6366] open("./file0", O_RDONLY [pid 6364] <... futex resumed>) = 0 [pid 6362] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6377] <... close resumed>) = 0 [pid 6372] ioctl(3, 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 6371] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6370] <... ioctl resumed>) = 0 [pid 6367] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6366] <... open resumed>) = 3 [pid 6364] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6377] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6370] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6367] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6366] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6364] <... futex resumed>) = 0 [pid 6377] <... futex resumed>) = 0 [pid 6370] <... futex resumed>) = 1 [pid 6368] <... futex resumed>) = 0 [pid 6367] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6366] <... futex resumed>) = 1 [pid 6364] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6362] <... futex resumed>) = 0 [pid 6377] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6370] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6368] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6367] <... ioctl resumed>) = 0 [pid 6366] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6362] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6377] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6370] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6368] <... futex resumed>) = 0 [pid 6367] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6366] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6362] <... futex resumed>) = 0 [pid 6377] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6370] ioctl(3, 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 6368] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6367] <... futex resumed>) = 1 [pid 6366] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6364] <... futex resumed>) = 0 [pid 6362] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6377] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6370] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6367] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6366] <... ioctl resumed>) = 0 [pid 6364] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6377] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6370] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6367] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6366] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6364] <... futex resumed>) = 0 [pid 6377] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6370] <... futex resumed>) = 1 [pid 6368] <... futex resumed>) = 0 [pid 6367] ioctl(3, 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 6366] <... futex resumed>) = 1 [pid 6364] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6362] <... futex resumed>) = 0 [pid 6377] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6370] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6368] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6367] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6366] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6362] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6377] <... mprotect resumed>) = 0 [pid 6370] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6368] <... futex resumed>) = 0 [pid 6367] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6366] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6362] <... futex resumed>) = 0 [pid 6377] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6370] open("./file0", O_RDONLY [pid 6368] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6367] <... futex resumed>) = 1 [pid 6366] ioctl(3, 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 6364] <... futex resumed>) = 0 [pid 6362] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6377] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6370] <... open resumed>) = 4 [pid 6367] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6366] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6364] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6377] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6370] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6367] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6366] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6364] <... futex resumed>) = 0 [pid 6370] <... futex resumed>) = 1 [pid 6368] <... futex resumed>) = 0 [pid 6367] open("./file0", O_RDONLY [pid 6366] <... futex resumed>) = 1 [pid 6364] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6362] <... futex resumed>) = 0 [pid 6377] <... clone3 resumed> => {parent_tid=[6378]}, 88) = 6378 [pid 6370] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6368] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6367] <... open resumed>) = 4 [pid 6366] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6362] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6377] rt_sigprocmask(SIG_SETMASK, [], [pid 6370] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6368] <... futex resumed>) = 0 [pid 6367] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6366] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6362] <... futex resumed>) = 0 [pid 6377] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 155.841651][ T6372] BTRFS info (device loop2): balance: start -d -m [ 155.852949][ T6372] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6370] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6368] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6367] <... futex resumed>) = 1 [pid 6366] open("./file0", O_RDONLY [pid 6364] <... futex resumed>) = 0 [pid 6362] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6377] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6371] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6367] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6366] <... open resumed>) = 4 [pid 6364] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6378 attached [pid 6377] <... futex resumed>) = 0 [pid 6371] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6367] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6366] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6364] <... futex resumed>) = 0 [pid 6378] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6377] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6371] <... futex resumed>) = 0 [pid 6370] <... ioctl resumed>) = 0 [pid 6367] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6366] <... futex resumed>) = 1 [pid 6364] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6362] <... futex resumed>) = 0 [pid 6378] <... rseq resumed>) = 0 [pid 6371] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6370] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6366] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6362] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6378] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6371] <... mmap resumed>) = 0x7f4e2652d000 [pid 6370] <... futex resumed>) = 1 [pid 6368] <... futex resumed>) = 0 [pid 6367] <... ioctl resumed>) = 0 [pid 6366] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6362] <... futex resumed>) = 0 [pid 6378] <... set_robust_list resumed>) = 0 [pid 6371] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6370] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6368] exit_group(0 [pid 6367] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6366] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6362] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6378] rt_sigprocmask(SIG_SETMASK, [], [pid 6371] <... mprotect resumed>) = 0 [pid 6370] <... futex resumed>) = ? [pid 6368] <... exit_group resumed>) = ? [pid 6367] <... futex resumed>) = 1 [pid 6364] <... futex resumed>) = 0 [pid 6378] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6371] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6370] +++ exited with 0 +++ [pid 6364] exit_group(0 [pid 6378] memfd_create("syzkaller", 0 [pid 6371] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6368] +++ exited with 0 +++ [pid 6366] <... ioctl resumed>) = 0 [pid 6364] <... exit_group resumed>) = ? [pid 6378] <... memfd_create resumed>) = 3 [pid 6371] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6367] +++ exited with 0 +++ [pid 6366] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6364] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6368, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=17 /* 0.17 s */} --- [pid 6378] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6366] <... futex resumed>) = 1 [pid 6362] <... futex resumed>) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6364, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=28 /* 0.28 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 6378] <... mmap resumed>) = 0x7f4e2554e000 [pid 6371] <... clone3 resumed> => {parent_tid=[6379]}, 88) = 6379 [pid 6366] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6362] exit_group(0 [pid 5022] <... restart_syscall resumed>) = 0 [pid 6371] rt_sigprocmask(SIG_SETMASK, [], [pid 6366] <... futex resumed>) = ? [pid 6362] <... exit_group resumed>) = ? [pid 6371] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6366] +++ exited with 0 +++ [pid 6371] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6362] +++ exited with 0 +++ [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6371] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6379 attached [pid 6379] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 5026] <... openat resumed>) = 3 [pid 6379] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6379] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6362, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- [pid 6379] open("./file0", O_RDONLY [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5022] <... openat resumed>) = 3 [pid 6379] <... open resumed>) = 4 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5026] close(3 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6379] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... openat resumed>) = 3 [pid 5026] <... close resumed>) = 0 [pid 5022] <... ioctl resumed>) = 0 [pid 6379] <... futex resumed>) = 1 [pid 6371] <... futex resumed>) = 0 [pid 6379] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6371] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6379] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 155.893386][ T6372] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6371] <... futex resumed>) = 0 [pid 6379] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6371] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5022] close(3 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5027] close(3 [pid 5022] <... close resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6380 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6381 [pid 6379] <... ioctl resumed>) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6382 [pid 6379] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6371] <... futex resumed>) = 0 [pid 6379] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL./strace-static-x86_64: Process 6382 attached ./strace-static-x86_64: Process 6380 attached [pid 6382] set_robust_list(0x5555558636a0, 24 [pid 6380] set_robust_list(0x5555558636a0, 24 [pid 6382] <... set_robust_list resumed>) = 0 [pid 6380] <... set_robust_list resumed>) = 0 [pid 6380] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6382] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6380] <... prctl resumed>) = 0 [pid 6382] <... prctl resumed>) = 0 [pid 6382] setpgid(0, 0 [pid 6380] setpgid(0, 0 [pid 6382] <... setpgid resumed>) = 0 [pid 6380] <... setpgid resumed>) = 0 [pid 6382] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6380] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6382] <... openat resumed>) = 3 ./strace-static-x86_64: Process 6381 attached [pid 6382] write(3, "1000", 4 [pid 6380] <... openat resumed>) = 3 [pid 6382] <... write resumed>) = 4 [pid 6381] set_robust_list(0x5555558636a0, 24 [pid 6380] write(3, "1000", 4 [pid 6382] close(3 [pid 6381] <... set_robust_list resumed>) = 0 [pid 6380] <... write resumed>) = 4 [pid 6382] <... close resumed>) = 0 [pid 6381] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6380] close(3 [pid 6382] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6381] <... prctl resumed>) = 0 [pid 6380] <... close resumed>) = 0 [pid 6382] <... futex resumed>) = 0 [pid 6381] setpgid(0, 0 [pid 6380] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6382] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6381] <... setpgid resumed>) = 0 [pid 6380] <... futex resumed>) = 0 [pid 6382] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6381] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6380] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6381] <... openat resumed>) = 3 [pid 6381] write(3, "1000", 4) = 4 [pid 6381] close(3) = 0 [pid 6382] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6381] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6380] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6382] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6381] <... futex resumed>) = 0 [pid 6380] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6382] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6381] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6380] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6382] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6381] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6380] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6382] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6381] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6380] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6382] <... mprotect resumed>) = 0 [pid 6381] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6380] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6382] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6381] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6380] <... mprotect resumed>) = 0 [pid 6382] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6381] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6380] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6382] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6381] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6380] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6381] <... mprotect resumed>) = 0 [pid 6380] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6382] <... clone3 resumed> => {parent_tid=[6384]}, 88) = 6384 [pid 6381] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6372] <... ioctl resumed>) = -1 ENOSPC (No space left on device) ./strace-static-x86_64: Process 6384 attached [pid 6382] rt_sigprocmask(SIG_SETMASK, [], [pid 6381] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6380] <... clone3 resumed> => {parent_tid=[6385]}, 88) = 6385 [pid 6372] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6385 attached [pid 6384] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6382] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6381] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6380] rt_sigprocmask(SIG_SETMASK, [], [pid 6372] <... futex resumed>) = 0 [ 155.965634][ T6372] BTRFS info (device loop2): 2 enospc errors during balance [ 155.989296][ T6372] BTRFS info (device loop2): balance: ended with status: -28 [pid 6385] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6384] <... rseq resumed>) = 0 [pid 6382] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6380] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6372] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6371] exit_group(0 [pid 6385] <... rseq resumed>) = 0 [pid 6384] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6382] <... futex resumed>) = 0 [pid 6381] <... clone3 resumed> => {parent_tid=[6386]}, 88) = 6386 [pid 6380] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6379] <... futex resumed>) = ? [pid 6376] 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 6372] <... futex resumed>) = ? [pid 6371] <... exit_group resumed>) = ? [pid 6385] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6384] <... set_robust_list resumed>) = 0 [pid 6382] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6381] rt_sigprocmask(SIG_SETMASK, [], [pid 6380] <... futex resumed>) = 0 [pid 6379] +++ exited with 0 +++ [pid 6372] +++ exited with 0 +++ [pid 6371] +++ exited with 0 +++ ./strace-static-x86_64: Process 6386 attached [pid 6385] <... set_robust_list resumed>) = 0 [pid 6384] rt_sigprocmask(SIG_SETMASK, [], [pid 6381] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6380] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6371, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=28 /* 0.28 s */} --- [pid 6386] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6385] rt_sigprocmask(SIG_SETMASK, [], [pid 6384] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6381] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 6386] <... rseq resumed>) = 0 [pid 6385] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6384] memfd_create("syzkaller", 0 [pid 6381] <... futex resumed>) = 0 [pid 5021] <... restart_syscall resumed>) = 0 [pid 6386] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6385] memfd_create("syzkaller", 0 [pid 6384] <... memfd_create resumed>) = 3 [pid 6381] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6386] <... set_robust_list resumed>) = 0 [pid 6385] <... memfd_create resumed>) = 3 [pid 6384] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6386] rt_sigprocmask(SIG_SETMASK, [], [pid 6385] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6384] <... mmap resumed>) = 0x7f4e2554e000 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6386] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6385] <... mmap resumed>) = 0x7f4e2554e000 [pid 5021] <... openat resumed>) = 3 [pid 6386] memfd_create("syzkaller", 0 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6386] <... memfd_create resumed>) = 3 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6386] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5021] close(3 [pid 6386] <... mmap resumed>) = 0x7f4e2554e000 [pid 5021] <... close resumed>) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6387 ./strace-static-x86_64: Process 6387 attached [pid 6387] set_robust_list(0x5555558636a0, 24) = 0 [pid 6387] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6387] setpgid(0, 0) = 0 [pid 6387] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6387] write(3, "1000", 4) = 4 [pid 6387] close(3) = 0 [pid 6387] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6387] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6387] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6387] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6387] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6387] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6387] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6388]}, 88) = 6388 [pid 6387] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6387] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6387] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6388 attached [pid 6388] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6388] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6388] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6388] memfd_create("syzkaller", 0) = 3 [pid 6388] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6378] 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 6386] 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 6384] 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 6376] <... write resumed>) = 16777216 [pid 6385] 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 6376] munmap(0x7f4e2554e000, 16777216 [pid 6388] 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 6376] <... munmap resumed>) = 0 [pid 6376] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6376] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6376] close(3) = 0 [pid 6376] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6376] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 156.519354][ T6376] loop0: detected capacity change from 0 to 32768 [ 156.549765][ T6376] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6376) [pid 6376] ioctl(4, LOOP_CLR_FD [pid 6378] <... write resumed>) = 16777216 [pid 6378] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6378] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6378] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6378] close(3) = 0 [pid 6378] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6378] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6384] <... write resumed>) = 16777216 [pid 6384] munmap(0x7f4e2554e000, 16777216 [pid 6385] <... write resumed>) = 16777216 [pid 6385] munmap(0x7f4e2554e000, 16777216 [pid 6384] <... munmap resumed>) = 0 [pid 6384] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [ 156.705451][ T6378] loop3: detected capacity change from 0 to 32768 [ 156.735974][ T6378] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6378) [pid 6384] ioctl(4, LOOP_SET_FD, 3 [pid 6385] <... munmap resumed>) = 0 [pid 6386] <... write resumed>) = 16777216 [pid 6385] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6384] <... ioctl resumed>) = 0 [pid 6378] <... mount resumed>) = -1 EEXIST (File exists) [pid 6378] ioctl(4, LOOP_CLR_FD [pid 6385] <... openat resumed>) = 4 [pid 6384] close(3 [pid 6385] ioctl(4, LOOP_SET_FD, 3 [pid 6384] <... close resumed>) = 0 [pid 6386] munmap(0x7f4e2554e000, 16777216 [pid 6384] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6384] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6386] <... munmap resumed>) = 0 [pid 6386] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6386] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6386] ioctl(4, LOOP_CLR_FD) = 0 [pid 6386] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6386] close(4) = 0 [pid 6386] close(3 [pid 6385] <... ioctl resumed>) = 0 [pid 6376] <... ioctl resumed>) = 0 [pid 6385] close(3 [pid 6384] <... mount resumed>) = -1 EEXIST (File exists) [pid 6376] close(4 [pid 6388] <... write resumed>) = 16777216 [pid 6385] <... close resumed>) = 0 [pid 6384] ioctl(4, LOOP_CLR_FD [pid 6376] <... close resumed>) = 0 [pid 6385] mkdir("./file0", 0777 [pid 6376] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6388] munmap(0x7f4e2554e000, 16777216 [pid 6385] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6376] <... futex resumed>) = 1 [pid 6375] <... futex resumed>) = 0 [pid 6375] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6375] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6388] <... munmap resumed>) = 0 [pid 6385] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6376] open("./file0", O_RDONLY) = 3 [ 156.776054][ T6384] loop5: detected capacity change from 0 to 32768 [ 156.793371][ T6385] loop4: detected capacity change from 0 to 32768 [ 156.803310][ T6384] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6384) [pid 6376] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6375] <... futex resumed>) = 0 [pid 6375] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6376] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6375] <... futex resumed>) = 0 [pid 6375] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6376] <... ioctl resumed>) = 0 [pid 6376] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6388] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6376] <... futex resumed>) = 1 [pid 6375] <... futex resumed>) = 0 [pid 6376] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6375] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6376] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6388] <... openat resumed>) = 4 [pid 6375] <... futex resumed>) = 0 [pid 6376] ioctl(3, 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 6375] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 156.856399][ T6385] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6385) [ 156.875019][ T6376] BTRFS info (device loop2): balance: start -d -m [ 156.891660][ T6388] loop1: detected capacity change from 0 to 32768 [pid 6388] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6388] close(3) = 0 [pid 6388] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6375] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6388] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6375] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=0}) = -1 ETIMEDOUT (Connection timed out) [pid 6375] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6375] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6375] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [ 156.909533][ T6376] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6375] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6385] <... mount resumed>) = -1 EEXIST (File exists) [pid 6375] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6385] ioctl(4, LOOP_CLR_FD [pid 6375] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6390]}, 88) = 6390 [pid 6375] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6375] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6375] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6390 attached [pid 6390] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6390] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6390] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6390] open("./file0", O_RDONLY) = 4 [pid 6390] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6375] <... futex resumed>) = 0 [pid 6375] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6375] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6390] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0}) = 0 [pid 6388] <... mount resumed>) = -1 EEXIST (File exists) [pid 6390] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6388] ioctl(4, LOOP_CLR_FD [pid 6390] <... futex resumed>) = 1 [pid 6375] <... futex resumed>) = 0 [ 156.949975][ T6388] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6388) [ 156.968340][ T6376] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6390] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6384] <... ioctl resumed>) = 0 [pid 6384] close(4) = 0 [pid 6384] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6382] <... futex resumed>) = 0 [pid 6384] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6382] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6384] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6382] <... futex resumed>) = 0 [pid 6384] open("./file0", O_RDONLY [pid 6382] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6386] <... close resumed>) = 0 [pid 6384] <... open resumed>) = 3 [pid 6384] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6386] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6384] <... futex resumed>) = 1 [pid 6382] <... futex resumed>) = 0 [pid 6386] <... futex resumed>) = 1 [pid 6384] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6381] <... futex resumed>) = 0 [pid 6378] <... ioctl resumed>) = 0 [pid 6386] open("./file0", O_RDONLY [pid 6381] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6378] close(4 [pid 6386] <... open resumed>) = 3 [pid 6381] <... futex resumed>) = 0 [pid 6378] <... close resumed>) = 0 [pid 6386] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6384] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6382] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6381] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6378] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6386] <... futex resumed>) = 0 [pid 6381] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6378] <... futex resumed>) = 1 [pid 6377] <... futex resumed>) = 0 [pid 6386] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6381] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6378] open("./file0", O_RDONLY [pid 6377] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6386] <... ioctl resumed>) = 0 [pid 6381] <... futex resumed>) = 0 [pid 6378] <... open resumed>) = 3 [pid 6377] <... futex resumed>) = 0 [pid 6386] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6381] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6378] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6377] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6386] <... futex resumed>) = 0 [pid 6381] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6378] <... futex resumed>) = 0 [pid 6377] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6386] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6381] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6378] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6377] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6386] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6381] <... futex resumed>) = 0 [pid 6378] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6377] <... futex resumed>) = 0 [pid 6386] ioctl(3, 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 6381] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6378] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6377] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6378] <... ioctl resumed>) = 0 [pid 6378] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6377] <... futex resumed>) = 0 [pid 6378] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6377] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6378] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6377] <... futex resumed>) = 0 [pid 6378] ioctl(3, 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 6377] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6384] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6382] <... futex resumed>) = 0 [pid 6384] <... ioctl resumed>) = 0 [pid 6382] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6384] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6382] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 157.027109][ T6376] BTRFS info (device loop2): 2 enospc errors during balance [ 157.034424][ T6376] BTRFS info (device loop2): balance: ended with status: -28 [pid 6384] <... futex resumed>) = 0 [pid 6382] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6384] ioctl(3, 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 6382] <... futex resumed>) = 0 [pid 6382] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6386] <... 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}}) = 8 [pid 6376] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6378] <... 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}}) = 8 [pid 6384] <... 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}}) = 8 [pid 6386] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6384] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6378] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6376] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6386] <... futex resumed>) = 1 [pid 6385] <... ioctl resumed>) = 0 [pid 6384] <... futex resumed>) = 1 [pid 6382] <... futex resumed>) = 0 [pid 6381] <... futex resumed>) = 0 [pid 6378] <... futex resumed>) = 1 [pid 6377] <... futex resumed>) = 0 [pid 6386] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6384] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6382] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6381] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6378] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6377] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6376] <... futex resumed>) = 0 [pid 6375] exit_group(0 [pid 6390] <... futex resumed>) = ? [pid 6386] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6384] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6382] <... futex resumed>) = 0 [pid 6381] <... futex resumed>) = 0 [pid 6378] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6377] <... futex resumed>) = 0 [pid 6375] <... exit_group resumed>) = ? [pid 6386] open("./file0", O_RDONLY [pid 6384] open("./file0", O_RDONLY [pid 6381] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6378] open("./file0", O_RDONLY [pid 6377] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6376] +++ exited with 0 +++ [pid 6386] <... open resumed>) = 4 [pid 6384] <... open resumed>) = 4 [pid 6378] <... open resumed>) = 4 [pid 6390] +++ exited with 0 +++ [pid 6375] +++ exited with 0 +++ [pid 6382] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6386] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6384] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6382] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6378] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6375, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=29 /* 0.29 s */} --- [pid 6386] <... futex resumed>) = 1 [pid 6384] <... futex resumed>) = 0 [pid 6382] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6381] <... futex resumed>) = 0 [pid 6378] <... futex resumed>) = 1 [pid 6377] <... futex resumed>) = 0 [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 6386] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6384] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6382] <... futex resumed>) = 0 [pid 6381] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6378] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6377] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... restart_syscall resumed>) = 0 [pid 6386] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6385] close(4 [pid 6382] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6381] <... futex resumed>) = 0 [pid 6378] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6377] <... futex resumed>) = 0 [pid 6386] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6385] <... close resumed>) = 0 [pid 6384] <... ioctl resumed>) = 0 [pid 6381] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6378] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6377] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6385] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6384] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6385] <... futex resumed>) = 1 [pid 6384] <... futex resumed>) = 0 [pid 6382] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5020] <... openat resumed>) = 3 [pid 6385] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6384] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6382] exit_group(0 [pid 6380] <... futex resumed>) = 0 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6386] <... ioctl resumed>) = 0 [pid 6384] <... futex resumed>) = ? [pid 6382] <... exit_group resumed>) = ? [pid 6380] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6378] <... ioctl resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6386] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6384] +++ exited with 0 +++ [pid 5020] close(3 [pid 6386] <... futex resumed>) = 1 [pid 6381] <... futex resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 6386] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6381] exit_group(0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6386] <... futex resumed>) = ? [pid 6385] <... futex resumed>) = 0 [pid 6382] +++ exited with 0 +++ [pid 6381] <... exit_group resumed>) = ? [pid 6380] <... futex resumed>) = 1 [pid 6378] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6386] +++ exited with 0 +++ [pid 6385] open("./file0", O_RDONLY [pid 6381] +++ exited with 0 +++ [pid 6380] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6378] <... futex resumed>) = 1 [pid 6377] <... futex resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6382, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=23 /* 0.23 s */} --- [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6391 [pid 6385] <... open resumed>) = 3 [pid 6378] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6377] exit_group(0 [pid 6385] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6378] <... futex resumed>) = ? [pid 6377] <... exit_group resumed>) = ? [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6381, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=24 /* 0.24 s */} --- [pid 6385] <... futex resumed>) = 1 [pid 6380] <... futex resumed>) = 0 [pid 6378] +++ exited with 0 +++ [pid 6377] +++ exited with 0 +++ [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6385] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6380] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6385] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6385] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840./strace-static-x86_64: Process 6391 attached ) = 0 [pid 6391] set_robust_list(0x5555558636a0, 24 [pid 6385] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6391] <... set_robust_list resumed>) = 0 [pid 6385] <... futex resumed>) = 0 [pid 6391] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6385] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6391] <... prctl resumed>) = 0 [pid 6391] setpgid(0, 0) = 0 [pid 6391] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6391] write(3, "1000", 4) = 4 [pid 6391] close(3) = 0 [pid 6391] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6391] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6391] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 5027] <... openat resumed>) = 3 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6377, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=25 /* 0.25 s */} --- [pid 6391] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6385] <... futex resumed>) = 0 [pid 6380] <... futex resumed>) = 1 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5022] <... openat resumed>) = 3 [pid 6391] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6385] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6380] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6391] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6380] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5027] close(3 [pid 6391] <... mprotect resumed>) = 0 [pid 6380] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... close resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5022] <... ioctl resumed>) = 0 [pid 6391] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6385] <... futex resumed>) = 0 [pid 6380] <... futex resumed>) = 1 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5025] <... openat resumed>) = 3 [pid 5022] close(3 [pid 6391] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6385] ioctl(3, 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 6380] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6391] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5022] <... close resumed>) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6392 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6391] <... clone3 resumed> => {parent_tid=[6393]}, 88) = 6393 [pid 5025] close(3 [pid 6391] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6391] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... close resumed>) = 0 [pid 6391] <... futex resumed>) = 0 [pid 6391] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6393 attached [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6394 [pid 6393] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6393] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6395 [pid 6393] <... set_robust_list resumed>) = 0 [pid 6393] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6394 attached ./strace-static-x86_64: Process 6392 attached NULL, 8) = 0 [pid 6394] set_robust_list(0x5555558636a0, 24 [pid 6393] memfd_create("syzkaller", 0 [pid 6392] set_robust_list(0x5555558636a0, 24 [pid 6393] <... memfd_create resumed>) = 3 [pid 6394] <... set_robust_list resumed>) = 0 [pid 6393] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6392] <... set_robust_list resumed>) = 0 [pid 6393] <... mmap resumed>) = 0x7f4e2554e000 [pid 6392] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 6395 attached [pid 6394] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6392] <... prctl resumed>) = 0 [pid 6395] set_robust_list(0x5555558636a0, 24) = 0 [pid 6395] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6394] <... prctl resumed>) = 0 [pid 6392] setpgid(0, 0 [pid 6395] <... prctl resumed>) = 0 [pid 6395] setpgid(0, 0 [pid 6394] setpgid(0, 0 [pid 6392] <... setpgid resumed>) = 0 [pid 6395] <... setpgid resumed>) = 0 [pid 6395] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6394] <... setpgid resumed>) = 0 [pid 6392] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6395] <... openat resumed>) = 3 [pid 6392] <... openat resumed>) = 3 [pid 6395] write(3, "1000", 4 [pid 6394] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6392] write(3, "1000", 4 [pid 6395] <... write resumed>) = 4 [pid 6394] <... openat resumed>) = 3 [pid 6394] write(3, "1000", 4 [pid 6392] <... write resumed>) = 4 [pid 6395] close(3 [pid 6394] <... write resumed>) = 4 [pid 6392] close(3 [pid 6395] <... close resumed>) = 0 [pid 6395] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6394] close(3 [pid 6392] <... close resumed>) = 0 [pid 6395] <... futex resumed>) = 0 [pid 6395] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6394] <... close resumed>) = 0 [pid 6392] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6380] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6395] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6395] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6394] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6392] <... futex resumed>) = 0 [pid 6380] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6395] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6394] <... futex resumed>) = 0 [pid 6392] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6380] <... futex resumed>) = 0 [pid 6395] <... mprotect resumed>) = 0 [pid 6394] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6392] <... rt_sigaction resumed>NULL, 8) = 0 [ 157.157957][ T6385] BTRFS info (device loop2): balance: start -d -m [ 157.164784][ T6385] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6380] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6394] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6392] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6380] <... mmap resumed>) = 0x7f4e2652d000 [pid 6392] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6394] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6392] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6380] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6394] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6395] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6394] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6392] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6380] <... mprotect resumed>) = 0 [pid 6395] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6394] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6392] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6380] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6395] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6394] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6392] <... mprotect resumed>) = 0 [pid 6380] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6395] <... clone3 resumed> => {parent_tid=[6396]}, 88) = 6396 [pid 6394] <... mprotect resumed>) = 0 [pid 6395] rt_sigprocmask(SIG_SETMASK, [], [pid 6392] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6395] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6394] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6380] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6392] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6395] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6394] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6392] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6395] <... futex resumed>) = 0 [pid 6394] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6395] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6380] <... clone3 resumed> => {parent_tid=[6397]}, 88) = 6397 [pid 6392] <... clone3 resumed> => {parent_tid=[6398]}, 88) = 6398 [pid 6394] <... clone3 resumed> => {parent_tid=[6399]}, 88) = 6399 [pid 6392] rt_sigprocmask(SIG_SETMASK, [], [pid 6380] rt_sigprocmask(SIG_SETMASK, [], [pid 6394] rt_sigprocmask(SIG_SETMASK, [], [pid 6392] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6380] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6394] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6392] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6380] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6399 attached ./strace-static-x86_64: Process 6397 attached [pid 6394] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6392] <... futex resumed>) = 0 [pid 6380] <... futex resumed>) = 0 [pid 6394] <... futex resumed>) = 0 [pid 6392] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6380] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6394] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6399] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6397] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053./strace-static-x86_64: Process 6398 attached [pid 6399] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6397] <... rseq resumed>) = 0 [pid 6399] <... set_robust_list resumed>) = 0 [pid 6398] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6397] set_robust_list(0x7f4e2654d9a0, 24 [pid 6398] <... rseq resumed>) = 0 [pid 6399] rt_sigprocmask(SIG_SETMASK, [], [pid 6398] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6397] <... set_robust_list resumed>) = 0 ./strace-static-x86_64: Process 6396 attached [pid 6398] <... set_robust_list resumed>) = 0 [pid 6399] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6397] rt_sigprocmask(SIG_SETMASK, [], [pid 6398] rt_sigprocmask(SIG_SETMASK, [], [pid 6396] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6399] memfd_create("syzkaller", 0 [pid 6398] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6397] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6396] <... rseq resumed>) = 0 [pid 6399] <... memfd_create resumed>) = 3 [pid 6398] memfd_create("syzkaller", 0 [pid 6396] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6397] open("./file0", O_RDONLY [pid 6399] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6398] <... memfd_create resumed>) = 3 [pid 6397] <... open resumed>) = 4 [pid 6396] <... set_robust_list resumed>) = 0 [pid 6398] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6397] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6396] rt_sigprocmask(SIG_SETMASK, [], [pid 6399] <... mmap resumed>) = 0x7f4e2554e000 [pid 6398] <... mmap resumed>) = 0x7f4e2554e000 [pid 6397] <... futex resumed>) = 1 [pid 6396] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6380] <... futex resumed>) = 0 [pid 6397] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6396] memfd_create("syzkaller", 0 [pid 6380] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6397] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6396] <... memfd_create resumed>) = 3 [pid 6380] <... futex resumed>) = 0 [pid 6397] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6396] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6380] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6396] <... mmap resumed>) = 0x7f4e2554e000 [pid 6397] <... ioctl resumed>) = 0 [pid 6397] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6380] <... futex resumed>) = 0 [ 157.223859][ T6385] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 157.282341][ T6385] BTRFS info (device loop2): 2 enospc errors during balance [ 157.298685][ T6385] BTRFS info (device loop2): balance: ended with status: -28 [pid 6397] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6388] <... ioctl resumed>) = 0 [pid 6388] close(4) = 0 [pid 6388] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6387] <... futex resumed>) = 0 [pid 6387] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6388] open("./file0", O_RDONLY [pid 6387] <... futex resumed>) = 0 [pid 6387] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6385] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6388] <... open resumed>) = 3 [pid 6385] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6388] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6385] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6388] <... futex resumed>) = 1 [pid 6387] <... futex resumed>) = 0 [pid 6388] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6387] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6380] exit_group(0 [pid 6387] <... futex resumed>) = 0 [pid 6397] <... futex resumed>) = ? [pid 6388] <... ioctl resumed>) = 0 [pid 6387] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6385] <... futex resumed>) = ? [pid 6380] <... exit_group resumed>) = ? [pid 6397] +++ exited with 0 +++ [pid 6385] +++ exited with 0 +++ [pid 6380] +++ exited with 0 +++ [pid 6388] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6380, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=27 /* 0.27 s */} --- [pid 6388] <... futex resumed>) = 1 [pid 6387] <... futex resumed>) = 0 [pid 6388] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6387] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6388] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6387] <... futex resumed>) = 0 [pid 6388] ioctl(3, 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 6387] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5026] close(3) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6401 attached [pid 6401] set_robust_list(0x5555558636a0, 24) = 0 [pid 6401] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6401 [pid 6401] setpgid(0, 0) = 0 [pid 6401] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6401] write(3, "1000", 4) = 4 [pid 6401] close(3) = 0 [pid 6387] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6401] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6387] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6401] <... futex resumed>) = 0 [pid 6387] <... futex resumed>) = 0 [pid 6401] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6387] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6401] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6387] <... mmap resumed>) = 0x7f4e2652d000 [pid 6401] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6387] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6401] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6387] <... mprotect resumed>) = 0 [pid 6401] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6387] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6401] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6387] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6401] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6387] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6401] <... mprotect resumed>) = 0 [pid 6401] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6387] <... clone3 resumed> => {parent_tid=[6402]}, 88) = 6402 [pid 6401] <... rt_sigprocmask resumed>[], 8) = 0 [ 157.389039][ T6388] BTRFS info (device loop2): balance: start -d -m [ 157.410205][ T6388] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6387] rt_sigprocmask(SIG_SETMASK, [], [pid 6401] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6387] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6387] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6401] <... clone3 resumed> => {parent_tid=[6403]}, 88) = 6403 [pid 6387] <... futex resumed>) = 0 [pid 6401] rt_sigprocmask(SIG_SETMASK, [], [pid 6387] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6401] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6401] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6401] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6402 attached [pid 6402] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6402] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6402] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6402] open("./file0", O_RDONLY) = 4 [pid 6402] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6387] <... futex resumed>) = 0 [pid 6402] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6387] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6387] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6403 attached [pid 6403] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6403] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6402] <... ioctl resumed>) = 0 [pid 6402] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6387] <... futex resumed>) = 0 [pid 6402] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6403] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6403] memfd_create("syzkaller", 0) = 3 [pid 6403] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 157.453822][ T6388] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 157.495437][ T6388] BTRFS info (device loop2): 2 enospc errors during balance [ 157.529467][ T6388] BTRFS info (device loop2): balance: ended with status: -28 [pid 6393] 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 6388] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6388] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6387] exit_group(0 [pid 6402] <... futex resumed>) = ? [pid 6387] <... exit_group resumed>) = ? [pid 6402] +++ exited with 0 +++ [pid 6388] +++ exited with 0 +++ [pid 6387] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6387, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=27 /* 0.27 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6404 ./strace-static-x86_64: Process 6404 attached [pid 6404] set_robust_list(0x5555558636a0, 24) = 0 [pid 6404] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6404] setpgid(0, 0) = 0 [pid 6404] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6404] write(3, "1000", 4) = 4 [pid 6404] close(3) = 0 [pid 6404] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6399] 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 6404] <... futex resumed>) = 0 [pid 6404] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6404] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6404] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6404] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6404] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6404] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6405]}, 88) = 6405 [pid 6404] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6404] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6398] 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./strace-static-x86_64: Process 6405 attached [pid 6404] <... futex resumed>) = 0 [pid 6405] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6404] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6405] <... rseq resumed>) = 0 [pid 6405] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6405] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6405] memfd_create("syzkaller", 0) = 3 [pid 6405] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6396] 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 6403] 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 6399] <... write resumed>) = 16777216 [pid 6393] <... write resumed>) = 16777216 [pid 6405] 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 6399] munmap(0x7f4e2554e000, 16777216 [pid 6393] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6393] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6393] ioctl(4, LOOP_SET_FD, 3 [pid 6399] <... munmap resumed>) = 0 [pid 6399] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6399] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6399] ioctl(4, LOOP_CLR_FD) = 0 [pid 6393] <... ioctl resumed>) = 0 [pid 6399] ioctl(4, LOOP_SET_FD, 3 [pid 6393] close(3 [pid 6399] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6393] <... close resumed>) = 0 [pid 6399] close(4 [pid 6393] mkdir("./file0", 0777 [pid 6399] <... close resumed>) = 0 [pid 6399] close(3 [pid 6393] <... mkdir resumed>) = -1 EEXIST (File exists) [ 157.973738][ T6393] loop0: detected capacity change from 0 to 32768 [pid 6393] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6398] <... write resumed>) = 16777216 [pid 6398] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6398] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6398] ioctl(4, LOOP_SET_FD, 3 [pid 6393] <... mount resumed>) = -1 EEXIST (File exists) [pid 6393] ioctl(4, LOOP_CLR_FD [pid 6398] <... ioctl resumed>) = 0 [pid 6398] close(3) = 0 [pid 6398] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 158.014379][ T6393] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6393) [ 158.051458][ T6398] loop5: detected capacity change from 0 to 32768 [pid 6398] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6396] <... write resumed>) = 16777216 [pid 6396] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6396] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6396] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6396] close(3 [pid 6398] <... mount resumed>) = -1 EEXIST (File exists) [pid 6396] <... close resumed>) = 0 [pid 6398] ioctl(4, LOOP_CLR_FD [pid 6396] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 158.086944][ T6398] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6398) [ 158.115099][ T6396] loop3: detected capacity change from 0 to 32768 [pid 6396] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6403] <... write resumed>) = 16777216 [pid 6399] <... close resumed>) = 0 [pid 6399] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6403] munmap(0x7f4e2554e000, 16777216 [pid 6399] <... futex resumed>) = 1 [pid 6394] <... futex resumed>) = 0 [pid 6394] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6399] open("./file0", O_RDONLY [pid 6394] <... futex resumed>) = 0 [pid 6399] <... open resumed>) = 3 [pid 6394] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6399] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6394] <... futex resumed>) = 0 [pid 6399] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6394] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 158.140202][ T6396] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6396) [pid 6394] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6399] <... ioctl resumed>) = 0 [pid 6399] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6396] <... mount resumed>) = -1 EEXIST (File exists) [pid 6399] <... futex resumed>) = 1 [pid 6396] ioctl(4, LOOP_CLR_FD [pid 6394] <... futex resumed>) = 0 [pid 6394] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6394] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6399] ioctl(3, 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 6403] <... munmap resumed>) = 0 [pid 6403] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 158.207860][ T6399] BTRFS info (device loop2): balance: start -d -m [ 158.214634][ T6399] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6403] ioctl(4, LOOP_SET_FD, 3 [pid 6394] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6394] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6394] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6394] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6394] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6394] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6407]}, 88) = 6407 [pid 6394] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6394] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6394] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6403] <... ioctl resumed>) = 0 [pid 6403] close(3) = 0 [pid 6403] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6403] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,"./strace-static-x86_64: Process 6407 attached [pid 6407] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6407] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6407] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6407] open("./file0", O_RDONLY [pid 6394] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6407] <... open resumed>) = 4 [ 158.256268][ T6403] loop4: detected capacity change from 0 to 32768 [ 158.282855][ T6399] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 158.293076][ T6403] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6403) [pid 6394] futex(0x7f4e2da3d62c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6407] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6394] <... futex resumed>) = 0 [pid 6403] <... mount resumed>) = -1 EEXIST (File exists) [pid 6403] ioctl(4, LOOP_CLR_FD [pid 6407] <... futex resumed>) = 0 [pid 6394] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6407] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6394] <... mmap resumed>) = 0x7f4e2650c000 [pid 6394] mprotect(0x7f4e2650d000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6394] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6394] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2652c990, parent_tid=0x7f4e2652c990, exit_signal=0, stack=0x7f4e2650c000, stack_size=0x20300, tls=0x7f4e2652c6c0} => {parent_tid=[6408]}, 88) = 6408 [pid 6394] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6394] futex(0x7f4e2da3d628, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6394] futex(0x7f4e2da3d62c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6408 attached [pid 6408] rseq(0x7f4e2652cfe0, 0x20, 0, 0x53053053 [pid 6393] <... ioctl resumed>) = 0 [pid 6408] <... rseq resumed>) = 0 [pid 6399] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6393] close(4 [pid 6408] set_robust_list(0x7f4e2652c9a0, 24 [pid 6399] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6393] <... close resumed>) = 0 [pid 6408] <... set_robust_list resumed>) = 0 [pid 6399] <... futex resumed>) = 0 [pid 6393] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6408] rt_sigprocmask(SIG_SETMASK, [], [pid 6399] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6393] <... futex resumed>) = 1 [pid 6391] <... futex resumed>) = 0 [pid 6408] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6391] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6393] open("./file0", O_RDONLY [pid 6408] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6405] <... write resumed>) = 16777216 [pid 6396] <... ioctl resumed>) = 0 [pid 6394] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6393] <... open resumed>) = 3 [pid 6391] <... futex resumed>) = 0 [pid 6398] <... ioctl resumed>) = 0 [pid 6396] close(4 [pid 6393] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6391] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6405] munmap(0x7f4e2554e000, 16777216 [pid 6398] close(4 [pid 6396] <... close resumed>) = 0 [pid 6393] <... futex resumed>) = 0 [pid 6391] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6408] <... ioctl resumed>) = 0 [pid 6398] <... close resumed>) = 0 [pid 6396] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6393] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 158.333956][ T6399] BTRFS info (device loop2): 2 enospc errors during balance [ 158.365943][ T6399] BTRFS info (device loop2): balance: ended with status: -28 [pid 6391] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6408] futex(0x7f4e2da3d62c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6398] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6396] <... futex resumed>) = 1 [pid 6395] <... futex resumed>) = 0 [pid 6394] exit_group(0 [pid 6393] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6391] <... futex resumed>) = 0 [pid 6408] <... futex resumed>) = -1 (errno 18446744073709551555) [pid 6405] <... munmap resumed>) = 0 [pid 6398] <... futex resumed>) = 1 [pid 6396] open("./file0", O_RDONLY [pid 6408] +++ exited with 0 +++ [pid 6407] <... futex resumed>) = ? [pid 6399] <... futex resumed>) = ? [pid 6405] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6398] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6396] <... open resumed>) = 3 [pid 6395] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6394] <... exit_group resumed>) = ? [pid 6393] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6392] <... futex resumed>) = 0 [pid 6391] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6407] +++ exited with 0 +++ [pid 6405] <... openat resumed>) = 4 [pid 6399] +++ exited with 0 +++ [pid 6396] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6395] <... futex resumed>) = 0 [pid 6405] ioctl(4, LOOP_SET_FD, 3 [pid 6396] <... futex resumed>) = 0 [pid 6395] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6394] +++ exited with 0 +++ [pid 6393] <... ioctl resumed>) = 0 [pid 6392] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6396] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6395] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6395] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6405] <... ioctl resumed>) = 0 [pid 6398] <... futex resumed>) = 0 [pid 6396] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6395] <... futex resumed>) = 0 [pid 6393] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6392] <... futex resumed>) = 1 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6394, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=25 /* 0.25 s */} --- [pid 6405] close(3 [pid 6398] open("./file0", O_RDONLY [pid 6396] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6395] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6393] <... futex resumed>) = 1 [pid 6392] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6391] <... futex resumed>) = 0 [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 6405] <... close resumed>) = 0 [pid 6398] <... open resumed>) = 3 [pid 6396] <... ioctl resumed>) = 0 [pid 6393] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6391] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... restart_syscall resumed>) = 0 [pid 6405] mkdir("./file0", 0777 [pid 6398] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6396] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6393] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6391] <... futex resumed>) = 0 [pid 6405] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6398] <... futex resumed>) = 1 [pid 6396] <... futex resumed>) = 1 [pid 6395] <... futex resumed>) = 0 [pid 6393] ioctl(3, 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 6392] <... futex resumed>) = 0 [pid 6391] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6405] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6398] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6396] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6395] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6398] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6396] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6395] <... futex resumed>) = 0 [pid 6392] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6398] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6395] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6398] <... ioctl resumed>) = 0 [pid 6398] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6398] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5022] <... openat resumed>) = 3 [pid 6398] <... futex resumed>) = 0 [pid 6396] ioctl(3, 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 6392] <... futex resumed>) = 1 [pid 6398] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6396] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6396] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6392] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] <... ioctl resumed>) = 0 [pid 6405] <... mount resumed>) = -1 EEXIST (File exists) [pid 6396] <... futex resumed>) = 1 [pid 6395] <... futex resumed>) = 0 [pid 6392] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 158.438456][ T6405] loop1: detected capacity change from 0 to 32768 [ 158.460410][ T6405] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6405) [ 158.472092][ T6393] BTRFS info (device loop2): balance: start -d -m [ 158.479572][ T6393] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5022] close(3 [pid 6405] ioctl(4, LOOP_CLR_FD [pid 6396] open("./file0", O_RDONLY [pid 6395] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6392] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... close resumed>) = 0 [pid 6395] <... futex resumed>) = 0 [pid 6395] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6398] <... futex resumed>) = 0 [pid 6396] <... open resumed>) = 4 [pid 6392] <... futex resumed>) = 1 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6396] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6392] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6398] ioctl(3, 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 6396] <... futex resumed>) = 1 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6409 [pid 6396] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6398] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6395] <... futex resumed>) = 0 [pid 6391] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6398] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6395] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6391] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6398] <... futex resumed>) = 1 [pid 6395] <... futex resumed>) = 1 [pid 6391] <... futex resumed>) = 0 [pid 6398] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6395] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6391] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6391] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6391] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6396] <... futex resumed>) = 0 [pid 6392] <... futex resumed>) = 0 [pid 6391] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6396] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6392] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6398] <... futex resumed>) = 0 [pid 6392] <... futex resumed>) = 1 [pid 6391] <... clone3 resumed> => {parent_tid=[6410]}, 88) = 6410 [pid 6398] open("./file0", O_RDONLY [pid 6392] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6391] rt_sigprocmask(SIG_SETMASK, [], [pid 6398] <... open resumed>) = 4 [pid 6396] <... ioctl resumed>) = 0 [pid 6391] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6398] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6396] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6391] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6403] <... ioctl resumed>) = 0 [pid 6398] <... futex resumed>) = 1 [pid 6396] <... futex resumed>) = 1 [pid 6395] <... futex resumed>) = 0 [pid 6392] <... futex resumed>) = 0 [pid 6391] <... futex resumed>) = 0 [pid 6398] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6396] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6395] exit_group(0 [pid 6392] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6391] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6398] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6396] <... futex resumed>) = ? [pid 6395] <... exit_group resumed>) = ? [pid 6392] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6409 attached [ 158.495117][ T6393] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6398] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6396] +++ exited with 0 +++ [pid 6395] +++ exited with 0 +++ [pid 6392] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6410 attached [pid 6409] set_robust_list(0x5555558636a0, 24 [pid 6410] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6409] <... set_robust_list resumed>) = 0 [pid 6410] <... rseq resumed>) = 0 [pid 6409] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6410] set_robust_list(0x7f4e2654d9a0, 24 [pid 6409] <... prctl resumed>) = 0 [pid 6410] <... set_robust_list resumed>) = 0 [pid 6409] setpgid(0, 0 [pid 6410] rt_sigprocmask(SIG_SETMASK, [], [pid 6409] <... setpgid resumed>) = 0 [pid 6410] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6409] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6410] open("./file0", O_RDONLY [pid 6409] <... openat resumed>) = 3 [pid 6410] <... open resumed>) = 4 [pid 6409] write(3, "1000", 4 [pid 6410] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6409] <... write resumed>) = 4 [pid 6398] <... ioctl resumed>) = 0 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6395, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=24 /* 0.24 s */} --- [pid 6410] <... futex resumed>) = 1 [pid 6409] close(3 [pid 6398] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6391] <... futex resumed>) = 0 [pid 6410] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6409] <... close resumed>) = 0 [pid 6398] <... futex resumed>) = 1 [pid 6392] <... futex resumed>) = 0 [pid 6391] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6410] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6409] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6398] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6391] <... futex resumed>) = 0 [pid 6410] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6409] <... futex resumed>) = 0 [pid 6391] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6409] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6409] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6409] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6392] exit_group(0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6410] <... ioctl resumed>) = 0 [pid 6409] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6398] <... futex resumed>) = ? [pid 6392] <... exit_group resumed>) = ? [pid 5025] <... openat resumed>) = 3 [pid 6410] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6409] <... mprotect resumed>) = 0 [pid 6398] +++ exited with 0 +++ [pid 6410] <... futex resumed>) = 1 [pid 6409] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6391] <... futex resumed>) = 0 [pid 6410] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6409] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6392] +++ exited with 0 +++ [pid 6409] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6392, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 6409] <... clone3 resumed> => {parent_tid=[6412]}, 88) = 6412 [pid 5027] <... restart_syscall resumed>) = 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6409] rt_sigprocmask(SIG_SETMASK, [], [pid 5025] close(3 [pid 6409] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6403] close(4 [pid 5025] <... close resumed>) = 0 [pid 6409] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6403] <... close resumed>) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6409] <... futex resumed>) = 0 [pid 6403] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... openat resumed>) = 3 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6409] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6403] <... futex resumed>) = 1 [pid 6401] <... futex resumed>) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6403] open("./file0", O_RDONLY [pid 6401] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 6412 attached [pid 6403] <... open resumed>) = 3 [pid 6401] <... futex resumed>) = 0 [pid 5027] close(3 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6413 ./strace-static-x86_64: Process 6413 attached [pid 6412] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6403] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6401] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6393] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5027] <... close resumed>) = 0 [pid 6413] set_robust_list(0x5555558636a0, 24 [pid 6412] <... rseq resumed>) = 0 [pid 6403] <... futex resumed>) = 0 [pid 6401] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6393] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6413] <... set_robust_list resumed>) = 0 [pid 6412] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6403] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6401] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6393] <... futex resumed>) = 0 [pid 6391] exit_group(0 [pid 6413] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6412] <... set_robust_list resumed>) = 0 [pid 6410] <... futex resumed>) = ? [pid 6403] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6401] <... futex resumed>) = 0 [pid 6391] <... exit_group resumed>) = ? [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6414 [pid 6413] <... prctl resumed>) = 0 [pid 6412] rt_sigprocmask(SIG_SETMASK, [], [pid 6410] +++ exited with 0 +++ [pid 6403] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6401] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6393] +++ exited with 0 +++ [pid 6391] +++ exited with 0 +++ [pid 6413] setpgid(0, 0 [pid 6412] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6403] <... ioctl resumed>) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6391, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=28 /* 0.28 s */} --- [pid 6413] <... setpgid resumed>) = 0 [pid 6412] memfd_create("syzkaller", 0 [pid 6403] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6414 attached [pid 6413] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6412] <... memfd_create resumed>) = 3 [pid 6403] <... futex resumed>) = 1 [pid 6401] <... futex resumed>) = 0 [pid 6414] set_robust_list(0x5555558636a0, 24 [pid 6413] <... openat resumed>) = 3 [ 158.540981][ T6393] BTRFS info (device loop2): 2 enospc errors during balance [ 158.563841][ T6393] BTRFS info (device loop2): balance: ended with status: -28 [pid 6412] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6403] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6401] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6414] <... set_robust_list resumed>) = 0 [pid 6413] write(3, "1000", 4 [pid 6412] <... mmap resumed>) = 0x7f4e2554e000 [pid 6403] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6401] <... futex resumed>) = 0 [pid 6414] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6413] <... write resumed>) = 4 [pid 6403] ioctl(3, 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 6401] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6414] <... prctl resumed>) = 0 [pid 6413] close(3 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6414] setpgid(0, 0 [pid 5020] <... openat resumed>) = 3 [pid 6414] <... setpgid resumed>) = 0 [pid 6413] <... close resumed>) = 0 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6414] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6414] <... openat resumed>) = 3 [pid 5020] close(3 [pid 6414] write(3, "1000", 4 [pid 5020] <... close resumed>) = 0 [pid 6414] <... write resumed>) = 4 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6414] close(3) = 0 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6415 [pid 6414] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6414] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6414] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6414] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6414] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6414] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6413] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6414] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6413] <... futex resumed>) = 0 [pid 6413] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6414] <... clone3 resumed> => {parent_tid=[6416]}, 88) = 6416 [pid 6414] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6414] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6415 attached ) = 0 [pid 6413] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6415] set_robust_list(0x5555558636a0, 24 [pid 6414] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6413] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6415] <... set_robust_list resumed>) = 0 [pid 6413] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6416 attached [pid 6416] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6415] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6413] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6416] <... rseq resumed>) = 0 [pid 6415] <... prctl resumed>) = 0 [pid 6413] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6416] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6415] setpgid(0, 0 [pid 6413] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6416] <... set_robust_list resumed>) = 0 [pid 6415] <... setpgid resumed>) = 0 [ 158.650182][ T6403] BTRFS info (device loop2): balance: start -d -m [ 158.659897][ T6403] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6413] <... mprotect resumed>) = 0 [pid 6416] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6416] memfd_create("syzkaller", 0) = 3 [pid 6416] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6401] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6401] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6415] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6413] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6401] <... futex resumed>) = 0 [pid 6415] <... openat resumed>) = 3 [pid 6413] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6405] <... ioctl resumed>) = 0 [pid 6401] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6415] write(3, "1000", 4 [pid 6413] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6405] close(4 [pid 6401] <... mmap resumed>) = 0x7f4e2652d000 [pid 6415] <... write resumed>) = 4 [pid 6401] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6415] close(3 [pid 6413] <... clone3 resumed> => {parent_tid=[6417]}, 88) = 6417 [pid 6405] <... close resumed>) = 0 [pid 6401] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6401] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6418]}, 88) = 6418 [pid 6401] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6415] <... close resumed>) = 0 [pid 6413] rt_sigprocmask(SIG_SETMASK, [], [pid 6405] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6401] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6415] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6413] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6405] <... futex resumed>) = 1 [pid 6404] <... futex resumed>) = 0 [pid 6401] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6418 attached ./strace-static-x86_64: Process 6417 attached [pid 6415] <... futex resumed>) = 0 [pid 6413] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6405] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6404] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6401] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 158.690474][ T6403] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 158.723011][ T6403] BTRFS info (device loop2): 2 enospc errors during balance [pid 6418] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6417] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6415] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6413] <... futex resumed>) = 0 [pid 6405] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6404] <... futex resumed>) = 0 [pid 6418] <... rseq resumed>) = 0 [pid 6418] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6418] rt_sigprocmask(SIG_SETMASK, [], [pid 6417] <... rseq resumed>) = 0 [pid 6415] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6413] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6405] open("./file0", O_RDONLY [pid 6404] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6418] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6417] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6415] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6405] <... open resumed>) = 3 [pid 6418] open("./file0", O_RDONLY [pid 6417] <... set_robust_list resumed>) = 0 [pid 6415] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6405] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6403] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6418] <... open resumed>) = 4 [pid 6417] rt_sigprocmask(SIG_SETMASK, [], [pid 6415] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6405] <... futex resumed>) = 1 [pid 6404] <... futex resumed>) = 0 [pid 6403] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6418] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6417] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6415] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6405] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6404] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6403] <... futex resumed>) = 0 [pid 6418] <... futex resumed>) = 1 [pid 6417] memfd_create("syzkaller", 0 [pid 6415] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6405] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6404] <... futex resumed>) = 0 [pid 6403] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6401] <... futex resumed>) = 0 [pid 6418] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6417] <... memfd_create resumed>) = 3 [pid 6415] <... mprotect resumed>) = 0 [pid 6405] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6404] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6401] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6417] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6415] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6405] <... ioctl resumed>) = 0 [pid 6403] <... futex resumed>) = 0 [pid 6401] <... futex resumed>) = 1 [pid 6417] <... mmap resumed>) = 0x7f4e2554e000 [pid 6415] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6405] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6403] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6401] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6415] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6405] <... futex resumed>) = 1 [pid 6404] <... futex resumed>) = 0 [pid 6405] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6404] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6415] <... clone3 resumed> => {parent_tid=[6419]}, 88) = 6419 [pid 6405] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6404] <... futex resumed>) = 0 [pid 6403] <... ioctl resumed>) = 0 [pid 6415] rt_sigprocmask(SIG_SETMASK, [], [pid 6405] ioctl(3, 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 6404] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6403] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6415] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6403] <... futex resumed>) = 1 [pid 6401] <... futex resumed>) = 0 [ 158.745970][ T6403] BTRFS info (device loop2): balance: ended with status: -28 [pid 6401] exit_group(0./strace-static-x86_64: Process 6419 attached [pid 6418] <... futex resumed>) = ? [pid 6415] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6401] <... exit_group resumed>) = ? [pid 6419] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6418] +++ exited with 0 +++ [pid 6415] <... futex resumed>) = 0 [pid 6403] +++ exited with 0 +++ [pid 6401] +++ exited with 0 +++ [pid 6419] <... rseq resumed>) = 0 [pid 6415] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6419] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6401, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=25 /* 0.25 s */} --- [pid 6419] <... set_robust_list resumed>) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6419] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] <... openat resumed>) = 3 [pid 6419] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6419] memfd_create("syzkaller", 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6419] <... memfd_create resumed>) = 3 [pid 5026] close(3 [pid 6419] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5026] <... close resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6420 [pid 6419] <... mmap resumed>) = 0x7f4e2554e000 [pid 6404] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6404] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6404] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0./strace-static-x86_64: Process 6420 attached ) = 0x7f4e2652d000 [pid 6420] set_robust_list(0x5555558636a0, 24 [pid 6404] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6420] <... set_robust_list resumed>) = 0 [pid 6404] <... mprotect resumed>) = 0 [pid 6404] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6420] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6404] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6420] <... prctl resumed>) = 0 [pid 6404] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [ 158.794324][ T6405] BTRFS info (device loop2): balance: start -d -m [ 158.807719][ T6405] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6420] setpgid(0, 0) = 0 [pid 6404] <... clone3 resumed> => {parent_tid=[6421]}, 88) = 6421 [pid 6404] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6421 attached [pid 6420] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6404] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6421] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6420] <... openat resumed>) = 3 [pid 6404] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6421] <... rseq resumed>) = 0 [pid 6420] write(3, "1000", 4 [pid 6404] <... futex resumed>) = 0 [pid 6421] set_robust_list(0x7f4e2654d9a0, 24 [pid 6420] <... write resumed>) = 4 [pid 6404] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6421] <... set_robust_list resumed>) = 0 [pid 6420] close(3 [pid 6421] rt_sigprocmask(SIG_SETMASK, [], [pid 6420] <... close resumed>) = 0 [pid 6421] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6420] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6421] open("./file0", O_RDONLY [pid 6420] <... futex resumed>) = 0 [pid 6421] <... open resumed>) = 4 [pid 6420] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6421] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6420] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6421] <... futex resumed>) = 1 [pid 6404] <... futex resumed>) = 0 [pid 6421] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6420] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6404] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6421] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6420] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6404] <... futex resumed>) = 0 [pid 6421] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6420] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6404] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6420] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6420] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6420] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6421] <... ioctl resumed>) = 0 [pid 6420] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6421] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6420] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6421] <... futex resumed>) = 1 [pid 6404] <... futex resumed>) = 0 [pid 6421] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6420] <... clone3 resumed> => {parent_tid=[6422]}, 88) = 6422 [pid 6420] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6420] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6420] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6422 attached [pid 6422] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [ 158.867368][ T6405] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6422] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6422] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6422] memfd_create("syzkaller", 0) = 3 [pid 6422] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 158.926295][ T6405] BTRFS info (device loop2): 2 enospc errors during balance [ 158.933625][ T6405] BTRFS info (device loop2): balance: ended with status: -28 [pid 6405] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6405] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6404] exit_group(0) = ? [pid 6421] <... futex resumed>) = ? [pid 6421] +++ exited with 0 +++ [pid 6405] +++ exited with 0 +++ [pid 6404] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6404, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=19 /* 0.19 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6423 ./strace-static-x86_64: Process 6423 attached [pid 6423] set_robust_list(0x5555558636a0, 24) = 0 [pid 6423] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6412] 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 6423] <... prctl resumed>) = 0 [pid 6423] setpgid(0, 0) = 0 [pid 6423] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6423] write(3, "1000", 4) = 4 [pid 6423] close(3) = 0 [pid 6423] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6423] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6423] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6423] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6423] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6423] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6417] 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 6423] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6423] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6424]}, 88) = 6424 [pid 6423] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6423] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6423] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6424 attached [pid 6424] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6416] 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 6424] <... rseq resumed>) = 0 [pid 6424] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6424] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6424] memfd_create("syzkaller", 0) = 3 [pid 6424] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6419] 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 6422] 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 6412] <... write resumed>) = 16777216 [pid 6424] 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 6412] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6412] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6412] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6412] ioctl(4, LOOP_CLR_FD) = 0 [pid 6412] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6412] close(4) = 0 [pid 6412] close(3 [pid 6417] <... write resumed>) = 16777216 [pid 6417] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6417] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6417] ioctl(4, LOOP_SET_FD, 3 [pid 6416] <... write resumed>) = 16777216 [pid 6416] munmap(0x7f4e2554e000, 16777216 [pid 6417] <... ioctl resumed>) = 0 [pid 6416] <... munmap resumed>) = 0 [pid 6417] close(3) = 0 [pid 6417] mkdir("./file0", 0777 [pid 6419] <... write resumed>) = 16777216 [pid 6419] munmap(0x7f4e2554e000, 16777216 [pid 6417] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6417] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 159.478352][ T6417] loop3: detected capacity change from 0 to 32768 [pid 6416] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6416] ioctl(4, LOOP_SET_FD, 3 [pid 6419] <... munmap resumed>) = 0 [pid 6419] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6419] ioctl(4, LOOP_SET_FD, 3 [pid 6417] <... mount resumed>) = -1 EEXIST (File exists) [ 159.519728][ T6417] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6417) [ 159.523529][ T6416] loop5: detected capacity change from 0 to 32768 [pid 6416] <... ioctl resumed>) = 0 [pid 6416] close(3) = 0 [pid 6416] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6419] <... ioctl resumed>) = 0 [pid 6417] ioctl(4, LOOP_CLR_FD [pid 6419] close(3) = 0 [pid 6416] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6419] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6419] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6416] <... mount resumed>) = -1 EEXIST (File exists) [ 159.566631][ T6419] loop0: detected capacity change from 0 to 32768 [ 159.579443][ T6416] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6416) [pid 6416] ioctl(4, LOOP_CLR_FD [pid 6419] <... mount resumed>) = -1 EEXIST (File exists) [pid 6412] <... close resumed>) = 0 [pid 6419] ioctl(4, LOOP_CLR_FD [pid 6422] <... write resumed>) = 16777216 [pid 6422] munmap(0x7f4e2554e000, 16777216 [pid 6412] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6422] <... munmap resumed>) = 0 [pid 6412] <... futex resumed>) = 1 [pid 6409] <... futex resumed>) = 0 [pid 6412] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6409] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6422] openat(AT_FDCWD, "/dev/loop4", O_RDWR [ 159.617502][ T6419] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6419) [pid 6412] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6409] <... futex resumed>) = 0 [pid 6422] <... openat resumed>) = 4 [pid 6412] open("./file0", O_RDONLY [pid 6409] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6422] ioctl(4, LOOP_SET_FD, 3 [pid 6412] <... open resumed>) = 3 [pid 6422] <... ioctl resumed>) = 0 [pid 6412] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6422] close(3 [pid 6412] <... futex resumed>) = 1 [pid 6409] <... futex resumed>) = 0 [pid 6422] <... close resumed>) = 0 [pid 6412] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6409] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6422] mkdir("./file0", 0777 [pid 6412] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6409] <... futex resumed>) = 0 [pid 6422] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6412] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6409] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6422] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6412] <... ioctl resumed>) = 0 [pid 6412] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6409] <... futex resumed>) = 0 [pid 6412] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6409] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6412] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6409] <... futex resumed>) = 0 [pid 6412] ioctl(3, 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}} [ 159.707053][ T6422] loop4: detected capacity change from 0 to 32768 [ 159.732607][ T6422] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6422) [pid 6409] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6424] <... write resumed>) = 16777216 [pid 6422] <... mount resumed>) = -1 EEXIST (File exists) [pid 6422] ioctl(4, LOOP_CLR_FD [pid 6409] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6424] munmap(0x7f4e2554e000, 16777216 [pid 6409] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6417] <... ioctl resumed>) = 0 [pid 6409] <... futex resumed>) = 0 [pid 6409] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6409] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6424] <... munmap resumed>) = 0 [ 159.752597][ T6412] BTRFS info (device loop2): balance: start -d -m [ 159.776502][ T6412] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6409] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6409] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6426]}, 88) = 6426 [pid 6409] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6424] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6417] close(4 [pid 6409] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6424] <... openat resumed>) = 4 [pid 6417] <... close resumed>) = 0 [pid 6409] <... futex resumed>) = 0 [pid 6409] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6424] ioctl(4, LOOP_SET_FD, 3 [pid 6417] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6426 attached [pid 6426] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6426] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6426] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6424] <... ioctl resumed>) = 0 [pid 6417] <... futex resumed>) = 1 [pid 6413] <... futex resumed>) = 0 [pid 6426] open("./file0", O_RDONLY) = 4 [pid 6426] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6417] open("./file0", O_RDONLY [pid 6413] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6426] <... futex resumed>) = 1 [ 159.812073][ T6412] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 159.828430][ T6424] loop1: detected capacity change from 0 to 32768 [pid 6417] <... open resumed>) = 3 [pid 6413] <... futex resumed>) = 0 [pid 6409] <... futex resumed>) = 0 [pid 6426] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6424] close(3 [pid 6417] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6413] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6409] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6426] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6424] <... close resumed>) = 0 [pid 6417] <... futex resumed>) = 0 [pid 6413] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6409] <... futex resumed>) = 0 [pid 6426] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6424] mkdir("./file0", 0777 [pid 6417] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6413] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6409] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6424] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6417] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6413] <... futex resumed>) = 0 [pid 6426] <... ioctl resumed>) = 0 [pid 6424] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6417] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6413] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6426] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6416] <... ioctl resumed>) = 0 [pid 6426] <... futex resumed>) = 1 [pid 6409] <... futex resumed>) = 0 [pid 6417] <... ioctl resumed>) = 0 [pid 6426] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6417] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6416] close(4 [pid 6424] <... mount resumed>) = -1 EEXIST (File exists) [pid 6419] <... ioctl resumed>) = 0 [pid 6417] <... futex resumed>) = 1 [pid 6416] <... close resumed>) = 0 [pid 6413] <... futex resumed>) = 0 [pid 6412] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6424] ioctl(4, LOOP_CLR_FD [pid 6419] close(4 [pid 6417] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6416] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6413] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6412] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6409] exit_group(0 [pid 6426] <... futex resumed>) = ? [pid 6419] <... close resumed>) = 0 [pid 6417] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6416] <... futex resumed>) = 1 [pid 6414] <... futex resumed>) = 0 [pid 6413] <... futex resumed>) = 0 [pid 6412] <... futex resumed>) = ? [pid 6409] <... exit_group resumed>) = ? [pid 6426] +++ exited with 0 +++ [pid 6419] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6417] ioctl(3, 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 6416] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6414] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6413] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6412] +++ exited with 0 +++ [pid 6409] +++ exited with 0 +++ [ 159.861407][ T6412] BTRFS info (device loop2): 2 enospc errors during balance [ 159.878295][ T6412] BTRFS info (device loop2): balance: ended with status: -28 [ 159.891702][ T6424] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6424) [pid 6419] <... futex resumed>) = 1 [pid 6416] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6415] <... futex resumed>) = 0 [pid 6414] <... futex resumed>) = 0 [pid 6419] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6416] open("./file0", O_RDONLY [pid 6414] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6409, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=26 /* 0.26 s */} --- [pid 6416] <... open resumed>) = 3 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6416] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... openat resumed>) = 3 [pid 6416] <... futex resumed>) = 1 [pid 6414] <... futex resumed>) = 0 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6416] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6414] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... ioctl resumed>) = 0 [pid 6416] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6415] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6414] <... futex resumed>) = 0 [pid 5022] close(3 [pid 6419] <... futex resumed>) = 0 [pid 6416] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6415] <... futex resumed>) = 1 [pid 6414] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] <... close resumed>) = 0 [pid 6419] open("./file0", O_RDONLY [pid 6416] <... ioctl resumed>) = 0 [pid 6415] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6419] <... open resumed>) = 3 [pid 6416] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6414] <... futex resumed>) = 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6427 [pid 6416] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6414] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6416] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6414] <... futex resumed>) = 0 [pid 6416] ioctl(3, 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 6414] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6416] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6416] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6414] <... futex resumed>) = 0 [pid 6419] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6416] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6414] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6427 attached [pid 6416] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6414] <... futex resumed>) = 0 [pid 6427] set_robust_list(0x5555558636a0, 24 [pid 6416] open("./file0", O_RDONLY [pid 6414] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6427] <... set_robust_list resumed>) = 0 [pid 6416] <... open resumed>) = 4 [pid 6427] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6416] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6427] <... prctl resumed>) = 0 [pid 6416] <... futex resumed>) = 1 [pid 6414] <... futex resumed>) = 0 [pid 6427] setpgid(0, 0 [pid 6416] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6414] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6427] <... setpgid resumed>) = 0 [pid 6416] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6414] <... futex resumed>) = 0 [pid 6427] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6416] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6414] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6427] <... openat resumed>) = 3 [pid 6419] <... futex resumed>) = 1 [pid 6416] <... ioctl resumed>) = 0 [pid 6415] <... futex resumed>) = 0 [pid 6427] write(3, "1000", 4 [pid 6419] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6416] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6415] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6427] <... write resumed>) = 4 [pid 6419] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6416] <... futex resumed>) = 1 [pid 6415] <... futex resumed>) = 0 [pid 6414] <... futex resumed>) = 0 [pid 6427] close(3 [pid 6419] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6416] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6415] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6414] exit_group(0 [pid 6427] <... close resumed>) = 0 [pid 6419] <... ioctl resumed>) = 0 [pid 6416] <... futex resumed>) = ? [ 159.942684][ T6417] BTRFS info (device loop2): balance: start -d -m [ 159.954537][ T6417] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6414] <... exit_group resumed>) = ? [pid 6427] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6422] <... ioctl resumed>) = 0 [pid 6419] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6416] +++ exited with 0 +++ [pid 6414] +++ exited with 0 +++ [pid 6413] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6427] <... futex resumed>) = 0 [pid 6427] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6414, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=27 /* 0.27 s */} --- [pid 6427] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 6427] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6419] <... futex resumed>) = 1 [pid 6415] <... futex resumed>) = 0 [pid 6413] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6422] close(4 [pid 5027] <... restart_syscall resumed>) = 0 [pid 6427] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6419] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6427] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6422] <... close resumed>) = 0 [pid 6419] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6415] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6413] <... futex resumed>) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6427] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6422] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6419] ioctl(3, 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 6415] <... futex resumed>) = 0 [pid 6413] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5027] <... openat resumed>) = 3 [pid 6427] <... mprotect resumed>) = 0 [pid 6422] <... futex resumed>) = 1 [pid 6420] <... futex resumed>) = 0 [pid 6419] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6415] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6413] <... mmap resumed>) = 0x7f4e2652d000 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6427] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6422] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6420] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6419] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6415] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6413] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6427] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6422] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6420] <... futex resumed>) = 0 [pid 6419] <... futex resumed>) = 0 [pid 6415] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6413] <... mprotect resumed>) = 0 [pid 5027] close(3 [pid 6427] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6422] open("./file0", O_RDONLY [pid 6420] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6419] open("./file0", O_RDONLY [pid 6415] <... futex resumed>) = 0 [pid 6413] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5027] <... close resumed>) = 0 [pid 6422] <... open resumed>) = 3 [pid 6419] <... open resumed>) = 4 [pid 6415] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6413] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6427] <... clone3 resumed> => {parent_tid=[6429]}, 88) = 6429 [pid 6422] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6419] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6415] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6413] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6427] rt_sigprocmask(SIG_SETMASK, [], [pid 6422] <... futex resumed>) = 1 [pid 6420] <... futex resumed>) = 0 [pid 6419] <... futex resumed>) = 0 [pid 6415] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6430 ./strace-static-x86_64: Process 6429 attached [ 160.002500][ T6417] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6427] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6422] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6420] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6419] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6415] <... futex resumed>) = 0 [pid 6413] <... clone3 resumed> => {parent_tid=[6431]}, 88) = 6431 [pid 6429] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6427] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6429] <... rseq resumed>) = 0 [pid 6427] <... futex resumed>) = 0 [pid 6429] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6427] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6429] <... set_robust_list resumed>) = 0 [pid 6429] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6422] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6420] <... futex resumed>) = 0 [pid 6429] memfd_create("syzkaller", 0 [pid 6420] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6415] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6413] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6430 attached [pid 6429] <... memfd_create resumed>) = 3 [pid 6422] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6419] <... ioctl resumed>) = 0 [pid 6413] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6430] set_robust_list(0x5555558636a0, 24 [pid 6429] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6422] <... ioctl resumed>) = 0 [pid 6419] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6413] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6431 attached [pid 6430] <... set_robust_list resumed>) = 0 [pid 6429] <... mmap resumed>) = 0x7f4e2554e000 [pid 6422] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6419] <... futex resumed>) = 1 [pid 6415] <... futex resumed>) = 0 [pid 6413] <... futex resumed>) = 0 [pid 6431] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6430] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6422] <... futex resumed>) = 1 [pid 6420] <... futex resumed>) = 0 [pid 6419] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6417] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6415] exit_group(0 [pid 6413] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6431] <... rseq resumed>) = 0 [pid 6430] <... prctl resumed>) = 0 [pid 6422] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6420] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6419] <... futex resumed>) = ? [pid 6417] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6415] <... exit_group resumed>) = ? [pid 6424] <... ioctl resumed>) = 0 [pid 6431] set_robust_list(0x7f4e2654d9a0, 24 [pid 6430] setpgid(0, 0 [pid 6422] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6420] <... futex resumed>) = 0 [pid 6419] +++ exited with 0 +++ [pid 6417] <... futex resumed>) = 0 [pid 6431] <... set_robust_list resumed>) = 0 [pid 6430] <... setpgid resumed>) = 0 [pid 6424] close(4 [pid 6422] ioctl(3, 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 6420] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6417] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6415] +++ exited with 0 +++ [pid 6431] rt_sigprocmask(SIG_SETMASK, [], [pid 6430] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6424] <... close resumed>) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6415, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=24 /* 0.24 s */} --- [pid 6431] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6431] open("./file0", O_RDONLY [pid 6430] <... openat resumed>) = 3 [ 160.046339][ T6417] BTRFS info (device loop2): 2 enospc errors during balance [ 160.066177][ T6417] BTRFS info (device loop2): balance: ended with status: -28 [pid 6424] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6431] <... open resumed>) = 4 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6431] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6430] write(3, "1000", 4 [pid 6424] <... futex resumed>) = 1 [pid 6423] <... futex resumed>) = 0 [pid 6423] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6432 [pid 6430] <... write resumed>) = 4 [pid 6424] open("./file0", O_RDONLY [pid 6423] <... futex resumed>) = 0 [pid 6430] close(3 [pid 6424] <... open resumed>) = 3 [pid 6423] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6430] <... close resumed>) = 0 [pid 6424] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6423] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6431] <... futex resumed>) = 1 [pid 6430] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6424] <... futex resumed>) = 0 [pid 6423] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6413] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6432 attached [pid 6431] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6430] <... futex resumed>) = 0 [pid 6424] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6423] <... futex resumed>) = 0 [pid 6413] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6432] set_robust_list(0x5555558636a0, 24 [pid 6430] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6424] <... ioctl resumed>) = 0 [pid 6423] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6417] <... futex resumed>) = 0 [pid 6413] <... futex resumed>) = 1 [pid 6432] <... set_robust_list resumed>) = 0 [pid 6430] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6424] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6423] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6417] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6413] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6432] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6430] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6424] <... futex resumed>) = 0 [pid 6423] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6432] <... prctl resumed>) = 0 [pid 6430] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6424] ioctl(3, 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 6423] <... futex resumed>) = 0 [pid 6417] <... ioctl resumed>) = 0 [pid 6432] setpgid(0, 0 [pid 6430] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6424] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6423] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6420] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6417] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6432] <... setpgid resumed>) = 0 [pid 6430] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6424] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6423] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6420] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6417] <... futex resumed>) = 1 [pid 6413] <... futex resumed>) = 0 [pid 6432] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6430] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6424] <... futex resumed>) = 0 [pid 6423] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6420] <... futex resumed>) = 0 [pid 6417] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6413] exit_group(0 [pid 6432] <... openat resumed>) = 3 [pid 6431] <... futex resumed>) = ? [pid 6430] <... mprotect resumed>) = 0 [pid 6424] open("./file0", O_RDONLY [pid 6423] <... futex resumed>) = 0 [pid 6420] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6417] <... futex resumed>) = ? [pid 6413] <... exit_group resumed>) = ? [pid 6432] write(3, "1000", 4 [pid 6431] +++ exited with 0 +++ [pid 6430] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6424] <... open resumed>) = 4 [pid 6423] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6420] <... mmap resumed>) = 0x7f4e2652d000 [pid 6417] +++ exited with 0 +++ [pid 6432] <... write resumed>) = 4 [pid 6430] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6424] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6420] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6413] +++ exited with 0 +++ [pid 6432] close(3 [pid 6430] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6424] <... futex resumed>) = 1 [pid 6423] <... futex resumed>) = 0 [pid 6420] <... mprotect resumed>) = 0 [pid 6432] <... close resumed>) = 0 [pid 6424] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6423] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6420] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6413, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=29 /* 0.29 s */} --- [ 160.107735][ T6422] BTRFS info (device loop2): balance: start -d -m [ 160.114690][ T6422] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 160.147346][ T6422] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6432] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6430] <... clone3 resumed> => {parent_tid=[6433]}, 88) = 6433 [pid 6424] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6423] <... futex resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6432] <... futex resumed>) = 0 [pid 6423] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] <... openat resumed>) = 3 [pid 6432] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5025] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 6433 attached [pid 6432] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6430] rt_sigprocmask(SIG_SETMASK, [], [pid 6424] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6420] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6433] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6432] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5025] close(3 [pid 6433] <... rseq resumed>) = 0 [pid 6432] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5025] <... close resumed>) = 0 [pid 6433] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6432] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6433] <... set_robust_list resumed>) = 0 [pid 6432] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6433] rt_sigprocmask(SIG_SETMASK, [], [pid 6432] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6430] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6434 [pid 6433] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6432] <... mprotect resumed>) = 0 [pid 6433] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6432] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6430] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6424] <... ioctl resumed>) = 0 [pid 6420] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6432] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6435]}, 88) = 6435 [pid 6432] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ./strace-static-x86_64: Process 6434 attached [pid 6433] <... futex resumed>) = 0 [pid 6432] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6430] <... futex resumed>) = 1 [pid 6424] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6422] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6434] set_robust_list(0x5555558636a0, 24 [pid 6433] memfd_create("syzkaller", 0 [pid 6432] <... futex resumed>) = 0 [pid 6430] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6424] <... futex resumed>) = 1 [pid 6423] <... futex resumed>) = 0 [pid 6422] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6420] <... clone3 resumed> => {parent_tid=[6436]}, 88) = 6436 ./strace-static-x86_64: Process 6435 attached [pid 6434] <... set_robust_list resumed>) = 0 [pid 6433] <... memfd_create resumed>) = 3 [pid 6432] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6424] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6423] exit_group(0 [pid 6422] <... futex resumed>) = 0 [pid 6420] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6436 attached [pid 6435] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6434] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6433] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6424] <... futex resumed>) = ? [pid 6423] <... exit_group resumed>) = ? [pid 6422] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6420] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6436] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6435] <... rseq resumed>) = 0 [pid 6434] <... prctl resumed>) = 0 [pid 6433] <... mmap resumed>) = 0x7f4e2554e000 [pid 6424] +++ exited with 0 +++ [pid 6423] +++ exited with 0 +++ [pid 6420] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6436] <... rseq resumed>) = 0 [pid 6435] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6434] setpgid(0, 0 [pid 6420] <... futex resumed>) = 0 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6423, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- [pid 6436] set_robust_list(0x7f4e2654d9a0, 24 [pid 6435] <... set_robust_list resumed>) = 0 [pid 6434] <... setpgid resumed>) = 0 [pid 6420] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6436] <... set_robust_list resumed>) = 0 [pid 6435] rt_sigprocmask(SIG_SETMASK, [], [pid 6434] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6436] rt_sigprocmask(SIG_SETMASK, [], [pid 6435] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6434] <... openat resumed>) = 3 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6436] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6435] memfd_create("syzkaller", 0 [pid 6434] write(3, "1000", 4 [pid 5021] <... openat resumed>) = 3 [pid 6436] open("./file0", O_RDONLY [pid 6435] <... memfd_create resumed>) = 3 [pid 6434] <... write resumed>) = 4 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6436] <... open resumed>) = 4 [pid 6435] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6434] close(3 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6436] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6435] <... mmap resumed>) = 0x7f4e2554e000 [ 160.176588][ T6422] BTRFS info (device loop2): 2 enospc errors during balance [ 160.195943][ T6422] BTRFS info (device loop2): balance: ended with status: -28 [pid 6434] <... close resumed>) = 0 [pid 5021] close(3 [pid 6436] <... futex resumed>) = 1 [pid 6434] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6420] <... futex resumed>) = 0 [pid 5021] <... close resumed>) = 0 [pid 6436] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6437 ./strace-static-x86_64: Process 6437 attached [pid 6437] set_robust_list(0x5555558636a0, 24) = 0 [pid 6437] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6437] setpgid(0, 0) = 0 [pid 6437] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6437] write(3, "1000", 4) = 4 [pid 6437] close(3) = 0 [pid 6437] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6437] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6420] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6434] <... futex resumed>) = 0 [pid 6437] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6434] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6422] <... futex resumed>) = 0 [pid 6420] <... futex resumed>) = 1 [pid 6437] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6434] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6422] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6420] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6437] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6434] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6422] <... ioctl resumed>) = 0 [pid 6437] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6434] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6422] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6437] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6434] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6422] <... futex resumed>) = 1 [pid 6420] <... futex resumed>) = 0 [pid 6437] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6437] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6434] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6422] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6420] exit_group(0 [pid 6434] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6436] <... futex resumed>) = ? [pid 6422] <... futex resumed>) = ? [pid 6420] <... exit_group resumed>) = ? [pid 6437] <... clone3 resumed> => {parent_tid=[6438]}, 88) = 6438 [pid 6436] +++ exited with 0 +++ [pid 6434] <... mprotect resumed>) = 0 [pid 6437] rt_sigprocmask(SIG_SETMASK, [], [pid 6422] +++ exited with 0 +++ [pid 6437] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6437] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6434] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6420] +++ exited with 0 +++ [pid 6437] <... futex resumed>) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6420, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=21 /* 0.21 s */} --- [pid 6437] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6434] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6434] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0}./strace-static-x86_64: Process 6438 attached [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6438] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6434] <... clone3 resumed> => {parent_tid=[6439]}, 88) = 6439 [pid 5026] <... openat resumed>) = 3 [pid 6438] <... rseq resumed>) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6438] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6434] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6438] <... set_robust_list resumed>) = 0 [pid 5026] close(3 [pid 6438] rt_sigprocmask(SIG_SETMASK, [], [pid 6434] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] <... close resumed>) = 0 [pid 6438] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6438] memfd_create("syzkaller", 0 [pid 6434] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6438] <... memfd_create resumed>) = 3 [pid 6434] <... futex resumed>) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6440 [pid 6438] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6434] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6438] <... mmap resumed>) = 0x7f4e2554e000 ./strace-static-x86_64: Process 6439 attached [pid 6429] 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 6439] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053./strace-static-x86_64: Process 6440 attached [pid 6440] set_robust_list(0x5555558636a0, 24) = 0 [pid 6440] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6440] setpgid(0, 0) = 0 [pid 6440] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6440] write(3, "1000", 4) = 4 [pid 6440] close(3) = 0 [pid 6440] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6440] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6440] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6440] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6440] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6440] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6440] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6441]}, 88) = 6441 [pid 6440] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6440] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6440] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6439] <... rseq resumed>) = 0 [pid 6439] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6439] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6439] memfd_create("syzkaller", 0) = 3 [pid 6439] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 6441 attached [pid 6441] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6439] <... mmap resumed>) = 0x7f4e2554e000 [pid 6441] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6441] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6441] memfd_create("syzkaller", 0) = 3 [pid 6441] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6433] 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 6435] 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 6438] 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 6439] 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 6441] 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 6429] <... write resumed>) = 16777216 [pid 6429] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6429] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6429] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6429] ioctl(4, LOOP_CLR_FD) = 0 [pid 6429] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6429] close(4) = 0 [pid 6429] close(3 [pid 6433] <... write resumed>) = 16777216 [pid 6433] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6433] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6433] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6433] close(3 [pid 6435] <... write resumed>) = 16777216 [pid 6433] <... close resumed>) = 0 [pid 6433] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 160.944032][ T6433] loop5: detected capacity change from 0 to 32768 [pid 6433] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6435] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6429] <... close resumed>) = 0 [pid 6429] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6427] <... futex resumed>) = 0 [pid 6429] open("./file0", O_RDONLY [pid 6427] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6429] <... open resumed>) = 3 [pid 6427] <... futex resumed>) = 0 [pid 6429] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6427] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6435] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6429] <... futex resumed>) = 0 [pid 6427] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6435] <... openat resumed>) = 4 [pid 6429] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6427] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6435] ioctl(4, LOOP_SET_FD, 3 [pid 6429] <... ioctl resumed>) = 0 [pid 6427] <... futex resumed>) = 0 [pid 6429] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6427] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6429] <... futex resumed>) = 0 [pid 6427] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6429] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6427] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6429] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6427] <... futex resumed>) = 0 [pid 6433] <... mount resumed>) = -1 EEXIST (File exists) [ 160.987145][ T6433] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6433) [ 161.013266][ T6435] loop0: detected capacity change from 0 to 32768 [ 161.027867][ T6429] BTRFS info (device loop2): balance: start -d -m [pid 6429] ioctl(3, 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 6427] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6439] <... write resumed>) = 16777216 [pid 6433] ioctl(4, LOOP_CLR_FD [pid 6438] <... write resumed>) = 16777216 [pid 6438] munmap(0x7f4e2554e000, 16777216 [pid 6435] <... ioctl resumed>) = 0 [pid 6435] close(3) = 0 [pid 6435] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6435] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6438] <... munmap resumed>) = 0 [pid 6439] munmap(0x7f4e2554e000, 16777216 [pid 6438] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6439] <... munmap resumed>) = 0 [pid 6438] <... openat resumed>) = 4 [pid 6438] ioctl(4, LOOP_SET_FD, 3 [pid 6439] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [ 161.034651][ T6429] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 161.057838][ T6435] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6435) [ 161.077739][ T6438] loop1: detected capacity change from 0 to 32768 [pid 6439] ioctl(4, LOOP_SET_FD, 3 [pid 6435] <... mount resumed>) = -1 EEXIST (File exists) [pid 6435] ioctl(4, LOOP_CLR_FD [pid 6439] <... ioctl resumed>) = 0 [pid 6439] close(3 [pid 6438] <... ioctl resumed>) = 0 [pid 6439] <... close resumed>) = 0 [pid 6438] close(3) = 0 [pid 6438] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6438] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6439] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6439] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6427] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6427] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6427] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6427] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6427] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6427] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6443]}, 88) = 6443 [pid 6427] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6427] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6427] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6441] <... write resumed>) = 16777216 [pid 6441] munmap(0x7f4e2554e000, 16777216./strace-static-x86_64: Process 6443 attached [pid 6443] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6443] set_robust_list(0x7f4e2654d9a0, 24) = 0 [ 161.079823][ T6439] loop3: detected capacity change from 0 to 32768 [ 161.098702][ T6439] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6439) [pid 6443] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6439] <... mount resumed>) = -1 EEXIST (File exists) [pid 6443] open("./file0", O_RDONLY [pid 6439] ioctl(4, LOOP_CLR_FD [pid 6443] <... open resumed>) = 4 [pid 6443] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6427] <... futex resumed>) = 0 [pid 6443] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6427] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6427] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6443] <... ioctl resumed>) = 0 [pid 6443] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6427] <... futex resumed>) = 0 [pid 6443] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6441] <... munmap resumed>) = 0 [pid 6438] <... mount resumed>) = -1 EEXIST (File exists) [pid 6441] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6438] ioctl(4, LOOP_CLR_FD [pid 6441] <... openat resumed>) = 4 [ 161.131914][ T6438] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6438) [ 161.143851][ T6429] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 161.171056][ T6441] loop4: detected capacity change from 0 to 32768 [pid 6441] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6441] close(3) = 0 [pid 6441] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 161.187853][ T6429] BTRFS info (device loop2): 2 enospc errors during balance [ 161.195150][ T6429] BTRFS info (device loop2): balance: ended with status: -28 [pid 6441] 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 6441] ioctl(4, LOOP_CLR_FD [pid 6429] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6429] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6429] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6427] exit_group(0 [pid 6443] <... futex resumed>) = ? [pid 6429] <... futex resumed>) = ? [pid 6427] <... exit_group resumed>) = ? [pid 6443] +++ exited with 0 +++ [pid 6429] +++ exited with 0 +++ [pid 6427] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6427, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=25 /* 0.25 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [ 161.230985][ T6441] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6441) [pid 5022] close(3 [pid 6433] <... ioctl resumed>) = 0 [pid 5022] <... close resumed>) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6433] close(4) = 0 [pid 6433] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6444 attached ) = 1 [pid 6430] <... futex resumed>) = 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6444 [pid 6444] set_robust_list(0x5555558636a0, 24 [pid 6433] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6430] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6444] <... set_robust_list resumed>) = 0 [pid 6433] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6430] <... futex resumed>) = 0 [pid 6433] open("./file0", O_RDONLY [pid 6430] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6444] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6433] <... open resumed>) = 3 [pid 6444] <... prctl resumed>) = 0 [pid 6433] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6444] setpgid(0, 0 [pid 6433] <... futex resumed>) = 1 [pid 6430] <... futex resumed>) = 0 [pid 6444] <... setpgid resumed>) = 0 [pid 6433] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6430] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6444] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6433] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6430] <... futex resumed>) = 0 [pid 6444] <... openat resumed>) = 3 [pid 6433] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6430] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6444] write(3, "1000", 4 [pid 6439] <... ioctl resumed>) = 0 [pid 6435] <... ioctl resumed>) = 0 [pid 6433] <... ioctl resumed>) = 0 [pid 6444] <... write resumed>) = 4 [pid 6439] close(4 [pid 6435] close(4 [pid 6433] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6444] close(3 [pid 6439] <... close resumed>) = 0 [pid 6435] <... close resumed>) = 0 [pid 6433] <... futex resumed>) = 1 [pid 6430] <... futex resumed>) = 0 [pid 6444] <... close resumed>) = 0 [pid 6439] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6435] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6433] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6430] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6444] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6439] <... futex resumed>) = 1 [pid 6435] <... futex resumed>) = 1 [pid 6434] <... futex resumed>) = 0 [pid 6433] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6432] <... futex resumed>) = 0 [pid 6430] <... futex resumed>) = 0 [pid 6444] <... futex resumed>) = 0 [pid 6439] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6435] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6434] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6433] ioctl(3, 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 6432] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6430] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6444] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6439] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6435] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6434] <... futex resumed>) = 0 [pid 6432] <... futex resumed>) = 0 [pid 6434] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6444] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6439] open("./file0", O_RDONLY [pid 6435] open("./file0", O_RDONLY [pid 6432] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6444] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6439] <... open resumed>) = 3 [pid 6435] <... open resumed>) = 3 [pid 6444] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6439] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6435] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6444] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6439] <... futex resumed>) = 1 [pid 6434] <... futex resumed>) = 0 [pid 6444] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6439] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6435] <... futex resumed>) = 1 [pid 6434] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6432] <... futex resumed>) = 0 [pid 6444] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6439] <... ioctl resumed>) = 0 [pid 6435] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6434] <... futex resumed>) = 0 [pid 6432] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6444] <... mprotect resumed>) = 0 [pid 6439] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6435] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6434] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6432] <... futex resumed>) = 0 [pid 6444] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6439] <... futex resumed>) = 0 [pid 6435] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6434] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6432] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6444] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6439] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6435] <... ioctl resumed>) = 0 [pid 6434] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6444] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6439] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6435] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6434] <... futex resumed>) = 0 [pid 6439] ioctl(3, 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 6435] <... futex resumed>) = 1 [pid 6434] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6432] <... futex resumed>) = 0 [pid 6444] <... clone3 resumed> => {parent_tid=[6446]}, 88) = 6446 [pid 6439] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6438] <... ioctl resumed>) = 0 [pid 6435] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6432] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6444] rt_sigprocmask(SIG_SETMASK, [], [pid 6439] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6435] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6432] <... futex resumed>) = 0 [pid 6444] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 161.354739][ T6433] BTRFS info (device loop2): balance: start -d -m [ 161.367977][ T6433] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6432] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6435] ioctl(3, 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 6444] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6439] <... futex resumed>) = 1 [pid 6434] <... futex resumed>) = 0 [pid 6430] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6434] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6430] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6446 attached [pid 6434] <... futex resumed>) = 0 [pid 6430] <... futex resumed>) = 0 [pid 6446] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6434] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6430] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6446] <... rseq resumed>) = 0 [pid 6430] <... mmap resumed>) = 0x7f4e2652d000 [pid 6446] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6430] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6446] <... set_robust_list resumed>) = 0 [pid 6430] <... mprotect resumed>) = 0 [pid 6446] rt_sigprocmask(SIG_SETMASK, [], [pid 6430] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6446] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6430] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6446] memfd_create("syzkaller", 0 [pid 6444] <... futex resumed>) = 0 [pid 6439] open("./file0", O_RDONLY [pid 6435] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6430] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6446] <... memfd_create resumed>) = 3 [pid 6444] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6439] <... open resumed>) = 4 [pid 6435] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6446] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6439] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6435] <... futex resumed>) = 1 [pid 6432] <... futex resumed>) = 0 [pid 6430] <... clone3 resumed> => {parent_tid=[6447]}, 88) = 6447 [pid 6446] <... mmap resumed>) = 0x7f4e2554e000 [pid 6439] <... futex resumed>) = 1 [pid 6435] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6434] <... futex resumed>) = 0 [pid 6432] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6430] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6447 attached [pid 6434] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6430] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6434] <... futex resumed>) = 0 [pid 6430] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6434] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6430] <... futex resumed>) = 0 [pid 6430] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6447] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6447] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6439] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6435] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6432] <... futex resumed>) = 0 [pid 6447] rt_sigprocmask(SIG_SETMASK, [], [pid 6439] <... ioctl resumed>) = 0 [pid 6438] close(4 [pid 6435] open("./file0", O_RDONLY [pid 6432] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6447] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6439] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6438] <... close resumed>) = 0 [pid 6435] <... open resumed>) = 4 [pid 6447] open("./file0", O_RDONLY [pid 6439] <... futex resumed>) = 1 [pid 6434] <... futex resumed>) = 0 [pid 6447] <... open resumed>) = 4 [pid 6439] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6438] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6435] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6434] exit_group(0 [pid 6447] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6439] <... futex resumed>) = ? [pid 6438] <... futex resumed>) = 1 [pid 6437] <... futex resumed>) = 0 [pid 6435] <... futex resumed>) = 1 [pid 6434] <... exit_group resumed>) = ? [pid 6432] <... futex resumed>) = 0 [pid 6447] <... futex resumed>) = 1 [pid 6439] +++ exited with 0 +++ [pid 6438] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6437] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6435] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6434] +++ exited with 0 +++ [pid 6432] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6430] <... futex resumed>) = 0 [pid 6447] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6438] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6437] <... futex resumed>) = 0 [pid 6435] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6432] <... futex resumed>) = 0 [pid 6430] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6447] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6438] open("./file0", O_RDONLY [pid 6437] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6435] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6432] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6430] <... futex resumed>) = 0 [pid 6447] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6438] <... open resumed>) = 3 [pid 6433] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6430] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6434, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=22 /* 0.22 s */} --- [pid 6438] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6433] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6438] <... futex resumed>) = 1 [ 161.400372][ T6433] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 161.423429][ T6433] BTRFS info (device loop2): 2 enospc errors during balance [ 161.442398][ T6433] BTRFS info (device loop2): balance: ended with status: -28 [pid 6437] <... futex resumed>) = 0 [pid 6433] <... futex resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6447] <... ioctl resumed>) = 0 [pid 6438] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6437] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6435] <... ioctl resumed>) = 0 [pid 6433] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6447] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6438] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6437] <... futex resumed>) = 0 [pid 6435] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... openat resumed>) = 3 [pid 6447] <... futex resumed>) = 1 [pid 6438] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6437] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6435] <... futex resumed>) = 1 [pid 6432] <... futex resumed>) = 0 [pid 6430] <... futex resumed>) = 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6447] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6438] <... ioctl resumed>) = 0 [pid 6435] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6432] exit_group(0 [pid 6430] exit_group(0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6447] <... futex resumed>) = ? [pid 6438] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6435] <... futex resumed>) = ? [pid 6433] <... futex resumed>) = ? [pid 6432] <... exit_group resumed>) = ? [pid 6430] <... exit_group resumed>) = ? [pid 5025] close(3 [pid 6447] +++ exited with 0 +++ [pid 6438] <... futex resumed>) = 1 [pid 6437] <... futex resumed>) = 0 [pid 6435] +++ exited with 0 +++ [pid 6433] +++ exited with 0 +++ [pid 6438] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6437] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6438] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6437] <... futex resumed>) = 0 [pid 6432] +++ exited with 0 +++ [pid 6430] +++ exited with 0 +++ [pid 5025] <... close resumed>) = 0 [pid 6438] ioctl(3, 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 6437] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6430, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6432, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=28 /* 0.28 s */} --- [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6448 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5027] close(3) = 0 ./strace-static-x86_64: Process 6448 attached [pid 6441] <... ioctl resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6448] set_robust_list(0x5555558636a0, 24 [pid 6441] close(4 [pid 6448] <... set_robust_list resumed>) = 0 [pid 6441] <... close resumed>) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6449 [pid 6448] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6441] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6448] <... prctl resumed>) = 0 [pid 6441] <... futex resumed>) = 1 [pid 6440] <... futex resumed>) = 0 [pid 6448] setpgid(0, 0 [pid 6441] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6440] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... openat resumed>) = 3 [pid 6448] <... setpgid resumed>) = 0 [pid 6441] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6440] <... futex resumed>) = 0 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6448] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6441] open("./file0", O_RDONLY [pid 6440] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6449 attached [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6441] <... open resumed>) = 3 [pid 6448] <... openat resumed>) = 3 [pid 6449] set_robust_list(0x5555558636a0, 24 [pid 6448] write(3, "1000", 4 [pid 6441] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] close(3 [pid 6449] <... set_robust_list resumed>) = 0 [pid 6448] <... write resumed>) = 4 [pid 6441] <... futex resumed>) = 1 [pid 6440] <... futex resumed>) = 0 [pid 6449] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6448] close(3 [pid 6441] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6440] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... close resumed>) = 0 [pid 6449] <... prctl resumed>) = 0 [pid 6448] <... close resumed>) = 0 [pid 6441] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6440] <... futex resumed>) = 0 [pid 6449] setpgid(0, 0 [pid 6448] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6441] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6440] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6449] <... setpgid resumed>) = 0 [pid 6448] <... futex resumed>) = 0 [pid 6441] <... ioctl resumed>) = 0 [pid 6448] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6449] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6448] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6441] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6450 [pid 6449] <... openat resumed>) = 3 [pid 6448] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6441] <... futex resumed>) = 1 [pid 6440] <... futex resumed>) = 0 [pid 6449] write(3, "1000", 4 [pid 6448] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6441] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6440] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6450 attached [pid 6449] <... write resumed>) = 4 [pid 6448] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6441] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6440] <... futex resumed>) = 0 [pid 6450] set_robust_list(0x5555558636a0, 24 [pid 6449] close(3 [pid 6448] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6441] ioctl(3, 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 6440] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6437] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6450] <... set_robust_list resumed>) = 0 [pid 6449] <... close resumed>) = 0 [pid 6448] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6441] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6437] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6450] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6449] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6448] <... mprotect resumed>) = 0 [pid 6441] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6437] <... futex resumed>) = 0 [pid 6450] <... prctl resumed>) = 0 [pid 6437] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6450] setpgid(0, 0 [pid 6437] <... mmap resumed>) = 0x7f4e2652d000 [ 161.509733][ T6438] BTRFS info (device loop2): balance: start -d -m [ 161.520367][ T6438] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6450] <... setpgid resumed>) = 0 [pid 6449] <... futex resumed>) = 0 [pid 6448] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6441] <... futex resumed>) = 1 [pid 6440] <... futex resumed>) = 0 [pid 6437] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6450] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6449] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6448] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6441] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6440] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6437] <... mprotect resumed>) = 0 [pid 6450] <... openat resumed>) = 3 [pid 6449] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6448] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6441] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6440] <... futex resumed>) = 0 [pid 6437] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6450] write(3, "1000", 4 [pid 6449] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6441] open("./file0", O_RDONLY [pid 6440] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6437] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6450] <... write resumed>) = 4 [pid 6449] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6448] <... clone3 resumed> => {parent_tid=[6451]}, 88) = 6451 [pid 6441] <... open resumed>) = 4 [pid 6437] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0}./strace-static-x86_64: Process 6451 attached [pid 6450] close(3 [pid 6449] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6448] rt_sigprocmask(SIG_SETMASK, [], [pid 6441] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6451] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6450] <... close resumed>) = 0 [pid 6449] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6448] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6441] <... futex resumed>) = 1 [pid 6440] <... futex resumed>) = 0 [pid 6437] <... clone3 resumed> => {parent_tid=[6452]}, 88) = 6452 ./strace-static-x86_64: Process 6452 attached [pid 6451] <... rseq resumed>) = 0 [pid 6450] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6449] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6448] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6441] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6440] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6437] rt_sigprocmask(SIG_SETMASK, [], [pid 6451] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6450] <... futex resumed>) = 0 [pid 6449] <... mprotect resumed>) = 0 [pid 6448] <... futex resumed>) = 0 [pid 6441] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6440] <... futex resumed>) = 0 [pid 6452] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6437] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6452] <... rseq resumed>) = 0 [pid 6451] <... set_robust_list resumed>) = 0 [pid 6450] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6449] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6448] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6441] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6440] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6437] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6452] set_robust_list(0x7f4e2654d9a0, 24 [pid 6451] rt_sigprocmask(SIG_SETMASK, [], [pid 6450] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6449] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6437] <... futex resumed>) = 0 [pid 6452] <... set_robust_list resumed>) = 0 [pid 6451] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6450] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6449] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6441] <... ioctl resumed>) = 0 [ 161.570134][ T6438] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6437] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6453 attached [pid 6452] rt_sigprocmask(SIG_SETMASK, [], [pid 6451] memfd_create("syzkaller", 0 [pid 6450] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6446] 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 6441] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6453] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6452] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6451] <... memfd_create resumed>) = 3 [pid 6450] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6449] <... clone3 resumed> => {parent_tid=[6453]}, 88) = 6453 [pid 6441] <... futex resumed>) = 1 [pid 6440] <... futex resumed>) = 0 [pid 6453] <... rseq resumed>) = 0 [pid 6452] open("./file0", O_RDONLY [pid 6451] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6450] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6449] rt_sigprocmask(SIG_SETMASK, [], [pid 6441] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6440] exit_group(0 [pid 6453] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6452] <... open resumed>) = 4 [pid 6451] <... mmap resumed>) = 0x7f4e2554e000 [pid 6450] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6449] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6441] <... futex resumed>) = ? [pid 6440] <... exit_group resumed>) = ? [pid 6453] <... set_robust_list resumed>) = 0 [pid 6452] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6450] <... mprotect resumed>) = 0 [pid 6450] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6450] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6454]}, 88) = 6454 [pid 6450] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6450] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6450] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6454 attached [pid 6449] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6441] +++ exited with 0 +++ [pid 6454] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6454] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6440] +++ exited with 0 +++ [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6440, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=22 /* 0.22 s */} --- [pid 6449] <... futex resumed>) = 0 [pid 6453] rt_sigprocmask(SIG_SETMASK, [], [pid 6452] <... futex resumed>) = 1 [pid 6449] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6437] <... futex resumed>) = 0 [pid 6453] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6452] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6437] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6452] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6437] <... futex resumed>) = 0 [pid 6454] <... set_robust_list resumed>) = 0 [pid 6453] memfd_create("syzkaller", 0 [pid 6452] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6437] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6454] rt_sigprocmask(SIG_SETMASK, [], [pid 6453] <... memfd_create resumed>) = 3 [pid 6452] <... ioctl resumed>) = 0 [pid 6454] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6453] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6452] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... openat resumed>) = 3 [pid 6454] memfd_create("syzkaller", 0 [pid 6453] <... mmap resumed>) = 0x7f4e2554e000 [pid 6452] <... futex resumed>) = 1 [pid 6437] <... futex resumed>) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6454] <... memfd_create resumed>) = 3 [pid 6452] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6454] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5026] close(3 [pid 6454] <... mmap resumed>) = 0x7f4e2554e000 [pid 5026] <... close resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6455 ./strace-static-x86_64: Process 6455 attached [pid 6438] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6455] set_robust_list(0x5555558636a0, 24 [pid 6438] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6455] <... set_robust_list resumed>) = 0 [pid 6438] <... futex resumed>) = 0 [ 161.618221][ T6438] BTRFS info (device loop2): 2 enospc errors during balance [ 161.654773][ T6438] BTRFS info (device loop2): balance: ended with status: -28 [pid 6455] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6438] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6437] exit_group(0 [pid 6455] <... prctl resumed>) = 0 [pid 6452] <... futex resumed>) = ? [pid 6438] <... futex resumed>) = ? [pid 6437] <... exit_group resumed>) = ? [pid 6455] setpgid(0, 0 [pid 6452] +++ exited with 0 +++ [pid 6438] +++ exited with 0 +++ [pid 6437] +++ exited with 0 +++ [pid 6455] <... setpgid resumed>) = 0 [pid 6455] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6437, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=26 /* 0.26 s */} --- [pid 6455] write(3, "1000", 4 [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 6455] <... write resumed>) = 4 [pid 6455] close(3 [pid 5021] <... restart_syscall resumed>) = 0 [pid 6455] <... close resumed>) = 0 [pid 6455] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6455] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6455] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6455] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5021] <... openat resumed>) = 3 [pid 6455] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6455] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6455] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5021] close(3 [pid 6455] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5021] <... close resumed>) = 0 [pid 6455] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6455] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6456]}, 88) = 6456 [pid 6455] rt_sigprocmask(SIG_SETMASK, [], [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6457 [pid 6455] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6455] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6455] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6456 attached [pid 6456] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6456] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6456] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6456] memfd_create("syzkaller", 0./strace-static-x86_64: Process 6457 attached ) = 3 [pid 6457] set_robust_list(0x5555558636a0, 24 [pid 6456] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6457] <... set_robust_list resumed>) = 0 [pid 6457] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6457] setpgid(0, 0) = 0 [pid 6457] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6457] write(3, "1000", 4) = 4 [pid 6457] close(3) = 0 [pid 6457] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6457] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6457] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6457] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6457] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6457] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6457] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6458]}, 88) = 6458 [pid 6457] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6457] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6457] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6458 attached [pid 6458] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6458] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6458] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6458] memfd_create("syzkaller", 0) = 3 [pid 6458] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6454] 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 6456] 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 6451] 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 6453] 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 6446] <... write resumed>) = 16777216 [pid 6446] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6446] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6446] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6446] ioctl(4, LOOP_CLR_FD) = 0 [pid 6446] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6446] close(4 [pid 6458] 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 6446] <... close resumed>) = 0 [pid 6446] close(3) = 0 [pid 6446] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6444] <... futex resumed>) = 0 [pid 6444] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6446] open("./file0", O_RDONLY [pid 6444] <... futex resumed>) = 0 [pid 6446] <... open resumed>) = 3 [pid 6444] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6446] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6444] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6446] <... futex resumed>) = 0 [pid 6444] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6446] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6444] <... futex resumed>) = 0 [pid 6446] <... ioctl resumed>) = 0 [pid 6444] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6446] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6444] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6446] <... futex resumed>) = 0 [pid 6444] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6446] ioctl(3, 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 6444] <... futex resumed>) = 0 [pid 6444] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6454] <... write resumed>) = 16777216 [pid 6454] munmap(0x7f4e2554e000, 16777216 [pid 6456] <... write resumed>) = 16777216 [pid 6454] <... munmap resumed>) = 0 [pid 6454] openat(AT_FDCWD, "/dev/loop0", O_RDWR [ 162.342618][ T6446] BTRFS info (device loop2): balance: start -d -m [ 162.355786][ T6446] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6451] <... write resumed>) = 16777216 [pid 6454] <... openat resumed>) = 4 [pid 6454] ioctl(4, LOOP_SET_FD, 3 [pid 6444] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6444] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6453] <... write resumed>) = 16777216 [pid 6453] munmap(0x7f4e2554e000, 16777216 [pid 6456] munmap(0x7f4e2554e000, 16777216 [pid 6444] <... futex resumed>) = 0 [pid 6444] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6444] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6444] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6444] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6460]}, 88) = 6460 [pid 6444] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6454] <... ioctl resumed>) = 0 [pid 6451] munmap(0x7f4e2554e000, 16777216 [pid 6444] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6454] close(3 [pid 6444] <... futex resumed>) = 0 [pid 6454] <... close resumed>) = 0 [pid 6444] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6454] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6454] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,"./strace-static-x86_64: Process 6460 attached [pid 6460] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6460] set_robust_list(0x7f4e2654d9a0, 24 [pid 6453] <... munmap resumed>) = 0 [pid 6456] <... munmap resumed>) = 0 [pid 6460] <... set_robust_list resumed>) = 0 [pid 6460] rt_sigprocmask(SIG_SETMASK, [], [pid 6453] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6460] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6456] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6453] <... openat resumed>) = 4 [pid 6451] <... munmap resumed>) = 0 [ 162.392283][ T6446] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 162.402827][ T6454] loop0: detected capacity change from 0 to 32768 [ 162.418049][ T6454] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6454) [pid 6460] open("./file0", O_RDONLY [pid 6456] <... openat resumed>) = 4 [pid 6453] ioctl(4, LOOP_SET_FD, 3 [pid 6460] <... open resumed>) = 4 [pid 6456] ioctl(4, LOOP_SET_FD, 3 [pid 6451] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6460] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6454] <... mount resumed>) = -1 EEXIST (File exists) [pid 6444] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6460] <... futex resumed>) = 0 [pid 6458] <... write resumed>) = 16777216 [pid 6456] <... ioctl resumed>) = 0 [pid 6454] ioctl(4, LOOP_CLR_FD [pid 6453] <... ioctl resumed>) = 0 [pid 6451] <... openat resumed>) = 4 [pid 6446] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6444] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6460] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6458] munmap(0x7f4e2554e000, 16777216 [pid 6456] close(3 [pid 6453] close(3 [pid 6451] ioctl(4, LOOP_SET_FD, 3 [ 162.446116][ T6446] BTRFS info (device loop2): 2 enospc errors during balance [ 162.447755][ T6453] loop5: detected capacity change from 0 to 32768 [ 162.454292][ T6446] BTRFS info (device loop2): balance: ended with status: -28 [ 162.461935][ T6456] loop4: detected capacity change from 0 to 32768 [pid 6446] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6444] <... futex resumed>) = 0 [pid 6460] <... ioctl resumed>) = 0 [pid 6458] <... munmap resumed>) = 0 [pid 6456] <... close resumed>) = 0 [pid 6453] <... close resumed>) = 0 [pid 6460] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6460] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6446] <... futex resumed>) = 0 [pid 6444] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6458] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6456] mkdir("./file0", 0777 [pid 6453] mkdir("./file0", 0777 [pid 6451] <... ioctl resumed>) = 0 [pid 6446] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6444] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6458] <... openat resumed>) = 4 [pid 6456] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6453] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6451] close(3 [pid 6444] exit_group(0 [pid 6460] <... futex resumed>) = ? [pid 6458] ioctl(4, LOOP_SET_FD, 3 [pid 6456] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6453] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6451] <... close resumed>) = 0 [pid 6446] <... futex resumed>) = ? [pid 6444] <... exit_group resumed>) = ? [pid 6460] +++ exited with 0 +++ [pid 6446] +++ exited with 0 +++ [pid 6444] +++ exited with 0 +++ [pid 6458] <... ioctl resumed>) = 0 [pid 6458] close(3) = 0 [pid 6458] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6458] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6451] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6451] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6444, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=29 /* 0.29 s */} --- [pid 6453] <... mount resumed>) = -1 EEXIST (File exists) [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 6453] ioctl(4, LOOP_CLR_FD [pid 5022] <... restart_syscall resumed>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6461 [pid 6458] <... mount resumed>) = -1 EEXIST (File exists) [pid 6458] ioctl(4, LOOP_CLR_FD./strace-static-x86_64: Process 6461 attached [pid 6461] set_robust_list(0x5555558636a0, 24) = 0 [pid 6461] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6461] setpgid(0, 0) = 0 [pid 6461] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6461] write(3, "1000", 4) = 4 [pid 6461] close(3) = 0 [pid 6461] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 162.491469][ T6451] loop3: detected capacity change from 0 to 32768 [ 162.505029][ T6458] loop1: detected capacity change from 0 to 32768 [ 162.506008][ T6453] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6453) [ 162.523787][ T6458] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6458) [ 162.535060][ T6456] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6456) [pid 6461] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6456] <... mount resumed>) = -1 EEXIST (File exists) [pid 6461] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6456] ioctl(4, LOOP_CLR_FD [pid 6461] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6461] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6461] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6461] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6461] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6462]}, 88) = 6462 [pid 6461] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6461] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6461] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6462 attached [pid 6462] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6462] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6462] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6462] memfd_create("syzkaller", 0) = 3 [pid 6462] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6451] <... mount resumed>) = -1 EEXIST (File exists) [ 162.568721][ T6451] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6451) [pid 6451] ioctl(4, LOOP_CLR_FD [pid 6454] <... ioctl resumed>) = 0 [pid 6454] close(4) = 0 [pid 6454] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6450] <... futex resumed>) = 0 [pid 6454] open("./file0", O_RDONLY [pid 6450] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6454] <... open resumed>) = 3 [pid 6450] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6454] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6450] <... futex resumed>) = 0 [pid 6454] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6450] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6454] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6450] <... futex resumed>) = 0 [pid 6454] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6450] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6454] <... ioctl resumed>) = 0 [pid 6454] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6450] <... futex resumed>) = 0 [pid 6454] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6450] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6454] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6450] <... futex resumed>) = 0 [pid 6454] ioctl(3, 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 6450] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6453] <... ioctl resumed>) = 0 [pid 6453] close(4) = 0 [pid 6453] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6449] <... futex resumed>) = 0 [pid 6453] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6449] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6453] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6449] <... futex resumed>) = 0 [pid 6456] <... ioctl resumed>) = 0 [pid 6449] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6453] open("./file0", O_RDONLY) = 3 [pid 6450] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6450] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6453] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6450] <... futex resumed>) = 0 [pid 6453] <... futex resumed>) = 1 [pid 6450] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6449] <... futex resumed>) = 0 [ 162.785278][ T6454] BTRFS info (device loop2): balance: start -d -m [ 162.802402][ T6454] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6449] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6453] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6450] <... mmap resumed>) = 0x7f4e2652d000 [pid 6449] <... futex resumed>) = 0 [pid 6449] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6456] close(4 [pid 6453] <... ioctl resumed>) = 0 [pid 6450] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6453] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6450] <... mprotect resumed>) = 0 [pid 6453] <... futex resumed>) = 1 [pid 6450] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6449] <... futex resumed>) = 0 [pid 6449] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6456] <... close resumed>) = 0 [pid 6453] ioctl(3, 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 6450] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6449] <... futex resumed>) = 0 [pid 6456] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6453] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6450] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6449] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6456] <... futex resumed>) = 1 [pid 6455] <... futex resumed>) = 0 [pid 6453] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6451] <... ioctl resumed>) = 0 [pid 6456] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6455] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6453] <... futex resumed>) = 1 [pid 6450] <... clone3 resumed> => {parent_tid=[6464]}, 88) = 6464 [pid 6449] <... futex resumed>) = 0 [pid 6451] close(4 [pid 6456] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6455] <... futex resumed>) = 0 [pid 6453] open("./file0", O_RDONLY [pid 6451] <... close resumed>) = 0 [pid 6450] rt_sigprocmask(SIG_SETMASK, [], [pid 6449] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6464 attached [pid 6456] open("./file0", O_RDONLY [pid 6449] <... futex resumed>) = 0 [pid 6464] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6456] <... open resumed>) = 3 [pid 6455] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6453] <... open resumed>) = 4 [pid 6451] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6450] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6449] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6464] <... rseq resumed>) = 0 [pid 6458] <... ioctl resumed>) = 0 [pid 6456] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6464] set_robust_list(0x7f4e2654d9a0, 24 [pid 6456] <... futex resumed>) = 0 [pid 6464] <... set_robust_list resumed>) = 0 [pid 6456] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6464] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6464] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6458] close(4 [pid 6455] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6453] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6450] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6464] <... futex resumed>) = 0 [pid 6455] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6453] <... futex resumed>) = 1 [pid 6450] <... futex resumed>) = 1 [pid 6449] <... futex resumed>) = 0 [pid 6464] open("./file0", O_RDONLY [pid 6458] <... close resumed>) = 0 [pid 6449] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6464] <... open resumed>) = 4 [pid 6458] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6449] <... futex resumed>) = 0 [pid 6464] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6458] <... futex resumed>) = 1 [pid 6457] <... futex resumed>) = 0 [pid 6449] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6464] <... futex resumed>) = 0 [pid 6458] open("./file0", O_RDONLY [pid 6457] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6464] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6458] <... open resumed>) = 3 [pid 6457] <... futex resumed>) = 0 [pid 6458] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6457] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6458] <... futex resumed>) = 0 [pid 6457] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6456] <... futex resumed>) = 0 [pid 6455] <... futex resumed>) = 1 [pid 6453] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6450] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6458] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6457] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6456] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6455] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6451] <... futex resumed>) = 1 [pid 6450] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6448] <... futex resumed>) = 0 [pid 6458] <... ioctl resumed>) = 0 [pid 6457] <... futex resumed>) = 0 [pid 6456] <... ioctl resumed>) = 0 [pid 6453] <... ioctl resumed>) = 0 [pid 6451] open("./file0", O_RDONLY [pid 6450] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6448] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6464] <... futex resumed>) = 0 [pid 6458] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6457] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6456] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6453] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6450] <... futex resumed>) = 1 [pid 6448] <... futex resumed>) = 0 [ 162.839315][ T6454] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 162.871407][ T6454] BTRFS info (device loop2): 2 enospc errors during balance [pid 6464] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6458] <... futex resumed>) = 0 [pid 6457] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6456] <... futex resumed>) = 1 [pid 6455] <... futex resumed>) = 0 [pid 6453] <... futex resumed>) = 1 [pid 6451] <... open resumed>) = 3 [pid 6450] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6449] <... futex resumed>) = 0 [pid 6448] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6464] <... ioctl resumed>) = 0 [pid 6458] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6457] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6456] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6455] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6449] exit_group(0 [pid 6464] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6458] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6457] <... futex resumed>) = 0 [pid 6456] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6455] <... futex resumed>) = 0 [pid 6449] <... exit_group resumed>) = ? [pid 6464] <... futex resumed>) = 0 [pid 6458] ioctl(3, 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 6457] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6456] ioctl(3, 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 6455] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6464] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6451] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6450] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6453] +++ exited with 0 +++ [pid 6451] <... futex resumed>) = 1 [pid 6449] +++ exited with 0 +++ [pid 6448] <... futex resumed>) = 0 [pid 6451] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6448] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6451] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6448] <... futex resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6449, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=27 /* 0.27 s */} --- [pid 6458] <... 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}}) = 8 [pid 6456] <... 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}}) = 8 [pid 6454] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6451] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6448] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 6458] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6456] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6451] <... ioctl resumed>) = 0 [pid 6458] <... futex resumed>) = 1 [pid 6457] <... futex resumed>) = 0 [pid 6456] <... futex resumed>) = 1 [pid 6455] <... futex resumed>) = 0 [pid 6454] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6451] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... restart_syscall resumed>) = 0 [pid 6458] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6457] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6456] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6455] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6454] <... futex resumed>) = 0 [pid 6451] <... futex resumed>) = 1 [pid 6448] <... futex resumed>) = 0 [pid 6458] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6457] <... futex resumed>) = 0 [pid 6456] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6455] <... futex resumed>) = 0 [pid 6454] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6451] ioctl(3, 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 6448] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6450] exit_group(0 [pid 6458] open("./file0", O_RDONLY [pid 6457] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6456] open("./file0", O_RDONLY [pid 6455] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6448] <... futex resumed>) = 0 [pid 6458] <... open resumed>) = 4 [pid 6456] <... open resumed>) = 4 [pid 6448] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6464] <... futex resumed>) = ? [pid 6458] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6456] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6454] <... futex resumed>) = ? [pid 6450] <... exit_group resumed>) = ? [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6464] +++ exited with 0 +++ [pid 6458] <... futex resumed>) = 1 [pid 6457] <... futex resumed>) = 0 [pid 6456] <... futex resumed>) = 1 [pid 6455] <... futex resumed>) = 0 [pid 6458] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6457] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6456] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6455] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6458] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6457] <... futex resumed>) = 0 [pid 6456] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6455] <... futex resumed>) = 0 [pid 6458] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6457] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6456] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6455] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6454] +++ exited with 0 +++ [pid 6450] +++ exited with 0 +++ [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6450, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=26 /* 0.26 s */} --- [pid 5027] <... openat resumed>) = 3 [pid 6458] <... ioctl resumed>) = 0 [pid 6456] <... ioctl resumed>) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6458] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6456] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6458] <... futex resumed>) = 1 [pid 6457] <... futex resumed>) = 0 [pid 6456] <... futex resumed>) = 1 [pid 6455] <... futex resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6458] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6457] exit_group(0 [pid 6456] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6455] exit_group(0 [ 162.906107][ T6454] BTRFS info (device loop2): balance: ended with status: -28 [ 162.932100][ T6451] BTRFS info (device loop2): balance: start -d -m [pid 5027] close(3 [pid 6458] <... futex resumed>) = ? [pid 6457] <... exit_group resumed>) = ? [pid 6456] <... futex resumed>) = ? [pid 6455] <... exit_group resumed>) = ? [pid 5027] <... close resumed>) = 0 [pid 5020] <... openat resumed>) = 3 [pid 6458] +++ exited with 0 +++ [pid 6457] +++ exited with 0 +++ [pid 6456] +++ exited with 0 +++ [pid 6455] +++ exited with 0 +++ [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6457, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- [pid 5020] ioctl(3, LOOP_CLR_FD [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6455, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=23 /* 0.23 s */} --- [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 5020] close(3 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6465 [pid 5026] <... restart_syscall resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6448] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6448] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6448] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6467 [pid 6448] <... mmap resumed>) = 0x7f4e2652d000 [pid 6448] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6448] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6448] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5026] <... openat resumed>) = 3 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6466 [pid 6448] <... clone3 resumed> => {parent_tid=[6468]}, 88) = 6468 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6448] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6448] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6448] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5026] close(3) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6469 ./strace-static-x86_64: Process 6465 attached [pid 6465] set_robust_list(0x5555558636a0, 24) = 0 [pid 6465] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 6467 attached [pid 6467] set_robust_list(0x5555558636a0, 24) = 0 [pid 6465] <... prctl resumed>) = 0 ./strace-static-x86_64: Process 6469 attached [pid 6467] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6465] setpgid(0, 0./strace-static-x86_64: Process 6468 attached ./strace-static-x86_64: Process 6466 attached [pid 6469] set_robust_list(0x5555558636a0, 24 [pid 6467] <... prctl resumed>) = 0 [pid 6465] <... setpgid resumed>) = 0 [ 162.953475][ T6451] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 162.991068][ T6451] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6462] 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 6469] <... set_robust_list resumed>) = 0 [pid 6468] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6467] setpgid(0, 0 [pid 6466] set_robust_list(0x5555558636a0, 24 [pid 6465] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6469] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6468] <... rseq resumed>) = 0 [pid 6467] <... setpgid resumed>) = 0 [pid 6466] <... set_robust_list resumed>) = 0 [pid 6465] <... openat resumed>) = 3 [pid 6469] <... prctl resumed>) = 0 [pid 6468] set_robust_list(0x7f4e2654d9a0, 24 [pid 6467] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6466] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6465] write(3, "1000", 4 [pid 6469] setpgid(0, 0 [pid 6468] <... set_robust_list resumed>) = 0 [pid 6467] <... openat resumed>) = 3 [pid 6466] <... prctl resumed>) = 0 [pid 6465] <... write resumed>) = 4 [pid 6469] <... setpgid resumed>) = 0 [pid 6468] rt_sigprocmask(SIG_SETMASK, [], [pid 6467] write(3, "1000", 4 [pid 6466] setpgid(0, 0 [pid 6465] close(3 [pid 6469] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6468] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6467] <... write resumed>) = 4 [pid 6466] <... setpgid resumed>) = 0 [pid 6465] <... close resumed>) = 0 [pid 6448] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6469] <... openat resumed>) = 3 [pid 6468] open("./file0", O_RDONLY [pid 6467] close(3 [pid 6466] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6465] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6448] futex(0x7f4e2da3d62c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6469] write(3, "1000", 4 [pid 6468] <... open resumed>) = 4 [pid 6467] <... close resumed>) = 0 [pid 6466] <... openat resumed>) = 3 [pid 6465] <... futex resumed>) = 0 [pid 6448] <... futex resumed>) = 0 [pid 6469] <... write resumed>) = 4 [pid 6468] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6467] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6466] write(3, "1000", 4 [pid 6465] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6448] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6469] close(3 [pid 6468] <... futex resumed>) = 0 [pid 6467] <... futex resumed>) = 0 [pid 6466] <... write resumed>) = 4 [pid 6465] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6448] <... mmap resumed>) = 0x7f4e2650c000 [pid 6469] <... close resumed>) = 0 [pid 6468] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6467] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6466] close(3 [pid 6465] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6448] mprotect(0x7f4e2650d000, 131072, PROT_READ|PROT_WRITE [pid 6469] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6467] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6466] <... close resumed>) = 0 [pid 6465] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6469] <... futex resumed>) = 0 [pid 6467] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6466] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6465] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6448] <... mprotect resumed>) = 0 [pid 6469] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6467] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6466] <... futex resumed>) = 0 [pid 6465] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6448] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6469] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6467] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6466] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6465] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6448] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6469] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6467] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6466] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6465] <... mprotect resumed>) = 0 [pid 6448] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2652c990, parent_tid=0x7f4e2652c990, exit_signal=0, stack=0x7f4e2650c000, stack_size=0x20300, tls=0x7f4e2652c6c0} [pid 6469] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6467] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6466] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6465] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6469] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6467] <... mprotect resumed>) = 0 [pid 6466] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6465] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6448] <... clone3 resumed> => {parent_tid=[6470]}, 88) = 6470 ./strace-static-x86_64: Process 6470 attached [pid 6469] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6467] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6466] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6465] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6448] rt_sigprocmask(SIG_SETMASK, [], [pid 6469] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6467] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6466] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6448] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6470] rseq(0x7f4e2652cfe0, 0x20, 0, 0x53053053) = 0 [pid 6469] <... mprotect resumed>) = 0 [pid 6467] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6466] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6465] <... clone3 resumed> => {parent_tid=[6471]}, 88) = 6471 [pid 6451] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6448] futex(0x7f4e2da3d628, FUTEX_WAKE_PRIVATE, 1000000 [pid 6470] set_robust_list(0x7f4e2652c9a0, 24 [pid 6469] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6466] <... mprotect resumed>) = 0 [pid 6465] rt_sigprocmask(SIG_SETMASK, [], [pid 6451] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6448] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6471 attached [pid 6470] <... set_robust_list resumed>) = 0 [pid 6469] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6467] <... clone3 resumed> => {parent_tid=[6472]}, 88) = 6472 [pid 6466] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6465] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6451] <... futex resumed>) = 0 [pid 6448] futex(0x7f4e2da3d62c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6471] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6470] rt_sigprocmask(SIG_SETMASK, [], [pid 6469] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6467] rt_sigprocmask(SIG_SETMASK, [], [pid 6466] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6465] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6451] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL./strace-static-x86_64: Process 6472 attached [pid 6471] <... rseq resumed>) = 0 [pid 6470] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6467] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6466] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6465] <... futex resumed>) = 0 [pid 6472] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6471] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6470] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6469] <... clone3 resumed> => {parent_tid=[6473]}, 88) = 6473 [pid 6467] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6465] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6473 attached [pid 6472] <... rseq resumed>) = 0 [pid 6471] <... set_robust_list resumed>) = 0 [pid 6469] rt_sigprocmask(SIG_SETMASK, [], [pid 6467] <... futex resumed>) = 0 [pid 6466] <... clone3 resumed> => {parent_tid=[6474]}, 88) = 6474 [pid 6470] <... ioctl resumed>) = 0 [pid 6473] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6472] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6471] rt_sigprocmask(SIG_SETMASK, [], [pid 6470] futex(0x7f4e2da3d62c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6469] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6467] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6466] rt_sigprocmask(SIG_SETMASK, [], [pid 6473] <... rseq resumed>) = 0 [pid 6472] <... set_robust_list resumed>) = 0 [pid 6471] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6470] <... futex resumed>) = 1 [pid 6469] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6466] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6448] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6474 attached [pid 6473] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6472] rt_sigprocmask(SIG_SETMASK, [], [pid 6471] memfd_create("syzkaller", 0 [pid 6470] futex(0x7f4e2da3d628, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6469] <... futex resumed>) = 0 [pid 6466] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6448] exit_group(0 [pid 6474] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6473] <... set_robust_list resumed>) = 0 [pid 6472] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6471] <... memfd_create resumed>) = 3 [pid 6470] <... futex resumed>) = ? [pid 6469] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6468] <... futex resumed>) = ? [pid 6466] <... futex resumed>) = 0 [pid 6451] <... futex resumed>) = ? [pid 6448] <... exit_group resumed>) = ? [ 163.009412][ T6451] BTRFS info (device loop2): 2 enospc errors during balance [ 163.032890][ T6451] BTRFS info (device loop2): balance: ended with status: -28 [pid 6474] <... rseq resumed>) = 0 [pid 6473] rt_sigprocmask(SIG_SETMASK, [], [pid 6472] memfd_create("syzkaller", 0 [pid 6471] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6470] +++ exited with 0 +++ [pid 6468] +++ exited with 0 +++ [pid 6466] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6451] +++ exited with 0 +++ [pid 6474] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6473] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6472] <... memfd_create resumed>) = 3 [pid 6448] +++ exited with 0 +++ [pid 6474] <... set_robust_list resumed>) = 0 [pid 6472] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6471] <... mmap resumed>) = 0x7f4e2554e000 [pid 6473] memfd_create("syzkaller", 0 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6448, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=32 /* 0.32 s */} --- [pid 6474] rt_sigprocmask(SIG_SETMASK, [], [pid 6472] <... mmap resumed>) = 0x7f4e2554e000 [pid 6474] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6473] <... memfd_create resumed>) = 3 [pid 6474] memfd_create("syzkaller", 0 [pid 6473] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6474] <... memfd_create resumed>) = 3 [pid 6473] <... mmap resumed>) = 0x7f4e2554e000 [pid 5025] <... openat resumed>) = 3 [pid 6474] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6474] <... mmap resumed>) = 0x7f4e2554e000 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6475 ./strace-static-x86_64: Process 6475 attached [pid 6475] set_robust_list(0x5555558636a0, 24) = 0 [pid 6475] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6475] setpgid(0, 0) = 0 [pid 6475] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6475] write(3, "1000", 4) = 4 [pid 6475] close(3) = 0 [pid 6475] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6475] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6475] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6475] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6475] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6475] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6475] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6476]}, 88) = 6476 [pid 6475] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6475] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6475] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6476 attached [pid 6476] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6476] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6476] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6476] memfd_create("syzkaller", 0) = 3 [pid 6476] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6462] <... write resumed>) = 16777216 [pid 6462] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6462] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6462] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6462] ioctl(4, LOOP_CLR_FD) = 0 [pid 6462] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6462] close(4) = 0 [pid 6462] close(3 [pid 6471] 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 6473] 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 6472] 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 6474] 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 6476] 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 6462] <... close resumed>) = 0 [pid 6462] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6461] <... futex resumed>) = 0 [pid 6462] <... futex resumed>) = 1 [pid 6461] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6462] open("./file0", O_RDONLY [pid 6461] <... futex resumed>) = 0 [pid 6462] <... open resumed>) = 3 [pid 6461] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6462] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6461] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6462] <... futex resumed>) = 0 [pid 6461] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6462] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6461] <... futex resumed>) = 0 [pid 6462] <... ioctl resumed>) = 0 [pid 6461] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6462] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6461] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6462] <... futex resumed>) = 0 [pid 6461] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6462] ioctl(3, 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 6461] <... futex resumed>) = 0 [pid 6461] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6461] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 163.618876][ T6462] BTRFS info (device loop2): balance: start -d -m [ 163.629004][ T6462] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6461] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6461] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6461] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6461] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6478]}, 88) = 6478 [pid 6461] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6461] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6478 attached ) = 0 [pid 6461] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6478] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6478] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6478] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6478] open("./file0", O_RDONLY) = 4 [pid 6478] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6461] <... futex resumed>) = 0 [pid 6478] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6461] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6478] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6478] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6461] <... futex resumed>) = 0 [pid 6461] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6478] <... ioctl resumed>) = 0 [pid 6478] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6461] <... futex resumed>) = 0 [ 163.674648][ T6462] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6478] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6471] <... write resumed>) = 16777216 [ 163.726268][ T6462] BTRFS info (device loop2): 2 enospc errors during balance [ 163.733697][ T6462] BTRFS info (device loop2): balance: ended with status: -28 [pid 6473] <... write resumed>) = 16777216 [pid 6462] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6462] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6461] exit_group(0 [pid 6478] <... futex resumed>) = ? [pid 6473] munmap(0x7f4e2554e000, 16777216 [pid 6462] <... futex resumed>) = ? [pid 6461] <... exit_group resumed>) = ? [pid 6478] +++ exited with 0 +++ [pid 6462] +++ exited with 0 +++ [pid 6471] munmap(0x7f4e2554e000, 16777216 [pid 6461] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6461, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=26 /* 0.26 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3 [pid 6473] <... munmap resumed>) = 0 [pid 6472] <... write resumed>) = 16777216 [pid 6471] <... munmap resumed>) = 0 [pid 5022] <... close resumed>) = 0 [pid 6473] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6472] munmap(0x7f4e2554e000, 16777216 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6473] <... openat resumed>) = 4 [pid 6473] ioctl(4, LOOP_SET_FD, 3./strace-static-x86_64: Process 6479 attached [pid 6474] <... write resumed>) = 16777216 [pid 6473] <... ioctl resumed>) = 0 [pid 6472] <... munmap resumed>) = 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6479 [pid 6479] set_robust_list(0x5555558636a0, 24 [pid 6474] munmap(0x7f4e2554e000, 16777216 [pid 6473] close(3 [pid 6472] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6471] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6479] <... set_robust_list resumed>) = 0 [pid 6474] <... munmap resumed>) = 0 [pid 6473] <... close resumed>) = 0 [pid 6479] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6474] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6473] mkdir("./file0", 0777 [pid 6472] <... openat resumed>) = 4 [pid 6471] <... openat resumed>) = 4 [pid 6479] <... prctl resumed>) = 0 [pid 6474] <... openat resumed>) = 4 [pid 6473] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6472] ioctl(4, LOOP_SET_FD, 3 [pid 6471] ioctl(4, LOOP_SET_FD, 3 [pid 6479] setpgid(0, 0 [pid 6474] ioctl(4, LOOP_SET_FD, 3 [pid 6473] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6479] <... setpgid resumed>) = 0 [pid 6471] <... ioctl resumed>) = 0 [ 163.847531][ T6473] loop4: detected capacity change from 0 to 32768 [ 163.870208][ T6472] loop1: detected capacity change from 0 to 32768 [ 163.877103][ T6471] loop5: detected capacity change from 0 to 32768 [ 163.884593][ T6473] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6473) [pid 6479] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6472] <... ioctl resumed>) = 0 [pid 6472] close(3) = 0 [pid 6479] <... openat resumed>) = 3 [pid 6474] <... ioctl resumed>) = 0 [pid 6471] close(3 [pid 6479] write(3, "1000", 4 [pid 6474] close(3 [pid 6473] <... mount resumed>) = -1 EEXIST (File exists) [pid 6471] <... close resumed>) = 0 [pid 6479] <... write resumed>) = 4 [pid 6474] <... close resumed>) = 0 [pid 6473] ioctl(4, LOOP_CLR_FD [pid 6472] mkdir("./file0", 0777 [pid 6471] mkdir("./file0", 0777 [pid 6479] close(3 [pid 6476] <... write resumed>) = 16777216 [pid 6474] mkdir("./file0", 0777 [pid 6472] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6471] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6479] <... close resumed>) = 0 [pid 6476] munmap(0x7f4e2554e000, 16777216 [pid 6474] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6472] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 163.896495][ T6474] loop0: detected capacity change from 0 to 32768 [pid 6471] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6479] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6476] <... munmap resumed>) = 0 [pid 6474] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6479] <... futex resumed>) = 0 [pid 6479] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6479] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6479] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6479] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6479] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6476] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6479] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6476] <... openat resumed>) = 4 [pid 6476] ioctl(4, LOOP_SET_FD, 3 [pid 6479] <... clone3 resumed> => {parent_tid=[6481]}, 88) = 6481 [pid 6479] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6479] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6479] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6476] <... ioctl resumed>) = 0 [pid 6476] close(3) = 0 [pid 6476] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6476] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,"./strace-static-x86_64: Process 6481 attached [pid 6481] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6481] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6481] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6481] memfd_create("syzkaller", 0) = 3 [pid 6481] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6471] <... mount resumed>) = -1 EEXIST (File exists) [ 163.921765][ T6471] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6471) [ 163.940425][ T6476] loop3: detected capacity change from 0 to 32768 [ 163.946210][ T6472] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6472) [pid 6471] ioctl(4, LOOP_CLR_FD [pid 6472] <... mount resumed>) = -1 EEXIST (File exists) [ 163.966027][ T6474] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6474) [pid 6472] ioctl(4, LOOP_CLR_FD [pid 6474] <... mount resumed>) = -1 EEXIST (File exists) [pid 6474] ioctl(4, LOOP_CLR_FD [pid 6476] <... mount resumed>) = -1 EEXIST (File exists) [ 164.003429][ T6476] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6476) [pid 6476] ioctl(4, LOOP_CLR_FD [pid 6471] <... ioctl resumed>) = 0 [pid 6471] close(4 [pid 6473] <... ioctl resumed>) = 0 [pid 6471] <... close resumed>) = 0 [pid 6473] close(4 [pid 6471] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6473] <... close resumed>) = 0 [pid 6471] <... futex resumed>) = 1 [pid 6465] <... futex resumed>) = 0 [pid 6473] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6471] open("./file0", O_RDONLY [pid 6465] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6473] <... futex resumed>) = 1 [pid 6465] <... futex resumed>) = 0 [pid 6473] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6471] <... open resumed>) = 3 [pid 6469] <... futex resumed>) = 0 [pid 6465] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6471] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6469] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6471] <... futex resumed>) = 1 [pid 6465] <... futex resumed>) = 0 [pid 6473] <... futex resumed>) = 0 [pid 6469] <... futex resumed>) = 1 [pid 6473] open("./file0", O_RDONLY [pid 6465] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6473] <... open resumed>) = 3 [pid 6471] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6469] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6465] <... futex resumed>) = 0 [pid 6473] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6471] <... ioctl resumed>) = 0 [pid 6469] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6465] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6473] <... futex resumed>) = 0 [pid 6471] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6469] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6465] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6473] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6471] <... futex resumed>) = 0 [pid 6469] <... futex resumed>) = 0 [pid 6465] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6473] <... ioctl resumed>) = 0 [pid 6471] ioctl(3, 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 6469] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6465] <... futex resumed>) = 0 [pid 6473] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6465] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6473] <... futex resumed>) = 0 [pid 6473] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6469] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6469] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6473] <... futex resumed>) = 0 [pid 6469] <... futex resumed>) = 1 [pid 6473] ioctl(3, 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}}) = -1 EINPROGRESS (Operation now in progress) [pid 6473] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6473] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6469] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 EAGAIN (Resource temporarily unavailable) [pid 6469] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6473] <... futex resumed>) = 0 [pid 6469] <... futex resumed>) = 1 [pid 6473] open("./file0", O_RDONLY [pid 6469] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6473] <... open resumed>) = 4 [pid 6473] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6469] <... futex resumed>) = 0 [pid 6473] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6469] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6473] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6469] <... futex resumed>) = 0 [pid 6473] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6469] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6473] <... ioctl resumed>) = 0 [pid 6473] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6469] <... futex resumed>) = 0 [pid 6473] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6469] exit_group(0 [pid 6474] <... ioctl resumed>) = 0 [pid 6472] <... ioctl resumed>) = 0 [pid 6473] <... futex resumed>) = ? [pid 6469] <... exit_group resumed>) = ? [pid 6473] +++ exited with 0 +++ [pid 6472] close(4 [pid 6469] +++ exited with 0 +++ [pid 6476] <... ioctl resumed>) = 0 [pid 6474] close(4 [pid 6472] <... close resumed>) = 0 [pid 6465] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6469, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=21 /* 0.21 s */} --- [pid 6476] close(4 [pid 6474] <... close resumed>) = 0 [pid 6472] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6465] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6476] <... close resumed>) = 0 [pid 6474] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6472] <... futex resumed>) = 1 [pid 6467] <... futex resumed>) = 0 [ 164.226607][ T6471] BTRFS info (device loop2): balance: start -d -m [ 164.233436][ T6471] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6465] <... futex resumed>) = 0 [pid 6476] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6472] open("./file0", O_RDONLY [pid 6467] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6465] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6467] <... futex resumed>) = 0 [pid 6465] <... mmap resumed>) = 0x7f4e2652d000 [pid 6467] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6465] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6465] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6465] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6482]}, 88) = 6482 [pid 6465] rt_sigprocmask(SIG_SETMASK, [], [pid 6476] <... futex resumed>) = 1 [pid 6475] <... futex resumed>) = 0 [pid 6472] <... open resumed>) = 3 [pid 6465] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6465] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6465] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6475] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6476] open("./file0", O_RDONLY [pid 6472] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6466] <... futex resumed>) = 0 [pid 6474] <... futex resumed>) = 1 [pid 6475] <... futex resumed>) = 0 [pid 6466] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6476] <... open resumed>) = 3 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6472] <... futex resumed>) = 1 [pid 6467] <... futex resumed>) = 0 [pid 6474] open("./file0", O_RDONLY./strace-static-x86_64: Process 6482 attached [pid 6476] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6475] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6467] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6466] <... futex resumed>) = 0 [pid 5026] <... openat resumed>) = 3 [pid 6472] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6474] <... open resumed>) = 3 [pid 6482] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6476] <... futex resumed>) = 0 [pid 6475] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6467] <... futex resumed>) = 0 [pid 6482] <... rseq resumed>) = 0 [pid 6467] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6466] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6482] set_robust_list(0x7f4e2654d9a0, 24 [pid 6476] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6475] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6474] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6472] <... ioctl resumed>) = 0 [pid 6482] <... set_robust_list resumed>) = 0 [pid 6482] rt_sigprocmask(SIG_SETMASK, [], [pid 6476] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6475] <... futex resumed>) = 0 [pid 6474] <... futex resumed>) = 0 [pid 6472] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6466] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6482] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6476] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6475] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6474] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6472] <... futex resumed>) = 1 [pid 6467] <... futex resumed>) = 0 [pid 6466] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] close(3 [pid 6482] open("./file0", O_RDONLY [pid 6467] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6482] <... open resumed>) = 4 [pid 6467] <... futex resumed>) = 0 [pid 6482] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6467] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6482] <... futex resumed>) = 1 [pid 6465] <... futex resumed>) = 0 [pid 6482] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6465] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6482] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6465] <... futex resumed>) = 0 [pid 6482] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6465] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6482] <... ioctl resumed>) = 0 [pid 6482] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6465] <... futex resumed>) = 0 [pid 6482] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6466] <... futex resumed>) = 0 [pid 6476] <... ioctl resumed>) = 0 [pid 6474] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6472] ioctl(3, 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 6466] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6476] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6474] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 5026] <... close resumed>) = 0 [pid 6476] <... futex resumed>) = 1 [pid 6475] <... futex resumed>) = 0 [pid 6474] <... ioctl resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6476] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6475] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6474] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6476] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6475] <... futex resumed>) = 0 [pid 6474] <... futex resumed>) = 1 [pid 6466] <... futex resumed>) = 0 [pid 6476] ioctl(3, 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 6475] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6474] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6466] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6483 [pid 6474] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6466] <... futex resumed>) = 0 [pid 6474] ioctl(3, 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 6466] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6483 attached [pid 6481] 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 6483] set_robust_list(0x5555558636a0, 24 [pid 6476] <... 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}}) = 8 [pid 6474] <... 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}}) = 8 [pid 6472] <... 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}}) = 8 [pid 6471] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6483] <... set_robust_list resumed>) = 0 [pid 6476] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6474] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6472] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6471] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6483] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6476] <... futex resumed>) = 1 [pid 6475] <... futex resumed>) = 0 [pid 6474] <... futex resumed>) = 1 [pid 6472] <... futex resumed>) = 1 [pid 6471] <... futex resumed>) = 0 [pid 6467] <... futex resumed>) = 0 [pid 6466] <... futex resumed>) = 0 [pid 6483] <... prctl resumed>) = 0 [pid 6476] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6475] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6474] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6472] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6471] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6466] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6483] setpgid(0, 0 [pid 6476] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6474] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6466] <... futex resumed>) = 0 [pid 6483] <... setpgid resumed>) = 0 [pid 6476] open("./file0", O_RDONLY [pid 6474] open("./file0", O_RDONLY [pid 6466] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6483] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6476] <... open resumed>) = 4 [pid 6474] <... open resumed>) = 4 [pid 6483] <... openat resumed>) = 3 [pid 6476] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6474] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6483] write(3, "1000", 4 [pid 6476] <... futex resumed>) = 0 [pid 6474] <... futex resumed>) = 1 [pid 6466] <... futex resumed>) = 0 [ 164.282251][ T6471] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 164.316487][ T6471] BTRFS info (device loop2): 2 enospc errors during balance [ 164.323972][ T6471] BTRFS info (device loop2): balance: ended with status: -28 [pid 6483] <... write resumed>) = 4 [pid 6476] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6474] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6466] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6483] close(3 [pid 6476] <... futex resumed>) = 0 [pid 6475] <... futex resumed>) = 1 [pid 6474] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6467] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6466] <... futex resumed>) = 0 [pid 6465] exit_group(0 [pid 6483] <... close resumed>) = 0 [pid 6482] <... futex resumed>) = ? [pid 6476] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6475] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6474] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6472] <... futex resumed>) = 0 [pid 6471] <... futex resumed>) = ? [pid 6467] <... futex resumed>) = 1 [pid 6466] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6465] <... exit_group resumed>) = ? [pid 6483] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6482] +++ exited with 0 +++ [pid 6475] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6474] <... ioctl resumed>) = 0 [pid 6472] open("./file0", O_RDONLY [pid 6471] +++ exited with 0 +++ [pid 6467] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6483] <... futex resumed>) = 0 [pid 6474] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6472] <... open resumed>) = 4 [pid 6483] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6475] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6474] <... futex resumed>) = 1 [pid 6472] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6467] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6466] <... futex resumed>) = 0 [pid 6465] +++ exited with 0 +++ [pid 6483] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6476] <... futex resumed>) = 0 [pid 6475] <... futex resumed>) = 1 [pid 6474] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6472] <... futex resumed>) = 0 [pid 6467] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6466] exit_group(0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6465, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=24 /* 0.24 s */} --- [pid 6483] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6476] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6475] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6474] <... futex resumed>) = ? [pid 6472] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6467] <... futex resumed>) = 0 [pid 6466] <... exit_group resumed>) = ? [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 6483] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6476] <... ioctl resumed>) = 0 [pid 6474] +++ exited with 0 +++ [pid 6472] <... ioctl resumed>) = 0 [pid 6467] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6466] +++ exited with 0 +++ [pid 5027] <... restart_syscall resumed>) = 0 [pid 6483] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6476] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6472] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6467] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6483] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6476] <... futex resumed>) = 1 [pid 6475] <... futex resumed>) = 0 [pid 6472] <... futex resumed>) = 0 [pid 6467] exit_group(0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6466, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=19 /* 0.19 s */} --- [pid 6483] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6476] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6475] exit_group(0 [pid 6467] <... exit_group resumed>) = ? [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6483] <... mprotect resumed>) = 0 [pid 6476] <... futex resumed>) = ? [pid 6475] <... exit_group resumed>) = ? [pid 6472] +++ exited with 0 +++ [pid 5027] <... openat resumed>) = 3 [pid 5020] <... openat resumed>) = 3 [pid 6483] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6476] +++ exited with 0 +++ [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6467] +++ exited with 0 +++ [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6483] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6483] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5027] close(3 [pid 5020] close(3 [pid 6475] +++ exited with 0 +++ [pid 5027] <... close resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 6483] <... clone3 resumed> => {parent_tid=[6484]}, 88) = 6484 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6475, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=20 /* 0.20 s */} --- [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6483] rt_sigprocmask(SIG_SETMASK, [], [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 6483] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6485 [pid 5025] <... restart_syscall resumed>) = 0 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6486 [pid 6483] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6467, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=26 /* 0.26 s */} --- [pid 6483] <... futex resumed>) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6483] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5021] <... openat resumed>) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] ioctl(3, LOOP_CLR_FD [pid 5025] close(3) = 0 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] close(3 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6487 [pid 5021] <... close resumed>) = 0 ./strace-static-x86_64: Process 6486 attached [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6484 attached [pid 6486] set_robust_list(0x5555558636a0, 24) = 0 [pid 6484] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6486] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6484] <... rseq resumed>) = 0 [pid 6486] <... prctl resumed>) = 0 [pid 6484] set_robust_list(0x7f4e2d96e9a0, 24 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6488 [pid 6486] setpgid(0, 0 [pid 6484] <... set_robust_list resumed>) = 0 [pid 6486] <... setpgid resumed>) = 0 [pid 6484] rt_sigprocmask(SIG_SETMASK, [], [pid 6486] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6484] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6488 attached [pid 6486] <... openat resumed>) = 3 [pid 6484] memfd_create("syzkaller", 0 [pid 6488] set_robust_list(0x5555558636a0, 24 [pid 6486] write(3, "1000", 4 [pid 6484] <... memfd_create resumed>) = 3 [pid 6488] <... set_robust_list resumed>) = 0 [pid 6486] <... write resumed>) = 4 [pid 6484] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6488] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6486] close(3 [pid 6484] <... mmap resumed>) = 0x7f4e2554e000 [pid 6488] <... prctl resumed>) = 0 [pid 6486] <... close resumed>) = 0 [pid 6488] setpgid(0, 0 [pid 6486] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6488] <... setpgid resumed>) = 0 [pid 6486] <... futex resumed>) = 0 [pid 6488] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6486] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6488] <... openat resumed>) = 3 [pid 6486] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6488] write(3, "1000", 4 [pid 6486] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], ./strace-static-x86_64: Process 6487 attached [pid 6488] <... write resumed>) = 4 [pid 6486] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6488] close(3 [pid 6486] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6488] <... close resumed>) = 0 [pid 6487] set_robust_list(0x5555558636a0, 24 [pid 6486] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6488] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6487] <... set_robust_list resumed>) = 0 [pid 6486] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6488] <... futex resumed>) = 0 [pid 6486] <... mprotect resumed>) = 0 ./strace-static-x86_64: Process 6485 attached [pid 6488] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6487] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6486] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6488] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6487] <... prctl resumed>) = 0 [pid 6486] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6485] set_robust_list(0x5555558636a0, 24 [pid 6488] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6487] setpgid(0, 0 [pid 6486] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6485] <... set_robust_list resumed>) = 0 [pid 6488] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6487] <... setpgid resumed>) = 0 [pid 6488] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6486] <... clone3 resumed> => {parent_tid=[6489]}, 88) = 6489 [pid 6485] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6488] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6487] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6486] rt_sigprocmask(SIG_SETMASK, [], [pid 6488] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6486] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6488] <... mprotect resumed>) = 0 [pid 6487] <... openat resumed>) = 3 [pid 6486] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6485] <... prctl resumed>) = 0 [pid 6488] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6486] <... futex resumed>) = 0 [pid 6487] write(3, "1000", 4 [pid 6488] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6487] <... write resumed>) = 4 [pid 6486] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6485] setpgid(0, 0 [pid 6488] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6487] close(3 [pid 6485] <... setpgid resumed>) = 0 ./strace-static-x86_64: Process 6489 attached [pid 6487] <... close resumed>) = 0 [pid 6485] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6489] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6488] <... clone3 resumed> => {parent_tid=[6490]}, 88) = 6490 [pid 6487] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6485] <... openat resumed>) = 3 [pid 6489] <... rseq resumed>) = 0 [pid 6488] rt_sigprocmask(SIG_SETMASK, [], [pid 6487] <... futex resumed>) = 0 [pid 6485] write(3, "1000", 4 [pid 6489] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6488] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6487] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6485] <... write resumed>) = 4 [pid 6489] <... set_robust_list resumed>) = 0 [pid 6488] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6487] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6485] close(3./strace-static-x86_64: Process 6490 attached [pid 6489] rt_sigprocmask(SIG_SETMASK, [], [pid 6488] <... futex resumed>) = 0 [pid 6487] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6485] <... close resumed>) = 0 [pid 6490] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6489] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6488] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6487] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6485] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6490] <... rseq resumed>) = 0 [pid 6489] memfd_create("syzkaller", 0 [pid 6487] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6485] <... futex resumed>) = 0 [pid 6490] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6489] <... memfd_create resumed>) = 3 [pid 6487] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6485] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6490] <... set_robust_list resumed>) = 0 [pid 6489] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6487] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6485] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6490] rt_sigprocmask(SIG_SETMASK, [], [pid 6489] <... mmap resumed>) = 0x7f4e2554e000 [pid 6490] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6487] <... mprotect resumed>) = 0 [pid 6485] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6490] memfd_create("syzkaller", 0) = 3 [pid 6487] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6485] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6490] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6487] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6485] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6487] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6485] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6487] <... clone3 resumed> => {parent_tid=[6491]}, 88) = 6491 [pid 6485] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6487] rt_sigprocmask(SIG_SETMASK, [], [pid 6485] <... mprotect resumed>) = 0 [pid 6487] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6487] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6485] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6487] <... futex resumed>) = 0 [pid 6485] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6487] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6485] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6492]}, 88) = 6492 ./strace-static-x86_64: Process 6491 attached [pid 6485] rt_sigprocmask(SIG_SETMASK, [], [pid 6491] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6485] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6485] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6492 attached [pid 6492] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6485] <... futex resumed>) = 0 [pid 6491] <... rseq resumed>) = 0 [pid 6492] <... rseq resumed>) = 0 [pid 6485] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6492] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6491] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6492] <... set_robust_list resumed>) = 0 [pid 6492] rt_sigprocmask(SIG_SETMASK, [], [pid 6491] <... set_robust_list resumed>) = 0 [pid 6492] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6491] rt_sigprocmask(SIG_SETMASK, [], [pid 6492] memfd_create("syzkaller", 0) = 3 [pid 6491] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6492] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6491] memfd_create("syzkaller", 0) = 3 [pid 6491] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6481] <... write resumed>) = 16777216 [pid 6481] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6481] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6481] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6481] ioctl(4, LOOP_CLR_FD) = 0 [pid 6484] 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 6481] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6481] close(4) = 0 [pid 6481] close(3 [pid 6492] 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 6491] 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 6490] 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 6489] 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 6481] <... close resumed>) = 0 [pid 6481] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6479] <... futex resumed>) = 0 [pid 6479] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6481] open("./file0", O_RDONLY [pid 6479] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6481] <... open resumed>) = 3 [pid 6481] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6479] <... futex resumed>) = 0 [pid 6481] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6479] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6481] <... ioctl resumed>) = 0 [pid 6479] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6481] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6479] <... futex resumed>) = 0 [pid 6479] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6481] ioctl(3, 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 6479] <... futex resumed>) = 0 [pid 6479] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6479] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6479] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [ 164.962144][ T6481] BTRFS info (device loop2): balance: start -d -m [ 164.980250][ T6481] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6479] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6479] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6479] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6494]}, 88) = 6494 [pid 6479] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6479] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 165.025809][ T6481] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6479] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6494 attached [pid 6494] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6494] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6494] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6494] open("./file0", O_RDONLY) = 4 [pid 6494] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6479] <... futex resumed>) = 0 [pid 6494] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6479] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6494] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6479] <... futex resumed>) = 0 [pid 6494] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6479] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6494] <... ioctl resumed>) = 0 [pid 6494] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6479] <... futex resumed>) = 0 [pid 6494] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6484] <... write resumed>) = 16777216 [pid 6481] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6481] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6479] exit_group(0 [pid 6494] <... futex resumed>) = ? [pid 6479] <... exit_group resumed>) = ? [pid 6494] +++ exited with 0 +++ [pid 6481] +++ exited with 0 +++ [pid 6479] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6479, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=31 /* 0.31 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3 [pid 6484] munmap(0x7f4e2554e000, 16777216 [pid 5022] <... close resumed>) = 0 [ 165.069547][ T6481] BTRFS info (device loop2): 2 enospc errors during balance [ 165.106044][ T6481] BTRFS info (device loop2): balance: ended with status: -28 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6495 ./strace-static-x86_64: Process 6495 attached [pid 6495] set_robust_list(0x5555558636a0, 24) = 0 [pid 6484] <... munmap resumed>) = 0 [pid 6484] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6484] ioctl(4, LOOP_SET_FD, 3 [pid 6495] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6495] setpgid(0, 0) = 0 [pid 6495] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6495] write(3, "1000", 4) = 4 [pid 6495] close(3) = 0 [pid 6495] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6495] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6495] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6495] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6495] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6495] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6484] <... ioctl resumed>) = 0 [pid 6495] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6484] close(3) = 0 [pid 6484] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6484] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6495] <... clone3 resumed> => {parent_tid=[6496]}, 88) = 6496 [pid 6490] <... write resumed>) = 16777216 [pid 6495] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6495] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6496 attached ) = 0 [pid 6496] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6495] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6496] <... rseq resumed>) = 0 [pid 6496] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6489] <... write resumed>) = 16777216 [pid 6496] <... set_robust_list resumed>) = 0 [pid 6496] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6496] memfd_create("syzkaller", 0 [pid 6489] munmap(0x7f4e2554e000, 16777216 [pid 6496] <... memfd_create resumed>) = 3 [pid 6489] <... munmap resumed>) = 0 [pid 6496] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6490] munmap(0x7f4e2554e000, 16777216 [pid 6496] <... mmap resumed>) = 0x7f4e2554e000 [pid 6491] <... write resumed>) = 16777216 [pid 6491] munmap(0x7f4e2554e000, 16777216 [pid 6489] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [ 165.173449][ T6484] loop4: detected capacity change from 0 to 32768 [ 165.198304][ T6484] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6484) [pid 6489] ioctl(4, LOOP_SET_FD, 3 [pid 6492] <... write resumed>) = 16777216 [pid 6491] <... munmap resumed>) = 0 [pid 6490] <... munmap resumed>) = 0 [pid 6484] <... mount resumed>) = -1 EEXIST (File exists) [pid 6490] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6492] munmap(0x7f4e2554e000, 16777216 [pid 6491] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6490] <... openat resumed>) = 4 [pid 6489] <... ioctl resumed>) = 0 [pid 6489] close(3) = 0 [pid 6489] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6489] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6490] ioctl(4, LOOP_SET_FD, 3 [pid 6491] <... openat resumed>) = 4 [pid 6484] ioctl(4, LOOP_CLR_FD [pid 6491] ioctl(4, LOOP_SET_FD, 3 [pid 6489] <... mount resumed>) = -1 EEXIST (File exists) [pid 6489] ioctl(4, LOOP_CLR_FD [pid 6490] <... ioctl resumed>) = 0 [pid 6490] close(3) = 0 [pid 6490] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6490] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6492] <... munmap resumed>) = 0 [pid 6491] <... ioctl resumed>) = 0 [pid 6492] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6491] close(3) = 0 [pid 6492] <... openat resumed>) = 4 [pid 6491] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 165.234305][ T6489] loop0: detected capacity change from 0 to 32768 [ 165.245338][ T6490] loop1: detected capacity change from 0 to 32768 [ 165.247954][ T6489] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6489) [ 165.266098][ T6491] loop3: detected capacity change from 0 to 32768 [ 165.271974][ T6490] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6490) [pid 6492] ioctl(4, LOOP_SET_FD, 3 [pid 6490] <... mount resumed>) = -1 EEXIST (File exists) [pid 6490] ioctl(4, LOOP_CLR_FD [pid 6491] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6492] <... ioctl resumed>) = 0 [pid 6492] close(3) = 0 [pid 6492] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6492] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6491] <... mount resumed>) = -1 EEXIST (File exists) [ 165.286590][ T6492] loop5: detected capacity change from 0 to 32768 [ 165.294354][ T6491] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6491) [ 165.325177][ T6492] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6492) [pid 6491] ioctl(4, LOOP_CLR_FD [pid 6492] <... mount resumed>) = -1 EEXIST (File exists) [pid 6492] ioctl(4, LOOP_CLR_FD [pid 6484] <... ioctl resumed>) = 0 [pid 6484] close(4) = 0 [pid 6484] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6483] <... futex resumed>) = 0 [pid 6484] open("./file0", O_RDONLY [pid 6483] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6483] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6484] <... open resumed>) = 3 [pid 6484] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6483] <... futex resumed>) = 0 [pid 6483] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6483] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6484] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 6484] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6483] <... futex resumed>) = 0 [pid 6483] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6483] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6484] ioctl(3, 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 6483] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6483] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=0}) = -1 ETIMEDOUT (Connection timed out) [pid 6483] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6483] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6483] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6483] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6483] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6497]}, 88) = 6497 [pid 6483] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6483] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6483] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6490] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 6497 attached [pid 6497] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6497] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6497] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6497] open("./file0", O_RDONLY) = 4 [pid 6497] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6483] <... futex resumed>) = 0 [pid 6497] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6483] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6497] <... ioctl resumed>) = 0 [pid 6483] <... futex resumed>) = 0 [ 165.445350][ T6484] BTRFS info (device loop2): balance: start -d -m [ 165.466631][ T6484] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 165.482798][ T6484] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6497] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6496] 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 6483] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6497] <... futex resumed>) = 0 [pid 6483] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6497] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6490] close(4) = 0 [pid 6490] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6488] <... futex resumed>) = 0 [pid 6488] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6488] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6490] <... futex resumed>) = 1 [pid 6490] open("./file0", O_RDONLY) = 3 [pid 6490] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6488] <... futex resumed>) = 0 [pid 6490] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6488] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6490] <... ioctl resumed>) = 0 [pid 6488] <... futex resumed>) = 0 [pid 6490] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6488] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6490] <... futex resumed>) = 0 [pid 6488] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6490] ioctl(3, 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 6488] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6490] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6488] <... futex resumed>) = 0 [pid 6490] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6488] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6490] <... futex resumed>) = 0 [pid 6488] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6490] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6488] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6490] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6488] <... futex resumed>) = 0 [pid 6490] open("./file0", O_RDONLY [pid 6488] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6490] <... open resumed>) = 4 [pid 6490] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6488] <... futex resumed>) = 0 [pid 6490] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6488] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6490] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6488] <... futex resumed>) = 0 [pid 6490] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6488] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6490] <... ioctl resumed>) = 0 [pid 6490] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6488] <... futex resumed>) = 0 [pid 6490] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6488] exit_group(0 [pid 6490] <... futex resumed>) = ? [pid 6488] <... exit_group resumed>) = ? [pid 6490] +++ exited with 0 +++ [pid 6488] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6488, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=17 /* 0.17 s */} --- [pid 6489] <... ioctl resumed>) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6489] close(4) = 0 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6498 [pid 6489] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6486] <... futex resumed>) = 0 [pid 6489] open("./file0", O_RDONLY [pid 6486] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6498 attached [pid 6489] <... open resumed>) = 3 [pid 6486] <... futex resumed>) = 0 [pid 6498] set_robust_list(0x5555558636a0, 24 [pid 6489] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6486] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6484] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6498] <... set_robust_list resumed>) = 0 [pid 6489] <... futex resumed>) = 0 [pid 6486] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6484] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6498] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6489] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6486] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6484] <... futex resumed>) = 0 [pid 6486] <... futex resumed>) = 0 [pid 6486] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6498] <... prctl resumed>) = 0 [pid 6489] <... ioctl resumed>) = 0 [pid 6484] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6483] exit_group(0 [pid 6497] <... futex resumed>) = ? [pid 6483] <... exit_group resumed>) = ? [pid 6497] +++ exited with 0 +++ [pid 6498] setpgid(0, 0 [pid 6489] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6484] <... futex resumed>) = ? [pid 6489] <... futex resumed>) = 1 [pid 6486] <... futex resumed>) = 0 [pid 6486] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6486] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6484] +++ exited with 0 +++ [pid 6483] +++ exited with 0 +++ [pid 6498] <... setpgid resumed>) = 0 [pid 6489] ioctl(3, 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 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6483, si_uid=0, si_status=0, si_utime=9 /* 0.09 s */, si_stime=25 /* 0.25 s */} --- [pid 5026] restart_syscall(<... resuming interrupted clone ...>) = 0 [ 165.560175][ T6484] BTRFS info (device loop2): 2 enospc errors during balance [ 165.587505][ T6484] BTRFS info (device loop2): balance: ended with status: -28 [pid 6498] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5026] close(3) = 0 [pid 6498] write(3, "1000", 4 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6498] <... write resumed>) = 4 [pid 6498] close(3 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6499 [pid 6498] <... close resumed>) = 0 [pid 6498] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6499 attached ) = 0 [pid 6498] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6498] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6498] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6499] set_robust_list(0x5555558636a0, 24) = 0 [pid 6498] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6499] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6498] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6499] <... prctl resumed>) = 0 [pid 6498] <... mprotect resumed>) = 0 [pid 6499] setpgid(0, 0 [pid 6498] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6499] <... setpgid resumed>) = 0 [pid 6499] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6499] write(3, "1000", 4) = 4 [pid 6498] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6499] close(3 [pid 6498] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6499] <... close resumed>) = 0 [pid 6499] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6498] <... clone3 resumed> => {parent_tid=[6500]}, 88) = 6500 [pid 6499] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6498] rt_sigprocmask(SIG_SETMASK, [], [pid 6499] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6498] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6500 attached [pid 6499] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6498] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6491] <... ioctl resumed>) = 0 [pid 6499] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6499] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6498] <... futex resumed>) = 0 [pid 6499] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6499] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6498] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6500] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6499] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6500] <... rseq resumed>) = 0 [pid 6486] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6499] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6486] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6500] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6499] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6486] <... futex resumed>) = 0 [pid 6486] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6500] <... set_robust_list resumed>) = 0 [pid 6499] <... clone3 resumed> => {parent_tid=[6501]}, 88) = 6501 [pid 6486] <... mmap resumed>) = 0x7f4e2652d000 [pid 6499] rt_sigprocmask(SIG_SETMASK, [], [pid 6486] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6500] rt_sigprocmask(SIG_SETMASK, [], [pid 6499] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6486] <... mprotect resumed>) = 0 [pid 6500] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6499] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6486] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6499] <... futex resumed>) = 0 [pid 6486] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6499] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6486] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6500] memfd_create("syzkaller", 0 [pid 6486] <... clone3 resumed> => {parent_tid=[6502]}, 88) = 6502 ./strace-static-x86_64: Process 6501 attached [pid 6500] <... memfd_create resumed>) = 3 [pid 6486] rt_sigprocmask(SIG_SETMASK, [], [pid 6501] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6500] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6486] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6501] <... rseq resumed>) = 0 [pid 6486] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6501] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6500] <... mmap resumed>) = 0x7f4e2554e000 [pid 6486] <... futex resumed>) = 0 [pid 6501] <... set_robust_list resumed>) = 0 [pid 6486] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6501] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ./strace-static-x86_64: Process 6502 attached [pid 6501] memfd_create("syzkaller", 0 [pid 6502] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6501] <... memfd_create resumed>) = 3 [pid 6502] <... rseq resumed>) = 0 [ 165.633120][ T6489] BTRFS info (device loop2): balance: start -d -m [ 165.652710][ T6489] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6501] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6502] set_robust_list(0x7f4e2654d9a0, 24 [pid 6501] <... mmap resumed>) = 0x7f4e2554e000 [pid 6492] <... ioctl resumed>) = 0 [pid 6491] close(4 [pid 6502] <... set_robust_list resumed>) = 0 [pid 6502] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6502] open("./file0", O_RDONLY) = 4 [pid 6502] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6486] <... futex resumed>) = 0 [pid 6502] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6486] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6502] <... ioctl resumed>) = 0 [pid 6486] <... futex resumed>) = 0 [pid 6502] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6486] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6502] <... futex resumed>) = 0 [pid 6492] close(4 [pid 6491] <... close resumed>) = 0 [pid 6486] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6502] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6492] <... close resumed>) = 0 [pid 6491] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6492] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6491] <... futex resumed>) = 1 [pid 6487] <... futex resumed>) = 0 [pid 6492] <... futex resumed>) = 1 [pid 6491] open("./file0", O_RDONLY [pid 6487] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6485] <... futex resumed>) = 0 [pid 6492] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6491] <... open resumed>) = 3 [pid 6492] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6487] <... futex resumed>) = 0 [pid 6485] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6487] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6485] <... futex resumed>) = 0 [pid 6492] open("./file0", O_RDONLY [pid 6491] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6487] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 165.711585][ T6489] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 165.744457][ T6489] BTRFS info (device loop2): 2 enospc errors during balance [pid 6485] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6492] <... open resumed>) = 3 [pid 6491] <... futex resumed>) = 0 [pid 6487] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6492] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6491] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6487] <... futex resumed>) = 0 [pid 6492] <... futex resumed>) = 1 [pid 6485] <... futex resumed>) = 0 [pid 6492] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6491] <... ioctl resumed>) = 0 [pid 6487] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6485] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6492] <... ioctl resumed>) = 0 [pid 6491] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6487] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6485] <... futex resumed>) = 0 [pid 6492] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6491] <... futex resumed>) = 0 [pid 6489] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6487] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6485] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6492] <... futex resumed>) = 0 [pid 6491] ioctl(3, 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 6489] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6487] <... futex resumed>) = 0 [pid 6485] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6492] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6489] <... futex resumed>) = 0 [pid 6487] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6486] exit_group(0 [pid 6485] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6502] <... futex resumed>) = ? [pid 6486] <... exit_group resumed>) = ? [pid 6502] +++ exited with 0 +++ [pid 6492] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6485] <... futex resumed>) = 0 [pid 6492] ioctl(3, 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 6489] +++ exited with 0 +++ [pid 6486] +++ exited with 0 +++ [pid 6485] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6492] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [ 165.766087][ T6489] BTRFS info (device loop2): balance: ended with status: -28 [ 165.800690][ T6491] BTRFS info (device loop2): balance: start -d -m [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6486, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=30 /* 0.30 s */} --- [pid 6492] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6485] <... futex resumed>) = 0 [pid 6485] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6492] open("./file0", O_RDONLY [pid 6485] <... futex resumed>) = 0 [pid 6492] <... open resumed>) = 4 [pid 6485] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6492] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6485] <... futex resumed>) = 0 [pid 6492] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6485] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 6492] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6485] <... futex resumed>) = 0 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6503 [pid 6492] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6485] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6503 attached [pid 6492] <... ioctl resumed>) = 0 [pid 6492] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6492] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6485] <... futex resumed>) = 0 [pid 6503] set_robust_list(0x5555558636a0, 24) = 0 [pid 6485] exit_group(0 [pid 6492] <... futex resumed>) = ? [pid 6485] <... exit_group resumed>) = ? [pid 6503] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6492] +++ exited with 0 +++ [pid 6503] <... prctl resumed>) = 0 [pid 6487] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6485] +++ exited with 0 +++ [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6485, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=21 /* 0.21 s */} --- [pid 6503] setpgid(0, 0 [ 165.817573][ T6491] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6487] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6503] <... setpgid resumed>) = 0 [pid 6487] <... futex resumed>) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6503] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6487] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5027] close(3) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6487] <... mmap resumed>) = 0x7f4e2652d000 ./strace-static-x86_64: Process 6504 attached [pid 6503] <... openat resumed>) = 3 [pid 6500] 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 6487] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6504 [pid 6504] set_robust_list(0x5555558636a0, 24 [pid 6503] write(3, "1000", 4 [pid 6487] <... mprotect resumed>) = 0 [pid 6504] <... set_robust_list resumed>) = 0 [pid 6503] <... write resumed>) = 4 [pid 6504] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6503] close(3 [pid 6487] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6504] <... prctl resumed>) = 0 [pid 6503] <... close resumed>) = 0 [pid 6487] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6503] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6487] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6504] setpgid(0, 0 [pid 6503] <... futex resumed>) = 0 [pid 6504] <... setpgid resumed>) = 0 [pid 6503] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6487] <... clone3 resumed> => {parent_tid=[6505]}, 88) = 6505 [pid 6504] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6503] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6487] rt_sigprocmask(SIG_SETMASK, [], [pid 6504] <... openat resumed>) = 3 [pid 6503] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6487] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6504] write(3, "1000", 4 [pid 6503] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6487] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6504] <... write resumed>) = 4 [pid 6503] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6487] <... futex resumed>) = 0 [ 165.865147][ T6491] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6504] close(3 [pid 6503] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6487] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6504] <... close resumed>) = 0 [pid 6503] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6504] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6503] <... mprotect resumed>) = 0 [pid 6504] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6503] rt_sigprocmask(SIG_BLOCK, ~[], ./strace-static-x86_64: Process 6505 attached [pid 6504] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6503] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6505] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6504] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6503] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6505] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6505] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6505] open("./file0", O_RDONLY) = 4 [pid 6505] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6487] <... futex resumed>) = 0 [pid 6504] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6505] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6503] <... clone3 resumed> => {parent_tid=[6506]}, 88) = 6506 [pid 6487] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6504] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6505] <... ioctl resumed>) = 0 [pid 6505] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6505] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6504] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6503] rt_sigprocmask(SIG_SETMASK, [], [pid 6487] <... futex resumed>) = 1 [pid 6505] <... futex resumed>) = 0 [pid 6505] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL./strace-static-x86_64: Process 6506 attached [pid 6504] <... mprotect resumed>) = 0 [pid 6503] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6487] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6506] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6504] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6503] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6487] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6504] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6503] <... futex resumed>) = 0 [pid 6506] <... rseq resumed>) = 0 [pid 6504] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6503] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6504] <... clone3 resumed> => {parent_tid=[6507]}, 88) = 6507 [pid 6504] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6504] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6506] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6504] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6507 attached [pid 6506] <... set_robust_list resumed>) = 0 [pid 6504] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6496] <... write resumed>) = 16777216 [pid 6507] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6506] rt_sigprocmask(SIG_SETMASK, [], [pid 6496] munmap(0x7f4e2554e000, 16777216 [pid 6506] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6507] <... rseq resumed>) = 0 [pid 6507] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6506] memfd_create("syzkaller", 0 [pid 6507] <... set_robust_list resumed>) = 0 [pid 6506] <... memfd_create resumed>) = 3 [pid 6506] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6496] <... munmap resumed>) = 0 [pid 6507] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6507] memfd_create("syzkaller", 0) = 3 [pid 6507] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6491] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6491] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6491] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6487] exit_group(0 [pid 6505] <... futex resumed>) = ? [pid 6496] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6491] <... futex resumed>) = ? [pid 6487] <... exit_group resumed>) = ? [pid 6507] <... mmap resumed>) = 0x7f4e2554e000 [pid 6505] +++ exited with 0 +++ [pid 6496] <... openat resumed>) = 4 [pid 6491] +++ exited with 0 +++ [pid 6487] +++ exited with 0 +++ [pid 6496] ioctl(4, LOOP_SET_FD, 3 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6487, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=28 /* 0.28 s */} --- [pid 6496] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6496] ioctl(4, LOOP_CLR_FD) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 6496] ioctl(4, LOOP_SET_FD, 3 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6496] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [ 165.908545][ T6491] BTRFS info (device loop2): 2 enospc errors during balance [ 165.915873][ T6491] BTRFS info (device loop2): balance: ended with status: -28 [pid 6496] close(4 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6508 [pid 6496] <... close resumed>) = 0 [pid 6496] close(3./strace-static-x86_64: Process 6508 attached [pid 6508] set_robust_list(0x5555558636a0, 24) = 0 [pid 6508] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6508] setpgid(0, 0) = 0 [pid 6508] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6508] write(3, "1000", 4) = 4 [pid 6508] close(3) = 0 [pid 6508] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6508] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6508] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6508] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6508] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6508] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6508] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6510]}, 88) = 6510 [pid 6508] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6508] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6508] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6510 attached [pid 6510] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6510] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6510] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6510] memfd_create("syzkaller", 0) = 3 [pid 6510] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6501] 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 6496] <... close resumed>) = 0 [pid 6496] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6496] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6495] <... futex resumed>) = 0 [pid 6495] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6496] <... futex resumed>) = 0 [pid 6495] <... futex resumed>) = 1 [pid 6496] open("./file0", O_RDONLY [pid 6495] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6496] <... open resumed>) = 3 [pid 6496] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6495] <... futex resumed>) = 0 [pid 6496] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6495] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6496] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6496] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6495] <... futex resumed>) = 0 [pid 6496] <... ioctl resumed>) = 0 [pid 6495] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6496] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6495] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6496] <... futex resumed>) = 0 [pid 6495] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6496] ioctl(3, 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 6495] <... futex resumed>) = 0 [pid 6495] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6500] <... write resumed>) = 16777216 [pid 6500] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6495] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6495] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6500] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6495] <... futex resumed>) = 0 [ 166.259071][ T6496] BTRFS info (device loop2): balance: start -d -m [ 166.267399][ T6496] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6507] 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 6500] <... openat resumed>) = 4 [pid 6495] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6500] ioctl(4, LOOP_SET_FD, 3 [pid 6495] <... mmap resumed>) = 0x7f4e2652d000 [pid 6495] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6500] <... ioctl resumed>) = 0 [pid 6495] <... mprotect resumed>) = 0 [pid 6506] 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 6500] close(3 [pid 6495] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6500] <... close resumed>) = 0 [pid 6495] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6500] mkdir("./file0", 0777 [pid 6495] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6500] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6495] <... clone3 resumed> => {parent_tid=[6511]}, 88) = 6511 [pid 6500] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6495] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 166.317192][ T6496] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 166.328501][ T6500] loop1: detected capacity change from 0 to 32768 [ 166.350470][ T6500] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6500) [pid 6495] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6495] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6511 attached [pid 6511] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6511] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6511] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6511] open("./file0", O_RDONLY) = 4 [pid 6511] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6495] <... futex resumed>) = 0 [pid 6511] <... futex resumed>) = 1 [pid 6511] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [ 166.359998][ T6496] BTRFS info (device loop2): 2 enospc errors during balance [pid 6495] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6511] <... ioctl resumed>) = 0 [pid 6495] <... futex resumed>) = 0 [pid 6495] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6511] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6495] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6511] <... futex resumed>) = 0 [pid 6511] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6500] <... mount resumed>) = -1 EEXIST (File exists) [pid 6500] ioctl(4, LOOP_CLR_FD [pid 6496] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6496] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6495] exit_group(0 [pid 6511] <... futex resumed>) = ? [pid 6495] <... exit_group resumed>) = ? [pid 6496] +++ exited with 0 +++ [pid 6511] +++ exited with 0 +++ [pid 6495] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6495, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=28 /* 0.28 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [ 166.396629][ T6496] BTRFS info (device loop2): balance: ended with status: -28 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6510] 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 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6513 ./strace-static-x86_64: Process 6513 attached [pid 6513] set_robust_list(0x5555558636a0, 24) = 0 [pid 6513] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6513] setpgid(0, 0) = 0 [pid 6513] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6513] write(3, "1000", 4) = 4 [pid 6513] close(3) = 0 [pid 6513] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6513] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6513] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6513] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6513] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6513] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6513] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6514]}, 88) = 6514 [pid 6513] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6513] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6513] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6514 attached [pid 6514] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6514] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6514] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6514] memfd_create("syzkaller", 0) = 3 [pid 6514] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6501] <... write resumed>) = 16777216 [pid 6501] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6501] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6501] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6501] close(3) = 0 [pid 6501] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6501] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 166.608439][ T6501] loop4: detected capacity change from 0 to 32768 [ 166.620480][ T6501] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6501) [pid 6501] ioctl(4, LOOP_CLR_FD [pid 6500] <... ioctl resumed>) = 0 [pid 6500] close(4) = 0 [pid 6500] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6498] <... futex resumed>) = 0 [pid 6498] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6500] open("./file0", O_RDONLY [pid 6498] <... futex resumed>) = 0 [pid 6500] <... open resumed>) = 3 [pid 6498] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6500] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6498] <... futex resumed>) = 0 [pid 6498] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6500] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6498] <... futex resumed>) = 0 [pid 6500] <... ioctl resumed>) = 0 [pid 6498] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6500] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6498] <... futex resumed>) = 0 [pid 6500] ioctl(3, 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 6498] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6498] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6507] <... write resumed>) = 16777216 [pid 6507] munmap(0x7f4e2554e000, 16777216 [pid 6498] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6506] <... write resumed>) = 16777216 [pid 6498] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6506] munmap(0x7f4e2554e000, 16777216 [pid 6498] <... futex resumed>) = 0 [pid 6498] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6498] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6498] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [ 166.764569][ T6500] BTRFS info (device loop2): balance: start -d -m [ 166.776356][ T6500] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6507] <... munmap resumed>) = 0 [pid 6498] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6510] <... write resumed>) = 16777216 [pid 6510] munmap(0x7f4e2554e000, 16777216 [pid 6507] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6498] <... clone3 resumed> => {parent_tid=[6515]}, 88) = 6515 [pid 6498] rt_sigprocmask(SIG_SETMASK, [], [pid 6507] <... openat resumed>) = 4 [pid 6507] ioctl(4, LOOP_SET_FD, 3 [pid 6506] <... munmap resumed>) = 0 [pid 6498] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6515 attached [pid 6515] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6515] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6515] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6515] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6510] <... munmap resumed>) = 0 [pid 6507] <... ioctl resumed>) = 0 [pid 6506] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6498] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6515] <... futex resumed>) = 0 [pid 6506] <... openat resumed>) = 4 [pid 6498] <... futex resumed>) = 1 [pid 6515] open("./file0", O_RDONLY [pid 6510] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6515] <... open resumed>) = 4 [pid 6510] <... openat resumed>) = 4 [pid 6506] ioctl(4, LOOP_SET_FD, 3 [pid 6498] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6515] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6510] ioctl(4, LOOP_SET_FD, 3 [pid 6515] <... futex resumed>) = 0 [pid 6498] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6515] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6498] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6515] <... futex resumed>) = 0 [pid 6498] <... futex resumed>) = 1 [pid 6515] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0}) = 0 [pid 6498] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6515] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6498] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6515] <... futex resumed>) = 0 [ 166.822023][ T6500] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 166.848166][ T6507] loop5: detected capacity change from 0 to 32768 [ 166.860079][ T6510] loop3: detected capacity change from 0 to 32768 [ 166.860425][ T6506] loop0: detected capacity change from 0 to 32768 [pid 6515] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6510] <... ioctl resumed>) = 0 [pid 6510] close(3 [pid 6507] close(3 [pid 6506] <... ioctl resumed>) = 0 [pid 6510] <... close resumed>) = 0 [pid 6507] <... close resumed>) = 0 [pid 6506] close(3 [pid 6510] mkdir("./file0", 0777 [pid 6507] mkdir("./file0", 0777 [pid 6506] <... close resumed>) = 0 [pid 6510] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6507] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6506] mkdir("./file0", 0777 [pid 6510] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6507] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6506] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6501] <... ioctl resumed>) = 0 [pid 6500] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6510] <... mount resumed>) = -1 EEXIST (File exists) [pid 6506] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6501] close(4 [pid 6500] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6510] ioctl(4, LOOP_CLR_FD [pid 6501] <... close resumed>) = 0 [pid 6498] exit_group(0 [pid 6514] 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 6515] <... futex resumed>) = ? [pid 6501] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6498] <... exit_group resumed>) = ? [pid 6515] +++ exited with 0 +++ [pid 6501] <... futex resumed>) = 1 [pid 6501] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6499] <... futex resumed>) = 0 [pid 6500] <... futex resumed>) = ? [pid 6499] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6501] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6499] <... futex resumed>) = 0 [pid 6499] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6501] open("./file0", O_RDONLY) = 3 [pid 6501] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6499] <... futex resumed>) = 0 [pid 6501] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6499] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6501] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6499] <... futex resumed>) = 0 [pid 6499] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6501] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 6501] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6499] <... futex resumed>) = 0 [pid 6501] ioctl(3, 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 6499] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 166.880168][ T6500] BTRFS info (device loop2): 2 enospc errors during balance [ 166.893666][ T6510] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6510) [ 166.899575][ T6500] BTRFS info (device loop2): balance: ended with status: -28 [ 166.916964][ T6507] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6507) [pid 6499] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6500] +++ exited with 0 +++ [pid 6498] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6498, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=23 /* 0.23 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6516 [ 166.950303][ T6501] BTRFS info (device loop2): balance: start -d -m [ 166.959466][ T6501] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 166.976311][ T6506] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6506) ./strace-static-x86_64: Process 6516 attached [pid 6507] <... mount resumed>) = -1 EEXIST (File exists) [pid 6499] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6499] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6499] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6499] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6499] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6499] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6516] set_robust_list(0x5555558636a0, 24 [pid 6507] ioctl(4, LOOP_CLR_FD [pid 6499] <... clone3 resumed> => {parent_tid=[6517]}, 88) = 6517 [pid 6516] <... set_robust_list resumed>) = 0 [pid 6499] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6499] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6516] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6499] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6516] <... prctl resumed>) = 0 [pid 6516] setpgid(0, 0) = 0 [pid 6516] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6506] <... mount resumed>) = -1 EEXIST (File exists) [pid 6506] ioctl(4, LOOP_CLR_FD [pid 6516] <... openat resumed>) = 3 [pid 6516] write(3, "1000", 4) = 4 [pid 6516] close(3) = 0 [pid 6516] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6516] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6516] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6516] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 ./strace-static-x86_64: Process 6517 attached [pid 6516] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6517] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6516] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6517] <... rseq resumed>) = 0 [ 167.001309][ T6501] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6516] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6517] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6516] <... clone3 resumed> => {parent_tid=[6518]}, 88) = 6518 [pid 6517] rt_sigprocmask(SIG_SETMASK, [], [pid 6516] rt_sigprocmask(SIG_SETMASK, [], [pid 6517] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6517] open("./file0", O_RDONLY [pid 6516] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6517] <... open resumed>) = 4 [pid 6516] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6517] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6516] <... futex resumed>) = 0 [pid 6517] <... futex resumed>) = 1 [pid 6516] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6499] <... futex resumed>) = 0 [pid 6517] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) [pid 6499] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6517] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6499] <... futex resumed>) = 0 [pid 6499] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6517] <... ioctl resumed>) = 0 [pid 6517] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6499] <... futex resumed>) = 0 [pid 6517] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL./strace-static-x86_64: Process 6518 attached [pid 6518] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6518] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6518] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6518] memfd_create("syzkaller", 0) = 3 [pid 6518] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 167.050909][ T6501] BTRFS info (device loop2): 2 enospc errors during balance [ 167.081047][ T6501] BTRFS info (device loop2): balance: ended with status: -28 [pid 6510] <... ioctl resumed>) = 0 [pid 6501] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6501] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6499] exit_group(0 [pid 6517] <... futex resumed>) = ? [pid 6501] <... futex resumed>) = ? [pid 6499] <... exit_group resumed>) = ? [pid 6501] +++ exited with 0 +++ [pid 6517] +++ exited with 0 +++ [pid 6499] +++ exited with 0 +++ [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6499, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=32 /* 0.32 s */} --- [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5026] close(3) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6519 [pid 6510] close(4) = 0 [pid 6510] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6508] <... futex resumed>) = 0 [pid 6510] open("./file0", O_RDONLY [pid 6508] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6510] <... open resumed>) = 3 [pid 6508] <... futex resumed>) = 0 [pid 6510] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6508] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6510] <... futex resumed>) = 0 [pid 6508] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) ./strace-static-x86_64: Process 6519 attached [pid 6510] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6508] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6519] set_robust_list(0x5555558636a0, 24 [pid 6510] <... ioctl resumed>) = 0 [pid 6508] <... futex resumed>) = 0 [pid 6519] <... set_robust_list resumed>) = 0 [pid 6510] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6508] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6519] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6510] <... futex resumed>) = 0 [pid 6508] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6519] <... prctl resumed>) = 0 [pid 6510] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6508] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6519] setpgid(0, 0 [pid 6510] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6508] <... futex resumed>) = 0 [pid 6519] <... setpgid resumed>) = 0 [pid 6510] ioctl(3, 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 6508] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6519] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6514] <... write resumed>) = 16777216 [pid 6519] <... openat resumed>) = 3 [pid 6519] write(3, "1000", 4) = 4 [pid 6519] close(3) = 0 [pid 6519] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6519] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6519] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6519] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6519] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6519] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6519] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6520]}, 88) = 6520 [pid 6519] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6519] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6519] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6520 attached [pid 6520] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6520] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6520] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6520] memfd_create("syzkaller", 0) = 3 [pid 6520] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6514] munmap(0x7f4e2554e000, 16777216) = 0 [ 167.167829][ T6510] BTRFS info (device loop2): balance: start -d -m [ 167.174643][ T6510] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6508] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6514] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6508] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6508] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6508] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6514] <... openat resumed>) = 4 [pid 6508] <... mprotect resumed>) = 0 [pid 6508] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6508] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6521]}, 88) = 6521 [pid 6508] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6508] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6508] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6521 attached [pid 6521] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6521] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6521] rt_sigprocmask(SIG_SETMASK, [], [pid 6514] ioctl(4, LOOP_SET_FD, 3 [pid 6507] <... ioctl resumed>) = 0 [pid 6521] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6514] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6507] close(4 [pid 6506] <... ioctl resumed>) = 0 [pid 6521] open("./file0", O_RDONLY) = 4 [pid 6521] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6508] <... futex resumed>) = 0 [pid 6521] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6508] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6508] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6514] ioctl(4, LOOP_CLR_FD [pid 6507] <... close resumed>) = 0 [pid 6514] <... ioctl resumed>) = 0 [pid 6507] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6504] <... futex resumed>) = 0 [pid 6507] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) [pid 6504] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6507] open("./file0", O_RDONLY [pid 6504] <... futex resumed>) = 0 [pid 6504] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6507] <... open resumed>) = 3 [pid 6514] ioctl(4, LOOP_SET_FD, 3 [pid 6507] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6506] close(4 [pid 6514] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6507] <... futex resumed>) = 1 [pid 6504] <... futex resumed>) = 0 [pid 6514] close(4 [pid 6507] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6506] <... close resumed>) = 0 [pid 6504] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6521] <... ioctl resumed>) = 0 [pid 6514] <... close resumed>) = 0 [pid 6507] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6506] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6504] <... futex resumed>) = 0 [ 167.245792][ T6510] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6521] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6514] close(3 [pid 6507] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6506] <... futex resumed>) = 1 [pid 6504] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6503] <... futex resumed>) = 0 [pid 6521] <... futex resumed>) = 1 [pid 6508] <... futex resumed>) = 0 [pid 6521] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6507] <... ioctl resumed>) = 0 [pid 6506] open("./file0", O_RDONLY [pid 6503] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6507] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6506] <... open resumed>) = 3 [pid 6503] <... futex resumed>) = 0 [pid 6503] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6507] <... futex resumed>) = 1 [pid 6506] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6504] <... futex resumed>) = 0 [pid 6507] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6506] <... futex resumed>) = 1 [pid 6504] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6503] <... futex resumed>) = 0 [pid 6507] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6506] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6504] <... futex resumed>) = 0 [pid 6503] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6507] ioctl(3, 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 6506] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6504] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6503] <... futex resumed>) = 0 [pid 6506] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6503] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6506] <... ioctl resumed>) = 0 [pid 6506] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6503] <... futex resumed>) = 0 [pid 6506] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6503] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6506] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6503] <... futex resumed>) = 0 [pid 6506] ioctl(3, 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}} [ 167.287381][ T6510] BTRFS info (device loop2): 2 enospc errors during balance [ 167.294696][ T6510] BTRFS info (device loop2): balance: ended with status: -28 [pid 6503] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6510] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6507] <... 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}}) = 8 [pid 6506] <... 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}}) = 8 [pid 6510] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6507] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6506] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6510] <... futex resumed>) = 0 [pid 6507] <... futex resumed>) = 1 [pid 6506] <... futex resumed>) = 1 [pid 6504] <... futex resumed>) = 0 [pid 6503] <... futex resumed>) = 0 [pid 6510] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6508] exit_group(0 [pid 6521] <... futex resumed>) = ? [pid 6508] <... exit_group resumed>) = ? [pid 6507] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6506] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6504] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6503] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6521] +++ exited with 0 +++ [pid 6510] <... futex resumed>) = ? [pid 6507] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6506] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6504] <... futex resumed>) = 0 [pid 6503] <... futex resumed>) = 0 [pid 6510] +++ exited with 0 +++ [pid 6508] +++ exited with 0 +++ [pid 6507] open("./file0", O_RDONLY [pid 6506] open("./file0", O_RDONLY [pid 6504] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6503] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6507] <... open resumed>) = 4 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6508, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=27 /* 0.27 s */} --- [pid 6506] <... open resumed>) = 4 [pid 6507] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6506] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6507] <... futex resumed>) = 1 [pid 6506] <... futex resumed>) = 1 [pid 6504] <... futex resumed>) = 0 [pid 6503] <... futex resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3 [pid 6507] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6506] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6504] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6503] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... close resumed>) = 0 [pid 6507] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6506] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6504] <... futex resumed>) = 0 [pid 6503] <... futex resumed>) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6507] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6506] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6504] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6503] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6523 [pid 6506] <... ioctl resumed>) = 0 [pid 6507] <... ioctl resumed>) = 0 [pid 6507] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6506] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6507] <... futex resumed>) = 1 [pid 6506] <... futex resumed>) = 1 [pid 6504] <... futex resumed>) = 0 [pid 6503] <... futex resumed>) = 0 [pid 6507] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6506] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6504] exit_group(0 [pid 6503] exit_group(0 [pid 6507] <... futex resumed>) = ? [pid 6506] <... futex resumed>) = ? [pid 6504] <... exit_group resumed>) = ? [pid 6503] <... exit_group resumed>) = ? [pid 6507] +++ exited with 0 +++ [pid 6504] +++ exited with 0 +++ [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6504, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=23 /* 0.23 s */} --- ./strace-static-x86_64: Process 6523 attached [pid 6506] +++ exited with 0 +++ [pid 6503] +++ exited with 0 +++ [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 6523] set_robust_list(0x5555558636a0, 24 [pid 5027] <... restart_syscall resumed>) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6503, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- [pid 6523] <... set_robust_list resumed>) = 0 [pid 6523] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6523] setpgid(0, 0 [pid 5027] <... openat resumed>) = 3 [pid 6523] <... setpgid resumed>) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6523] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6514] <... close resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6523] <... openat resumed>) = 3 [pid 6518] 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 6514] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] close(3 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6523] write(3, "1000", 4 [pid 6514] <... futex resumed>) = 1 [pid 6513] <... futex resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 5020] <... openat resumed>) = 3 [pid 6523] <... write resumed>) = 4 [pid 6513] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6523] close(3 [pid 6513] <... futex resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6523] <... close resumed>) = 0 [pid 6513] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6524 [pid 5020] close(3 [pid 6523] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6514] open("./file0", O_RDONLY [pid 5020] <... close resumed>) = 0 [pid 6523] <... futex resumed>) = 0 [pid 6514] <... open resumed>) = 3 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6523] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6514] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6523] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6514] <... futex resumed>) = 1 [pid 6513] <... futex resumed>) = 0 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6525 [pid 6523] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6514] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6513] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6523] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6514] <... ioctl resumed>) = 0 [pid 6513] <... futex resumed>) = 0 [pid 6523] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6514] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6513] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6523] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6514] <... futex resumed>) = 0 [pid 6513] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) ./strace-static-x86_64: Process 6525 attached [pid 6523] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6514] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6513] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6525] set_robust_list(0x5555558636a0, 24 [pid 6523] <... mprotect resumed>) = 0 [pid 6514] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6513] <... futex resumed>) = 0 [pid 6525] <... set_robust_list resumed>) = 0 [pid 6523] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6514] ioctl(3, 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 6513] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6525] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6523] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6525] <... prctl resumed>) = 0 [pid 6523] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6525] setpgid(0, 0) = 0 [pid 6523] <... clone3 resumed> => {parent_tid=[6526]}, 88) = 6526 [pid 6525] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6523] rt_sigprocmask(SIG_SETMASK, [], [pid 6525] <... openat resumed>) = 3 [pid 6523] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6525] write(3, "1000", 4 [pid 6523] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6525] <... write resumed>) = 4 [pid 6523] <... futex resumed>) = 0 [pid 6525] close(3 [pid 6523] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6525] <... close resumed>) = 0 [pid 6525] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6526 attached ) = 0 [pid 6526] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6525] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6526] <... rseq resumed>) = 0 [pid 6525] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6526] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6525] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6526] <... set_robust_list resumed>) = 0 [pid 6525] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6526] rt_sigprocmask(SIG_SETMASK, [], [pid 6525] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6526] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6525] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6526] memfd_create("syzkaller", 0 [pid 6525] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6526] <... memfd_create resumed>) = 3 [pid 6525] <... mprotect resumed>) = 0 [pid 6526] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6525] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6526] <... mmap resumed>) = 0x7f4e2554e000 [pid 6525] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6525] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0}./strace-static-x86_64: Process 6524 attached => {parent_tid=[6527]}, 88) = 6527 [pid 6524] set_robust_list(0x5555558636a0, 24 [pid 6525] rt_sigprocmask(SIG_SETMASK, [], [pid 6524] <... set_robust_list resumed>) = 0 [pid 6525] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6525] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6525] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6527 attached [pid 6527] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6527] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6527] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6524] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6527] memfd_create("syzkaller", 0 [pid 6524] <... prctl resumed>) = 0 [pid 6527] <... memfd_create resumed>) = 3 [pid 6527] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6524] setpgid(0, 0 [pid 6513] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6513] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6513] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6524] <... setpgid resumed>) = 0 [ 167.464075][ T6514] BTRFS info (device loop2): balance: start -d -m [ 167.490061][ T6514] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6513] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6524] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6513] <... mprotect resumed>) = 0 [pid 6513] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6513] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6528]}, 88) = 6528 [pid 6513] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6524] <... openat resumed>) = 3 [pid 6513] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6513] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6524] write(3, "1000", 4) = 4 [pid 6524] close(3) = 0 [pid 6524] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6524] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6524] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6524] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6524] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE./strace-static-x86_64: Process 6528 attached ) = 0 [pid 6528] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6524] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6528] <... rseq resumed>) = 0 [pid 6524] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6528] set_robust_list(0x7f4e2654d9a0, 24 [pid 6524] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6528] <... set_robust_list resumed>) = 0 [pid 6528] rt_sigprocmask(SIG_SETMASK, [], [pid 6524] <... clone3 resumed> => {parent_tid=[6529]}, 88) = 6529 [pid 6528] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6524] rt_sigprocmask(SIG_SETMASK, [], [pid 6528] open("./file0", O_RDONLY [pid 6524] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6528] <... open resumed>) = 4 [pid 6524] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6528] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6524] <... futex resumed>) = 0 [pid 6528] <... futex resumed>) = 1 [pid 6524] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6513] <... futex resumed>) = 0 [pid 6513] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6528] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6513] <... futex resumed>) = 0 [pid 6513] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6528] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 6529 attached [pid 6528] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6513] <... futex resumed>) = 0 [ 167.530968][ T6514] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 167.563834][ T6514] BTRFS info (device loop2): 2 enospc errors during balance [pid 6528] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6529] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6520] 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 6529] <... rseq resumed>) = 0 [pid 6529] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6529] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6529] memfd_create("syzkaller", 0) = 3 [pid 6514] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6529] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6514] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6529] <... mmap resumed>) = 0x7f4e2554e000 [pid 6514] <... futex resumed>) = 0 [pid 6513] exit_group(0 [pid 6528] <... futex resumed>) = ? [pid 6513] <... exit_group resumed>) = ? [pid 6528] +++ exited with 0 +++ [pid 6514] +++ exited with 0 +++ [pid 6513] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6513, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=25 /* 0.25 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6530 [ 167.596116][ T6514] BTRFS info (device loop2): balance: ended with status: -28 ./strace-static-x86_64: Process 6530 attached [pid 6530] set_robust_list(0x5555558636a0, 24) = 0 [pid 6530] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6530] setpgid(0, 0) = 0 [pid 6530] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6530] write(3, "1000", 4) = 4 [pid 6530] close(3) = 0 [pid 6530] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6530] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6530] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6530] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6530] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6530] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6530] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6531]}, 88) = 6531 [pid 6530] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6530] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6530] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6531 attached [pid 6531] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6531] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6531] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6531] memfd_create("syzkaller", 0) = 3 [pid 6531] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6518] <... write resumed>) = 16777216 [pid 6518] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6526] 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 6518] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6518] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6518] close(3) = 0 [pid 6518] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6518] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6527] 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 6529] 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 6518] <... mount resumed>) = -1 EEXIST (File exists) [ 167.868030][ T6518] loop1: detected capacity change from 0 to 32768 [ 167.899294][ T6518] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6518) [pid 6518] ioctl(4, LOOP_CLR_FD [pid 6520] <... write resumed>) = 16777216 [pid 6520] munmap(0x7f4e2554e000, 16777216 [pid 6531] 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 6520] <... munmap resumed>) = 0 [pid 6520] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6520] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6520] close(3) = 0 [pid 6520] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 168.057921][ T6520] loop4: detected capacity change from 0 to 32768 [ 168.068815][ T6520] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6520) [pid 6520] 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 6520] ioctl(4, LOOP_CLR_FD [pid 6518] <... ioctl resumed>) = 0 [pid 6518] close(4) = 0 [pid 6518] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6516] <... futex resumed>) = 0 [pid 6518] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6516] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6518] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6516] <... futex resumed>) = 0 [pid 6516] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6518] open("./file0", O_RDONLY) = 3 [pid 6518] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6516] <... futex resumed>) = 0 [pid 6518] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6516] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6518] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6516] <... futex resumed>) = 0 [pid 6518] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6516] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6518] <... ioctl resumed>) = 0 [pid 6518] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6516] <... futex resumed>) = 0 [pid 6518] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6516] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6518] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6516] <... futex resumed>) = 0 [pid 6518] ioctl(3, 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 6516] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6527] <... write resumed>) = 16777216 [pid 6526] <... write resumed>) = 16777216 [pid 6516] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6526] munmap(0x7f4e2554e000, 16777216 [ 168.195859][ T6518] BTRFS info (device loop2): balance: start -d -m [ 168.202877][ T6518] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6516] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6526] <... munmap resumed>) = 0 [pid 6516] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6527] munmap(0x7f4e2554e000, 16777216 [pid 6526] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6516] <... mmap resumed>) = 0x7f4e2652d000 [pid 6526] <... openat resumed>) = 4 [pid 6516] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6526] ioctl(4, LOOP_SET_FD, 3 [pid 6516] <... mprotect resumed>) = 0 [pid 6516] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6527] <... munmap resumed>) = 0 [pid 6526] <... ioctl resumed>) = 0 [pid 6516] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6527] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6516] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6527] ioctl(4, LOOP_SET_FD, 3 [pid 6516] <... clone3 resumed> => {parent_tid=[6532]}, 88) = 6532 [pid 6526] close(3 [pid 6516] rt_sigprocmask(SIG_SETMASK, [], [pid 6529] <... write resumed>) = 16777216 [pid 6526] <... close resumed>) = 0 [pid 6516] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6526] mkdir("./file0", 0777 [pid 6516] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6532 attached [pid 6529] munmap(0x7f4e2554e000, 16777216 [pid 6516] <... futex resumed>) = 0 [pid 6532] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6526] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6516] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6532] <... rseq resumed>) = 0 [pid 6529] <... munmap resumed>) = 0 [ 168.253066][ T6518] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 168.267971][ T6526] loop3: detected capacity change from 0 to 32768 [ 168.278013][ T6527] loop0: detected capacity change from 0 to 32768 [pid 6526] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6532] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6532] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6527] <... ioctl resumed>) = 0 [pid 6527] close(3) = 0 [pid 6527] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6527] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6532] open("./file0", O_RDONLY) = 4 [pid 6532] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6516] <... futex resumed>) = 0 [pid 6529] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6529] ioctl(4, LOOP_SET_FD, 3 [pid 6532] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6516] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6532] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6526] <... mount resumed>) = -1 EEXIST (File exists) [pid 6520] <... ioctl resumed>) = 0 [pid 6516] <... futex resumed>) = 0 [pid 6532] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6526] ioctl(4, LOOP_CLR_FD [pid 6520] close(4 [pid 6516] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6529] <... ioctl resumed>) = 0 [pid 6529] close(3) = 0 [pid 6529] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 168.298318][ T6526] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6526) [ 168.302066][ T6518] BTRFS info (device loop2): 2 enospc errors during balance [ 168.322036][ T6529] loop5: detected capacity change from 0 to 32768 [ 168.329940][ T6527] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6527) [pid 6529] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6527] <... mount resumed>) = -1 EEXIST (File exists) [pid 6527] ioctl(4, LOOP_CLR_FD [pid 6532] <... ioctl resumed>) = 0 [pid 6531] <... write resumed>) = 16777216 [pid 6529] <... mount resumed>) = -1 EEXIST (File exists) [pid 6520] <... close resumed>) = 0 [pid 6532] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6531] munmap(0x7f4e2554e000, 16777216 [pid 6520] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6532] <... futex resumed>) = 1 [pid 6520] <... futex resumed>) = 1 [pid 6516] <... futex resumed>) = 0 [pid 6532] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6520] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6519] <... futex resumed>) = 0 [pid 6519] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6519] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6520] <... futex resumed>) = 0 [pid 6520] open("./file0", O_RDONLY) = 3 [pid 6518] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6529] ioctl(4, LOOP_CLR_FD [pid 6520] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6531] <... munmap resumed>) = 0 [pid 6520] <... futex resumed>) = 1 [pid 6519] <... futex resumed>) = 0 [pid 6518] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6520] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6519] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6520] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6519] <... futex resumed>) = 0 [pid 6520] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6531] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6519] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6518] <... futex resumed>) = 0 [pid 6520] <... ioctl resumed>) = 0 [pid 6516] exit_group(0 [pid 6532] <... futex resumed>) = ? [pid 6531] <... openat resumed>) = 4 [pid 6520] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6516] <... exit_group resumed>) = ? [pid 6531] ioctl(4, LOOP_SET_FD, 3 [pid 6518] +++ exited with 0 +++ [pid 6531] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6531] ioctl(4, LOOP_CLR_FD) = 0 [pid 6532] +++ exited with 0 +++ [pid 6531] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6531] close(4) = 0 [pid 6531] close(3 [pid 6520] <... futex resumed>) = 1 [pid 6519] <... futex resumed>) = 0 [pid 6516] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6516, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=27 /* 0.27 s */} --- [pid 6520] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6519] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6520] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 168.347289][ T6529] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6529) [ 168.360148][ T6518] BTRFS info (device loop2): balance: ended with status: -28 [pid 6519] <... futex resumed>) = 0 [pid 6520] ioctl(3, 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 6519] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6533 ./strace-static-x86_64: Process 6533 attached [pid 6533] set_robust_list(0x5555558636a0, 24) = 0 [pid 6533] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6533] setpgid(0, 0) = 0 [pid 6533] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6533] write(3, "1000", 4) = 4 [pid 6533] close(3) = 0 [pid 6533] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6533] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6533] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6533] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6533] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6533] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [ 168.418464][ T6520] BTRFS info (device loop2): balance: start -d -m [ 168.425184][ T6520] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6533] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6535]}, 88) = 6535 [pid 6533] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6533] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6533] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6535 attached [pid 6535] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6535] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6535] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6535] memfd_create("syzkaller", 0 [pid 6519] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6519] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6519] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6535] <... memfd_create resumed>) = 3 [pid 6519] <... mmap resumed>) = 0x7f4e2652d000 [pid 6519] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6535] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6519] <... mprotect resumed>) = 0 [pid 6519] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6535] <... mmap resumed>) = 0x7f4e2554e000 [pid 6519] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6519] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6536]}, 88) = 6536 [pid 6519] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6519] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6519] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6536 attached [pid 6536] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6536] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6536] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6536] open("./file0", O_RDONLY) = 4 [ 168.473837][ T6520] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6536] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6519] <... futex resumed>) = 0 [pid 6536] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6519] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6519] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6536] <... ioctl resumed>) = 0 [pid 6536] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6519] <... futex resumed>) = 0 [pid 6536] <... futex resumed>) = 1 [pid 6520] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6520] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6520] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6536] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6519] exit_group(0) = ? [pid 6520] <... futex resumed>) = ? [pid 6520] +++ exited with 0 +++ [pid 6536] <... futex resumed>) = ? [pid 6536] +++ exited with 0 +++ [pid 6519] +++ exited with 0 +++ [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6519, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=27 /* 0.27 s */} --- [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5026] close(3) = 0 [ 168.514981][ T6520] BTRFS info (device loop2): 2 enospc errors during balance [ 168.547506][ T6520] BTRFS info (device loop2): balance: ended with status: -28 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6537 ./strace-static-x86_64: Process 6537 attached [pid 6537] set_robust_list(0x5555558636a0, 24) = 0 [pid 6537] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6537] setpgid(0, 0) = 0 [pid 6537] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6537] write(3, "1000", 4) = 4 [pid 6537] close(3) = 0 [pid 6537] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6537] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6537] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6537] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6537] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6537] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6537] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6538]}, 88) = 6538 [pid 6537] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6537] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6537] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6538 attached [pid 6538] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6538] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6538] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6538] memfd_create("syzkaller", 0) = 3 [pid 6538] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6527] <... ioctl resumed>) = 0 [pid 6527] close(4) = 0 [pid 6531] <... close resumed>) = 0 [pid 6529] <... ioctl resumed>) = 0 [pid 6527] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6526] <... ioctl resumed>) = 0 [pid 6531] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6529] close(4 [pid 6527] <... futex resumed>) = 1 [pid 6526] close(4 [pid 6525] <... futex resumed>) = 0 [pid 6531] <... futex resumed>) = 1 [pid 6530] <... futex resumed>) = 0 [pid 6529] <... close resumed>) = 0 [pid 6527] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6525] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6531] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6527] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6525] <... futex resumed>) = 0 [pid 6529] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6530] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6529] <... futex resumed>) = 1 [pid 6527] open("./file0", O_RDONLY [pid 6526] <... close resumed>) = 0 [pid 6525] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6524] <... futex resumed>) = 0 [pid 6530] <... futex resumed>) = 1 [pid 6524] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6529] open("./file0", O_RDONLY [pid 6527] <... open resumed>) = 3 [pid 6526] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6531] <... futex resumed>) = 0 [pid 6531] open("./file0", O_RDONLY [pid 6530] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6526] <... futex resumed>) = 1 [pid 6524] <... futex resumed>) = 0 [pid 6523] <... futex resumed>) = 0 [pid 6531] <... open resumed>) = 3 [pid 6529] <... open resumed>) = 3 [pid 6527] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6524] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6526] open("./file0", O_RDONLY [pid 6523] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6527] <... futex resumed>) = 1 [pid 6525] <... futex resumed>) = 0 [pid 6529] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6531] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6527] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6529] <... futex resumed>) = 1 [pid 6526] <... open resumed>) = 3 [pid 6525] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6524] <... futex resumed>) = 0 [pid 6523] <... futex resumed>) = 0 [pid 6531] <... futex resumed>) = 1 [pid 6530] <... futex resumed>) = 0 [pid 6529] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6527] <... ioctl resumed>) = 0 [pid 6526] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6525] <... futex resumed>) = 0 [pid 6524] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6523] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6531] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6530] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6529] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6527] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6526] <... futex resumed>) = 0 [pid 6525] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6524] <... futex resumed>) = 0 [pid 6523] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6531] <... ioctl resumed>) = 0 [pid 6530] <... futex resumed>) = 0 [pid 6529] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6527] <... futex resumed>) = 0 [pid 6526] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6525] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6524] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6523] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6531] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6530] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6531] <... futex resumed>) = 0 [pid 6530] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6529] <... ioctl resumed>) = 0 [pid 6527] ioctl(3, 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 6526] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6525] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6523] <... futex resumed>) = 0 [pid 6531] ioctl(3, 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 6530] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6529] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6526] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6525] <... futex resumed>) = 0 [pid 6523] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6531] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6530] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6526] <... ioctl resumed>) = 0 [pid 6525] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6531] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6530] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6529] <... futex resumed>) = 1 [pid 6526] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6524] <... futex resumed>) = 0 [pid 6530] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6524] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6530] <... futex resumed>) = 0 [pid 6524] <... futex resumed>) = 0 [pid 6530] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6524] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6531] <... futex resumed>) = 1 [pid 6530] <... futex resumed>) = 0 [pid 6529] ioctl(3, 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 6531] open("./file0", O_RDONLY [pid 6526] <... futex resumed>) = 1 [pid 6523] <... futex resumed>) = 0 [pid 6529] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6531] <... open resumed>) = 4 [pid 6526] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6523] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6529] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6526] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6523] <... futex resumed>) = 0 [pid 6531] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6529] <... futex resumed>) = 1 [pid 6526] ioctl(3, 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 6523] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6531] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6529] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6526] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6530] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6526] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6524] <... futex resumed>) = 0 [pid 6531] <... futex resumed>) = 0 [pid 6530] <... futex resumed>) = 1 [pid 6526] <... futex resumed>) = 1 [pid 6524] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6523] <... futex resumed>) = 0 [pid 6531] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6530] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6529] <... futex resumed>) = 0 [pid 6526] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6524] <... futex resumed>) = 1 [pid 6523] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6529] open("./file0", O_RDONLY [pid 6526] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6524] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6523] <... futex resumed>) = 0 [pid 6529] <... open resumed>) = 4 [pid 6523] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6526] open("./file0", O_RDONLY [pid 6529] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6526] <... open resumed>) = 4 [pid 6529] <... futex resumed>) = 1 [pid 6526] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6524] <... futex resumed>) = 0 [pid 6524] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6529] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6526] <... futex resumed>) = 1 [pid 6524] <... futex resumed>) = 0 [pid 6523] <... futex resumed>) = 0 [pid 6524] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6523] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6531] <... ioctl resumed>) = 0 [pid 6529] <... ioctl resumed>) = 0 [pid 6526] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6523] <... futex resumed>) = 0 [pid 6531] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6529] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6523] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6531] <... futex resumed>) = 1 [pid 6530] <... futex resumed>) = 0 [pid 6529] <... futex resumed>) = 1 [pid 6524] <... futex resumed>) = 0 [pid 6531] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6530] exit_group(0 [pid 6524] exit_group(0 [pid 6529] ???( [pid 6531] <... futex resumed>) = ? [pid 6530] <... exit_group resumed>) = ? [pid 6526] <... ioctl resumed>) = 0 [pid 6524] <... exit_group resumed>) = ? [pid 6529] <... ??? resumed>) = ? [pid 6531] +++ exited with 0 +++ [pid 6530] +++ exited with 0 +++ [pid 6526] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6529] +++ exited with 0 +++ [pid 6524] +++ exited with 0 +++ [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6524, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=24 /* 0.24 s */} --- [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6530, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=20 /* 0.20 s */} --- [pid 6526] <... futex resumed>) = 1 [pid 6523] <... futex resumed>) = 0 [pid 6523] exit_group(0) = ? [pid 6526] +++ exited with 0 +++ [pid 6523] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6523, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=28 /* 0.28 s */} --- [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5022] <... openat resumed>) = 3 [pid 5027] <... openat resumed>) = 3 [pid 5025] <... openat resumed>) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5022] <... ioctl resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5022] close(3 [pid 5027] close(3 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [ 168.709001][ T6527] BTRFS info (device loop2): balance: start -d -m [ 168.716792][ T6527] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 5022] <... close resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 5025] close(3 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5025] <... close resumed>) = 0 [pid 6525] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6525] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6525] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6525] <... mmap resumed>) = 0x7f4e2652d000 [pid 6525] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6539 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6541 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6540 [pid 6525] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6525] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6542]}, 88) = 6542 [pid 6525] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6525] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6525] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6541 attached [pid 6541] set_robust_list(0x5555558636a0, 24) = 0 ./strace-static-x86_64: Process 6540 attached ./strace-static-x86_64: Process 6539 attached [pid 6540] set_robust_list(0x5555558636a0, 24 [pid 6539] set_robust_list(0x5555558636a0, 24 [pid 6541] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6540] <... set_robust_list resumed>) = 0 [pid 6539] <... set_robust_list resumed>) = 0 [pid 6541] <... prctl resumed>) = 0 [pid 6541] setpgid(0, 0) = 0 [ 168.760998][ T6527] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata ./strace-static-x86_64: Process 6542 attached [pid 6541] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6540] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6539] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6542] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6541] <... openat resumed>) = 3 [pid 6540] <... prctl resumed>) = 0 [pid 6539] <... prctl resumed>) = 0 [pid 6542] <... rseq resumed>) = 0 [pid 6541] write(3, "1000", 4 [pid 6540] setpgid(0, 0 [pid 6539] setpgid(0, 0 [pid 6542] set_robust_list(0x7f4e2654d9a0, 24 [pid 6541] <... write resumed>) = 4 [pid 6540] <... setpgid resumed>) = 0 [pid 6539] <... setpgid resumed>) = 0 [pid 6542] <... set_robust_list resumed>) = 0 [pid 6541] close(3 [pid 6540] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6542] rt_sigprocmask(SIG_SETMASK, [], [pid 6541] <... close resumed>) = 0 [pid 6539] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6542] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6541] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6540] <... openat resumed>) = 3 [pid 6539] <... openat resumed>) = 3 [pid 6542] open("./file0", O_RDONLY [pid 6541] <... futex resumed>) = 0 [pid 6540] write(3, "1000", 4 [pid 6539] write(3, "1000", 4 [pid 6542] <... open resumed>) = 4 [pid 6541] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6540] <... write resumed>) = 4 [pid 6539] <... write resumed>) = 4 [pid 6542] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6541] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6540] close(3 [pid 6539] close(3 [pid 6525] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6542] <... futex resumed>) = 0 [pid 6541] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6540] <... close resumed>) = 0 [pid 6539] <... close resumed>) = 0 [pid 6525] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6542] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6541] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6540] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6539] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6525] <... futex resumed>) = 0 [pid 6541] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6540] <... futex resumed>) = 0 [pid 6539] <... futex resumed>) = 0 [pid 6525] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6542] <... ioctl resumed>) = 0 [pid 6541] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6540] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6539] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6542] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6541] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6540] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6539] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6535] 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 6542] <... futex resumed>) = 1 [pid 6541] <... mprotect resumed>) = 0 [pid 6540] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6539] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6525] <... futex resumed>) = 0 [pid 6541] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6541] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6543]}, 88) = 6543 [pid 6541] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6541] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6541] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6542] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6540] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6539] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6543 attached [pid 6540] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6539] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6543] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6540] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6539] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6543] <... rseq resumed>) = 0 [pid 6540] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6539] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6543] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6540] <... mprotect resumed>) = 0 [pid 6543] <... set_robust_list resumed>) = 0 [pid 6540] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6539] <... mprotect resumed>) = 0 [pid 6543] rt_sigprocmask(SIG_SETMASK, [], [pid 6540] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6539] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6543] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6540] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6539] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6543] memfd_create("syzkaller", 0 [pid 6539] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6543] <... memfd_create resumed>) = 3 [pid 6540] <... clone3 resumed> => {parent_tid=[6544]}, 88) = 6544 [pid 6543] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6540] rt_sigprocmask(SIG_SETMASK, [], [pid 6539] <... clone3 resumed> => {parent_tid=[6545]}, 88) = 6545 [pid 6543] <... mmap resumed>) = 0x7f4e2554e000 [pid 6540] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6539] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6544 attached [pid 6540] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6539] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6544] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6540] <... futex resumed>) = 0 [pid 6539] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6545 attached [pid 6544] <... rseq resumed>) = 0 [pid 6540] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6539] <... futex resumed>) = 0 [pid 6527] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6545] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6544] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6539] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6527] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [ 168.801577][ T6527] BTRFS info (device loop2): 2 enospc errors during balance [ 168.839573][ T6527] BTRFS info (device loop2): balance: ended with status: -28 [pid 6545] <... rseq resumed>) = 0 [pid 6544] <... set_robust_list resumed>) = 0 [pid 6527] <... futex resumed>) = 0 [pid 6545] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6544] rt_sigprocmask(SIG_SETMASK, [], [pid 6538] 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 6527] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6525] exit_group(0 [pid 6545] <... set_robust_list resumed>) = 0 [pid 6544] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6542] <... futex resumed>) = ? [pid 6527] <... futex resumed>) = ? [pid 6525] <... exit_group resumed>) = ? [pid 6545] rt_sigprocmask(SIG_SETMASK, [], [pid 6544] memfd_create("syzkaller", 0 [pid 6542] +++ exited with 0 +++ [pid 6527] +++ exited with 0 +++ [pid 6545] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6545] memfd_create("syzkaller", 0 [pid 6525] +++ exited with 0 +++ [pid 6544] <... memfd_create resumed>) = 3 [pid 6545] <... memfd_create resumed>) = 3 [pid 6544] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6525, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=28 /* 0.28 s */} --- [pid 6545] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6544] <... mmap resumed>) = 0x7f4e2554e000 [pid 6545] <... mmap resumed>) = 0x7f4e2554e000 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6546 ./strace-static-x86_64: Process 6546 attached [pid 6546] set_robust_list(0x5555558636a0, 24) = 0 [pid 6546] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6546] setpgid(0, 0) = 0 [pid 6546] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6546] write(3, "1000", 4) = 4 [pid 6546] close(3) = 0 [pid 6546] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6546] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6546] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6546] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6546] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6546] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6546] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6547]}, 88) = 6547 [pid 6546] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6546] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6546] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6547 attached [pid 6547] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6547] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6547] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6547] memfd_create("syzkaller", 0) = 3 [pid 6547] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6544] 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 6535] <... write resumed>) = 16777216 [pid 6543] 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 6535] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6535] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6535] ioctl(4, LOOP_SET_FD, 3 [pid 6545] 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 6535] <... ioctl resumed>) = 0 [pid 6535] close(3) = 0 [pid 6535] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6535] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6547] 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 6538] <... write resumed>) = 16777216 [pid 6538] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6535] <... mount resumed>) = -1 EEXIST (File exists) [pid 6538] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6535] ioctl(4, LOOP_CLR_FD [pid 6538] <... openat resumed>) = 4 [ 169.260383][ T6535] loop1: detected capacity change from 0 to 32768 [ 169.293885][ T6535] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6535) [pid 6538] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6538] close(3) = 0 [pid 6538] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6538] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 169.338128][ T6538] loop4: detected capacity change from 0 to 32768 [ 169.357560][ T6538] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6538) [pid 6538] ioctl(4, LOOP_CLR_FD [pid 6544] <... write resumed>) = 16777216 [pid 6544] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6544] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6544] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6535] <... ioctl resumed>) = 0 [pid 6544] ioctl(4, LOOP_CLR_FD [pid 6535] close(4 [pid 6544] <... ioctl resumed>) = 0 [pid 6535] <... close resumed>) = 0 [pid 6535] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6533] <... futex resumed>) = 0 [pid 6535] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6533] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6544] ioctl(4, LOOP_SET_FD, 3 [pid 6535] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6533] <... futex resumed>) = 0 [pid 6544] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6544] close(4 [pid 6533] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6535] open("./file0", O_RDONLY [pid 6544] <... close resumed>) = 0 [pid 6544] close(3 [pid 6535] <... open resumed>) = 3 [pid 6535] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6533] <... futex resumed>) = 0 [pid 6535] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6533] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6535] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6533] <... futex resumed>) = 0 [pid 6535] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6533] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6535] <... ioctl resumed>) = 0 [pid 6535] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6533] <... futex resumed>) = 0 [pid 6535] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6533] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6535] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6533] <... futex resumed>) = 0 [pid 6535] ioctl(3, 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 6533] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6543] <... write resumed>) = 16777216 [pid 6543] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6543] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6543] ioctl(4, LOOP_SET_FD, 3 [ 169.586864][ T6535] BTRFS info (device loop2): balance: start -d -m [ 169.593660][ T6535] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6538] <... ioctl resumed>) = 0 [pid 6533] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6545] <... write resumed>) = 16777216 [pid 6533] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6533] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6533] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6545] munmap(0x7f4e2554e000, 16777216 [pid 6533] <... mprotect resumed>) = 0 [pid 6533] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6533] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6543] <... ioctl resumed>) = 0 [pid 6543] close(3) = 0 [pid 6533] <... clone3 resumed> => {parent_tid=[6549]}, 88) = 6549 [pid 6543] mkdir("./file0", 0777 [pid 6533] rt_sigprocmask(SIG_SETMASK, [], [pid 6543] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6533] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 169.645850][ T6543] loop3: detected capacity change from 0 to 32768 [ 169.659448][ T6535] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6543] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,"./strace-static-x86_64: Process 6549 attached [pid 6538] close(4 [pid 6533] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6549] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6538] <... close resumed>) = 0 [pid 6549] <... rseq resumed>) = 0 [pid 6538] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6549] set_robust_list(0x7f4e2654d9a0, 24 [pid 6538] <... futex resumed>) = 1 [pid 6549] <... set_robust_list resumed>) = 0 [pid 6538] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6537] <... futex resumed>) = 0 [pid 6533] <... futex resumed>) = 0 [pid 6549] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6549] open("./file0", O_RDONLY [pid 6537] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6533] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6549] <... open resumed>) = 4 [pid 6538] <... futex resumed>) = 0 [pid 6537] <... futex resumed>) = 1 [pid 6549] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6545] <... munmap resumed>) = 0 [pid 6538] open("./file0", O_RDONLY [pid 6537] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6549] <... futex resumed>) = 1 [pid 6545] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6538] <... open resumed>) = 3 [pid 6533] <... futex resumed>) = 0 [pid 6549] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6547] <... write resumed>) = 16777216 [pid 6545] <... openat resumed>) = 4 [pid 6538] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6533] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6549] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6547] munmap(0x7f4e2554e000, 16777216 [pid 6545] ioctl(4, LOOP_SET_FD, 3 [pid 6538] <... futex resumed>) = 1 [pid 6537] <... futex resumed>) = 0 [pid 6533] <... futex resumed>) = 0 [pid 6549] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6538] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6533] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6545] <... ioctl resumed>) = 0 [pid 6537] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6549] <... ioctl resumed>) = 0 [pid 6538] <... futex resumed>) = 0 [pid 6537] <... futex resumed>) = 1 [pid 6549] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6547] <... munmap resumed>) = 0 [pid 6545] close(3 [pid 6543] <... mount resumed>) = -1 EEXIST (File exists) [pid 6538] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6537] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6549] <... futex resumed>) = 1 [pid 6547] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6545] <... close resumed>) = 0 [pid 6543] ioctl(4, LOOP_CLR_FD [pid 6538] <... ioctl resumed>) = 0 [pid 6533] <... futex resumed>) = 0 [pid 6549] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6547] <... openat resumed>) = 4 [pid 6545] mkdir("./file0", 0777 [pid 6538] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6547] ioctl(4, LOOP_SET_FD, 3 [pid 6545] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6538] <... futex resumed>) = 1 [ 169.686779][ T6543] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6543) [ 169.696279][ T6535] BTRFS info (device loop2): 2 enospc errors during balance [ 169.705119][ T6535] BTRFS info (device loop2): balance: ended with status: -28 [ 169.729052][ T6545] loop5: detected capacity change from 0 to 32768 [pid 6537] <... futex resumed>) = 0 [pid 6538] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6537] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6547] <... ioctl resumed>) = 0 [pid 6545] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6544] <... close resumed>) = 0 [pid 6538] <... futex resumed>) = 0 [pid 6537] <... futex resumed>) = 1 [pid 6535] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6547] close(3 [pid 6545] <... mount resumed>) = -1 EEXIST (File exists) [pid 6544] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6538] ioctl(3, 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 6537] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6535] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6547] <... close resumed>) = 0 [pid 6545] ioctl(4, LOOP_CLR_FD [pid 6544] <... futex resumed>) = 1 [pid 6540] <... futex resumed>) = 0 [pid 6535] <... futex resumed>) = 0 [pid 6547] mkdir("./file0", 0777 [pid 6544] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6540] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6535] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6533] exit_group(0 [ 169.753338][ T6547] loop0: detected capacity change from 0 to 32768 [ 169.765869][ T6545] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6545) [ 169.781247][ T6538] BTRFS info (device loop2): balance: start -d -m [pid 6549] <... futex resumed>) = ? [pid 6547] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6544] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6540] <... futex resumed>) = 0 [pid 6535] <... futex resumed>) = ? [pid 6533] <... exit_group resumed>) = ? [pid 6549] +++ exited with 0 +++ [pid 6547] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6544] open("./file0", O_RDONLY [pid 6540] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6535] +++ exited with 0 +++ [pid 6533] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6533, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=27 /* 0.27 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6550 [pid 6544] <... open resumed>) = 3 [pid 6544] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6537] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6544] <... futex resumed>) = 1 [pid 6540] <... futex resumed>) = 0 [pid 6544] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6537] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6540] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6544] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6540] <... futex resumed>) = 0 [pid 6537] <... futex resumed>) = 0 [pid 6544] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6540] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6537] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6544] <... ioctl resumed>) = 0 [pid 6537] <... mmap resumed>) = 0x7f4e2652d000 [pid 6544] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6537] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6544] <... futex resumed>) = 1 [pid 6540] <... futex resumed>) = 0 [pid 6544] ioctl(3, 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 6540] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6537] <... mprotect resumed>) = 0 [pid 6544] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6540] <... futex resumed>) = 0 [pid 6537] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6544] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6540] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6544] <... futex resumed>) = 0 [pid 6537] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6540] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6544] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6537] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6540] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6544] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6544] open("./file0", O_RDONLY [pid 6540] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6550 attached [pid 6544] <... open resumed>) = 4 [pid 6540] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6537] <... clone3 resumed> => {parent_tid=[6551]}, 88) = 6551 ./strace-static-x86_64: Process 6551 attached [pid 6550] set_robust_list(0x5555558636a0, 24 [pid 6544] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6540] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6537] rt_sigprocmask(SIG_SETMASK, [], [pid 6551] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6550] <... set_robust_list resumed>) = 0 [pid 6544] <... futex resumed>) = 0 [pid 6540] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6537] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6551] <... rseq resumed>) = 0 [pid 6550] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6547] <... mount resumed>) = -1 EEXIST (File exists) [pid 6544] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6540] <... futex resumed>) = 0 [pid 6537] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6551] set_robust_list(0x7f4e2654d9a0, 24 [pid 6550] <... prctl resumed>) = 0 [pid 6547] ioctl(4, LOOP_CLR_FD [pid 6540] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6537] <... futex resumed>) = 0 [ 169.817466][ T6538] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 169.830646][ T6547] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6547) [ 169.848974][ T6538] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6537] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6551] <... set_robust_list resumed>) = 0 [pid 6550] setpgid(0, 0 [pid 6545] <... ioctl resumed>) = 0 [pid 6544] <... ioctl resumed>) = 0 [pid 6551] rt_sigprocmask(SIG_SETMASK, [], [pid 6550] <... setpgid resumed>) = 0 [pid 6545] close(4 [pid 6544] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6551] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6550] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6545] <... close resumed>) = 0 [pid 6544] <... futex resumed>) = 1 [pid 6551] open("./file0", O_RDONLY [pid 6550] <... openat resumed>) = 3 [pid 6545] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6544] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6540] <... futex resumed>) = 0 [pid 6537] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6551] <... open resumed>) = 4 [pid 6550] write(3, "1000", 4 [pid 6545] <... futex resumed>) = 1 [pid 6540] exit_group(0 [pid 6539] <... futex resumed>) = 0 [pid 6537] futex(0x7f4e2da3d62c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6551] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6550] <... write resumed>) = 4 [pid 6545] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6544] <... futex resumed>) = ? [pid 6540] <... exit_group resumed>) = ? [pid 6539] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6537] <... futex resumed>) = 0 [pid 6551] <... futex resumed>) = 0 [pid 6550] close(3 [pid 6545] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6544] +++ exited with 0 +++ [pid 6540] +++ exited with 0 +++ [pid 6539] <... futex resumed>) = 0 [pid 6537] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6551] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6550] <... close resumed>) = 0 [pid 6545] open("./file0", O_RDONLY [pid 6539] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6537] <... mmap resumed>) = 0x7f4e2650c000 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6540, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=21 /* 0.21 s */} --- [ 169.897406][ T6538] BTRFS info (device loop2): 2 enospc errors during balance [ 169.904738][ T6538] BTRFS info (device loop2): balance: ended with status: -28 [pid 6550] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6545] <... open resumed>) = 3 [pid 6538] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6537] mprotect(0x7f4e2650d000, 131072, PROT_READ|PROT_WRITE [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 6550] <... futex resumed>) = 0 [pid 6545] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6538] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6537] <... mprotect resumed>) = 0 [pid 5022] <... restart_syscall resumed>) = 0 [pid 6550] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6545] <... futex resumed>) = 1 [pid 6539] <... futex resumed>) = 0 [pid 6538] <... futex resumed>) = 0 [pid 6537] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6550] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6545] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6539] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6538] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6537] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6550] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6545] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6539] <... futex resumed>) = 0 [pid 6537] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2652c990, parent_tid=0x7f4e2652c990, exit_signal=0, stack=0x7f4e2650c000, stack_size=0x20300, tls=0x7f4e2652c6c0} [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6550] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6545] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6539] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] <... openat resumed>) = 3 [pid 6550] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6545] <... ioctl resumed>) = 0 [pid 6537] <... clone3 resumed> => {parent_tid=[6552]}, 88) = 6552 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6550] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6545] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6537] rt_sigprocmask(SIG_SETMASK, [], [pid 5022] <... ioctl resumed>) = 0 [pid 6550] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6545] <... futex resumed>) = 1 [pid 6539] <... futex resumed>) = 0 [pid 6537] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5022] close(3 [pid 6550] <... mprotect resumed>) = 0 [pid 6545] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6539] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6537] futex(0x7f4e2da3d628, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... close resumed>) = 0 [pid 6550] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6545] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6539] <... futex resumed>) = 0 [pid 6537] <... futex resumed>) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6550] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6545] ioctl(3, 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 6539] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6537] futex(0x7f4e2da3d62c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6550] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6553 ./strace-static-x86_64: Process 6553 attached [pid 6553] set_robust_list(0x5555558636a0, 24) = 0 [pid 6550] <... clone3 resumed> => {parent_tid=[6554]}, 88) = 6554 [pid 6553] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6553] setpgid(0, 0) = 0 [pid 6553] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6550] rt_sigprocmask(SIG_SETMASK, [], [pid 6553] write(3, "1000", 4 [pid 6550] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6552 attached [pid 6553] <... write resumed>) = 4 [pid 6550] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6553] close(3 [pid 6552] rseq(0x7f4e2652cfe0, 0x20, 0, 0x53053053 [pid 6550] <... futex resumed>) = 0 [pid 6553] <... close resumed>) = 0 [pid 6552] <... rseq resumed>) = 0 [pid 6550] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6554 attached [pid 6553] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6552] set_robust_list(0x7f4e2652c9a0, 24 [pid 6543] <... ioctl resumed>) = 0 [pid 6554] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6553] <... futex resumed>) = 0 [pid 6552] <... set_robust_list resumed>) = 0 [pid 6543] close(4 [pid 6554] <... rseq resumed>) = 0 [pid 6553] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6552] rt_sigprocmask(SIG_SETMASK, [], [pid 6543] <... close resumed>) = 0 [pid 6553] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6553] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6553] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6553] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6553] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6554] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6553] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6552] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6543] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6554] <... set_robust_list resumed>) = 0 [pid 6553] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6552] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6543] <... futex resumed>) = 1 [pid 6541] <... futex resumed>) = 0 [pid 6539] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6537] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) ./strace-static-x86_64: Process 6556 attached [pid 6554] rt_sigprocmask(SIG_SETMASK, [], [pid 6552] <... ioctl resumed>) = 0 [pid 6543] open("./file0", O_RDONLY [pid 6541] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6539] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6556] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6554] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6553] <... clone3 resumed> => {parent_tid=[6556]}, 88) = 6556 [pid 6552] futex(0x7f4e2da3d62c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6543] <... open resumed>) = 3 [pid 6541] <... futex resumed>) = 0 [pid 6539] <... futex resumed>) = 0 [pid 6556] <... rseq resumed>) = 0 [pid 6554] memfd_create("syzkaller", 0 [pid 6553] rt_sigprocmask(SIG_SETMASK, [], [pid 6552] <... futex resumed>) = 0 [pid 6543] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6541] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6539] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6556] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6554] <... memfd_create resumed>) = 3 [pid 6553] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6552] futex(0x7f4e2da3d628, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6543] <... futex resumed>) = 0 [pid 6541] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6539] <... mmap resumed>) = 0x7f4e2652d000 [pid 6537] exit_group(0 [pid 6556] <... set_robust_list resumed>) = 0 [pid 6554] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6553] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6552] <... futex resumed>) = ? [pid 6551] <... futex resumed>) = ? [pid 6543] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6541] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6539] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6538] <... futex resumed>) = ? [pid 6537] <... exit_group resumed>) = ? [pid 6556] rt_sigprocmask(SIG_SETMASK, [], [pid 6554] <... mmap resumed>) = 0x7f4e2554e000 [pid 6553] <... futex resumed>) = 0 [ 169.981871][ T6545] BTRFS info (device loop2): balance: start -d -m [ 170.007052][ T6545] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6552] +++ exited with 0 +++ [pid 6551] +++ exited with 0 +++ [pid 6543] <... ioctl resumed>) = 0 [pid 6541] <... futex resumed>) = 0 [pid 6539] <... mprotect resumed>) = 0 [pid 6538] +++ exited with 0 +++ [pid 6556] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6553] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6543] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6541] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6539] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6537] +++ exited with 0 +++ [pid 6556] memfd_create("syzkaller", 0 [pid 6543] <... futex resumed>) = 0 [pid 6541] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6539] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6556] <... memfd_create resumed>) = 3 [pid 6543] ioctl(3, 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 6541] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6539] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6537, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=25 /* 0.25 s */} --- [pid 6556] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6543] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6541] <... futex resumed>) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6556] <... mmap resumed>) = 0x7f4e2554e000 [pid 6543] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6541] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6539] <... clone3 resumed> => {parent_tid=[6557]}, 88) = 6557 [pid 5026] <... openat resumed>) = 3 [pid 6541] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6541] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6541] <... futex resumed>) = 0 [pid 5026] close(3 [pid 6541] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] <... close resumed>) = 0 [pid 6543] <... futex resumed>) = 1 [pid 6541] <... futex resumed>) = 0 [pid 6539] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6543] open("./file0", O_RDONLY [pid 6541] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=37000000} [pid 6539] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6543] <... open resumed>) = 4 [pid 6539] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6558 ./strace-static-x86_64: Process 6557 attached [pid 6543] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6539] <... futex resumed>) = 0 [pid 6557] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6543] <... futex resumed>) = 1 [pid 6541] <... futex resumed>) = 0 [pid 6539] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6558 attached [pid 6557] <... rseq resumed>) = 0 [pid 6543] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6541] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6558] set_robust_list(0x5555558636a0, 24 [pid 6557] set_robust_list(0x7f4e2654d9a0, 24 [pid 6543] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6541] <... futex resumed>) = 0 [pid 6558] <... set_robust_list resumed>) = 0 [pid 6557] <... set_robust_list resumed>) = 0 [pid 6543] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6541] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6558] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6557] rt_sigprocmask(SIG_SETMASK, [], [pid 6558] <... prctl resumed>) = 0 [pid 6557] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 170.064986][ T6545] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6558] setpgid(0, 0 [pid 6557] open("./file0", O_RDONLY [pid 6543] <... ioctl resumed>) = 0 [pid 6558] <... setpgid resumed>) = 0 [pid 6557] <... open resumed>) = 4 [pid 6547] <... ioctl resumed>) = 0 [pid 6543] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6558] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6557] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6543] <... futex resumed>) = 1 [pid 6541] <... futex resumed>) = 0 [pid 6558] <... openat resumed>) = 3 [pid 6557] <... futex resumed>) = 1 [pid 6543] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6541] exit_group(0 [pid 6539] <... futex resumed>) = 0 [pid 6558] write(3, "1000", 4 [pid 6557] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6543] <... futex resumed>) = ? [pid 6541] <... exit_group resumed>) = ? [pid 6539] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6558] <... write resumed>) = 4 [pid 6557] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6543] +++ exited with 0 +++ [pid 6558] close(3) = 0 [pid 6557] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6541] +++ exited with 0 +++ [pid 6539] <... futex resumed>) = 0 [pid 6558] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6539] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6541, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=26 /* 0.26 s */} --- [pid 6558] <... futex resumed>) = 0 [pid 6557] <... ioctl resumed>) = 0 [pid 6558] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6557] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6558] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6557] <... futex resumed>) = 1 [pid 6539] <... futex resumed>) = 0 [pid 6558] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6557] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6558] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6558] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6558] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5025] <... openat resumed>) = 3 [pid 6558] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6558] <... mprotect resumed>) = 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6558] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5025] close(3 [pid 6558] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5025] <... close resumed>) = 0 [pid 6558] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6558] <... clone3 resumed> => {parent_tid=[6559]}, 88) = 6559 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6560 ./strace-static-x86_64: Process 6559 attached [pid 6558] rt_sigprocmask(SIG_SETMASK, [], [pid 6559] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6558] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6559] <... rseq resumed>) = 0 [pid 6558] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6559] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6558] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6560 attached [pid 6559] <... set_robust_list resumed>) = 0 [pid 6558] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [ 170.116967][ T6545] BTRFS info (device loop2): 2 enospc errors during balance [ 170.157109][ T6545] BTRFS info (device loop2): balance: ended with status: -28 [pid 6547] close(4 [pid 6560] set_robust_list(0x5555558636a0, 24 [pid 6559] rt_sigprocmask(SIG_SETMASK, [], [pid 6547] <... close resumed>) = 0 [pid 6560] <... set_robust_list resumed>) = 0 [pid 6559] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6547] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6560] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6559] memfd_create("syzkaller", 0 [pid 6547] <... futex resumed>) = 1 [pid 6546] <... futex resumed>) = 0 [pid 6560] <... prctl resumed>) = 0 [pid 6559] <... memfd_create resumed>) = 3 [pid 6547] open("./file0", O_RDONLY [pid 6546] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6560] setpgid(0, 0 [pid 6559] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6547] <... open resumed>) = 3 [pid 6546] <... futex resumed>) = 0 [pid 6560] <... setpgid resumed>) = 0 [pid 6559] <... mmap resumed>) = 0x7f4e2554e000 [pid 6547] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6546] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6560] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6547] <... futex resumed>) = 0 [pid 6546] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6560] <... openat resumed>) = 3 [pid 6547] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6546] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6560] write(3, "1000", 4 [pid 6547] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6546] <... futex resumed>) = 0 [pid 6560] <... write resumed>) = 4 [pid 6547] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6546] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6560] close(3 [pid 6547] <... ioctl resumed>) = 0 [pid 6560] <... close resumed>) = 0 [pid 6547] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6560] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6547] <... futex resumed>) = 1 [pid 6546] <... futex resumed>) = 0 [pid 6545] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6560] <... futex resumed>) = 0 [pid 6547] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6546] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6545] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6560] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6547] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6546] <... futex resumed>) = 0 [pid 6545] <... futex resumed>) = 0 [pid 6560] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6547] ioctl(3, 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 6546] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6545] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6539] exit_group(0 [pid 6560] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6557] <... futex resumed>) = ? [pid 6545] <... futex resumed>) = ? [pid 6539] <... exit_group resumed>) = ? [pid 6560] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6557] +++ exited with 0 +++ [pid 6545] +++ exited with 0 +++ [pid 6560] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6539] +++ exited with 0 +++ [pid 6560] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6539, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=24 /* 0.24 s */} --- [pid 6560] <... mprotect resumed>) = 0 [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 6560] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5027] <... restart_syscall resumed>) = 0 [pid 6560] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6560] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6560] <... clone3 resumed> => {parent_tid=[6561]}, 88) = 6561 [pid 5027] <... openat resumed>) = 3 [pid 6560] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6560] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6560] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] close(3 [pid 6560] <... futex resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 6560] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6562 attached ./strace-static-x86_64: Process 6561 attached , child_tidptr=0x555555863690) = 6562 [pid 6561] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6546] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6561] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6546] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6561] <... set_robust_list resumed>) = 0 [pid 6546] <... futex resumed>) = 0 [pid 6561] rt_sigprocmask(SIG_SETMASK, [], [pid 6546] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6561] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6546] <... mmap resumed>) = 0x7f4e2652d000 [pid 6561] memfd_create("syzkaller", 0 [pid 6546] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6561] <... memfd_create resumed>) = 3 [pid 6546] <... mprotect resumed>) = 0 [pid 6561] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [ 170.224175][ T6547] BTRFS info (device loop2): balance: start -d -m [ 170.236428][ T6547] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6546] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6561] <... mmap resumed>) = 0x7f4e2554e000 [pid 6546] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6562] set_robust_list(0x5555558636a0, 24 [pid 6546] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6563]}, 88) = 6563 [pid 6546] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6546] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6546] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6563 attached [pid 6562] <... set_robust_list resumed>) = 0 [pid 6563] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6562] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6563] <... rseq resumed>) = 0 [pid 6562] <... prctl resumed>) = 0 [pid 6563] set_robust_list(0x7f4e2654d9a0, 24 [pid 6562] setpgid(0, 0 [pid 6563] <... set_robust_list resumed>) = 0 [pid 6562] <... setpgid resumed>) = 0 [pid 6563] rt_sigprocmask(SIG_SETMASK, [], [pid 6562] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6563] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6562] <... openat resumed>) = 3 [pid 6563] open("./file0", O_RDONLY [pid 6562] write(3, "1000", 4 [pid 6563] <... open resumed>) = 4 [pid 6562] <... write resumed>) = 4 [pid 6563] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6562] close(3 [pid 6563] <... futex resumed>) = 1 [pid 6562] <... close resumed>) = 0 [pid 6546] <... futex resumed>) = 0 [pid 6563] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6562] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6546] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6563] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6562] <... futex resumed>) = 0 [pid 6546] <... futex resumed>) = 0 [pid 6563] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6562] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6546] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6563] <... ioctl resumed>) = 0 [pid 6562] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6563] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6562] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6563] <... futex resumed>) = 1 [pid 6562] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6546] <... futex resumed>) = 0 [pid 6563] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6562] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6562] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6562] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6562] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6564]}, 88) = 6564 [pid 6562] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6562] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 170.296807][ T6547] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6562] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6564 attached [pid 6564] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6554] 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 6564] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6564] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6564] memfd_create("syzkaller", 0) = 3 [pid 6564] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6547] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6547] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6547] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6546] exit_group(0 [pid 6563] <... futex resumed>) = ? [pid 6547] <... futex resumed>) = ? [pid 6546] <... exit_group resumed>) = ? [pid 6563] +++ exited with 0 +++ [pid 6547] +++ exited with 0 +++ [pid 6546] +++ exited with 0 +++ [pid 6556] 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 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6546, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=31 /* 0.31 s */} --- [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [ 170.350505][ T6547] BTRFS info (device loop2): 2 enospc errors during balance [ 170.379822][ T6547] BTRFS info (device loop2): balance: ended with status: -28 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6565 ./strace-static-x86_64: Process 6565 attached [pid 6565] set_robust_list(0x5555558636a0, 24) = 0 [pid 6565] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6565] setpgid(0, 0) = 0 [pid 6565] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6565] write(3, "1000", 4) = 4 [pid 6565] close(3) = 0 [pid 6565] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6565] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6565] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6565] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6565] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6565] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6565] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6566]}, 88) = 6566 [pid 6565] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6565] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6565] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6566 attached [pid 6566] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6566] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6566] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6566] memfd_create("syzkaller", 0) = 3 [pid 6566] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6559] 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 6561] 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 6564] 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 6554] <... write resumed>) = 16777216 [pid 6554] munmap(0x7f4e2554e000, 16777216 [pid 6556] <... write resumed>) = 16777216 [pid 6556] munmap(0x7f4e2554e000, 16777216 [pid 6554] <... munmap resumed>) = 0 [pid 6554] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6554] ioctl(4, LOOP_SET_FD, 3 [pid 6556] <... munmap resumed>) = 0 [pid 6556] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6566] 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 6556] <... openat resumed>) = 4 [pid 6554] <... ioctl resumed>) = 0 [pid 6556] ioctl(4, LOOP_SET_FD, 3 [pid 6554] close(3 [pid 6556] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6554] <... close resumed>) = 0 [pid 6556] ioctl(4, LOOP_CLR_FD [pid 6554] mkdir("./file0", 0777 [pid 6556] <... ioctl resumed>) = 0 [pid 6554] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6554] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6556] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6556] close(4) = 0 [ 170.803697][ T6554] loop1: detected capacity change from 0 to 32768 [ 170.842225][ T6554] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6554) [pid 6556] close(3 [pid 6554] <... mount resumed>) = -1 EEXIST (File exists) [pid 6554] ioctl(4, LOOP_CLR_FD [pid 6559] <... write resumed>) = 16777216 [pid 6559] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6559] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6559] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6561] <... write resumed>) = 16777216 [pid 6561] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6559] close(3) = 0 [pid 6561] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6559] mkdir("./file0", 0777 [pid 6561] <... openat resumed>) = 4 [pid 6559] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6559] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 170.988144][ T6559] loop4: detected capacity change from 0 to 32768 [ 171.020552][ T6559] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6559) [pid 6561] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6561] close(3 [pid 6564] <... write resumed>) = 16777216 [pid 6561] <... close resumed>) = 0 [pid 6564] munmap(0x7f4e2554e000, 16777216 [pid 6561] mkdir("./file0", 0777 [pid 6556] <... close resumed>) = 0 [pid 6559] <... mount resumed>) = -1 EEXIST (File exists) [pid 6559] ioctl(4, LOOP_CLR_FD [pid 6556] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6564] <... munmap resumed>) = 0 [pid 6561] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6564] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6561] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6564] <... openat resumed>) = 4 [ 171.033003][ T6561] loop3: detected capacity change from 0 to 32768 [pid 6553] <... futex resumed>) = 0 [pid 6553] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6556] <... futex resumed>) = 1 [pid 6553] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6556] open("./file0", O_RDONLY) = 3 [pid 6556] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6553] <... futex resumed>) = 0 [pid 6556] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6553] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6556] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6553] <... futex resumed>) = 0 [pid 6556] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6553] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6556] <... ioctl resumed>) = 0 [pid 6556] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6553] <... futex resumed>) = 0 [pid 6556] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6553] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6564] ioctl(4, LOOP_SET_FD, 3 [pid 6556] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6553] <... futex resumed>) = 0 [pid 6556] ioctl(3, 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 6554] <... ioctl resumed>) = 0 [pid 6553] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6564] <... ioctl resumed>) = 0 [pid 6561] <... mount resumed>) = -1 EEXIST (File exists) [pid 6554] close(4 [pid 6564] close(3 [pid 6561] ioctl(4, LOOP_CLR_FD [pid 6554] <... close resumed>) = 0 [pid 6564] <... close resumed>) = 0 [pid 6554] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6564] mkdir("./file0", 0777 [pid 6554] <... futex resumed>) = 1 [pid 6550] <... futex resumed>) = 0 [pid 6564] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6554] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6550] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6564] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6554] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6550] <... futex resumed>) = 0 [ 171.072496][ T6561] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6561) [ 171.097137][ T6564] loop5: detected capacity change from 0 to 32768 [ 171.099873][ T6556] BTRFS info (device loop2): balance: start -d -m [ 171.113627][ T6556] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6550] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6566] <... write resumed>) = 16777216 [pid 6554] open("./file0", O_RDONLY) = 3 [pid 6554] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6550] <... futex resumed>) = 0 [pid 6554] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6550] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6554] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6566] munmap(0x7f4e2554e000, 16777216 [pid 6550] <... futex resumed>) = 0 [pid 6554] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6550] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6554] <... ioctl resumed>) = 0 [pid 6554] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6550] <... futex resumed>) = 0 [pid 6554] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6550] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6554] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6550] <... futex resumed>) = 0 [pid 6554] ioctl(3, 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 6550] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6554] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6564] <... mount resumed>) = -1 EEXIST (File exists) [pid 6554] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6564] ioctl(4, LOOP_CLR_FD [pid 6554] <... futex resumed>) = 1 [pid 6550] <... futex resumed>) = 0 [pid 6554] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) [pid 6550] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6554] open("./file0", O_RDONLY [pid 6550] <... futex resumed>) = 0 [pid 6554] <... open resumed>) = 4 [pid 6550] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6554] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6550] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6554] <... futex resumed>) = 0 [pid 6550] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6566] <... munmap resumed>) = 0 [pid 6553] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6553] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6566] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6554] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6553] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6550] <... futex resumed>) = 0 [pid 6566] <... openat resumed>) = 4 [pid 6553] <... mmap resumed>) = 0x7f4e2652d000 [pid 6553] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6553] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6553] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6568]}, 88) = 6568 [pid 6553] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6553] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6553] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6568 attached [pid 6568] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6568] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6568] rt_sigprocmask(SIG_SETMASK, [], [pid 6550] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6568] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6568] open("./file0", O_RDONLY [pid 6566] ioctl(4, LOOP_SET_FD, 3 [pid 6568] <... open resumed>) = 4 [ 171.124266][ T6564] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6564) [ 171.163719][ T6556] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6554] <... ioctl resumed>) = 0 [pid 6568] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6554] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6568] <... futex resumed>) = 1 [pid 6554] <... futex resumed>) = 1 [pid 6553] <... futex resumed>) = 0 [pid 6568] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6554] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6553] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6568] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6553] <... futex resumed>) = 0 [pid 6550] <... futex resumed>) = 0 [pid 6568] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6566] <... ioctl resumed>) = 0 [pid 6553] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6550] exit_group(0 [pid 6568] <... ioctl resumed>) = 0 [pid 6568] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6553] <... futex resumed>) = 0 [pid 6568] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6554] <... futex resumed>) = ? [pid 6550] <... exit_group resumed>) = ? [pid 6566] close(3 [pid 6554] +++ exited with 0 +++ [pid 6550] +++ exited with 0 +++ [pid 6566] <... close resumed>) = 0 [pid 6566] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6550, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=20 /* 0.20 s */} --- [pid 6566] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5021] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 171.203840][ T6566] loop0: detected capacity change from 0 to 32768 [ 171.225574][ T6556] BTRFS info (device loop2): 2 enospc errors during balance [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6569 ./strace-static-x86_64: Process 6569 attached [pid 6569] set_robust_list(0x5555558636a0, 24) = 0 [pid 6569] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6569] setpgid(0, 0) = 0 [pid 6569] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6569] write(3, "1000", 4) = 4 [pid 6569] close(3) = 0 [pid 6569] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6569] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6569] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6569] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6569] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6569] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6569] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6570]}, 88) = 6570 [pid 6569] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6566] <... mount resumed>) = -1 EEXIST (File exists) [pid 6569] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6569] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6570 attached [pid 6570] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6570] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6570] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6566] ioctl(4, LOOP_CLR_FD [pid 6570] memfd_create("syzkaller", 0) = 3 [pid 6570] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6556] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [ 171.249344][ T6566] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6566) [ 171.278149][ T6556] BTRFS info (device loop2): balance: ended with status: -28 [pid 6556] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6553] exit_group(0 [pid 6568] <... futex resumed>) = ? [pid 6553] <... exit_group resumed>) = ? [pid 6568] +++ exited with 0 +++ [pid 6556] +++ exited with 0 +++ [pid 6553] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6553, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6571 [pid 6559] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 6571 attached [pid 6561] <... ioctl resumed>) = 0 [pid 6559] close(4 [pid 6571] set_robust_list(0x5555558636a0, 24 [pid 6561] close(4 [pid 6559] <... close resumed>) = 0 [pid 6571] <... set_robust_list resumed>) = 0 [pid 6559] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6571] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6561] <... close resumed>) = 0 [pid 6559] <... futex resumed>) = 1 [pid 6558] <... futex resumed>) = 0 [pid 6571] <... prctl resumed>) = 0 [pid 6561] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6559] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6558] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6571] setpgid(0, 0 [pid 6561] <... futex resumed>) = 1 [pid 6560] <... futex resumed>) = 0 [pid 6559] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6558] <... futex resumed>) = 0 [pid 6571] <... setpgid resumed>) = 0 [pid 6561] open("./file0", O_RDONLY [pid 6560] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6559] open("./file0", O_RDONLY [pid 6558] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6571] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6561] <... open resumed>) = 3 [pid 6560] <... futex resumed>) = 0 [pid 6559] <... open resumed>) = 3 [pid 6571] <... openat resumed>) = 3 [pid 6561] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6560] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6559] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6571] write(3, "1000", 4 [pid 6561] <... futex resumed>) = 0 [pid 6560] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6559] <... futex resumed>) = 1 [pid 6558] <... futex resumed>) = 0 [pid 6571] <... write resumed>) = 4 [pid 6561] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6560] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6559] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6558] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6571] close(3 [pid 6561] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6560] <... futex resumed>) = 0 [pid 6559] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6558] <... futex resumed>) = 0 [pid 6571] <... close resumed>) = 0 [pid 6561] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6560] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6559] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6558] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6571] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6564] <... ioctl resumed>) = 0 [pid 6561] <... ioctl resumed>) = 0 [pid 6559] <... ioctl resumed>) = 0 [pid 6571] <... futex resumed>) = 0 [pid 6561] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6559] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6571] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6561] <... futex resumed>) = 1 [pid 6560] <... futex resumed>) = 0 [pid 6559] <... futex resumed>) = 1 [pid 6558] <... futex resumed>) = 0 [pid 6571] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6561] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6560] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6559] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6558] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6571] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6561] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6560] <... futex resumed>) = 0 [pid 6559] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6558] <... futex resumed>) = 0 [pid 6571] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6561] ioctl(3, 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 6560] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6559] ioctl(3, 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 6558] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6571] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6564] close(4 [pid 6571] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6571] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6564] <... close resumed>) = 0 [pid 6564] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6564] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6562] <... futex resumed>) = 0 [pid 6571] <... mprotect resumed>) = 0 [pid 6562] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6571] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6564] <... futex resumed>) = 0 [pid 6562] <... futex resumed>) = 1 [pid 6571] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6564] open("./file0", O_RDONLY [pid 6562] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6571] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6564] <... open resumed>) = 3 [pid 6564] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6571] <... clone3 resumed> => {parent_tid=[6573]}, 88) = 6573 [pid 6564] <... futex resumed>) = 1 [pid 6562] <... futex resumed>) = 0 [pid 6559] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6564] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL./strace-static-x86_64: Process 6573 attached [pid 6573] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6573] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6573] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6573] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6571] rt_sigprocmask(SIG_SETMASK, [], [pid 6562] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6559] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6571] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6564] <... futex resumed>) = 0 [pid 6562] <... futex resumed>) = 1 [pid 6559] <... futex resumed>) = 1 [pid 6558] <... futex resumed>) = 0 [pid 6571] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6564] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6562] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6559] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6558] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6573] <... futex resumed>) = 0 [pid 6571] <... futex resumed>) = 1 [pid 6564] <... ioctl resumed>) = 0 [pid 6559] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6558] <... futex resumed>) = 0 [pid 6573] memfd_create("syzkaller", 0 [pid 6571] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6564] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6559] open("./file0", O_RDONLY [pid 6558] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6573] <... memfd_create resumed>) = 3 [pid 6564] <... futex resumed>) = 1 [pid 6562] <... futex resumed>) = 0 [pid 6560] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6559] <... open resumed>) = 4 [pid 6573] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6566] <... ioctl resumed>) = 0 [pid 6564] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6562] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6560] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6559] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6573] <... mmap resumed>) = 0x7f4e2554e000 [ 171.455544][ T6561] BTRFS info (device loop2): balance: start -d -m [ 171.486332][ T6561] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6566] close(4 [pid 6564] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6562] <... futex resumed>) = 0 [pid 6560] <... futex resumed>) = 0 [pid 6559] <... futex resumed>) = 1 [pid 6558] <... futex resumed>) = 0 [pid 6566] <... close resumed>) = 0 [pid 6564] ioctl(3, 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 6560] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6564] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6560] <... mmap resumed>) = 0x7f4e2652d000 [pid 6564] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6560] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6564] <... futex resumed>) = 0 [pid 6560] <... mprotect resumed>) = 0 [pid 6566] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6564] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6562] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6560] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6559] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6558] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6566] <... futex resumed>) = 1 [pid 6565] <... futex resumed>) = 0 [pid 6562] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6560] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6559] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6558] <... futex resumed>) = 0 [pid 6566] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6565] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6562] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6560] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6559] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6558] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6566] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6565] <... futex resumed>) = 0 [pid 6564] <... futex resumed>) = 0 [pid 6562] <... futex resumed>) = 1 [pid 6566] open("./file0", O_RDONLY [pid 6565] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6564] open("./file0", O_RDONLY [pid 6562] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6560] <... clone3 resumed> => {parent_tid=[6574]}, 88) = 6574 [pid 6559] <... ioctl resumed>) = 0 [ 171.521405][ T6561] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata ./strace-static-x86_64: Process 6574 attached [pid 6566] <... open resumed>) = 3 [pid 6564] <... open resumed>) = 4 [pid 6560] rt_sigprocmask(SIG_SETMASK, [], [pid 6559] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6574] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6564] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6560] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6574] <... rseq resumed>) = 0 [pid 6564] <... futex resumed>) = 1 [pid 6560] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6574] set_robust_list(0x7f4e2654d9a0, 24 [pid 6564] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6560] <... futex resumed>) = 0 [pid 6574] <... set_robust_list resumed>) = 0 [pid 6560] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6574] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6574] open("./file0", O_RDONLY) = 4 [pid 6574] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6566] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6562] <... futex resumed>) = 0 [pid 6560] <... futex resumed>) = 0 [pid 6559] <... futex resumed>) = 1 [pid 6558] <... futex resumed>) = 0 [pid 6574] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6566] <... futex resumed>) = 1 [pid 6565] <... futex resumed>) = 0 [pid 6562] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6560] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6559] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6558] exit_group(0 [pid 6574] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6566] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6565] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6564] <... futex resumed>) = 0 [pid 6562] <... futex resumed>) = 1 [pid 6560] <... futex resumed>) = 0 [pid 6559] <... futex resumed>) = ? [pid 6558] <... exit_group resumed>) = ? [pid 6574] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6566] <... ioctl resumed>) = 0 [pid 6565] <... futex resumed>) = 0 [pid 6564] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6562] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6561] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6560] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6559] +++ exited with 0 +++ [pid 6574] <... ioctl resumed>) = 0 [pid 6566] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6565] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6564] <... ioctl resumed>) = 0 [pid 6561] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6558] +++ exited with 0 +++ [pid 6574] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6566] <... futex resumed>) = 0 [pid 6565] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6564] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6561] <... futex resumed>) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6558, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- [pid 6574] <... futex resumed>) = 1 [pid 6566] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6565] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6564] <... futex resumed>) = 1 [pid 6562] <... futex resumed>) = 0 [pid 6561] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6560] <... futex resumed>) = 0 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 6574] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6566] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6565] <... futex resumed>) = 0 [pid 6564] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6562] exit_group(0 [pid 6560] exit_group(0 [pid 5026] <... restart_syscall resumed>) = 0 [pid 6574] <... futex resumed>) = ? [pid 6566] ioctl(3, 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 6565] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6564] <... futex resumed>) = ? [pid 6562] <... exit_group resumed>) = ? [pid 6561] <... futex resumed>) = ? [pid 6560] <... exit_group resumed>) = ? [pid 6574] +++ exited with 0 +++ [pid 6564] +++ exited with 0 +++ [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6562] +++ exited with 0 +++ [pid 5026] <... openat resumed>) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6562, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=20 /* 0.20 s */} --- [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [ 171.561803][ T6561] BTRFS info (device loop2): 2 enospc errors during balance [ 171.575969][ T6561] BTRFS info (device loop2): balance: ended with status: -28 [pid 6561] +++ exited with 0 +++ [pid 6560] +++ exited with 0 +++ [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5026] close(3 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6560, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=27 /* 0.27 s */} --- [pid 5027] <... openat resumed>) = 3 [pid 5026] <... close resumed>) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5027] close(3 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6575 [pid 5027] <... close resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6576 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6577 ./strace-static-x86_64: Process 6577 attached [pid 6577] set_robust_list(0x5555558636a0, 24) = 0 [pid 6577] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6577] setpgid(0, 0) = 0 [pid 6577] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6577] write(3, "1000", 4) = 4 [pid 6577] close(3) = 0 [pid 6577] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 6575 attached [pid 6577] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6577] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6577] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6577] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6577] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6577] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6578]}, 88) = 6578 [pid 6577] rt_sigprocmask(SIG_SETMASK, [], [pid 6575] set_robust_list(0x5555558636a0, 24 [pid 6565] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) ./strace-static-x86_64: Process 6576 attached [pid 6577] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6577] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6576] set_robust_list(0x5555558636a0, 24 [pid 6575] <... set_robust_list resumed>) = 0 [pid 6565] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6577] <... futex resumed>) = 0 [pid 6576] <... set_robust_list resumed>) = 0 [pid 6575] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6565] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6578 attached [pid 6577] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6576] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6575] <... prctl resumed>) = 0 [pid 6565] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6578] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6576] <... prctl resumed>) = 0 [pid 6575] setpgid(0, 0 [pid 6565] <... mmap resumed>) = 0x7f4e2652d000 [pid 6578] <... rseq resumed>) = 0 [pid 6576] setpgid(0, 0 [pid 6575] <... setpgid resumed>) = 0 [pid 6565] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6578] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6576] <... setpgid resumed>) = 0 [pid 6575] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6565] <... mprotect resumed>) = 0 [ 171.621456][ T6566] BTRFS info (device loop2): balance: start -d -m [ 171.657646][ T6566] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6578] <... set_robust_list resumed>) = 0 [pid 6578] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6578] memfd_create("syzkaller", 0 [pid 6576] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6578] <... memfd_create resumed>) = 3 [pid 6575] <... openat resumed>) = 3 [pid 6565] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6576] <... openat resumed>) = 3 [pid 6578] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6576] write(3, "1000", 4 [pid 6575] write(3, "1000", 4 [pid 6565] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6578] <... mmap resumed>) = 0x7f4e2554e000 [pid 6576] <... write resumed>) = 4 [pid 6575] <... write resumed>) = 4 [pid 6565] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6576] close(3 [pid 6575] close(3 [pid 6576] <... close resumed>) = 0 [pid 6575] <... close resumed>) = 0 [pid 6565] <... clone3 resumed> => {parent_tid=[6579]}, 88) = 6579 [pid 6576] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6575] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6565] rt_sigprocmask(SIG_SETMASK, [], [pid 6576] <... futex resumed>) = 0 [pid 6575] <... futex resumed>) = 0 [pid 6565] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6570] 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 6576] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6575] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6565] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6579 attached [pid 6576] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6575] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6565] <... futex resumed>) = 0 [ 171.697380][ T6566] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 171.735646][ T6566] BTRFS info (device loop2): 2 enospc errors during balance [pid 6579] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6576] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6575] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6565] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6576] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6579] <... rseq resumed>) = 0 [pid 6575] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6576] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6579] set_robust_list(0x7f4e2654d9a0, 24 [pid 6576] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6575] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6579] <... set_robust_list resumed>) = 0 [pid 6576] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6575] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6573] 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 6566] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6579] rt_sigprocmask(SIG_SETMASK, [], [pid 6576] <... mprotect resumed>) = 0 [pid 6575] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6579] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6566] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6576] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6579] open("./file0", O_RDONLY [pid 6576] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6575] <... mprotect resumed>) = 0 [pid 6566] <... futex resumed>) = 0 [pid 6579] <... open resumed>) = 4 [pid 6566] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6579] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6576] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6575] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6579] <... futex resumed>) = 1 [pid 6575] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6565] <... futex resumed>) = 0 [pid 6579] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6576] <... clone3 resumed> => {parent_tid=[6580]}, 88) = 6580 [pid 6575] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6565] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6576] rt_sigprocmask(SIG_SETMASK, [], [pid 6566] <... futex resumed>) = 0 [pid 6565] <... futex resumed>) = 1 [pid 6576] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6575] <... clone3 resumed> => {parent_tid=[6581]}, 88) = 6581 [pid 6566] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6565] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6576] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6575] rt_sigprocmask(SIG_SETMASK, [], [pid 6576] <... futex resumed>) = 0 [pid 6575] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6566] <... ioctl resumed>) = 0 [pid 6576] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6575] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6566] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6575] <... futex resumed>) = 0 [pid 6566] <... futex resumed>) = 1 [pid 6565] <... futex resumed>) = 0 [pid 6575] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6566] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6565] exit_group(0 [pid 6579] <... futex resumed>) = ? [pid 6566] <... futex resumed>) = ? [pid 6565] <... exit_group resumed>) = ? [pid 6579] +++ exited with 0 +++ [pid 6566] +++ exited with 0 +++ [pid 6565] +++ exited with 0 +++ [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6565, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=30 /* 0.30 s */} --- ./strace-static-x86_64: Process 6580 attached [ 171.746656][ T6566] BTRFS info (device loop2): balance: ended with status: -28 ./strace-static-x86_64: Process 6581 attached [pid 6580] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6581] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6580] <... rseq resumed>) = 0 [pid 6581] <... rseq resumed>) = 0 [pid 6580] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6581] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6580] <... set_robust_list resumed>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6581] <... set_robust_list resumed>) = 0 [pid 6580] rt_sigprocmask(SIG_SETMASK, [], [pid 5020] <... openat resumed>) = 3 [pid 6581] rt_sigprocmask(SIG_SETMASK, [], [pid 6580] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6581] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6580] memfd_create("syzkaller", 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6581] memfd_create("syzkaller", 0 [pid 6580] <... memfd_create resumed>) = 3 [pid 5020] close(3 [pid 6581] <... memfd_create resumed>) = 3 [pid 6580] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5020] <... close resumed>) = 0 [pid 6581] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6580] <... mmap resumed>) = 0x7f4e2554e000 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6581] <... mmap resumed>) = 0x7f4e2554e000 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6582 ./strace-static-x86_64: Process 6582 attached [pid 6582] set_robust_list(0x5555558636a0, 24) = 0 [pid 6582] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6582] setpgid(0, 0) = 0 [pid 6582] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6582] write(3, "1000", 4) = 4 [pid 6582] close(3) = 0 [pid 6582] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6582] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6582] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6582] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6582] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6582] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6582] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6583]}, 88) = 6583 [pid 6582] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6582] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6582] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6583 attached [pid 6583] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6583] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6583] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6583] memfd_create("syzkaller", 0) = 3 [pid 6583] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6578] 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 6573] <... write resumed>) = 16777216 [pid 6573] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6573] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6573] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6573] ioctl(4, LOOP_CLR_FD) = 0 [pid 6573] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6573] close(4) = 0 [pid 6573] close(3 [pid 6570] <... write resumed>) = 16777216 [pid 6570] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6570] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6570] ioctl(4, LOOP_SET_FD, 3 [pid 6580] 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 6570] <... ioctl resumed>) = 0 [pid 6570] close(3) = 0 [pid 6570] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 172.189934][ T6570] loop1: detected capacity change from 0 to 32768 [pid 6570] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6583] 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 6581] 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 6570] <... mount resumed>) = -1 EEXIST (File exists) [ 172.230349][ T6570] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6570) [pid 6570] ioctl(4, LOOP_CLR_FD [pid 6578] <... write resumed>) = 16777216 [pid 6578] munmap(0x7f4e2554e000, 16777216 [pid 6573] <... close resumed>) = 0 [pid 6573] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6571] <... futex resumed>) = 0 [pid 6573] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6571] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6573] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6571] <... futex resumed>) = 0 [pid 6578] <... munmap resumed>) = 0 [pid 6573] open("./file0", O_RDONLY [pid 6571] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6578] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6573] <... open resumed>) = 3 [pid 6578] <... openat resumed>) = 4 [pid 6573] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6578] ioctl(4, LOOP_SET_FD, 3 [pid 6573] <... futex resumed>) = 1 [pid 6571] <... futex resumed>) = 0 [pid 6578] <... ioctl resumed>) = 0 [pid 6573] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6571] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6573] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6573] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6571] <... futex resumed>) = 0 [pid 6573] <... ioctl resumed>) = 0 [pid 6571] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6573] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6571] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6573] <... futex resumed>) = 0 [pid 6571] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6573] ioctl(3, 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 6571] <... futex resumed>) = 0 [pid 6571] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6578] close(3) = 0 [pid 6578] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 172.339063][ T6578] loop3: detected capacity change from 0 to 32768 [ 172.354560][ T6573] BTRFS info (device loop2): balance: start -d -m [ 172.376498][ T6573] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6578] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6571] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6571] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6571] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6571] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6571] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6571] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6578] <... mount resumed>) = -1 EEXIST (File exists) [pid 6578] ioctl(4, LOOP_CLR_FD [pid 6571] <... clone3 resumed> => {parent_tid=[6585]}, 88) = 6585 [pid 6571] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6585 attached NULL, 8) = 0 [pid 6585] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6571] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6585] <... rseq resumed>) = 0 [pid 6571] <... futex resumed>) = 0 [pid 6585] set_robust_list(0x7f4e2654d9a0, 24 [pid 6571] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6585] <... set_robust_list resumed>) = 0 [ 172.388773][ T6578] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6578) [ 172.427290][ T6573] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6585] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6585] open("./file0", O_RDONLY) = 4 [pid 6585] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6571] <... futex resumed>) = 0 [pid 6585] <... futex resumed>) = 1 [pid 6571] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6585] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6571] <... futex resumed>) = 0 [pid 6571] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6585] <... ioctl resumed>) = 0 [pid 6573] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6585] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6573] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6585] <... futex resumed>) = 1 [pid 6573] <... futex resumed>) = 0 [pid 6571] <... futex resumed>) = 0 [pid 6585] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6573] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6571] exit_group(0) = ? [pid 6573] <... futex resumed>) = ? [pid 6585] <... futex resumed>) = ? [pid 6573] +++ exited with 0 +++ [pid 6585] +++ exited with 0 +++ [pid 6571] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6571, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=23 /* 0.23 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...>) = 0 [ 172.456634][ T6573] BTRFS info (device loop2): 2 enospc errors during balance [ 172.464235][ T6573] BTRFS info (device loop2): balance: ended with status: -28 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6586 ./strace-static-x86_64: Process 6586 attached [pid 6586] set_robust_list(0x5555558636a0, 24) = 0 [pid 6586] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6586] setpgid(0, 0) = 0 [pid 6586] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6570] <... ioctl resumed>) = 0 [pid 6586] <... openat resumed>) = 3 [pid 6586] write(3, "1000", 4) = 4 [pid 6583] <... write resumed>) = 16777216 [pid 6586] close(3 [pid 6583] munmap(0x7f4e2554e000, 16777216 [pid 6586] <... close resumed>) = 0 [pid 6586] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6586] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6586] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6586] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6586] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6586] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6586] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6570] close(4) = 0 [pid 6570] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6569] <... futex resumed>) = 0 [pid 6570] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6569] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6570] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6569] <... futex resumed>) = 0 [pid 6570] open("./file0", O_RDONLY [pid 6569] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6586] <... clone3 resumed> => {parent_tid=[6588]}, 88) = 6588 [pid 6570] <... open resumed>) = 3 [pid 6586] rt_sigprocmask(SIG_SETMASK, [], [pid 6570] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6586] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6570] <... futex resumed>) = 1 [pid 6569] <... futex resumed>) = 0 [pid 6586] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6570] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6569] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6586] <... futex resumed>) = 0 [pid 6580] <... write resumed>) = 16777216 [pid 6570] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6569] <... futex resumed>) = 0 [pid 6586] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6583] <... munmap resumed>) = 0 [pid 6570] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6569] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6588 attached [pid 6570] <... ioctl resumed>) = 0 [pid 6583] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6588] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6570] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6583] <... openat resumed>) = 4 [pid 6588] <... rseq resumed>) = 0 [pid 6583] ioctl(4, LOOP_SET_FD, 3 [pid 6570] <... futex resumed>) = 1 [pid 6569] <... futex resumed>) = 0 [pid 6588] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6570] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6569] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6570] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6569] <... futex resumed>) = 0 [pid 6570] ioctl(3, 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 6569] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6588] <... set_robust_list resumed>) = 0 [pid 6588] rt_sigprocmask(SIG_SETMASK, [], [pid 6583] <... ioctl resumed>) = 0 [pid 6588] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6583] close(3 [pid 6588] memfd_create("syzkaller", 0 [pid 6583] <... close resumed>) = 0 [pid 6581] <... write resumed>) = 16777216 [pid 6588] <... memfd_create resumed>) = 3 [pid 6583] mkdir("./file0", 0777 [pid 6588] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6583] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6580] munmap(0x7f4e2554e000, 16777216 [pid 6588] <... mmap resumed>) = 0x7f4e2554e000 [pid 6583] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6580] <... munmap resumed>) = 0 [pid 6580] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [ 172.630436][ T6583] loop0: detected capacity change from 0 to 32768 [ 172.635451][ T6570] BTRFS info (device loop2): balance: start -d -m [ 172.643678][ T6570] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6580] ioctl(4, LOOP_SET_FD, 3 [pid 6581] munmap(0x7f4e2554e000, 16777216 [pid 6569] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6569] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6569] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6581] <... munmap resumed>) = 0 [pid 6569] <... mmap resumed>) = 0x7f4e2652d000 [pid 6569] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6583] <... mount resumed>) = -1 EEXIST (File exists) [pid 6569] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6583] ioctl(4, LOOP_CLR_FD [pid 6569] <... rt_sigprocmask resumed>[], 8) = 0 [ 172.676575][ T6583] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6583) [ 172.678704][ T6580] loop5: detected capacity change from 0 to 32768 [pid 6581] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6578] <... ioctl resumed>) = 0 [pid 6569] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6581] <... openat resumed>) = 4 [pid 6578] close(4 [pid 6581] ioctl(4, LOOP_SET_FD, 3 [pid 6578] <... close resumed>) = 0 [pid 6569] <... clone3 resumed> => {parent_tid=[6589]}, 88) = 6589 [pid 6569] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6569] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6569] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6578] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6580] <... ioctl resumed>) = 0 [pid 6580] close(3) = 0 [pid 6578] <... futex resumed>) = 1 [pid 6577] <... futex resumed>) = 0 [pid 6580] mkdir("./file0", 0777 [pid 6577] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6580] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6577] <... futex resumed>) = 0 [pid 6580] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6577] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6589 attached [pid 6578] open("./file0", O_RDONLY) = 3 [pid 6589] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6578] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6589] <... rseq resumed>) = 0 [pid 6577] <... futex resumed>) = 0 [pid 6589] set_robust_list(0x7f4e2654d9a0, 24 [pid 6578] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6577] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6589] <... set_robust_list resumed>) = 0 [pid 6581] <... ioctl resumed>) = 0 [pid 6578] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6577] <... futex resumed>) = 0 [pid 6589] rt_sigprocmask(SIG_SETMASK, [], [pid 6581] close(3 [pid 6578] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6577] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6589] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6581] <... close resumed>) = 0 [pid 6578] <... ioctl resumed>) = 0 [pid 6589] open("./file0", O_RDONLY [pid 6581] mkdir("./file0", 0777 [pid 6578] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6589] <... open resumed>) = 4 [pid 6581] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6578] <... futex resumed>) = 1 [pid 6577] <... futex resumed>) = 0 [ 172.719182][ T6570] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 172.733026][ T6581] loop4: detected capacity change from 0 to 32768 [ 172.751018][ T6580] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6580) [pid 6589] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6581] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6578] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6577] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6589] <... futex resumed>) = 1 [pid 6578] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6577] <... futex resumed>) = 0 [pid 6569] <... futex resumed>) = 0 [pid 6589] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6578] ioctl(3, 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 6577] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6569] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6589] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6578] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6569] <... futex resumed>) = 0 [pid 6589] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6578] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6569] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6578] <... futex resumed>) = 1 [pid 6577] <... futex resumed>) = 0 [pid 6578] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6577] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6589] <... ioctl resumed>) = 0 [pid 6578] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6577] <... futex resumed>) = 0 [pid 6589] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6578] open("./file0", O_RDONLY [pid 6577] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6589] <... futex resumed>) = 1 [pid 6578] <... open resumed>) = 4 [pid 6569] <... futex resumed>) = 0 [pid 6589] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6578] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6577] <... futex resumed>) = 0 [pid 6578] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6577] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6580] <... mount resumed>) = -1 EEXIST (File exists) [pid 6578] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6577] <... futex resumed>) = 0 [pid 6580] ioctl(4, LOOP_CLR_FD [pid 6578] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6577] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6578] <... ioctl resumed>) = 0 [pid 6578] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6577] <... futex resumed>) = 0 [pid 6578] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6577] exit_group(0 [pid 6581] <... mount resumed>) = -1 EEXIST (File exists) [pid 6578] <... futex resumed>) = ? [pid 6577] <... exit_group resumed>) = ? [pid 6578] +++ exited with 0 +++ [pid 6581] ioctl(4, LOOP_CLR_FD [pid 6577] +++ exited with 0 +++ [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6577, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=20 /* 0.20 s */} --- [pid 5025] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6590 ./strace-static-x86_64: Process 6590 attached [pid 6590] set_robust_list(0x5555558636a0, 24) = 0 [pid 6590] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6570] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6590] setpgid(0, 0 [pid 6570] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6590] <... setpgid resumed>) = 0 [pid 6570] <... futex resumed>) = 0 [ 172.779964][ T6570] BTRFS info (device loop2): 2 enospc errors during balance [ 172.802492][ T6581] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6581) [ 172.820283][ T6570] BTRFS info (device loop2): balance: ended with status: -28 [pid 6590] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6570] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6569] exit_group(0 [pid 6590] <... openat resumed>) = 3 [pid 6589] <... futex resumed>) = ? [pid 6570] <... futex resumed>) = ? [pid 6569] <... exit_group resumed>) = ? [pid 6590] write(3, "1000", 4 [pid 6589] +++ exited with 0 +++ [pid 6570] +++ exited with 0 +++ [pid 6590] <... write resumed>) = 4 [pid 6590] close(3 [pid 6569] +++ exited with 0 +++ [pid 6590] <... close resumed>) = 0 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6569, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=34 /* 0.34 s */} --- [pid 6590] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 6590] <... futex resumed>) = 0 [pid 5021] <... restart_syscall resumed>) = 0 [pid 6590] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6590] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6590] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5021] <... openat resumed>) = 3 [pid 6590] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6590] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6590] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5021] close(3 [pid 6590] <... mprotect resumed>) = 0 [pid 5021] <... close resumed>) = 0 [pid 6590] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6590] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6590] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6591 [pid 6590] <... clone3 resumed> => {parent_tid=[6592]}, 88) = 6592 [pid 6590] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6590] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 6591 attached [pid 6590] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6592 attached [pid 6591] set_robust_list(0x5555558636a0, 24 [pid 6592] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6591] <... set_robust_list resumed>) = 0 [pid 6592] <... rseq resumed>) = 0 [pid 6591] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6592] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6591] <... prctl resumed>) = 0 [pid 6592] <... set_robust_list resumed>) = 0 [pid 6591] setpgid(0, 0) = 0 [pid 6591] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6592] rt_sigprocmask(SIG_SETMASK, [], [pid 6591] <... openat resumed>) = 3 [pid 6592] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6591] write(3, "1000", 4 [pid 6592] memfd_create("syzkaller", 0 [pid 6591] <... write resumed>) = 4 [pid 6592] <... memfd_create resumed>) = 3 [pid 6591] close(3 [pid 6592] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6591] <... close resumed>) = 0 [pid 6592] <... mmap resumed>) = 0x7f4e2554e000 [pid 6591] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6591] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6591] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6591] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6591] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6591] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6591] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6593]}, 88) = 6593 [pid 6591] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6591] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6591] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6583] <... ioctl resumed>) = 0 [pid 6583] close(4./strace-static-x86_64: Process 6593 attached ) = 0 [pid 6593] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6583] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6593] <... rseq resumed>) = 0 [pid 6583] <... futex resumed>) = 1 [pid 6582] <... futex resumed>) = 0 [pid 6593] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6583] open("./file0", O_RDONLY [pid 6582] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6593] <... set_robust_list resumed>) = 0 [pid 6583] <... open resumed>) = 3 [pid 6582] <... futex resumed>) = 0 [pid 6593] rt_sigprocmask(SIG_SETMASK, [], [pid 6583] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6582] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6593] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6583] <... futex resumed>) = 0 [pid 6582] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6593] memfd_create("syzkaller", 0 [pid 6583] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6582] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6593] <... memfd_create resumed>) = 3 [pid 6583] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6582] <... futex resumed>) = 0 [pid 6593] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6583] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6582] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6593] <... mmap resumed>) = 0x7f4e2554e000 [pid 6583] <... ioctl resumed>) = 0 [pid 6583] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6582] <... futex resumed>) = 0 [pid 6583] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6582] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6583] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6582] <... futex resumed>) = 0 [pid 6583] ioctl(3, 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 6582] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6588] 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 6582] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6582] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6582] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6582] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6582] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6582] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6594]}, 88) = 6594 [pid 6582] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6582] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 173.022226][ T6583] BTRFS info (device loop2): balance: start -d -m [ 173.033063][ T6583] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6582] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6594 attached [pid 6594] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6594] set_robust_list(0x7f4e2654d9a0, 24 [pid 6581] <... ioctl resumed>) = 0 [pid 6580] <... ioctl resumed>) = 0 [pid 6594] <... set_robust_list resumed>) = 0 [pid 6581] close(4 [pid 6594] rt_sigprocmask(SIG_SETMASK, [], [pid 6581] <... close resumed>) = 0 [pid 6594] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6581] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6594] open("./file0", O_RDONLY [pid 6581] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6580] close(4 [ 173.084580][ T6583] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6575] <... futex resumed>) = 0 [pid 6594] <... open resumed>) = 4 [pid 6580] <... close resumed>) = 0 [pid 6594] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6582] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6580] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6575] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6594] <... futex resumed>) = 0 [pid 6582] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6581] <... futex resumed>) = 0 [pid 6580] <... futex resumed>) = 1 [pid 6576] <... futex resumed>) = 0 [pid 6575] <... futex resumed>) = 1 [pid 6594] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6582] <... futex resumed>) = 0 [pid 6581] open("./file0", O_RDONLY [pid 6580] open("./file0", O_RDONLY [pid 6576] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6575] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6582] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6581] <... open resumed>) = 3 [pid 6580] <... open resumed>) = 3 [pid 6576] <... futex resumed>) = 0 [pid 6594] <... ioctl resumed>) = 0 [pid 6581] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6580] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6576] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6594] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6581] <... futex resumed>) = 1 [pid 6580] <... futex resumed>) = 0 [pid 6576] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6575] <... futex resumed>) = 0 [pid 6594] <... futex resumed>) = 1 [pid 6582] <... futex resumed>) = 0 [pid 6581] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6580] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6576] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6575] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6594] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6581] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6580] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6576] <... futex resumed>) = 0 [pid 6575] <... futex resumed>) = 0 [pid 6581] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6580] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6581] <... ioctl resumed>) = 0 [pid 6580] <... ioctl resumed>) = 0 [pid 6581] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6580] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6581] <... futex resumed>) = 0 [pid 6580] <... futex resumed>) = 0 [pid 6581] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6580] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6576] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 EAGAIN (Resource temporarily unavailable) [pid 6575] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6576] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6575] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6580] <... futex resumed>) = 0 [pid 6576] <... futex resumed>) = 1 [pid 6575] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6581] <... futex resumed>) = 0 [pid 6580] ioctl(3, 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 6576] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6575] <... futex resumed>) = 1 [pid 6581] ioctl(3, 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 6575] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6583] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6583] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6581] <... 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}}) = 8 [pid 6580] <... 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}}) = 8 [pid 6583] <... futex resumed>) = 0 [pid 6581] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6580] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6583] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6582] exit_group(0 [pid 6581] <... futex resumed>) = 1 [pid 6580] <... futex resumed>) = 1 [pid 6576] <... futex resumed>) = 0 [pid 6575] <... futex resumed>) = 0 [pid 6594] <... futex resumed>) = ? [pid 6583] <... futex resumed>) = ? [pid 6582] <... exit_group resumed>) = ? [pid 6581] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6580] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6576] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6575] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6594] +++ exited with 0 +++ [pid 6581] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6580] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6576] <... futex resumed>) = 0 [pid 6575] <... futex resumed>) = 0 [pid 6583] +++ exited with 0 +++ [pid 6582] +++ exited with 0 +++ [pid 6581] open("./file0", O_RDONLY [pid 6580] open("./file0", O_RDONLY [pid 6576] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6575] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6581] <... open resumed>) = 4 [pid 6580] <... open resumed>) = 4 [pid 6581] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6580] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6582, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=28 /* 0.28 s */} --- [pid 6581] <... futex resumed>) = 1 [pid 6580] <... futex resumed>) = 1 [pid 6576] <... futex resumed>) = 0 [pid 6575] <... futex resumed>) = 0 [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 6581] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6580] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6576] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6575] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... restart_syscall resumed>) = 0 [pid 6581] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6580] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6576] <... futex resumed>) = 0 [pid 6575] <... futex resumed>) = 0 [ 173.131854][ T6583] BTRFS info (device loop2): 2 enospc errors during balance [ 173.154101][ T6583] BTRFS info (device loop2): balance: ended with status: -28 [pid 6581] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6580] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6576] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6575] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6581] <... ioctl resumed>) = 0 [pid 6580] <... ioctl resumed>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6581] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6580] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... openat resumed>) = 3 [pid 6581] <... futex resumed>) = 1 [pid 6580] <... futex resumed>) = 1 [pid 6576] <... futex resumed>) = 0 [pid 6575] <... futex resumed>) = 0 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6581] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6580] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6576] exit_group(0 [pid 6575] exit_group(0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6581] <... futex resumed>) = ? [pid 6580] <... futex resumed>) = ? [pid 6576] <... exit_group resumed>) = ? [pid 6575] <... exit_group resumed>) = ? [pid 5020] close(3 [pid 6581] +++ exited with 0 +++ [pid 6580] +++ exited with 0 +++ [pid 6576] +++ exited with 0 +++ [pid 6575] +++ exited with 0 +++ [pid 5020] <... close resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6576, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=21 /* 0.21 s */} --- [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6575, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=27 /* 0.27 s */} --- [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6595 [pid 5027] <... openat resumed>) = 3 [pid 5026] <... openat resumed>) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5027] close(3 [pid 5026] close(3 [pid 5027] <... close resumed>) = 0 [pid 5026] <... close resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6596 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6597 ./strace-static-x86_64: Process 6595 attached [pid 6595] set_robust_list(0x5555558636a0, 24) = 0 [pid 6595] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6595] setpgid(0, 0./strace-static-x86_64: Process 6597 attached ) = 0 [pid 6597] set_robust_list(0x5555558636a0, 24 [pid 6595] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6597] <... set_robust_list resumed>) = 0 [pid 6595] <... openat resumed>) = 3 [pid 6597] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6595] write(3, "1000", 4./strace-static-x86_64: Process 6596 attached [pid 6597] <... prctl resumed>) = 0 [pid 6595] <... write resumed>) = 4 [pid 6597] setpgid(0, 0 [pid 6596] set_robust_list(0x5555558636a0, 24 [pid 6595] close(3 [pid 6597] <... setpgid resumed>) = 0 [pid 6596] <... set_robust_list resumed>) = 0 [pid 6595] <... close resumed>) = 0 [pid 6597] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6595] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6597] <... openat resumed>) = 3 [pid 6596] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6595] <... futex resumed>) = 0 [pid 6597] write(3, "1000", 4 [pid 6596] <... prctl resumed>) = 0 [pid 6595] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6597] <... write resumed>) = 4 [pid 6596] setpgid(0, 0 [pid 6595] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6597] close(3 [pid 6596] <... setpgid resumed>) = 0 [pid 6595] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6597] <... close resumed>) = 0 [pid 6596] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6595] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6597] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6595] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6597] <... futex resumed>) = 0 [pid 6596] <... openat resumed>) = 3 [pid 6595] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6597] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6596] write(3, "1000", 4 [pid 6595] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6597] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6596] <... write resumed>) = 4 [pid 6595] <... mprotect resumed>) = 0 [pid 6597] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6596] close(3 [pid 6595] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6597] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6596] <... close resumed>) = 0 [pid 6595] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6597] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6596] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6595] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6597] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6596] <... futex resumed>) = 0 [pid 6597] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6596] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6595] <... clone3 resumed> => {parent_tid=[6598]}, 88) = 6598 [pid 6597] <... mprotect resumed>) = 0 [pid 6596] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6595] rt_sigprocmask(SIG_SETMASK, [], [pid 6597] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6596] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6595] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6597] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6596] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6595] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6597] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6596] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6595] <... futex resumed>) = 0 [pid 6596] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6595] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6598 attached [pid 6597] <... clone3 resumed> => {parent_tid=[6599]}, 88) = 6599 [pid 6596] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6598] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6597] rt_sigprocmask(SIG_SETMASK, [], [pid 6596] <... mprotect resumed>) = 0 [pid 6598] <... rseq resumed>) = 0 [pid 6597] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6596] rt_sigprocmask(SIG_BLOCK, ~[], ./strace-static-x86_64: Process 6599 attached [pid 6598] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6597] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6596] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6599] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6598] <... set_robust_list resumed>) = 0 [pid 6597] <... futex resumed>) = 0 [pid 6596] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6599] <... rseq resumed>) = 0 [pid 6598] rt_sigprocmask(SIG_SETMASK, [], [pid 6597] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6599] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6598] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6596] <... clone3 resumed> => {parent_tid=[6600]}, 88) = 6600 [pid 6599] <... set_robust_list resumed>) = 0 [pid 6598] memfd_create("syzkaller", 0 [pid 6596] rt_sigprocmask(SIG_SETMASK, [], [pid 6599] rt_sigprocmask(SIG_SETMASK, [], [pid 6598] <... memfd_create resumed>) = 3 [pid 6596] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6599] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6598] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6596] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6599] memfd_create("syzkaller", 0 [pid 6598] <... mmap resumed>) = 0x7f4e2554e000 [pid 6596] <... futex resumed>) = 0 [pid 6599] <... memfd_create resumed>) = 3 [pid 6596] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6599] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0./strace-static-x86_64: Process 6600 attached ) = 0x7f4e2554e000 [pid 6600] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6600] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6600] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6600] memfd_create("syzkaller", 0 [pid 6592] 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 6600] <... memfd_create resumed>) = 3 [pid 6600] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6593] 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 6588] <... write resumed>) = 16777216 [pid 6588] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6588] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6588] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6588] ioctl(4, LOOP_CLR_FD) = 0 [pid 6588] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6588] close(4) = 0 [pid 6588] close(3 [pid 6598] 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 6599] 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 6600] 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 6592] <... write resumed>) = 16777216 [pid 6592] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6592] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6592] ioctl(4, LOOP_SET_FD, 3 [pid 6588] <... close resumed>) = 0 [pid 6588] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6586] <... futex resumed>) = 0 [pid 6588] <... futex resumed>) = 1 [pid 6588] open("./file0", O_RDONLY [pid 6586] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6592] <... ioctl resumed>) = 0 [pid 6588] <... open resumed>) = 3 [pid 6586] <... futex resumed>) = 0 [pid 6592] close(3 [pid 6588] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6586] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6592] <... close resumed>) = 0 [pid 6588] <... futex resumed>) = 0 [pid 6586] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6592] mkdir("./file0", 0777 [pid 6588] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6586] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6592] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6588] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6586] <... futex resumed>) = 0 [pid 6592] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6588] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6586] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6588] <... ioctl resumed>) = 0 [pid 6588] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6586] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6588] <... futex resumed>) = 0 [pid 6586] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6588] ioctl(3, 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 6586] <... futex resumed>) = 0 [ 173.740876][ T6592] loop3: detected capacity change from 0 to 32768 [ 173.765831][ T6592] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6592) [pid 6586] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6593] <... write resumed>) = 16777216 [pid 6593] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6593] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6593] ioctl(4, LOOP_SET_FD, 3 [pid 6592] <... mount resumed>) = -1 EEXIST (File exists) [ 173.788590][ T6588] BTRFS info (device loop2): balance: start -d -m [ 173.797663][ T6588] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 173.806218][ T6593] loop1: detected capacity change from 0 to 32768 [pid 6592] ioctl(4, LOOP_CLR_FD [pid 6586] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6593] <... ioctl resumed>) = 0 [pid 6593] close(3) = 0 [pid 6586] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6593] mkdir("./file0", 0777 [pid 6586] <... futex resumed>) = 0 [pid 6593] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6586] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6593] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6586] <... mmap resumed>) = 0x7f4e2652d000 [pid 6586] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6586] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6586] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6602]}, 88) = 6602 [pid 6586] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6586] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6602 attached ) = 0 [pid 6602] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6586] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6602] <... rseq resumed>) = 0 [pid 6602] set_robust_list(0x7f4e2654d9a0, 24) = 0 [ 173.833467][ T6588] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 173.860412][ T6593] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6593) [pid 6602] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6602] open("./file0", O_RDONLY) = 4 [pid 6602] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6586] <... futex resumed>) = 0 [pid 6593] <... mount resumed>) = -1 EEXIST (File exists) [pid 6593] ioctl(4, LOOP_CLR_FD [pid 6602] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6586] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6602] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6586] <... futex resumed>) = 0 [pid 6602] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6586] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6602] <... ioctl resumed>) = 0 [pid 6602] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6586] <... futex resumed>) = 0 [ 173.891236][ T6588] BTRFS info (device loop2): 2 enospc errors during balance [ 173.916953][ T6588] BTRFS info (device loop2): balance: ended with status: -28 [pid 6602] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6588] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6588] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6586] exit_group(0 [pid 6602] <... futex resumed>) = ? [pid 6598] <... write resumed>) = 16777216 [pid 6588] <... futex resumed>) = ? [pid 6586] <... exit_group resumed>) = ? [pid 6602] +++ exited with 0 +++ [pid 6588] +++ exited with 0 +++ [pid 6586] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6586, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=24 /* 0.24 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6598] munmap(0x7f4e2554e000, 16777216 [pid 5022] <... ioctl resumed>) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6603 ./strace-static-x86_64: Process 6603 attached [pid 6603] set_robust_list(0x5555558636a0, 24) = 0 [pid 6603] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6598] <... munmap resumed>) = 0 [pid 6592] <... ioctl resumed>) = 0 [pid 6603] <... prctl resumed>) = 0 [pid 6598] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6592] close(4 [pid 6603] setpgid(0, 0 [pid 6598] <... openat resumed>) = 4 [pid 6592] <... close resumed>) = 0 [pid 6603] <... setpgid resumed>) = 0 [pid 6598] ioctl(4, LOOP_SET_FD, 3 [pid 6592] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6603] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6598] <... ioctl resumed>) = 0 [pid 6592] <... futex resumed>) = 1 [pid 6590] <... futex resumed>) = 0 [pid 6603] <... openat resumed>) = 3 [pid 6592] open("./file0", O_RDONLY [pid 6590] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6603] write(3, "1000", 4 [pid 6599] <... write resumed>) = 16777216 [pid 6598] close(3 [pid 6592] <... open resumed>) = 3 [pid 6590] <... futex resumed>) = 0 [pid 6603] <... write resumed>) = 4 [pid 6600] <... write resumed>) = 16777216 [pid 6598] <... close resumed>) = 0 [pid 6592] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6590] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6603] close(3 [pid 6598] mkdir("./file0", 0777 [pid 6592] <... futex resumed>) = 0 [pid 6590] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6603] <... close resumed>) = 0 [pid 6598] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6592] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6590] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6603] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6598] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6592] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6590] <... futex resumed>) = 0 [pid 6603] <... futex resumed>) = 0 [ 174.057104][ T6598] loop0: detected capacity change from 0 to 32768 [pid 6590] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6603] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6592] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6599] munmap(0x7f4e2554e000, 16777216 [pid 6600] munmap(0x7f4e2554e000, 16777216 [pid 6603] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6600] <... munmap resumed>) = 0 [pid 6592] <... ioctl resumed>) = 0 [pid 6603] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6592] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6603] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6592] <... futex resumed>) = 1 [pid 6590] <... futex resumed>) = 0 [pid 6603] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6599] <... munmap resumed>) = 0 [pid 6592] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6590] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6603] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6592] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6590] <... futex resumed>) = 0 [pid 6603] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6592] ioctl(3, 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 6590] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6603] <... mprotect resumed>) = 0 [pid 6599] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6603] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6599] ioctl(4, LOOP_SET_FD, 3 [pid 6603] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6600] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6598] <... mount resumed>) = -1 EEXIST (File exists) [pid 6600] <... openat resumed>) = 4 [ 174.100420][ T6598] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6598) [ 174.124228][ T6592] BTRFS info (device loop2): balance: start -d -m [ 174.124469][ T6599] loop4: detected capacity change from 0 to 32768 [ 174.136674][ T6592] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6600] ioctl(4, LOOP_SET_FD, 3 [pid 6603] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6598] ioctl(4, LOOP_CLR_FD [pid 6603] <... clone3 resumed> => {parent_tid=[6605]}, 88) = 6605 [pid 6603] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6603] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6603] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6600] <... ioctl resumed>) = 0 [pid 6600] close(3) = 0 [pid 6600] mkdir("./file0", 0777) = -1 EEXIST (File exists) ./strace-static-x86_64: Process 6605 attached [pid 6600] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6590] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6605] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6590] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6605] <... rseq resumed>) = 0 [pid 6590] <... futex resumed>) = 0 [pid 6605] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6590] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6605] <... set_robust_list resumed>) = 0 [pid 6590] <... mmap resumed>) = 0x7f4e2652d000 [pid 6605] rt_sigprocmask(SIG_SETMASK, [], [pid 6590] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6605] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6590] <... mprotect resumed>) = 0 [pid 6605] memfd_create("syzkaller", 0) = 3 [pid 6593] <... ioctl resumed>) = 0 [pid 6590] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6605] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6593] close(4 [pid 6590] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6593] <... close resumed>) = 0 [pid 6593] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6591] <... futex resumed>) = 0 [pid 6593] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6591] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6605] <... mmap resumed>) = 0x7f4e2554e000 [pid 6599] <... ioctl resumed>) = 0 [pid 6593] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6591] <... futex resumed>) = 0 [pid 6599] close(3 [pid 6593] open("./file0", O_RDONLY [pid 6591] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6599] <... close resumed>) = 0 [pid 6593] <... open resumed>) = 3 [pid 6599] mkdir("./file0", 0777 [pid 6593] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6599] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6593] <... futex resumed>) = 1 [pid 6591] <... futex resumed>) = 0 [pid 6599] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6593] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6591] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6593] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6591] <... futex resumed>) = 0 [pid 6590] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6593] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6591] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6593] <... ioctl resumed>) = 0 [pid 6593] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6591] <... futex resumed>) = 0 [pid 6593] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6591] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6593] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6591] <... futex resumed>) = 0 [pid 6593] ioctl(3, 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 6591] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6593] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6593] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6591] <... futex resumed>) = 0 [pid 6593] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6591] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6593] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6591] <... futex resumed>) = 0 [ 174.139859][ T6600] loop5: detected capacity change from 0 to 32768 [ 174.161371][ T6592] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 174.175040][ T6600] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6600) [pid 6593] open("./file0", O_RDONLY [pid 6591] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6600] <... mount resumed>) = -1 EEXIST (File exists) [pid 6593] <... open resumed>) = 4 [pid 6590] <... clone3 resumed> => {parent_tid=[6606]}, 88) = 6606 [pid 6600] ioctl(4, LOOP_CLR_FD [pid 6593] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6590] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6606 attached [pid 6593] <... futex resumed>) = 1 [pid 6591] <... futex resumed>) = 0 [pid 6590] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6606] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6593] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6591] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6590] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6606] <... rseq resumed>) = 0 [pid 6593] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6591] <... futex resumed>) = 0 [pid 6590] <... futex resumed>) = 0 [pid 6606] set_robust_list(0x7f4e2654d9a0, 24 [pid 6593] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6591] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6590] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6606] <... set_robust_list resumed>) = 0 [pid 6606] rt_sigprocmask(SIG_SETMASK, [], [pid 6593] <... ioctl resumed>) = 0 [pid 6606] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6593] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6606] open("./file0", O_RDONLY [pid 6593] <... futex resumed>) = 1 [pid 6591] <... futex resumed>) = 0 [pid 6606] <... open resumed>) = 4 [pid 6593] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6591] exit_group(0 [pid 6606] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6593] <... futex resumed>) = ? [pid 6591] <... exit_group resumed>) = ? [pid 6606] <... futex resumed>) = 1 [pid 6599] <... mount resumed>) = -1 EEXIST (File exists) [pid 6593] +++ exited with 0 +++ [pid 6591] +++ exited with 0 +++ [pid 6590] <... futex resumed>) = 0 [pid 6606] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6599] ioctl(4, LOOP_CLR_FD [pid 6590] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6606] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6590] <... futex resumed>) = 0 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6591, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=20 /* 0.20 s */} --- [pid 6606] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6590] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 174.219054][ T6599] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6599) [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 6606] <... ioctl resumed>) = 0 [pid 5021] <... restart_syscall resumed>) = 0 [pid 6606] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6590] <... futex resumed>) = 0 [pid 6606] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6607 ./strace-static-x86_64: Process 6607 attached [pid 6607] set_robust_list(0x5555558636a0, 24) = 0 [pid 6607] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6607] setpgid(0, 0) = 0 [pid 6607] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6607] write(3, "1000", 4) = 4 [pid 6607] close(3) = 0 [pid 6607] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6592] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [ 174.267697][ T6592] BTRFS info (device loop2): 2 enospc errors during balance [ 174.275219][ T6592] BTRFS info (device loop2): balance: ended with status: -28 [pid 6607] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6592] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6607] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6592] <... futex resumed>) = 0 [pid 6607] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6592] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6607] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6607] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6590] exit_group(0 [pid 6607] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6606] <... futex resumed>) = ? [pid 6592] <... futex resumed>) = ? [pid 6590] <... exit_group resumed>) = ? [pid 6607] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6606] +++ exited with 0 +++ [pid 6592] +++ exited with 0 +++ [pid 6607] <... mprotect resumed>) = 0 [pid 6607] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6590] +++ exited with 0 +++ [pid 6607] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6607] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6590, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=31 /* 0.31 s */} --- [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 6607] <... clone3 resumed> => {parent_tid=[6608]}, 88) = 6608 [pid 5025] <... restart_syscall resumed>) = 0 ./strace-static-x86_64: Process 6608 attached [pid 6607] rt_sigprocmask(SIG_SETMASK, [], [pid 6608] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6607] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6608] <... rseq resumed>) = 0 [pid 6607] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6608] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6607] <... futex resumed>) = 0 [pid 5025] <... openat resumed>) = 3 [pid 6608] <... set_robust_list resumed>) = 0 [pid 6607] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6608] rt_sigprocmask(SIG_SETMASK, [], [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6608] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5025] close(3 [pid 6608] memfd_create("syzkaller", 0 [pid 5025] <... close resumed>) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6609 [pid 6608] <... memfd_create resumed>) = 3 [pid 6608] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 ./strace-static-x86_64: Process 6609 attached [pid 6609] set_robust_list(0x5555558636a0, 24) = 0 [pid 6609] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6609] setpgid(0, 0) = 0 [pid 6609] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6609] write(3, "1000", 4) = 4 [pid 6609] close(3) = 0 [pid 6609] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6609] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6609] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6609] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6609] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6609] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6609] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6610]}, 88) = 6610 [pid 6609] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6609] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 6610 attached [pid 6609] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6610] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6610] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6610] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6610] memfd_create("syzkaller", 0) = 3 [pid 6610] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6605] 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 6610] <... mmap resumed>) = 0x7f4e2554e000 [pid 6598] <... ioctl resumed>) = 0 [pid 6600] <... ioctl resumed>) = 0 [pid 6598] close(4) = 0 [pid 6598] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6595] <... futex resumed>) = 0 [pid 6598] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6595] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6598] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6595] <... futex resumed>) = 0 [pid 6598] open("./file0", O_RDONLY [pid 6595] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6598] <... open resumed>) = 3 [pid 6598] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6595] <... futex resumed>) = 0 [pid 6600] close(4 [pid 6598] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6595] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6600] <... close resumed>) = 0 [pid 6598] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6595] <... futex resumed>) = 0 [pid 6600] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6598] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6595] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6600] <... futex resumed>) = 1 [pid 6598] <... ioctl resumed>) = 0 [pid 6596] <... futex resumed>) = 0 [pid 6600] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6598] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6595] <... futex resumed>) = 0 [pid 6598] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6595] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6598] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6596] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6595] <... futex resumed>) = 0 [pid 6600] <... futex resumed>) = 0 [pid 6598] ioctl(3, 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 6596] <... futex resumed>) = 1 [pid 6595] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6600] open("./file0", O_RDONLY [pid 6596] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6600] <... open resumed>) = 3 [pid 6600] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6596] <... futex resumed>) = 0 [pid 6600] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6596] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6600] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6596] <... futex resumed>) = 0 [pid 6600] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6596] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6600] <... ioctl resumed>) = 0 [pid 6600] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6596] <... futex resumed>) = 0 [pid 6600] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6596] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6600] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6599] <... ioctl resumed>) = 0 [pid 6596] <... futex resumed>) = 0 [pid 6600] ioctl(3, 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 6599] close(4 [pid 6596] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6600] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6599] <... close resumed>) = 0 [pid 6600] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6599] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6600] <... futex resumed>) = 1 [pid 6599] <... futex resumed>) = 1 [pid 6597] <... futex resumed>) = 0 [pid 6596] <... futex resumed>) = 0 [pid 6600] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6599] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6597] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6596] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6600] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6599] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6597] <... futex resumed>) = 0 [pid 6596] <... futex resumed>) = 0 [pid 6600] open("./file0", O_RDONLY [pid 6599] open("./file0", O_RDONLY [pid 6597] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6596] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6600] <... open resumed>) = 4 [pid 6599] <... open resumed>) = 3 [pid 6600] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6599] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6600] <... futex resumed>) = 1 [pid 6599] <... futex resumed>) = 1 [pid 6597] <... futex resumed>) = 0 [pid 6596] <... futex resumed>) = 0 [pid 6600] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6599] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6597] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6596] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6600] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6597] <... futex resumed>) = 0 [pid 6600] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6597] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6600] <... ioctl resumed>) = 0 [pid 6599] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6596] <... futex resumed>) = 0 [pid 6600] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6599] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6596] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6600] <... futex resumed>) = 0 [pid 6599] <... ioctl resumed>) = 0 [pid 6596] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6600] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6599] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6596] exit_group(0 [pid 6595] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6600] <... futex resumed>) = ? [pid 6599] <... futex resumed>) = 1 [pid 6597] <... futex resumed>) = 0 [pid 6596] <... exit_group resumed>) = ? [ 174.530578][ T6598] BTRFS info (device loop2): balance: start -d -m [ 174.543434][ T6598] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6595] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6600] +++ exited with 0 +++ [pid 6599] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6597] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6596] +++ exited with 0 +++ [pid 6595] <... futex resumed>) = 0 [pid 6599] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6597] <... futex resumed>) = 0 [pid 6595] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6597] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6595] <... mmap resumed>) = 0x7f4e2652d000 [pid 6599] ioctl(3, 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 6595] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6596, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=25 /* 0.25 s */} --- [pid 6599] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6595] <... mprotect resumed>) = 0 [pid 6599] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6595] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6599] <... futex resumed>) = 1 [pid 6597] <... futex resumed>) = 0 [pid 6595] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6599] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6597] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6595] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6599] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6597] <... futex resumed>) = 0 [pid 6599] open("./file0", O_RDONLY [pid 6597] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6595] <... clone3 resumed> => {parent_tid=[6611]}, 88) = 6611 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6599] <... open resumed>) = 4 [pid 6595] rt_sigprocmask(SIG_SETMASK, [], [pid 6599] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6595] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] <... openat resumed>) = 3 ./strace-static-x86_64: Process 6611 attached [pid 6599] <... futex resumed>) = 1 [pid 6597] <... futex resumed>) = 0 [pid 6595] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6611] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6599] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6597] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6595] <... futex resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6611] <... rseq resumed>) = 0 [pid 6599] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6597] <... futex resumed>) = 0 [pid 6595] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] close(3 [pid 6611] set_robust_list(0x7f4e2654d9a0, 24 [pid 6599] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6597] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] <... close resumed>) = 0 [pid 6611] <... set_robust_list resumed>) = 0 [pid 6599] <... ioctl resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6611] rt_sigprocmask(SIG_SETMASK, [], [pid 6599] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6611] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6599] <... futex resumed>) = 1 [pid 6597] <... futex resumed>) = 0 [pid 6611] open("./file0", O_RDONLY [pid 6599] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6597] exit_group(0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6612 [pid 6611] <... open resumed>) = 4 [pid 6599] <... futex resumed>) = ? [pid 6597] <... exit_group resumed>) = ? [pid 6611] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6599] +++ exited with 0 +++ [ 174.598352][ T6598] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6597] +++ exited with 0 +++ ./strace-static-x86_64: Process 6612 attached [pid 6611] <... futex resumed>) = 1 [pid 6595] <... futex resumed>) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6597, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=29 /* 0.29 s */} --- [pid 6612] set_robust_list(0x5555558636a0, 24 [pid 6611] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6595] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6612] <... set_robust_list resumed>) = 0 [pid 6595] <... futex resumed>) = 0 [pid 6612] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6611] <... ioctl resumed>) = 0 [pid 6608] 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 6595] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6612] <... prctl resumed>) = 0 [pid 6611] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6595] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5026] <... openat resumed>) = 3 [pid 6612] setpgid(0, 0 [pid 6611] <... futex resumed>) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6612] <... setpgid resumed>) = 0 [pid 6611] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6612] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5026] close(3 [pid 6612] <... openat resumed>) = 3 [pid 5026] <... close resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6613 [ 174.641292][ T6598] BTRFS info (device loop2): 2 enospc errors during balance [pid 6612] write(3, "1000", 4) = 4 [pid 6612] close(3) = 0 [pid 6612] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6613 attached ) = 0 [pid 6613] set_robust_list(0x5555558636a0, 24 [pid 6612] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6613] <... set_robust_list resumed>) = 0 [pid 6612] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6612] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6612] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6613] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6612] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6613] setpgid(0, 0 [pid 6612] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6613] <... setpgid resumed>) = 0 [pid 6613] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6612] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6612] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6613] <... openat resumed>) = 3 [pid 6613] write(3, "1000", 4 [pid 6612] <... clone3 resumed> => {parent_tid=[6614]}, 88) = 6614 [pid 6613] <... write resumed>) = 4 [pid 6612] rt_sigprocmask(SIG_SETMASK, [], [pid 6613] close(3 [pid 6612] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6613] <... close resumed>) = 0 [pid 6612] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6613] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6612] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6613] <... futex resumed>) = 0 [pid 6613] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6613] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6613] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6613] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6613] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6613] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6615]}, 88) = 6615 [pid 6613] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6613] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 6615 attached [pid 6613] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6615] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053./strace-static-x86_64: Process 6614 attached ) = 0 [pid 6615] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6614] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6615] <... set_robust_list resumed>) = 0 [pid 6614] <... rseq resumed>) = 0 [pid 6598] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6615] rt_sigprocmask(SIG_SETMASK, [], [pid 6614] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6598] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6615] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6614] <... set_robust_list resumed>) = 0 [pid 6598] <... futex resumed>) = 0 [pid 6595] exit_group(0 [pid 6615] memfd_create("syzkaller", 0 [pid 6614] rt_sigprocmask(SIG_SETMASK, [], [pid 6611] <... futex resumed>) = ? [pid 6595] <... exit_group resumed>) = ? [pid 6615] <... memfd_create resumed>) = 3 [pid 6614] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6611] +++ exited with 0 +++ [pid 6598] +++ exited with 0 +++ [pid 6595] +++ exited with 0 +++ [pid 6615] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6614] memfd_create("syzkaller", 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6595, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=27 /* 0.27 s */} --- [pid 6615] <... mmap resumed>) = 0x7f4e2554e000 [pid 6614] <... memfd_create resumed>) = 3 [ 174.681550][ T6598] BTRFS info (device loop2): balance: ended with status: -28 [pid 6614] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6616 ./strace-static-x86_64: Process 6616 attached [pid 6616] set_robust_list(0x5555558636a0, 24) = 0 [pid 6616] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6616] setpgid(0, 0) = 0 [pid 6616] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6616] write(3, "1000", 4) = 4 [pid 6616] close(3) = 0 [pid 6616] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6616] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6616] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6616] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6616] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6616] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6616] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6617]}, 88) = 6617 [pid 6616] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6616] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6616] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6617 attached [pid 6617] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6617] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6617] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6617] memfd_create("syzkaller", 0) = 3 [pid 6617] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6605] <... write resumed>) = 16777216 [pid 6605] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6605] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6605] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6605] ioctl(4, LOOP_CLR_FD) = 0 [pid 6605] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6605] close(4) = 0 [pid 6605] close(3 [pid 6610] 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 6615] 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 6608] <... write resumed>) = 16777216 [pid 6608] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6608] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6608] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6608] close(3) = 0 [pid 6608] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6608] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6605] <... close resumed>) = 0 [pid 6605] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6605] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6614] 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 6603] <... futex resumed>) = 0 [pid 6603] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6605] <... futex resumed>) = 0 [pid 6603] <... futex resumed>) = 1 [pid 6605] open("./file0", O_RDONLY [pid 6603] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6605] <... open resumed>) = 3 [pid 6605] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6603] <... futex resumed>) = 0 [pid 6605] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6603] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6605] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6603] <... futex resumed>) = 0 [pid 6605] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6603] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6605] <... ioctl resumed>) = 0 [pid 6605] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6603] <... futex resumed>) = 0 [pid 6605] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL) = -1 EAGAIN (Resource temporarily unavailable) [pid 6603] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6605] ioctl(3, 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}} [ 175.096967][ T6608] loop1: detected capacity change from 0 to 32768 [ 175.113171][ T6608] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6608) [pid 6603] <... futex resumed>) = 0 [pid 6608] <... mount resumed>) = -1 EEXIST (File exists) [pid 6603] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6608] ioctl(4, LOOP_CLR_FD [ 175.161523][ T6605] BTRFS info (device loop2): balance: start -d -m [ 175.172988][ T6605] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6617] 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 6603] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6603] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6603] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6603] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6603] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [ 175.218517][ T6605] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6603] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6619]}, 88) = 6619 [pid 6603] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6603] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6610] <... write resumed>) = 16777216 [pid 6603] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6619 attached [pid 6610] munmap(0x7f4e2554e000, 16777216 [pid 6619] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6619] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6619] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6619] open("./file0", O_RDONLY) = 4 [pid 6619] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6603] <... futex resumed>) = 0 [pid 6619] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6603] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6619] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6603] <... futex resumed>) = 0 [pid 6619] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6610] <... munmap resumed>) = 0 [pid 6603] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6610] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6619] <... ioctl resumed>) = 0 [ 175.265382][ T6605] BTRFS info (device loop2): 2 enospc errors during balance [ 175.295808][ T6605] BTRFS info (device loop2): balance: ended with status: -28 [pid 6610] ioctl(4, LOOP_SET_FD, 3 [pid 6619] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6603] <... futex resumed>) = 0 [pid 6619] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6605] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6605] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6603] exit_group(0 [pid 6619] <... futex resumed>) = ? [pid 6605] <... futex resumed>) = ? [pid 6603] <... exit_group resumed>) = ? [pid 6619] +++ exited with 0 +++ [pid 6605] +++ exited with 0 +++ [pid 6603] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6603, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=25 /* 0.25 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6610] <... ioctl resumed>) = 0 [pid 5022] <... ioctl resumed>) = 0 [pid 6610] close(3 [pid 5022] close(3 [pid 6610] <... close resumed>) = 0 [pid 5022] <... close resumed>) = 0 [pid 6610] mkdir("./file0", 0777 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6610] <... mkdir resumed>) = -1 EEXIST (File exists) [ 175.332997][ T6610] loop3: detected capacity change from 0 to 32768 [pid 6610] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6620 ./strace-static-x86_64: Process 6620 attached [pid 6620] set_robust_list(0x5555558636a0, 24) = 0 [pid 6620] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6620] setpgid(0, 0) = 0 [pid 6620] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6620] write(3, "1000", 4) = 4 [pid 6620] close(3) = 0 [pid 6620] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6620] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6620] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6620] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6620] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6620] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6620] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6615] <... write resumed>) = 16777216 [pid 6615] munmap(0x7f4e2554e000, 16777216 [pid 6620] <... clone3 resumed> => {parent_tid=[6621]}, 88) = 6621 [pid 6620] rt_sigprocmask(SIG_SETMASK, [], [pid 6610] <... mount resumed>) = -1 EEXIST (File exists) [pid 6620] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6610] ioctl(4, LOOP_CLR_FD [pid 6620] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6620] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6615] <... munmap resumed>) = 0 [pid 6608] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 6621 attached [pid 6615] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6608] close(4 [pid 6621] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6621] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6621] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6621] memfd_create("syzkaller", 0) = 3 [ 175.374386][ T6610] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6610) [pid 6621] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6615] <... openat resumed>) = 4 [pid 6608] <... close resumed>) = 0 [pid 6615] ioctl(4, LOOP_SET_FD, 3 [pid 6608] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6607] <... futex resumed>) = 0 [pid 6608] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6607] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6608] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6607] <... futex resumed>) = 0 [pid 6608] open("./file0", O_RDONLY [pid 6607] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6608] <... open resumed>) = 3 [pid 6608] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6607] <... futex resumed>) = 0 [pid 6608] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6607] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6608] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6607] <... futex resumed>) = 0 [pid 6608] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6607] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6615] <... ioctl resumed>) = 0 [pid 6608] <... ioctl resumed>) = 0 [pid 6615] close(3 [pid 6608] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6615] <... close resumed>) = 0 [pid 6608] <... futex resumed>) = 1 [pid 6607] <... futex resumed>) = 0 [pid 6615] mkdir("./file0", 0777 [pid 6608] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6607] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6615] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6608] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6607] <... futex resumed>) = 0 [pid 6615] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6608] ioctl(3, 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}} [ 175.443546][ T6615] loop4: detected capacity change from 0 to 32768 [pid 6607] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6614] <... write resumed>) = 16777216 [pid 6615] <... mount resumed>) = -1 EEXIST (File exists) [pid 6607] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6615] ioctl(4, LOOP_CLR_FD [pid 6607] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6607] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6614] munmap(0x7f4e2554e000, 16777216 [ 175.495001][ T6615] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6615) [ 175.506689][ T6608] BTRFS info (device loop2): balance: start -d -m [ 175.513452][ T6608] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6607] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6614] <... munmap resumed>) = 0 [pid 6607] <... mprotect resumed>) = 0 [pid 6607] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6607] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6623]}, 88) = 6623 [pid 6607] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6607] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6607] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6614] openat(AT_FDCWD, "/dev/loop5", O_RDWR./strace-static-x86_64: Process 6623 attached ) = 4 [pid 6623] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6614] ioctl(4, LOOP_SET_FD, 3 [pid 6623] <... rseq resumed>) = 0 [pid 6617] <... write resumed>) = 16777216 [pid 6623] set_robust_list(0x7f4e2654d9a0, 24 [pid 6617] munmap(0x7f4e2554e000, 16777216 [pid 6623] <... set_robust_list resumed>) = 0 [pid 6623] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6623] open("./file0", O_RDONLY) = 4 [pid 6623] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6623] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6607] <... futex resumed>) = 0 [pid 6607] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6623] <... futex resumed>) = 0 [pid 6607] <... futex resumed>) = 1 [pid 6623] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6607] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6623] <... ioctl resumed>) = 0 [pid 6617] <... munmap resumed>) = 0 [pid 6623] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6607] <... futex resumed>) = 0 [pid 6623] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [ 175.554066][ T6608] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 175.574338][ T6614] loop5: detected capacity change from 0 to 32768 [pid 6617] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6614] <... ioctl resumed>) = 0 [pid 6614] close(3) = 0 [pid 6614] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6614] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6617] <... openat resumed>) = 4 [pid 6617] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6617] close(3) = 0 [pid 6617] mkdir("./file0", 0777 [pid 6610] <... ioctl resumed>) = 0 [pid 6617] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6617] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6614] <... mount resumed>) = -1 EEXIST (File exists) [ 175.614398][ T6608] BTRFS info (device loop2): 2 enospc errors during balance [ 175.626674][ T6614] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6614) [ 175.639304][ T6617] loop0: detected capacity change from 0 to 32768 [ 175.656035][ T6608] BTRFS info (device loop2): balance: ended with status: -28 [pid 6614] ioctl(4, LOOP_CLR_FD [pid 6610] close(4) = 0 [pid 6610] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6610] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6609] <... futex resumed>) = 0 [pid 6608] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6609] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6608] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6610] <... futex resumed>) = 0 [pid 6609] <... futex resumed>) = 1 [pid 6608] <... futex resumed>) = 0 [pid 6610] open("./file0", O_RDONLY [pid 6609] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6608] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6607] exit_group(0 [pid 6623] <... futex resumed>) = ? [pid 6610] <... open resumed>) = 3 [pid 6608] <... futex resumed>) = ? [pid 6607] <... exit_group resumed>) = ? [pid 6623] +++ exited with 0 +++ [pid 6617] <... mount resumed>) = -1 EEXIST (File exists) [pid 6610] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6608] +++ exited with 0 +++ [pid 6607] +++ exited with 0 +++ [pid 6617] ioctl(4, LOOP_CLR_FD [pid 6610] <... futex resumed>) = 1 [pid 6609] <... futex resumed>) = 0 [pid 6610] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6609] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6607, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=22 /* 0.22 s */} --- [pid 6610] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6609] <... futex resumed>) = 0 [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 6610] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6609] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] <... restart_syscall resumed>) = 0 [pid 6610] <... ioctl resumed>) = 0 [ 175.676905][ T6617] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6617) [pid 6610] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6609] <... futex resumed>) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6610] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6609] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] <... openat resumed>) = 3 [pid 6610] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6609] <... futex resumed>) = 0 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6610] ioctl(3, 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 6609] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6624 ./strace-static-x86_64: Process 6624 attached [pid 6624] set_robust_list(0x5555558636a0, 24) = 0 [pid 6624] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6624] setpgid(0, 0) = 0 [pid 6624] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6624] write(3, "1000", 4) = 4 [pid 6624] close(3) = 0 [pid 6624] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6624] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6624] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6624] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6624] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6624] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6624] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6625]}, 88) = 6625 ./strace-static-x86_64: Process 6625 attached [pid 6624] rt_sigprocmask(SIG_SETMASK, [], [pid 6609] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6625] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6624] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 175.743180][ T6610] BTRFS info (device loop2): balance: start -d -m [ 175.754690][ T6610] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6609] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6625] <... rseq resumed>) = 0 [pid 6624] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6609] <... futex resumed>) = 0 [pid 6625] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6624] <... futex resumed>) = 0 [pid 6609] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6625] <... set_robust_list resumed>) = 0 [pid 6624] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6625] rt_sigprocmask(SIG_SETMASK, [], [pid 6609] <... mmap resumed>) = 0x7f4e2652d000 [pid 6625] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6615] <... ioctl resumed>) = 0 [pid 6609] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6609] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6609] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6626]}, 88) = 6626 ./strace-static-x86_64: Process 6626 attached [pid 6625] memfd_create("syzkaller", 0 [pid 6609] rt_sigprocmask(SIG_SETMASK, [], [pid 6626] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6625] <... memfd_create resumed>) = 3 [pid 6615] close(4 [pid 6609] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6626] <... rseq resumed>) = 0 [pid 6625] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6615] <... close resumed>) = 0 [pid 6626] set_robust_list(0x7f4e2654d9a0, 24 [pid 6609] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6626] <... set_robust_list resumed>) = 0 [pid 6625] <... mmap resumed>) = 0x7f4e2554e000 [pid 6615] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6609] <... futex resumed>) = 0 [pid 6626] rt_sigprocmask(SIG_SETMASK, [], [pid 6615] <... futex resumed>) = 1 [pid 6613] <... futex resumed>) = 0 [ 175.823227][ T6610] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6609] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6626] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6615] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6613] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6626] open("./file0", O_RDONLY [pid 6615] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6613] <... futex resumed>) = 0 [pid 6626] <... open resumed>) = 4 [pid 6621] 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 6615] open("./file0", O_RDONLY [pid 6613] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6626] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6615] <... open resumed>) = 3 [pid 6626] <... futex resumed>) = 1 [pid 6615] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6609] <... futex resumed>) = 0 [pid 6626] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6615] <... futex resumed>) = 1 [pid 6613] <... futex resumed>) = 0 [pid 6609] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6626] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6615] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6613] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6609] <... futex resumed>) = 0 [pid 6626] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6615] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6613] <... futex resumed>) = 0 [pid 6609] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6617] <... ioctl resumed>) = 0 [pid 6615] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6613] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6615] <... ioctl resumed>) = 0 [pid 6615] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6626] <... ioctl resumed>) = 0 [pid 6615] <... futex resumed>) = 1 [pid 6613] <... futex resumed>) = 0 [pid 6626] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6615] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6613] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6626] <... futex resumed>) = 1 [pid 6615] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6613] <... futex resumed>) = 0 [pid 6609] <... futex resumed>) = 0 [pid 6626] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6617] close(4 [pid 6615] ioctl(3, 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 6613] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6617] <... close resumed>) = 0 [pid 6617] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6616] <... futex resumed>) = 0 [pid 6617] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6616] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6617] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6616] <... futex resumed>) = 0 [pid 6617] open("./file0", O_RDONLY [pid 6616] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6617] <... open resumed>) = 3 [pid 6617] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6616] <... futex resumed>) = 0 [pid 6617] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 175.869475][ T6610] BTRFS info (device loop2): 2 enospc errors during balance [ 175.906559][ T6610] BTRFS info (device loop2): balance: ended with status: -28 [pid 6616] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6617] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6616] <... futex resumed>) = 0 [pid 6614] <... ioctl resumed>) = 0 [pid 6617] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6616] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6617] <... ioctl resumed>) = 0 [pid 6617] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6616] <... futex resumed>) = 0 [pid 6617] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6616] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6617] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6616] <... futex resumed>) = 0 [pid 6617] ioctl(3, 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 6616] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6617] <... 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}}) = 8 [pid 6615] <... 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}}) = 8 [pid 6610] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6617] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6615] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6613] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6610] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6617] <... futex resumed>) = 1 [pid 6616] <... futex resumed>) = 0 [pid 6615] <... futex resumed>) = 0 [pid 6613] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6610] <... futex resumed>) = 0 [pid 6609] exit_group(0 [pid 6626] <... futex resumed>) = ? [pid 6617] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6616] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6615] open("./file0", O_RDONLY [pid 6613] <... futex resumed>) = 0 [pid 6609] <... exit_group resumed>) = ? [pid 6626] +++ exited with 0 +++ [pid 6617] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6616] <... futex resumed>) = 0 [pid 6615] <... open resumed>) = 4 [pid 6613] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6610] +++ exited with 0 +++ [pid 6617] open("./file0", O_RDONLY [pid 6616] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6615] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6609] +++ exited with 0 +++ [pid 6617] <... open resumed>) = 4 [pid 6615] <... futex resumed>) = 1 [pid 6613] <... futex resumed>) = 0 [pid 6617] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6615] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6614] close(4 [pid 6613] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6609, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=36 /* 0.36 s */} --- [pid 6617] <... futex resumed>) = 1 [pid 6616] <... futex resumed>) = 0 [pid 6613] <... futex resumed>) = 0 [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 6617] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6616] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6613] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] <... restart_syscall resumed>) = 0 [pid 6616] <... futex resumed>) = 0 [pid 6616] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6617] <... ioctl resumed>) = 0 [pid 6615] <... ioctl resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6627 ./strace-static-x86_64: Process 6627 attached [pid 6627] set_robust_list(0x5555558636a0, 24) = 0 [pid 6627] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6627] setpgid(0, 0) = 0 [pid 6617] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6627] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6627] write(3, "1000", 4 [pid 6617] <... futex resumed>) = 1 [pid 6616] <... futex resumed>) = 0 [pid 6615] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6614] <... close resumed>) = 0 [pid 6625] 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 6627] <... write resumed>) = 4 [pid 6617] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6616] exit_group(0 [pid 6615] <... futex resumed>) = 1 [pid 6613] <... futex resumed>) = 0 [pid 6627] close(3 [pid 6615] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6613] exit_group(0 [pid 6627] <... close resumed>) = 0 [pid 6615] <... futex resumed>) = ? [pid 6613] <... exit_group resumed>) = ? [pid 6627] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6615] +++ exited with 0 +++ [pid 6614] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6613] +++ exited with 0 +++ [pid 6627] <... futex resumed>) = 0 [pid 6617] <... futex resumed>) = ? [pid 6616] <... exit_group resumed>) = ? [pid 6614] <... futex resumed>) = 1 [pid 6612] <... futex resumed>) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6613, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- [pid 6627] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6617] +++ exited with 0 +++ [pid 6627] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6627] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6616] +++ exited with 0 +++ [pid 6614] open("./file0", O_RDONLY [pid 6612] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6627] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6614] <... open resumed>) = 3 [pid 6612] <... futex resumed>) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6616, si_uid=0, si_status=0, si_utime=0, si_stime=32 /* 0.32 s */} --- [pid 6627] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6614] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6612] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6627] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6614] <... futex resumed>) = 0 [pid 6612] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6627] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6614] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6612] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6627] <... mprotect resumed>) = 0 [pid 6614] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6612] <... futex resumed>) = 0 [pid 5026] <... openat resumed>) = 3 [pid 5020] <... openat resumed>) = 3 [pid 6627] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6614] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6612] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6627] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6614] <... ioctl resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6627] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6614] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] close(3 [pid 5020] close(3 [pid 6614] <... futex resumed>) = 1 [pid 6612] <... futex resumed>) = 0 [pid 5026] <... close resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 6627] <... clone3 resumed> => {parent_tid=[6628]}, 88) = 6628 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6627] rt_sigprocmask(SIG_SETMASK, [], [pid 6614] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6612] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6627] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6614] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6612] <... futex resumed>) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6629 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6630 [pid 6627] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6614] ioctl(3, 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 6612] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6627] <... futex resumed>) = 0 [pid 6627] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6629 attached ./strace-static-x86_64: Process 6628 attached [pid 6629] set_robust_list(0x5555558636a0, 24 [pid 6628] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6629] <... set_robust_list resumed>) = 0 [pid 6628] <... rseq resumed>) = 0 [pid 6629] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6628] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6629] <... prctl resumed>) = 0 [pid 6628] <... set_robust_list resumed>) = 0 [pid 6629] setpgid(0, 0 [pid 6628] rt_sigprocmask(SIG_SETMASK, [], [pid 6629] <... setpgid resumed>) = 0 [pid 6628] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6629] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6628] memfd_create("syzkaller", 0./strace-static-x86_64: Process 6630 attached [pid 6629] <... openat resumed>) = 3 [pid 6628] <... memfd_create resumed>) = 3 [pid 6629] write(3, "1000", 4 [pid 6628] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6629] <... write resumed>) = 4 [pid 6628] <... mmap resumed>) = 0x7f4e2554e000 [pid 6630] set_robust_list(0x5555558636a0, 24 [pid 6629] close(3) = 0 [pid 6629] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6630] <... set_robust_list resumed>) = 0 [pid 6629] <... futex resumed>) = 0 [pid 6629] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6629] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6629] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6630] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6629] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6630] <... prctl resumed>) = 0 [pid 6629] <... mprotect resumed>) = 0 [pid 6630] setpgid(0, 0 [pid 6629] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6630] <... setpgid resumed>) = 0 [pid 6629] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6630] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6629] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6630] <... openat resumed>) = 3 [pid 6630] write(3, "1000", 4 [pid 6629] <... clone3 resumed> => {parent_tid=[6631]}, 88) = 6631 [pid 6630] <... write resumed>) = 4 [pid 6629] rt_sigprocmask(SIG_SETMASK, [], [pid 6630] close(3 [pid 6629] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6630] <... close resumed>) = 0 [pid 6629] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [ 176.062507][ T6614] BTRFS info (device loop2): balance: start -d -m [ 176.076476][ T6614] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6630] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6629] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6631 attached [pid 6630] <... futex resumed>) = 0 [pid 6629] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6612] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6631] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6631] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6631] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6631] memfd_create("syzkaller", 0) = 3 [pid 6631] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6630] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6612] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6630] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6612] <... futex resumed>) = 0 [pid 6630] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6612] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6630] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6612] <... mmap resumed>) = 0x7f4e2652d000 [pid 6630] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6612] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6630] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6612] <... mprotect resumed>) = 0 [pid 6630] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6612] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6630] <... mprotect resumed>) = 0 [pid 6612] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6630] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6612] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6630] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6630] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6612] <... clone3 resumed> => {parent_tid=[6632]}, 88) = 6632 [pid 6612] rt_sigprocmask(SIG_SETMASK, [], [pid 6630] <... clone3 resumed> => {parent_tid=[6633]}, 88) = 6633 [pid 6612] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6630] rt_sigprocmask(SIG_SETMASK, [], [pid 6612] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6630] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6612] <... futex resumed>) = 0 [ 176.104021][ T6614] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata ./strace-static-x86_64: Process 6632 attached [pid 6632] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6632] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6632] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6632] open("./file0", O_RDONLY) = 4 [pid 6632] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 6633 attached [pid 6632] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6630] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6612] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6633] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6630] <... futex resumed>) = 0 [pid 6612] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6633] <... rseq resumed>) = 0 [pid 6630] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6612] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6633] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6632] <... futex resumed>) = 0 [pid 6612] <... futex resumed>) = 1 [pid 6633] <... set_robust_list resumed>) = 0 [pid 6632] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6612] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6633] rt_sigprocmask(SIG_SETMASK, [], [pid 6632] <... ioctl resumed>) = 0 [pid 6632] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6632] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6633] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6612] <... futex resumed>) = 0 [pid 6633] memfd_create("syzkaller", 0) = 3 [pid 6633] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6614] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6614] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6612] exit_group(0 [pid 6632] <... futex resumed>) = ? [pid 6612] <... exit_group resumed>) = ? [pid 6632] +++ exited with 0 +++ [pid 6614] +++ exited with 0 +++ [pid 6612] +++ exited with 0 +++ [ 176.156049][ T6614] BTRFS info (device loop2): 2 enospc errors during balance [ 176.180599][ T6614] BTRFS info (device loop2): balance: ended with status: -28 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6612, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=36 /* 0.36 s */} --- [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5027] close(3) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6634 ./strace-static-x86_64: Process 6634 attached [pid 6634] set_robust_list(0x5555558636a0, 24) = 0 [pid 6634] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6634] setpgid(0, 0) = 0 [pid 6634] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6634] write(3, "1000", 4) = 4 [pid 6634] close(3) = 0 [pid 6634] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6634] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6634] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6634] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6634] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6634] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6634] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6635]}, 88) = 6635 [pid 6634] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6634] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6634] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6635 attached [pid 6635] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6635] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6635] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6635] memfd_create("syzkaller", 0) = 3 [pid 6635] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6621] <... write resumed>) = 16777216 [pid 6621] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6621] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6621] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6621] ioctl(4, LOOP_CLR_FD) = 0 [pid 6621] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6621] close(4) = 0 [pid 6621] close(3 [pid 6625] <... write resumed>) = 16777216 [pid 6628] 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 6625] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6625] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6625] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6633] 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 6631] 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 6625] close(3) = 0 [pid 6625] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 176.488211][ T6625] loop1: detected capacity change from 0 to 32768 [pid 6625] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [pid 6625] ioctl(4, LOOP_CLR_FD [pid 6621] <... close resumed>) = 0 [pid 6621] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6620] <... futex resumed>) = 0 [pid 6621] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6620] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6621] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6620] <... futex resumed>) = 0 [pid 6621] open("./file0", O_RDONLY [pid 6620] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6621] <... open resumed>) = 3 [pid 6621] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6620] <... futex resumed>) = 0 [pid 6621] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6620] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6621] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6620] <... futex resumed>) = 0 [pid 6621] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6620] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6621] <... ioctl resumed>) = 0 [ 176.528974][ T6625] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6625) [pid 6621] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6620] <... futex resumed>) = 0 [pid 6621] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6620] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6621] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6620] <... futex resumed>) = 0 [pid 6621] ioctl(3, 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 6620] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6620] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6620] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [ 176.596458][ T6621] BTRFS info (device loop2): balance: start -d -m [ 176.603291][ T6621] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6620] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6620] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6620] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6637]}, 88) = 6637 [pid 6620] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6637 attached NULL, 8) = 0 [pid 6620] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6637] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6620] <... futex resumed>) = 0 [pid 6637] <... rseq resumed>) = 0 [pid 6620] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6637] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6637] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6637] open("./file0", O_RDONLY) = 4 [pid 6637] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6620] <... futex resumed>) = 0 [pid 6637] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6620] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6637] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6620] <... futex resumed>) = 0 [pid 6637] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6620] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6637] <... ioctl resumed>) = 0 [pid 6637] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6620] <... futex resumed>) = 0 [ 176.661065][ T6621] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6637] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6635] 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 6621] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6621] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6620] exit_group(0 [pid 6637] <... futex resumed>) = ? [ 176.730665][ T6621] BTRFS info (device loop2): 2 enospc errors during balance [ 176.755930][ T6621] BTRFS info (device loop2): balance: ended with status: -28 [pid 6620] <... exit_group resumed>) = ? [pid 6637] +++ exited with 0 +++ [pid 6621] +++ exited with 0 +++ [pid 6620] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6620, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=20 /* 0.20 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6638 ./strace-static-x86_64: Process 6638 attached [pid 6628] <... write resumed>) = 16777216 [pid 6638] set_robust_list(0x5555558636a0, 24) = 0 [pid 6638] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6628] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6638] <... prctl resumed>) = 0 [pid 6633] <... write resumed>) = 16777216 [pid 6638] setpgid(0, 0 [pid 6625] <... ioctl resumed>) = 0 [pid 6638] <... setpgid resumed>) = 0 [pid 6633] munmap(0x7f4e2554e000, 16777216 [pid 6625] close(4 [pid 6638] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6625] <... close resumed>) = 0 [pid 6628] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6638] <... openat resumed>) = 3 [pid 6638] write(3, "1000", 4 [pid 6625] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6638] <... write resumed>) = 4 [pid 6628] <... openat resumed>) = 4 [pid 6625] <... futex resumed>) = 1 [pid 6624] <... futex resumed>) = 0 [pid 6638] close(3 [pid 6628] ioctl(4, LOOP_SET_FD, 3 [pid 6625] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6624] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6638] <... close resumed>) = 0 [pid 6625] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6624] <... futex resumed>) = 0 [pid 6638] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6625] open("./file0", O_RDONLY [pid 6624] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6638] <... futex resumed>) = 0 [pid 6625] <... open resumed>) = 3 [pid 6638] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6633] <... munmap resumed>) = 0 [pid 6625] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6638] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6633] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6625] <... futex resumed>) = 1 [pid 6624] <... futex resumed>) = 0 [pid 6638] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6633] <... openat resumed>) = 4 [pid 6625] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6624] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6638] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6633] ioctl(4, LOOP_SET_FD, 3 [pid 6625] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6624] <... futex resumed>) = 0 [pid 6638] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6625] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6624] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6638] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6633] <... ioctl resumed>) = 0 [pid 6625] <... ioctl resumed>) = 0 [pid 6638] <... mprotect resumed>) = 0 [pid 6633] close(3 [pid 6625] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6638] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6633] <... close resumed>) = 0 [pid 6628] <... ioctl resumed>) = 0 [pid 6625] <... futex resumed>) = 1 [pid 6624] <... futex resumed>) = 0 [pid 6638] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6633] mkdir("./file0", 0777 [pid 6628] close(3 [pid 6625] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6624] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6638] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6633] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6628] <... close resumed>) = 0 [pid 6625] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6624] <... futex resumed>) = 0 [pid 6633] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6628] mkdir("./file0", 0777 [pid 6625] ioctl(3, 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}} [ 176.885505][ T6628] loop3: detected capacity change from 0 to 32768 [ 176.903148][ T6633] loop0: detected capacity change from 0 to 32768 [pid 6624] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6638] <... clone3 resumed> => {parent_tid=[6640]}, 88) = 6640 [pid 6628] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6628] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6631] <... write resumed>) = 16777216 [pid 6631] munmap(0x7f4e2554e000, 16777216 [pid 6638] rt_sigprocmask(SIG_SETMASK, [], [pid 6631] <... munmap resumed>) = 0 [pid 6631] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6638] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6638] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6638] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6631] <... openat resumed>) = 4 [pid 6631] ioctl(4, LOOP_SET_FD, 3./strace-static-x86_64: Process 6640 attached [ 176.929993][ T6633] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6633) [ 176.942947][ T6625] BTRFS info (device loop2): balance: start -d -m [ 176.952484][ T6625] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 176.957376][ T6631] loop4: detected capacity change from 0 to 32768 [ 176.968878][ T6628] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6628) [pid 6640] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6635] <... write resumed>) = 16777216 [pid 6633] <... mount resumed>) = -1 EEXIST (File exists) [pid 6624] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6640] <... rseq resumed>) = 0 [pid 6635] munmap(0x7f4e2554e000, 16777216 [pid 6633] ioctl(4, LOOP_CLR_FD [pid 6624] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6640] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6635] <... munmap resumed>) = 0 [pid 6624] <... futex resumed>) = 0 [pid 6640] rt_sigprocmask(SIG_SETMASK, [], [pid 6635] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6624] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6640] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6635] <... openat resumed>) = 4 [pid 6624] <... mmap resumed>) = 0x7f4e2652d000 [pid 6640] memfd_create("syzkaller", 0 [pid 6635] ioctl(4, LOOP_SET_FD, 3 [pid 6624] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6640] <... memfd_create resumed>) = 3 [pid 6635] <... ioctl resumed>) = 0 [pid 6624] <... mprotect resumed>) = 0 [pid 6640] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6635] close(3 [pid 6624] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6640] <... mmap resumed>) = 0x7f4e2554e000 [pid 6635] <... close resumed>) = 0 [pid 6624] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6628] <... mount resumed>) = -1 EEXIST (File exists) [pid 6628] ioctl(4, LOOP_CLR_FD [pid 6631] <... ioctl resumed>) = 0 [pid 6631] close(3) = 0 [pid 6631] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 176.983311][ T6625] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 177.007899][ T6635] loop5: detected capacity change from 0 to 32768 [ 177.008201][ T6625] BTRFS info (device loop2): 2 enospc errors during balance [pid 6631] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6635] mkdir("./file0", 0777 [pid 6624] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6635] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6635] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6624] <... clone3 resumed> => {parent_tid=[6641]}, 88) = 6641 [pid 6624] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6624] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6624] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6641 attached [pid 6631] <... mount resumed>) = -1 EEXIST (File exists) [pid 6631] ioctl(4, LOOP_CLR_FD [pid 6625] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6625] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6625] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 177.032985][ T6631] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6631) [ 177.047732][ T6625] BTRFS info (device loop2): balance: ended with status: -28 [pid 6641] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6624] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6641] set_robust_list(0x7f4e2654d9a0, 24 [pid 6624] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6641] <... set_robust_list resumed>) = 0 [pid 6625] <... futex resumed>) = 0 [pid 6624] <... futex resumed>) = 1 [pid 6641] rt_sigprocmask(SIG_SETMASK, [], [pid 6624] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6641] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6641] open("./file0", O_RDONLY [pid 6625] ioctl(-1, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6641] <... open resumed>) = 4 [pid 6625] <... ioctl resumed>) = -1 EBADF (Bad file descriptor) [pid 6641] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6625] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6641] <... futex resumed>) = 0 [pid 6625] <... futex resumed>) = 1 [pid 6624] <... futex resumed>) = 0 [pid 6625] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6641] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6624] exit_group(0 [pid 6641] <... futex resumed>) = ? [pid 6625] <... futex resumed>) = ? [pid 6624] <... exit_group resumed>) = ? [pid 6641] +++ exited with 0 +++ [pid 6625] +++ exited with 0 +++ [pid 6624] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6624, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=22 /* 0.22 s */} --- [pid 5021] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 6635] <... mount resumed>) = -1 EEXIST (File exists) [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6635] ioctl(4, LOOP_CLR_FD [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [ 177.079629][ T6635] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6635) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6642 ./strace-static-x86_64: Process 6642 attached [pid 6642] set_robust_list(0x5555558636a0, 24) = 0 [pid 6642] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6642] setpgid(0, 0) = 0 [pid 6642] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6642] write(3, "1000", 4) = 4 [pid 6642] close(3) = 0 [pid 6642] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6642] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6642] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6642] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6642] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6642] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6642] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6643]}, 88) = 6643 [pid 6642] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6642] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6643 attached ) = 0 [pid 6643] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6642] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6643] <... rseq resumed>) = 0 [pid 6643] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6643] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6643] memfd_create("syzkaller", 0) = 3 [pid 6643] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6633] <... ioctl resumed>) = 0 [pid 6633] close(4) = 0 [pid 6628] <... ioctl resumed>) = 0 [pid 6628] close(4) = 0 [pid 6633] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6633] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6630] <... futex resumed>) = 0 [pid 6630] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6628] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6633] <... futex resumed>) = 0 [pid 6630] <... futex resumed>) = 1 [pid 6628] <... futex resumed>) = 1 [pid 6627] <... futex resumed>) = 0 [pid 6628] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6627] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6628] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6627] <... futex resumed>) = 0 [pid 6628] open("./file0", O_RDONLY [pid 6627] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6628] <... open resumed>) = 3 [pid 6633] open("./file0", O_RDONLY [pid 6630] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6628] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6633] <... open resumed>) = 3 [pid 6628] <... futex resumed>) = 1 [pid 6627] <... futex resumed>) = 0 [pid 6633] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6628] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6627] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6633] <... futex resumed>) = 1 [pid 6630] <... futex resumed>) = 0 [pid 6628] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6627] <... futex resumed>) = 0 [pid 6633] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6630] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6628] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6627] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6633] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6630] <... futex resumed>) = 0 [pid 6628] <... ioctl resumed>) = 0 [pid 6633] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6630] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6628] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6633] <... ioctl resumed>) = 0 [pid 6631] <... ioctl resumed>) = 0 [pid 6628] <... futex resumed>) = 1 [pid 6627] <... futex resumed>) = 0 [pid 6633] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6631] close(4 [pid 6628] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6627] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6633] <... futex resumed>) = 1 [pid 6631] <... close resumed>) = 0 [pid 6630] <... futex resumed>) = 0 [pid 6628] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6627] <... futex resumed>) = 0 [pid 6633] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6631] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6630] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6628] ioctl(3, 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 6627] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6633] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6631] <... futex resumed>) = 1 [pid 6630] <... futex resumed>) = 0 [pid 6629] <... futex resumed>) = 0 [pid 6629] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6629] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6633] ioctl(3, 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 6631] open("./file0", O_RDONLY [pid 6630] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6633] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6631] <... open resumed>) = 3 [pid 6633] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6631] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6633] <... futex resumed>) = 1 [pid 6631] <... futex resumed>) = 1 [pid 6630] <... futex resumed>) = 0 [pid 6629] <... futex resumed>) = 0 [pid 6633] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6631] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6630] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6629] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6633] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6631] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6630] <... futex resumed>) = 0 [pid 6629] <... futex resumed>) = 0 [pid 6633] open("./file0", O_RDONLY [pid 6631] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6630] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6629] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6633] <... open resumed>) = 4 [pid 6631] <... ioctl resumed>) = 0 [pid 6635] <... ioctl resumed>) = 0 [pid 6633] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6631] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6635] close(4 [pid 6633] <... futex resumed>) = 1 [pid 6631] <... futex resumed>) = 1 [pid 6630] <... futex resumed>) = 0 [pid 6629] <... futex resumed>) = 0 [pid 6629] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6629] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6633] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6631] ioctl(3, 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 6635] <... close resumed>) = 0 [pid 6633] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6630] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6635] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6633] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6631] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6630] <... futex resumed>) = 0 [pid 6635] <... futex resumed>) = 1 [pid 6634] <... futex resumed>) = 0 [pid 6631] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6630] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6634] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6631] <... futex resumed>) = 1 [pid 6629] <... futex resumed>) = 0 [pid 6627] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6635] open("./file0", O_RDONLY [pid 6634] <... futex resumed>) = 0 [pid 6633] <... ioctl resumed>) = 0 [pid 6631] open("./file0", O_RDONLY [pid 6629] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6627] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6635] <... open resumed>) = 3 [pid 6634] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6633] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6631] <... open resumed>) = 4 [pid 6629] <... futex resumed>) = 0 [pid 6627] <... futex resumed>) = 0 [pid 6631] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6629] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 177.334112][ T6628] BTRFS info (device loop2): balance: start -d -m [ 177.344869][ T6628] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6627] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6629] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6635] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6633] <... futex resumed>) = 1 [pid 6631] <... futex resumed>) = 0 [pid 6630] <... futex resumed>) = 0 [pid 6627] <... mmap resumed>) = 0x7f4e2652d000 [pid 6640] 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 6635] <... futex resumed>) = 1 [pid 6634] <... futex resumed>) = 0 [pid 6633] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6631] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6630] exit_group(0 [pid 6629] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6627] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6635] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6634] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6633] <... futex resumed>) = ? [pid 6630] <... exit_group resumed>) = ? [pid 6629] <... futex resumed>) = 0 [pid 6627] <... mprotect resumed>) = 0 [pid 6635] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6634] <... futex resumed>) = 0 [pid 6633] +++ exited with 0 +++ [pid 6631] <... ioctl resumed>) = 0 [pid 6630] +++ exited with 0 +++ [pid 6629] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6627] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6635] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6634] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6631] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6629] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6627] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6630, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- [pid 6635] <... ioctl resumed>) = 0 [pid 6631] <... futex resumed>) = 0 [pid 6629] exit_group(0 [pid 6627] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0}./strace-static-x86_64: Process 6644 attached [pid 6635] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6629] <... exit_group resumed>) = ? [pid 6644] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6635] <... futex resumed>) = 1 [pid 6634] <... futex resumed>) = 0 [pid 6631] +++ exited with 0 +++ [pid 6629] +++ exited with 0 +++ [pid 6627] <... clone3 resumed> => {parent_tid=[6644]}, 88) = 6644 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6644] <... rseq resumed>) = 0 [pid 6635] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6634] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6627] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6629, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=23 /* 0.23 s */} --- [pid 5020] <... openat resumed>) = 3 [pid 6644] set_robust_list(0x7f4e2654d9a0, 24 [pid 6635] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6634] <... futex resumed>) = 0 [pid 6627] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6644] <... set_robust_list resumed>) = 0 [pid 6635] ioctl(3, 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 6634] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6627] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... restart_syscall resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6644] rt_sigprocmask(SIG_SETMASK, [], [pid 6635] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6627] <... futex resumed>) = 0 [pid 5020] close(3 [pid 6644] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6635] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6627] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] <... close resumed>) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5026] <... openat resumed>) = 3 [pid 6644] open("./file0", O_RDONLY [pid 6635] <... futex resumed>) = 1 [pid 6634] <... futex resumed>) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6645 [pid 6644] <... open resumed>) = 4 [pid 6635] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6634] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6644] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6635] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6634] <... futex resumed>) = 0 [pid 5026] close(3) = 0 [pid 6644] <... futex resumed>) = 1 [pid 6635] open("./file0", O_RDONLY [pid 6634] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6644] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6627] <... futex resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6645 attached [pid 6644] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6635] <... open resumed>) = 4 [ 177.392578][ T6628] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6627] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6645] set_robust_list(0x5555558636a0, 24 [pid 6644] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6635] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6627] <... futex resumed>) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6646 [pid 6645] <... set_robust_list resumed>) = 0 [pid 6635] <... futex resumed>) = 1 [pid 6634] <... futex resumed>) = 0 [pid 6627] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6645] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6635] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6634] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6646 attached [pid 6645] <... prctl resumed>) = 0 [pid 6634] <... futex resumed>) = 0 [pid 6646] set_robust_list(0x5555558636a0, 24 [pid 6645] setpgid(0, 0 [pid 6634] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6646] <... set_robust_list resumed>) = 0 [pid 6645] <... setpgid resumed>) = 0 [pid 6644] <... ioctl resumed>) = 0 [pid 6635] <... ioctl resumed>) = 0 [pid 6646] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6645] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6644] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6635] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6646] <... prctl resumed>) = 0 [pid 6645] <... openat resumed>) = 3 [pid 6644] <... futex resumed>) = 1 [pid 6635] <... futex resumed>) = 1 [pid 6634] <... futex resumed>) = 0 [pid 6627] <... futex resumed>) = 0 [pid 6646] setpgid(0, 0 [pid 6645] write(3, "1000", 4 [pid 6644] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6635] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6634] exit_group(0 [pid 6646] <... setpgid resumed>) = 0 [pid 6645] <... write resumed>) = 4 [pid 6635] <... futex resumed>) = ? [pid 6634] <... exit_group resumed>) = ? [pid 6646] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6645] close(3 [pid 6635] +++ exited with 0 +++ [pid 6646] <... openat resumed>) = 3 [pid 6645] <... close resumed>) = 0 [pid 6634] +++ exited with 0 +++ [pid 6643] 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 6646] write(3, "1000", 4 [pid 6645] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6634, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=27 /* 0.27 s */} --- [pid 6646] <... write resumed>) = 4 [pid 6645] <... futex resumed>) = 0 [pid 6646] close(3 [pid 6645] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6646] <... close resumed>) = 0 [pid 6645] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6646] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6645] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6646] <... futex resumed>) = 0 [pid 6645] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6646] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6645] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6646] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6645] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6646] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6645] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5027] <... openat resumed>) = 3 [pid 6646] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6645] <... mprotect resumed>) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6646] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6645] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6646] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6645] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5027] close(3 [pid 6646] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6645] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5027] <... close resumed>) = 0 [pid 6646] <... mprotect resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6646] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6645] <... clone3 resumed> => {parent_tid=[6647]}, 88) = 6647 [pid 6646] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6645] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6648 [pid 6646] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6645] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6645] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6648 attached [pid 6646] <... clone3 resumed> => {parent_tid=[6649]}, 88) = 6649 [pid 6645] <... futex resumed>) = 0 [pid 6628] <... ioctl resumed>) = -1 ENOSPC (No space left on device) ./strace-static-x86_64: Process 6647 attached [pid 6648] set_robust_list(0x5555558636a0, 24 [pid 6646] rt_sigprocmask(SIG_SETMASK, [], [pid 6645] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6628] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6648] <... set_robust_list resumed>) = 0 [pid 6647] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6646] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6628] <... futex resumed>) = 0 [pid 6627] exit_group(0./strace-static-x86_64: Process 6649 attached [pid 6648] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6647] <... rseq resumed>) = 0 [pid 6646] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6644] <... futex resumed>) = ? [pid 6627] <... exit_group resumed>) = ? [pid 6649] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6648] <... prctl resumed>) = 0 [pid 6647] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6646] <... futex resumed>) = 0 [pid 6644] +++ exited with 0 +++ [pid 6649] <... rseq resumed>) = 0 [pid 6647] <... set_robust_list resumed>) = 0 [pid 6646] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6628] +++ exited with 0 +++ [pid 6648] setpgid(0, 0 [pid 6627] +++ exited with 0 +++ [pid 6649] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6648] <... setpgid resumed>) = 0 [pid 6647] rt_sigprocmask(SIG_SETMASK, [], [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6627, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=31 /* 0.31 s */} --- [pid 6649] <... set_robust_list resumed>) = 0 [pid 6648] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6647] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6649] rt_sigprocmask(SIG_SETMASK, [], [pid 6648] <... openat resumed>) = 3 [pid 6647] memfd_create("syzkaller", 0 [pid 6649] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6648] write(3, "1000", 4 [pid 6647] <... memfd_create resumed>) = 3 [pid 6649] memfd_create("syzkaller", 0 [pid 6648] <... write resumed>) = 4 [pid 6647] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6649] <... memfd_create resumed>) = 3 [ 177.460726][ T6628] BTRFS info (device loop2): 2 enospc errors during balance [ 177.486452][ T6628] BTRFS info (device loop2): balance: ended with status: -28 [pid 6648] close(3 [pid 6647] <... mmap resumed>) = 0x7f4e2554e000 [pid 6649] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6648] <... close resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6649] <... mmap resumed>) = 0x7f4e2554e000 [pid 6648] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... openat resumed>) = 3 [pid 6648] <... futex resumed>) = 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6648] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6648] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5025] close(3 [pid 6648] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5025] <... close resumed>) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6650 [pid 6648] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6648] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6648] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6648] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6648] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0}./strace-static-x86_64: Process 6650 attached [pid 6650] set_robust_list(0x5555558636a0, 24 [pid 6648] <... clone3 resumed> => {parent_tid=[6651]}, 88) = 6651 [pid 6650] <... set_robust_list resumed>) = 0 [pid 6648] rt_sigprocmask(SIG_SETMASK, [], [pid 6650] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6648] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6650] <... prctl resumed>) = 0 [pid 6648] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6650] setpgid(0, 0 [pid 6648] <... futex resumed>) = 0 [pid 6650] <... setpgid resumed>) = 0 [pid 6648] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6651 attached [pid 6650] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6651] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6650] <... openat resumed>) = 3 [pid 6651] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6650] write(3, "1000", 4 [pid 6651] <... set_robust_list resumed>) = 0 [pid 6650] <... write resumed>) = 4 [pid 6651] rt_sigprocmask(SIG_SETMASK, [], [pid 6650] close(3 [pid 6651] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6650] <... close resumed>) = 0 [pid 6651] memfd_create("syzkaller", 0 [pid 6650] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6651] <... memfd_create resumed>) = 3 [pid 6650] <... futex resumed>) = 0 [pid 6651] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6650] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6651] <... mmap resumed>) = 0x7f4e2554e000 [pid 6650] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6650] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6650] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6650] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6650] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6650] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6652]}, 88) = 6652 [pid 6650] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ./strace-static-x86_64: Process 6652 attached [pid 6650] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6652] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6650] <... futex resumed>) = 0 [pid 6650] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6652] <... rseq resumed>) = 0 [pid 6652] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6652] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6652] memfd_create("syzkaller", 0) = 3 [pid 6652] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6643] <... write resumed>) = 16777216 [pid 6643] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6643] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6643] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6643] close(3) = 0 [pid 6643] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 177.768474][ T6643] loop1: detected capacity change from 0 to 32768 [pid 6643] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6640] <... write resumed>) = 16777216 [pid 6643] <... mount resumed>) = -1 EEXIST (File exists) [pid 6640] munmap(0x7f4e2554e000, 16777216 [pid 6647] 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 6643] ioctl(4, LOOP_CLR_FD [pid 6640] <... munmap resumed>) = 0 [pid 6640] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6649] 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 6640] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6640] ioctl(4, LOOP_CLR_FD) = 0 [ 177.817398][ T6643] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6643) [pid 6640] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6640] close(4) = 0 [pid 6640] close(3 [pid 6651] 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 6652] 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 6643] <... ioctl resumed>) = 0 [pid 6643] close(4) = 0 [pid 6640] <... close resumed>) = 0 [pid 6643] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6642] <... futex resumed>) = 0 [pid 6640] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6643] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6642] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6640] <... futex resumed>) = 1 [pid 6638] <... futex resumed>) = 0 [pid 6643] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6642] <... futex resumed>) = 0 [pid 6640] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6638] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6643] open("./file0", O_RDONLY [pid 6642] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6640] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6638] <... futex resumed>) = 0 [pid 6643] <... open resumed>) = 3 [pid 6640] open("./file0", O_RDONLY [pid 6638] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6643] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6640] <... open resumed>) = 3 [pid 6643] <... futex resumed>) = 1 [pid 6642] <... futex resumed>) = 0 [pid 6640] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6643] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6642] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6640] <... futex resumed>) = 1 [pid 6638] <... futex resumed>) = 0 [pid 6643] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6642] <... futex resumed>) = 0 [pid 6640] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6638] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6643] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6642] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6640] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6638] <... futex resumed>) = 0 [pid 6643] <... ioctl resumed>) = 0 [pid 6640] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6638] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6643] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6640] <... ioctl resumed>) = 0 [pid 6643] <... futex resumed>) = 1 [pid 6642] <... futex resumed>) = 0 [pid 6640] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6643] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6642] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6640] <... futex resumed>) = 1 [pid 6638] <... futex resumed>) = 0 [pid 6643] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6642] <... futex resumed>) = 0 [pid 6640] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6638] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6643] ioctl(3, 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 6642] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6640] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6638] <... futex resumed>) = 0 [pid 6640] ioctl(3, 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}}) = -1 EINPROGRESS (Operation now in progress) [pid 6638] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6640] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6640] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6638] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6638] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6640] <... futex resumed>) = 0 [pid 6638] <... futex resumed>) = 1 [pid 6640] open("./file0", O_RDONLY [pid 6638] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6640] <... open resumed>) = 4 [pid 6640] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6638] <... futex resumed>) = 0 [pid 6640] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6638] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6640] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6638] <... futex resumed>) = 0 [pid 6640] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6638] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6640] <... ioctl resumed>) = 0 [pid 6640] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6638] <... futex resumed>) = 0 [pid 6640] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6638] exit_group(0 [pid 6640] <... futex resumed>) = ? [pid 6638] <... exit_group resumed>) = ? [pid 6640] +++ exited with 0 +++ [pid 6638] +++ exited with 0 +++ [pid 6642] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6638, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=30 /* 0.30 s */} --- [ 178.148672][ T6643] BTRFS info (device loop2): balance: start -d -m [ 178.155488][ T6643] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6642] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6654 ./strace-static-x86_64: Process 6654 attached [pid 6654] set_robust_list(0x5555558636a0, 24 [pid 6642] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6642] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6654] <... set_robust_list resumed>) = 0 [pid 6642] <... mprotect resumed>) = 0 [pid 6654] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6642] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6654] <... prctl resumed>) = 0 [pid 6654] setpgid(0, 0 [pid 6642] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6654] <... setpgid resumed>) = 0 [pid 6642] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6654] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6642] <... clone3 resumed> => {parent_tid=[6655]}, 88) = 6655 [pid 6654] write(3, "1000", 4 [pid 6642] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6655 attached [pid 6654] <... write resumed>) = 4 [pid 6647] <... write resumed>) = 16777216 [pid 6642] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6655] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6654] close(3 [pid 6642] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6654] <... close resumed>) = 0 [pid 6655] <... rseq resumed>) = 0 [pid 6654] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6642] <... futex resumed>) = 0 [ 178.212913][ T6643] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6654] <... futex resumed>) = 0 [pid 6654] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6654] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6654] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6654] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6654] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6654] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6656]}, 88) = 6656 [pid 6642] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6655] set_robust_list(0x7f4e2654d9a0, 24 [pid 6654] rt_sigprocmask(SIG_SETMASK, [], [pid 6647] munmap(0x7f4e2554e000, 16777216 [pid 6655] <... set_robust_list resumed>) = 0 [pid 6654] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6655] rt_sigprocmask(SIG_SETMASK, [], [pid 6654] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6656 attached [pid 6655] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6654] <... futex resumed>) = 0 [pid 6656] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6655] open("./file0", O_RDONLY [pid 6654] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6656] <... rseq resumed>) = 0 [pid 6655] <... open resumed>) = 4 [pid 6656] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6655] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6656] <... set_robust_list resumed>) = 0 [pid 6655] <... futex resumed>) = 1 [pid 6642] <... futex resumed>) = 0 [pid 6656] rt_sigprocmask(SIG_SETMASK, [], [pid 6655] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6642] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6647] <... munmap resumed>) = 0 [pid 6656] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6656] memfd_create("syzkaller", 0) = 3 [pid 6656] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6655] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6642] <... futex resumed>) = 0 [pid 6655] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6647] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6642] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6647] <... openat resumed>) = 4 [pid 6655] <... ioctl resumed>) = 0 [pid 6647] ioctl(4, LOOP_SET_FD, 3 [pid 6655] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6655] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6642] <... futex resumed>) = 0 [pid 6649] <... write resumed>) = 16777216 [pid 6649] munmap(0x7f4e2554e000, 16777216 [pid 6651] <... write resumed>) = 16777216 [pid 6649] <... munmap resumed>) = 0 [pid 6647] <... ioctl resumed>) = 0 [pid 6651] munmap(0x7f4e2554e000, 16777216 [pid 6647] close(3 [pid 6643] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6649] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6647] <... close resumed>) = 0 [pid 6643] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6647] mkdir("./file0", 0777 [pid 6643] <... futex resumed>) = 0 [pid 6647] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6643] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6642] exit_group(0 [pid 6655] <... futex resumed>) = ? [pid 6651] <... munmap resumed>) = 0 [pid 6647] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6643] <... futex resumed>) = ? [pid 6642] <... exit_group resumed>) = ? [pid 6655] +++ exited with 0 +++ [pid 6651] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6643] +++ exited with 0 +++ [pid 6642] +++ exited with 0 +++ [pid 6649] ioctl(4, LOOP_SET_FD, 3 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6642, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=24 /* 0.24 s */} --- [ 178.262534][ T6643] BTRFS info (device loop2): 2 enospc errors during balance [ 178.279674][ T6643] BTRFS info (device loop2): balance: ended with status: -28 [ 178.301154][ T6647] loop0: detected capacity change from 0 to 32768 [pid 6651] <... openat resumed>) = 4 [pid 6651] ioctl(4, LOOP_SET_FD, 3 [pid 6647] <... mount resumed>) = -1 EEXIST (File exists) [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3 [pid 6647] ioctl(4, LOOP_CLR_FD [pid 5021] <... close resumed>) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6657 ./strace-static-x86_64: Process 6657 attached [pid 6657] set_robust_list(0x5555558636a0, 24 [pid 6651] <... ioctl resumed>) = 0 [pid 6657] <... set_robust_list resumed>) = 0 [pid 6657] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6657] setpgid(0, 0 [pid 6651] close(3 [pid 6657] <... setpgid resumed>) = 0 [pid 6651] <... close resumed>) = 0 [pid 6657] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6651] mkdir("./file0", 0777 [pid 6657] <... openat resumed>) = 3 [pid 6651] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6657] write(3, "1000", 4 [pid 6651] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6657] <... write resumed>) = 4 [pid 6657] close(3) = 0 [ 178.334273][ T6647] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6647) [ 178.335474][ T6649] loop4: detected capacity change from 0 to 32768 [ 178.353400][ T6651] loop5: detected capacity change from 0 to 32768 [pid 6657] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6657] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6657] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6657] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6657] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6657] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6657] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6658]}, 88) = 6658 [pid 6657] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6657] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6657] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6658 attached [pid 6652] <... write resumed>) = 16777216 [pid 6658] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6658] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6658] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6651] <... mount resumed>) = -1 EEXIST (File exists) [pid 6658] memfd_create("syzkaller", 0 [pid 6652] munmap(0x7f4e2554e000, 16777216 [pid 6651] ioctl(4, LOOP_CLR_FD [pid 6658] <... memfd_create resumed>) = 3 [pid 6652] <... munmap resumed>) = 0 [pid 6658] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6649] <... ioctl resumed>) = 0 [pid 6649] close(3) = 0 [pid 6649] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6649] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6658] <... mmap resumed>) = 0x7f4e2554e000 [pid 6652] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [ 178.388276][ T6651] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6651) [ 178.422322][ T6649] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6649) [pid 6652] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6652] close(3) = 0 [pid 6652] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6652] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6649] <... mount resumed>) = -1 EEXIST (File exists) [pid 6649] ioctl(4, LOOP_CLR_FD [pid 6652] <... mount resumed>) = -1 EEXIST (File exists) [ 178.436922][ T6652] loop3: detected capacity change from 0 to 32768 [ 178.453625][ T6652] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6652) [pid 6652] ioctl(4, LOOP_CLR_FD [pid 6656] 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 6647] <... ioctl resumed>) = 0 [pid 6647] close(4) = 0 [pid 6647] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6645] <... futex resumed>) = 0 [pid 6647] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6645] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6647] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6645] <... futex resumed>) = 0 [pid 6647] open("./file0", O_RDONLY [pid 6645] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6647] <... open resumed>) = 3 [pid 6647] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6645] <... futex resumed>) = 0 [pid 6647] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6645] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6647] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6645] <... futex resumed>) = 0 [pid 6647] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6645] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6647] <... ioctl resumed>) = 0 [pid 6647] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6645] <... futex resumed>) = 0 [pid 6647] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6645] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6647] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6645] <... futex resumed>) = 0 [pid 6647] ioctl(3, 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 6645] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6651] <... ioctl resumed>) = 0 [pid 6651] close(4) = 0 [pid 6651] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6648] <... futex resumed>) = 0 [pid 6651] open("./file0", O_RDONLY [pid 6648] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6652] <... ioctl resumed>) = 0 [pid 6651] <... open resumed>) = 3 [pid 6648] <... futex resumed>) = 0 [pid 6645] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6652] close(4 [pid 6651] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6648] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6645] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6652] <... close resumed>) = 0 [pid 6651] <... futex resumed>) = 0 [pid 6649] <... ioctl resumed>) = 0 [pid 6648] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6645] <... futex resumed>) = 0 [pid 6652] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6649] close(4 [pid 6652] <... futex resumed>) = 1 [pid 6651] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6650] <... futex resumed>) = 0 [pid 6649] <... close resumed>) = 0 [pid 6648] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6645] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6652] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6651] <... ioctl resumed>) = 0 [pid 6650] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6649] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6648] <... futex resumed>) = 0 [pid 6652] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6651] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6650] <... futex resumed>) = 0 [pid 6649] <... futex resumed>) = 1 [pid 6648] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6646] <... futex resumed>) = 0 [pid 6645] <... mmap resumed>) = 0x7f4e2652d000 [pid 6652] open("./file0", O_RDONLY [pid 6651] <... futex resumed>) = 0 [pid 6650] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6649] open("./file0", O_RDONLY [pid 6648] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6646] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6645] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6652] <... open resumed>) = 3 [pid 6651] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6649] <... open resumed>) = 3 [pid 6648] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6646] <... futex resumed>) = 0 [pid 6645] <... mprotect resumed>) = 0 [pid 6652] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6651] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 178.681280][ T6647] BTRFS info (device loop2): balance: start -d -m [ 178.718052][ T6647] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6649] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6648] <... futex resumed>) = 0 [pid 6646] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6645] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6652] <... futex resumed>) = 1 [pid 6651] ioctl(3, 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 6650] <... futex resumed>) = 0 [pid 6649] <... futex resumed>) = 0 [pid 6648] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6646] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6652] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6651] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6650] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6649] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6646] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6645] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6652] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6651] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6650] <... futex resumed>) = 0 [pid 6649] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6646] <... futex resumed>) = 0 [pid 6652] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6651] <... futex resumed>) = 1 [pid 6650] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6649] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6648] <... futex resumed>) = 0 [pid 6646] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6645] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6652] <... ioctl resumed>) = 0 [pid 6649] <... ioctl resumed>) = 0 [pid 6652] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6649] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6652] <... futex resumed>) = 0 [pid 6649] <... futex resumed>) = 1 [pid 6646] <... futex resumed>) = 0 [pid 6652] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6649] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6646] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6649] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6646] <... futex resumed>) = 0 [pid 6649] ioctl(3, 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 6646] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6649] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6649] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6646] <... futex resumed>) = 0 [pid 6649] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6646] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6649] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6646] <... futex resumed>) = 0 [pid 6651] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6649] open("./file0", O_RDONLY [pid 6648] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6646] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6651] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6650] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6649] <... open resumed>) = 4 [pid 6648] <... futex resumed>) = 0 [pid 6651] open("./file0", O_RDONLY [pid 6650] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6649] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6648] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6645] <... clone3 resumed> => {parent_tid=[6659]}, 88) = 6659 [pid 6652] <... futex resumed>) = 0 [pid 6651] <... open resumed>) = 4 [pid 6650] <... futex resumed>) = 1 [pid 6649] <... futex resumed>) = 1 [pid 6646] <... futex resumed>) = 0 [pid 6645] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6659 attached [pid 6652] ioctl(3, 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 6651] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6650] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6649] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6646] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6645] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6659] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6652] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6651] <... futex resumed>) = 1 [pid 6649] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6648] <... futex resumed>) = 0 [pid 6646] <... futex resumed>) = 0 [pid 6645] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6659] <... rseq resumed>) = 0 [pid 6658] 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 6652] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6651] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6649] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6648] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6646] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6645] <... futex resumed>) = 0 [pid 6659] set_robust_list(0x7f4e2654d9a0, 24 [pid 6652] <... futex resumed>) = 1 [pid 6651] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6650] <... futex resumed>) = 0 [pid 6649] <... ioctl resumed>) = 0 [pid 6648] <... futex resumed>) = 0 [pid 6645] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6659] <... set_robust_list resumed>) = 0 [pid 6652] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6649] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6659] rt_sigprocmask(SIG_SETMASK, [], [pid 6649] <... futex resumed>) = 1 [pid 6646] <... futex resumed>) = 0 [pid 6659] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6649] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6646] exit_group(0 [pid 6659] open("./file0", O_RDONLY [pid 6649] <... futex resumed>) = ? [pid 6646] <... exit_group resumed>) = ? [pid 6659] <... open resumed>) = 4 [pid 6649] +++ exited with 0 +++ [pid 6646] +++ exited with 0 +++ [pid 6659] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6646, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=27 /* 0.27 s */} --- [pid 6651] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6650] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6648] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6645] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6659] <... futex resumed>) = 0 [pid 6652] <... futex resumed>) = 0 [pid 6650] <... futex resumed>) = 1 [ 178.776707][ T6647] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 178.814657][ T6647] BTRFS info (device loop2): 2 enospc errors during balance [pid 6645] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6659] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6652] open("./file0", O_RDONLY [pid 6651] <... ioctl resumed>) = 0 [pid 6650] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6645] <... futex resumed>) = 0 [pid 6659] <... ioctl resumed>) = 0 [pid 6652] <... open resumed>) = 4 [pid 6651] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6659] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6652] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6651] <... futex resumed>) = 1 [pid 5026] <... openat resumed>) = 3 [pid 6659] <... futex resumed>) = 0 [pid 6652] <... futex resumed>) = 0 [pid 6651] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6659] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6652] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6650] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6648] <... futex resumed>) = 0 [pid 6645] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6650] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6648] exit_group(0 [pid 6645] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5026] close(3 [pid 6652] <... futex resumed>) = 0 [pid 6651] <... futex resumed>) = ? [pid 6650] <... futex resumed>) = 1 [pid 6648] <... exit_group resumed>) = ? [pid 5026] <... close resumed>) = 0 [pid 6652] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6651] +++ exited with 0 +++ [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6652] <... ioctl resumed>) = 0 [pid 6652] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6660 [pid 6652] <... futex resumed>) = 0 [pid 6652] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6650] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 EAGAIN (Resource temporarily unavailable) [pid 6648] +++ exited with 0 +++ [pid 6650] exit_group(0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6648, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=26 /* 0.26 s */} --- [pid 6652] <... futex resumed>) = ? [pid 6650] <... exit_group resumed>) = ? [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 6652] +++ exited with 0 +++ [pid 5027] <... restart_syscall resumed>) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6650] +++ exited with 0 +++ [pid 5027] <... openat resumed>) = 3 ./strace-static-x86_64: Process 6660 attached [pid 6647] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6660] set_robust_list(0x5555558636a0, 24 [pid 6647] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6660] <... set_robust_list resumed>) = 0 [pid 6647] <... futex resumed>) = 0 [pid 5027] close(3 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6650, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=20 /* 0.20 s */} --- [pid 6660] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6647] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6645] exit_group(0 [pid 5027] <... close resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6661 [pid 6659] <... futex resumed>) = ? [pid 6660] <... prctl resumed>) = 0 [pid 6647] <... futex resumed>) = ? [pid 6645] <... exit_group resumed>) = ? [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6660] setpgid(0, 0 [pid 6659] +++ exited with 0 +++ [pid 6647] +++ exited with 0 +++ ./strace-static-x86_64: Process 6661 attached [pid 6645] +++ exited with 0 +++ [pid 6660] <... setpgid resumed>) = 0 [pid 5025] <... openat resumed>) = 3 [pid 6660] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6661] set_robust_list(0x5555558636a0, 24 [pid 6660] <... openat resumed>) = 3 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6645, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=27 /* 0.27 s */} --- [pid 6661] <... set_robust_list resumed>) = 0 [pid 6660] write(3, "1000", 4 [pid 5025] close(3 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6661] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6660] <... write resumed>) = 4 [pid 5025] <... close resumed>) = 0 [pid 5020] <... openat resumed>) = 3 [pid 6661] <... prctl resumed>) = 0 [pid 6660] close(3 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6661] setpgid(0, 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [ 178.826177][ T6647] BTRFS info (device loop2): balance: ended with status: -28 [pid 6661] <... setpgid resumed>) = 0 [pid 5020] close(3 [pid 6661] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 5020] <... close resumed>) = 0 [pid 6661] <... openat resumed>) = 3 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6661] write(3, "1000", 4 [pid 6660] <... close resumed>) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6661] <... write resumed>) = 4 [pid 6660] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6662 [pid 6661] close(3 [pid 6660] <... futex resumed>) = 0 [pid 6661] <... close resumed>) = 0 [pid 6660] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6663 [pid 6661] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6660] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6661] <... futex resumed>) = 0 [pid 6660] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], ./strace-static-x86_64: Process 6663 attached ./strace-static-x86_64: Process 6662 attached [pid 6661] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6660] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6663] set_robust_list(0x5555558636a0, 24 [pid 6662] set_robust_list(0x5555558636a0, 24 [pid 6661] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6660] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6663] <... set_robust_list resumed>) = 0 [pid 6662] <... set_robust_list resumed>) = 0 [pid 6661] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6660] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6661] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6660] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6663] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6662] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6661] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6660] <... mprotect resumed>) = 0 [pid 6663] <... prctl resumed>) = 0 [pid 6662] <... prctl resumed>) = 0 [pid 6661] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6660] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6661] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6660] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6663] setpgid(0, 0 [pid 6662] setpgid(0, 0 [pid 6661] <... mprotect resumed>) = 0 [pid 6663] <... setpgid resumed>) = 0 [pid 6660] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6663] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6662] <... setpgid resumed>) = 0 [pid 6661] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6663] <... openat resumed>) = 3 [pid 6662] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6661] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6660] <... clone3 resumed> => {parent_tid=[6664]}, 88) = 6664 [pid 6663] write(3, "1000", 4 [pid 6662] <... openat resumed>) = 3 [pid 6661] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6660] rt_sigprocmask(SIG_SETMASK, [], [pid 6663] <... write resumed>) = 4 [pid 6662] write(3, "1000", 4 [pid 6660] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6664 attached [pid 6663] close(3 [pid 6662] <... write resumed>) = 4 [pid 6661] <... clone3 resumed> => {parent_tid=[6665]}, 88) = 6665 [pid 6660] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6664] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6663] <... close resumed>) = 0 [pid 6662] close(3 [pid 6661] rt_sigprocmask(SIG_SETMASK, [], [pid 6660] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6665 attached [pid 6664] <... rseq resumed>) = 0 [pid 6663] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6662] <... close resumed>) = 0 [pid 6661] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6660] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6665] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6664] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6663] <... futex resumed>) = 0 [pid 6662] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6661] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6665] <... rseq resumed>) = 0 [pid 6664] <... set_robust_list resumed>) = 0 [pid 6663] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6662] <... futex resumed>) = 0 [pid 6661] <... futex resumed>) = 0 [pid 6665] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6664] rt_sigprocmask(SIG_SETMASK, [], [pid 6663] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6662] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6661] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6665] <... set_robust_list resumed>) = 0 [pid 6664] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6663] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6662] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6665] rt_sigprocmask(SIG_SETMASK, [], [pid 6664] memfd_create("syzkaller", 0 [pid 6663] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6662] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6665] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6664] <... memfd_create resumed>) = 3 [pid 6663] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6662] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6665] memfd_create("syzkaller", 0 [pid 6664] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6663] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6662] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6665] <... memfd_create resumed>) = 3 [pid 6664] <... mmap resumed>) = 0x7f4e2554e000 [pid 6663] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6662] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6665] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6663] <... mprotect resumed>) = 0 [pid 6662] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6656] <... write resumed>) = 16777216 [pid 6665] <... mmap resumed>) = 0x7f4e2554e000 [pid 6663] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6662] <... mprotect resumed>) = 0 [pid 6656] munmap(0x7f4e2554e000, 16777216 [pid 6663] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6662] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6656] <... munmap resumed>) = 0 [pid 6662] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6656] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6663] <... clone3 resumed> => {parent_tid=[6666]}, 88) = 6666 [pid 6662] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6656] <... openat resumed>) = 4 [pid 6663] rt_sigprocmask(SIG_SETMASK, [], [pid 6656] ioctl(4, LOOP_SET_FD, 3 [pid 6663] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6662] <... clone3 resumed> => {parent_tid=[6667]}, 88) = 6667 [pid 6656] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6663] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6662] rt_sigprocmask(SIG_SETMASK, [], [pid 6656] ioctl(4, LOOP_CLR_FD./strace-static-x86_64: Process 6667 attached [pid 6663] <... futex resumed>) = 0 [pid 6662] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6656] <... ioctl resumed>) = 0 [pid 6667] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6663] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6662] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6666 attached [pid 6667] <... rseq resumed>) = 0 [pid 6662] <... futex resumed>) = 0 [pid 6667] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6666] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6662] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6667] <... set_robust_list resumed>) = 0 [pid 6666] <... rseq resumed>) = 0 [pid 6656] ioctl(4, LOOP_SET_FD, 3 [pid 6667] rt_sigprocmask(SIG_SETMASK, [], [pid 6666] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6656] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6667] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6666] <... set_robust_list resumed>) = 0 [pid 6656] close(4 [pid 6666] rt_sigprocmask(SIG_SETMASK, [], [pid 6656] <... close resumed>) = 0 [pid 6666] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6666] memfd_create("syzkaller", 0) = 3 [pid 6666] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6667] memfd_create("syzkaller", 0 [pid 6656] close(3 [pid 6667] <... memfd_create resumed>) = 3 [pid 6667] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6658] <... write resumed>) = 16777216 [pid 6658] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6658] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6658] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6658] close(3) = 0 [pid 6658] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6658] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [ 179.136864][ T6658] loop1: detected capacity change from 0 to 32768 [ 179.172175][ T6658] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6658) [pid 6658] ioctl(4, LOOP_CLR_FD [pid 6656] <... close resumed>) = 0 [pid 6656] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6654] <... futex resumed>) = 0 [pid 6656] open("./file0", O_RDONLY [pid 6654] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6656] <... open resumed>) = 3 [pid 6654] <... futex resumed>) = 0 [pid 6656] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6654] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6656] <... futex resumed>) = 0 [pid 6654] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6656] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6654] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6656] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6654] <... futex resumed>) = 0 [pid 6656] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6654] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6656] <... ioctl resumed>) = 0 [pid 6656] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6654] <... futex resumed>) = 0 [pid 6656] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6654] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6656] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6654] <... futex resumed>) = 0 [pid 6656] ioctl(3, 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 6654] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6654] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6654] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6654] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6654] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6654] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6669]}, 88) = 6669 [pid 6654] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6654] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 179.259307][ T6656] BTRFS info (device loop2): balance: start -d -m [ 179.297338][ T6656] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6664] 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 6654] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6665] 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./strace-static-x86_64: Process 6669 attached [pid 6667] 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 6669] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6669] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6669] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6669] open("./file0", O_RDONLY) = 4 [pid 6669] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6654] <... futex resumed>) = 0 [ 179.333929][ T6656] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6669] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6654] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6669] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6654] <... futex resumed>) = 0 [pid 6669] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6654] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6669] <... ioctl resumed>) = 0 [pid 6669] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6666] 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 6669] <... futex resumed>) = 1 [pid 6656] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6654] <... futex resumed>) = 0 [pid 6669] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6656] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6654] exit_group(0 [pid 6656] <... futex resumed>) = 0 [pid 6669] <... futex resumed>) = ? [pid 6654] <... exit_group resumed>) = ? [pid 6669] +++ exited with 0 +++ [pid 6656] +++ exited with 0 +++ [pid 6654] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6654, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=25 /* 0.25 s */} --- [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6670 [ 179.377286][ T6656] BTRFS info (device loop2): 2 enospc errors during balance [ 179.395929][ T6656] BTRFS info (device loop2): balance: ended with status: -28 ./strace-static-x86_64: Process 6670 attached [pid 6670] set_robust_list(0x5555558636a0, 24) = 0 [pid 6670] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6670] setpgid(0, 0) = 0 [pid 6670] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6670] write(3, "1000", 4) = 4 [pid 6670] close(3) = 0 [pid 6670] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6670] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6658] <... ioctl resumed>) = 0 [pid 6670] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6658] close(4 [pid 6670] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6658] <... close resumed>) = 0 [pid 6670] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6658] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6670] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6670] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6658] <... futex resumed>) = 1 [pid 6657] <... futex resumed>) = 0 [pid 6670] <... mprotect resumed>) = 0 [pid 6658] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6657] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6670] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6658] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6657] <... futex resumed>) = 0 [pid 6670] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6658] open("./file0", O_RDONLY [pid 6657] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6670] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6658] <... open resumed>) = 3 [pid 6658] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6670] <... clone3 resumed> => {parent_tid=[6672]}, 88) = 6672 [pid 6658] <... futex resumed>) = 1 [pid 6657] <... futex resumed>) = 0 [pid 6670] rt_sigprocmask(SIG_SETMASK, [], [pid 6658] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6657] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6670] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6658] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6657] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6672 attached [pid 6670] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6658] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6657] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6672] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6670] <... futex resumed>) = 0 [pid 6658] <... ioctl resumed>) = 0 [pid 6672] <... rseq resumed>) = 0 [pid 6670] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6658] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6672] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6658] <... futex resumed>) = 1 [pid 6657] <... futex resumed>) = 0 [pid 6672] <... set_robust_list resumed>) = 0 [pid 6658] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6657] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6672] rt_sigprocmask(SIG_SETMASK, [], [pid 6658] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6657] <... futex resumed>) = 0 [pid 6672] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6658] ioctl(3, 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 6657] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6672] memfd_create("syzkaller", 0) = 3 [pid 6672] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 179.565671][ T6658] BTRFS info (device loop2): balance: start -d -m [ 179.575733][ T6658] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6657] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6657] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6657] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6657] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6657] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6657] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6673]}, 88) = 6673 [pid 6657] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6657] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6657] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6673 attached [pid 6673] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6673] set_robust_list(0x7f4e2654d9a0, 24) = 0 [ 179.609936][ T6658] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6673] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6658] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6673] open("./file0", O_RDONLY [pid 6658] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6673] <... open resumed>) = 4 [pid 6658] <... futex resumed>) = 0 [pid 6673] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6658] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6673] <... futex resumed>) = 1 [pid 6657] <... futex resumed>) = 0 [pid 6673] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6657] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6658] <... futex resumed>) = 0 [pid 6657] <... futex resumed>) = 1 [pid 6658] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6657] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6658] <... ioctl resumed>) = 0 [pid 6658] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6657] <... futex resumed>) = 0 [pid 6658] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6657] exit_group(0) = ? [pid 6658] <... futex resumed>) = ? [pid 6673] <... futex resumed>) = ? [pid 6658] +++ exited with 0 +++ [pid 6673] +++ exited with 0 +++ [pid 6657] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6657, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=30 /* 0.30 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6674 [ 179.646661][ T6658] BTRFS info (device loop2): 2 enospc errors during balance [ 179.665943][ T6658] BTRFS info (device loop2): balance: ended with status: -28 [pid 6667] <... write resumed>) = 16777216 ./strace-static-x86_64: Process 6674 attached [pid 6667] munmap(0x7f4e2554e000, 16777216 [pid 6674] set_robust_list(0x5555558636a0, 24) = 0 [pid 6667] <... munmap resumed>) = 0 [pid 6674] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6667] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6674] <... prctl resumed>) = 0 [pid 6667] <... openat resumed>) = 4 [pid 6674] setpgid(0, 0 [pid 6667] ioctl(4, LOOP_SET_FD, 3 [pid 6674] <... setpgid resumed>) = 0 [pid 6667] <... ioctl resumed>) = 0 [pid 6674] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6674] write(3, "1000", 4) = 4 [pid 6667] close(3 [pid 6674] close(3 [pid 6667] <... close resumed>) = 0 [pid 6674] <... close resumed>) = 0 [pid 6667] mkdir("./file0", 0777 [pid 6674] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6667] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6674] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6667] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6674] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6674] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6674] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6664] <... write resumed>) = 16777216 [pid 6674] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6674] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6674] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6675]}, 88) = 6675 [pid 6674] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6674] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6667] <... mount resumed>) = -1 EEXIST (File exists) ./strace-static-x86_64: Process 6675 attached [pid 6674] <... futex resumed>) = 0 [pid 6675] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6674] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6667] ioctl(4, LOOP_CLR_FD [pid 6675] <... rseq resumed>) = 0 [pid 6675] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6664] munmap(0x7f4e2554e000, 16777216 [pid 6675] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6675] memfd_create("syzkaller", 0) = 3 [pid 6675] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6666] <... write resumed>) = 16777216 [pid 6665] <... write resumed>) = 16777216 [pid 6665] munmap(0x7f4e2554e000, 16777216 [pid 6664] <... munmap resumed>) = 0 [pid 6664] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 179.768102][ T6667] loop0: detected capacity change from 0 to 32768 [ 179.786920][ T6667] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6667) [pid 6664] ioctl(4, LOOP_SET_FD, 3 [pid 6666] munmap(0x7f4e2554e000, 16777216 [pid 6665] <... munmap resumed>) = 0 [pid 6665] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6665] ioctl(4, LOOP_SET_FD, 3 [pid 6666] <... munmap resumed>) = 0 [pid 6664] <... ioctl resumed>) = 0 [pid 6664] close(3) = 0 [pid 6664] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6664] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6672] 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 6666] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [ 179.848510][ T6664] loop4: detected capacity change from 0 to 32768 [ 179.867722][ T6665] loop5: detected capacity change from 0 to 32768 [ 179.883880][ T6664] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6664) [pid 6666] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6666] close(3 [pid 6665] <... ioctl resumed>) = 0 [pid 6665] close(3) = 0 [pid 6666] <... close resumed>) = 0 [pid 6666] mkdir("./file0", 0777 [pid 6665] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6665] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6666] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6666] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6664] <... mount resumed>) = -1 EEXIST (File exists) [ 179.898386][ T6666] loop3: detected capacity change from 0 to 32768 [ 179.915526][ T6665] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6665) [pid 6664] ioctl(4, LOOP_CLR_FD [pid 6665] <... mount resumed>) = -1 EEXIST (File exists) [pid 6665] ioctl(4, LOOP_CLR_FD [pid 6666] <... mount resumed>) = -1 EEXIST (File exists) [pid 6666] ioctl(4, LOOP_CLR_FD [pid 6667] <... ioctl resumed>) = 0 [ 179.944343][ T6666] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6666) [pid 6667] close(4) = 0 [pid 6667] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6662] <... futex resumed>) = 0 [pid 6662] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6667] open("./file0", O_RDONLY [pid 6662] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6667] <... open resumed>) = 3 [pid 6667] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6662] <... futex resumed>) = 0 [pid 6667] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6662] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6667] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6662] <... futex resumed>) = 0 [pid 6667] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6662] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6667] <... ioctl resumed>) = 0 [pid 6667] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6662] <... futex resumed>) = 0 [pid 6662] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6667] ioctl(3, 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 6662] <... futex resumed>) = 0 [ 180.067449][ T6667] BTRFS info (device loop2): balance: start -d -m [ 180.074300][ T6667] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6662] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6662] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6662] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6662] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6662] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6662] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6676]}, 88) = 6676 ./strace-static-x86_64: Process 6676 attached [pid 6662] rt_sigprocmask(SIG_SETMASK, [], [pid 6676] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6662] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6676] <... rseq resumed>) = 0 [pid 6662] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6676] set_robust_list(0x7f4e2654d9a0, 24 [pid 6662] <... futex resumed>) = 0 [pid 6676] <... set_robust_list resumed>) = 0 [pid 6664] <... ioctl resumed>) = 0 [pid 6662] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6676] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6676] open("./file0", O_RDONLY) = 4 [ 180.113843][ T6667] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 180.144357][ T6667] BTRFS info (device loop2): 2 enospc errors during balance [pid 6676] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6664] close(4) = 0 [pid 6676] <... futex resumed>) = 1 [pid 6675] 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 6664] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6676] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6664] <... futex resumed>) = 1 [pid 6662] <... futex resumed>) = 0 [pid 6660] <... futex resumed>) = 0 [pid 6664] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6662] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6660] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6676] <... futex resumed>) = 0 [pid 6664] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6662] <... futex resumed>) = 1 [pid 6660] <... futex resumed>) = 0 [pid 6676] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6664] open("./file0", O_RDONLY [pid 6662] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6660] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6664] <... open resumed>) = 3 [pid 6676] <... ioctl resumed>) = 0 [pid 6664] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6676] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6664] <... futex resumed>) = 1 [pid 6660] <... futex resumed>) = 0 [pid 6676] <... futex resumed>) = 1 [pid 6664] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6662] <... futex resumed>) = 0 [pid 6676] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6660] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6664] <... futex resumed>) = 0 [pid 6660] <... futex resumed>) = 1 [pid 6664] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6660] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6664] <... ioctl resumed>) = 0 [pid 6664] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6660] <... futex resumed>) = 0 [pid 6664] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6660] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6667] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6664] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6660] <... futex resumed>) = 0 [ 180.164876][ T6667] BTRFS info (device loop2): balance: ended with status: -28 [pid 6667] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6664] ioctl(3, 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 6662] exit_group(0 [pid 6660] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6676] <... futex resumed>) = ? [pid 6667] <... futex resumed>) = ? [pid 6666] <... ioctl resumed>) = 0 [pid 6665] <... ioctl resumed>) = 0 [pid 6662] <... exit_group resumed>) = ? [pid 6676] +++ exited with 0 +++ [pid 6667] +++ exited with 0 +++ [pid 6665] close(4 [pid 6662] +++ exited with 0 +++ [pid 6672] <... write resumed>) = 16777216 [pid 6666] close(4 [pid 6665] <... close resumed>) = 0 [pid 6672] munmap(0x7f4e2554e000, 16777216 [pid 6666] <... close resumed>) = 0 [pid 6665] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6662, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6677 [pid 6672] <... munmap resumed>) = 0 [pid 6666] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6665] <... futex resumed>) = 1 [pid 6661] <... futex resumed>) = 0 [pid 6672] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6666] <... futex resumed>) = 1 [pid 6665] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6663] <... futex resumed>) = 0 [pid 6661] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6677 attached [pid 6672] <... openat resumed>) = 4 [pid 6666] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6665] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6663] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6661] <... futex resumed>) = 0 [pid 6677] set_robust_list(0x5555558636a0, 24 [pid 6672] ioctl(4, LOOP_SET_FD, 3 [pid 6666] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6665] open("./file0", O_RDONLY [pid 6663] <... futex resumed>) = 0 [pid 6661] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6677] <... set_robust_list resumed>) = 0 [pid 6672] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6666] open("./file0", O_RDONLY [pid 6665] <... open resumed>) = 3 [pid 6663] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6677] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6672] ioctl(4, LOOP_CLR_FD [pid 6666] <... open resumed>) = 3 [pid 6665] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6677] <... prctl resumed>) = 0 [pid 6672] <... ioctl resumed>) = 0 [pid 6666] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6665] <... futex resumed>) = 1 [pid 6661] <... futex resumed>) = 0 [pid 6677] setpgid(0, 0 [pid 6666] <... futex resumed>) = 1 [pid 6665] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6663] <... futex resumed>) = 0 [pid 6661] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6677] <... setpgid resumed>) = 0 [pid 6666] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6665] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6663] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6661] <... futex resumed>) = 0 [pid 6677] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6666] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6672] ioctl(4, LOOP_SET_FD, 3 [pid 6665] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6663] <... futex resumed>) = 0 [pid 6661] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6660] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6677] <... openat resumed>) = 3 [pid 6672] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6666] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6665] <... ioctl resumed>) = 0 [pid 6663] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6660] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6677] write(3, "1000", 4 [pid 6672] close(4 [pid 6666] <... ioctl resumed>) = 0 [pid 6665] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6660] <... futex resumed>) = 0 [pid 6677] <... write resumed>) = 4 [pid 6672] <... close resumed>) = 0 [pid 6666] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6665] <... futex resumed>) = 1 [pid 6661] <... futex resumed>) = 0 [pid 6677] close(3 [pid 6672] close(3 [pid 6666] <... futex resumed>) = 1 [pid 6665] ioctl(3, 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 6663] <... futex resumed>) = 0 [pid 6661] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6660] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6677] <... close resumed>) = 0 [pid 6661] <... futex resumed>) = 0 [pid 6660] <... mmap resumed>) = 0x7f4e2652d000 [pid 6677] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6661] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6677] <... futex resumed>) = 0 [pid 6666] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6665] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6663] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [ 180.222666][ T6664] BTRFS info (device loop2): balance: start -d -m [ 180.239763][ T6664] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6660] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6677] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6666] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6665] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6663] <... futex resumed>) = 0 [pid 6660] <... mprotect resumed>) = 0 [pid 6677] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6666] ioctl(3, 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 6665] <... futex resumed>) = 1 [pid 6663] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6661] <... futex resumed>) = 0 [pid 6660] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6677] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6666] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6665] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6661] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6660] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6677] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6666] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6665] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6661] <... futex resumed>) = 0 [pid 6660] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6677] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6666] <... futex resumed>) = 1 [pid 6665] open("./file0", O_RDONLY [pid 6663] <... futex resumed>) = 0 [pid 6661] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6677] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6666] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6665] <... open resumed>) = 4 [pid 6663] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6660] <... clone3 resumed> => {parent_tid=[6678]}, 88) = 6678 [pid 6677] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6666] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6665] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6663] <... futex resumed>) = 0 [pid 6660] rt_sigprocmask(SIG_SETMASK, [], [pid 6677] <... mprotect resumed>) = 0 [pid 6666] open("./file0", O_RDONLY [pid 6665] <... futex resumed>) = 1 [pid 6663] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6661] <... futex resumed>) = 0 [pid 6660] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6677] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6666] <... open resumed>) = 4 [pid 6665] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6661] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6677] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6661] <... futex resumed>) = 0 [pid 6677] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6661] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6677] <... clone3 resumed> => {parent_tid=[6679]}, 88) = 6679 [pid 6666] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6665] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 180.300043][ T6664] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6660] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6678 attached [pid 6677] rt_sigprocmask(SIG_SETMASK, [], [pid 6666] <... futex resumed>) = 1 [pid 6665] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6663] <... futex resumed>) = 0 [pid 6660] <... futex resumed>) = 0 [pid 6678] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6677] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6666] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6663] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6660] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6679 attached [pid 6678] <... rseq resumed>) = 0 [pid 6677] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6666] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6665] <... ioctl resumed>) = 0 [pid 6663] <... futex resumed>) = 0 [pid 6679] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6678] set_robust_list(0x7f4e2654d9a0, 24 [pid 6677] <... futex resumed>) = 0 [pid 6666] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6665] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6663] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6679] <... rseq resumed>) = 0 [pid 6678] <... set_robust_list resumed>) = 0 [pid 6677] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6665] <... futex resumed>) = 1 [pid 6661] <... futex resumed>) = 0 [pid 6679] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6678] rt_sigprocmask(SIG_SETMASK, [], [pid 6666] <... ioctl resumed>) = 0 [pid 6665] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6661] exit_group(0 [pid 6679] <... set_robust_list resumed>) = 0 [pid 6678] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6666] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6665] <... futex resumed>) = ? [pid 6661] <... exit_group resumed>) = ? [pid 6679] rt_sigprocmask(SIG_SETMASK, [], [pid 6678] open("./file0", O_RDONLY [pid 6666] <... futex resumed>) = 1 [pid 6665] +++ exited with 0 +++ [pid 6663] <... futex resumed>) = 0 [pid 6661] +++ exited with 0 +++ [pid 6679] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6678] <... open resumed>) = 4 [pid 6666] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6663] exit_group(0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6661, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=25 /* 0.25 s */} --- [pid 6679] memfd_create("syzkaller", 0 [pid 6678] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6666] <... futex resumed>) = ? [pid 6663] <... exit_group resumed>) = ? [pid 6679] <... memfd_create resumed>) = 3 [pid 6678] <... futex resumed>) = 1 [pid 6666] +++ exited with 0 +++ [pid 6660] <... futex resumed>) = 0 [pid 6679] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6679] <... mmap resumed>) = 0x7f4e2554e000 [pid 6678] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6663] +++ exited with 0 +++ [pid 6660] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... openat resumed>) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6660] <... futex resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [ 180.341696][ T6664] BTRFS info (device loop2): 2 enospc errors during balance [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6663, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=24 /* 0.24 s */} --- [pid 6678] <... ioctl resumed>) = 0 [pid 6660] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] close(3 [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 6678] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6660] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5027] <... close resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6678] <... futex resumed>) = 0 [pid 5025] <... restart_syscall resumed>) = 0 [pid 6678] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6681 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 6681 attached ) = -1 ENXIO (No such device or address) [pid 6681] set_robust_list(0x5555558636a0, 24 [pid 5025] close(3 [pid 6681] <... set_robust_list resumed>) = 0 [pid 5025] <... close resumed>) = 0 [pid 6681] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6681] <... prctl resumed>) = 0 [pid 6681] setpgid(0, 0) = 0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6682 [pid 6681] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6681] write(3, "1000", 4) = 4 [pid 6681] close(3./strace-static-x86_64: Process 6682 attached ) = 0 [pid 6682] set_robust_list(0x5555558636a0, 24 [pid 6681] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6682] <... set_robust_list resumed>) = 0 [pid 6681] <... futex resumed>) = 0 [pid 6682] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6681] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6682] <... prctl resumed>) = 0 [pid 6681] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6682] setpgid(0, 0 [pid 6681] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6682] <... setpgid resumed>) = 0 [pid 6681] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6664] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6682] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6681] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6664] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6682] <... openat resumed>) = 3 [pid 6681] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6664] <... futex resumed>) = 0 [pid 6682] write(3, "1000", 4 [pid 6681] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6664] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6660] exit_group(0 [pid 6682] <... write resumed>) = 4 [pid 6681] <... mprotect resumed>) = 0 [pid 6678] <... futex resumed>) = ? [pid 6664] <... futex resumed>) = ? [ 180.388739][ T6664] BTRFS info (device loop2): balance: ended with status: -28 [pid 6660] <... exit_group resumed>) = ? [pid 6682] close(3 [pid 6681] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6678] +++ exited with 0 +++ [pid 6664] +++ exited with 0 +++ [pid 6681] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6682] <... close resumed>) = 0 [pid 6681] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6660] +++ exited with 0 +++ [pid 6682] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6681] <... clone3 resumed> => {parent_tid=[6683]}, 88) = 6683 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6660, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=27 /* 0.27 s */} --- [pid 6682] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6681] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 6682] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6681] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6672] <... close resumed>) = 0 [pid 5026] <... restart_syscall resumed>) = 0 [pid 6682] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6681] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6682] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6681] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6683 attached [pid 6682] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6681] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6683] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6682] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6672] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... openat resumed>) = 3 [pid 6683] <... rseq resumed>) = 0 [pid 6682] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6683] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6682] <... mprotect resumed>) = 0 [pid 6672] <... futex resumed>) = 1 [pid 6670] <... futex resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6683] <... set_robust_list resumed>) = 0 [pid 6682] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6672] open("./file0", O_RDONLY [pid 6670] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] close(3 [pid 6683] rt_sigprocmask(SIG_SETMASK, [], [pid 6682] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6672] <... open resumed>) = 3 [pid 6670] <... futex resumed>) = 0 [pid 5026] <... close resumed>) = 0 [pid 6683] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6683] memfd_create("syzkaller", 0) = 3 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6684 [pid 6683] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6682] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6672] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6670] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6683] <... mmap resumed>) = 0x7f4e2554e000 [pid 6672] <... futex resumed>) = 0 [pid 6670] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) ./strace-static-x86_64: Process 6685 attached [pid 6682] <... clone3 resumed> => {parent_tid=[6685]}, 88) = 6685 [pid 6675] <... write resumed>) = 16777216 [pid 6672] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6670] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6685] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6682] rt_sigprocmask(SIG_SETMASK, [], [pid 6672] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6670] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6684 attached [pid 6685] <... rseq resumed>) = 0 [pid 6682] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6672] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6670] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6685] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6684] set_robust_list(0x5555558636a0, 24 [pid 6682] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6672] <... ioctl resumed>) = 0 [pid 6685] <... set_robust_list resumed>) = 0 [pid 6684] <... set_robust_list resumed>) = 0 [pid 6682] <... futex resumed>) = 0 [pid 6672] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6685] rt_sigprocmask(SIG_SETMASK, [], [pid 6684] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6682] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6675] munmap(0x7f4e2554e000, 16777216 [pid 6672] <... futex resumed>) = 1 [pid 6670] <... futex resumed>) = 0 [pid 6685] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6684] <... prctl resumed>) = 0 [pid 6672] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6670] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6685] memfd_create("syzkaller", 0 [pid 6684] setpgid(0, 0 [pid 6672] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6670] <... futex resumed>) = 0 [pid 6685] <... memfd_create resumed>) = 3 [pid 6684] <... setpgid resumed>) = 0 [pid 6672] ioctl(3, 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 6670] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6685] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6684] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6684] write(3, "1000", 4 [pid 6685] <... mmap resumed>) = 0x7f4e2554e000 [pid 6684] <... write resumed>) = 4 [pid 6684] close(3) = 0 [pid 6684] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6684] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6684] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6684] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6684] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6684] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6684] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6686]}, 88) = 6686 [pid 6684] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6684] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6684] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6686 attached [pid 6686] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6686] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6675] <... munmap resumed>) = 0 [pid 6686] rt_sigprocmask(SIG_SETMASK, [], [pid 6675] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6686] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6675] <... openat resumed>) = 4 [pid 6686] memfd_create("syzkaller", 0 [pid 6675] ioctl(4, LOOP_SET_FD, 3 [pid 6686] <... memfd_create resumed>) = 3 [pid 6686] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 180.511677][ T6672] BTRFS info (device loop2): balance: start -d -m [ 180.539551][ T6672] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6670] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6670] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6675] <... ioctl resumed>) = 0 [pid 6670] <... futex resumed>) = 0 [pid 6675] close(3 [pid 6670] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6675] <... close resumed>) = 0 [pid 6670] <... mmap resumed>) = 0x7f4e2652d000 [ 180.557408][ T6675] loop1: detected capacity change from 0 to 32768 [pid 6670] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6675] mkdir("./file0", 0777 [pid 6670] <... mprotect resumed>) = 0 [pid 6670] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6675] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6670] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6675] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6670] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0}./strace-static-x86_64: Process 6687 attached [pid 6687] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6687] set_robust_list(0x7f4e2654d9a0, 24 [pid 6670] <... clone3 resumed> => {parent_tid=[6687]}, 88) = 6687 [pid 6687] <... set_robust_list resumed>) = 0 [pid 6687] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6670] rt_sigprocmask(SIG_SETMASK, [], [pid 6687] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6670] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 180.583770][ T6672] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 180.608357][ T6675] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6675) [pid 6670] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6687] <... futex resumed>) = 0 [pid 6670] <... futex resumed>) = 1 [pid 6687] open("./file0", O_RDONLY [pid 6675] <... mount resumed>) = -1 EEXIST (File exists) [pid 6670] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6687] <... open resumed>) = 4 [pid 6675] ioctl(4, LOOP_CLR_FD [pid 6687] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6670] <... futex resumed>) = 0 [pid 6687] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6670] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6687] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6670] <... futex resumed>) = 0 [pid 6687] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6670] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6687] <... ioctl resumed>) = 0 [pid 6687] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6670] <... futex resumed>) = 0 [pid 6687] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6672] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6672] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6672] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6670] exit_group(0 [pid 6687] <... futex resumed>) = ? [pid 6672] <... futex resumed>) = ? [pid 6670] <... exit_group resumed>) = ? [pid 6687] +++ exited with 0 +++ [pid 6672] +++ exited with 0 +++ [pid 6670] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6670, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=28 /* 0.28 s */} --- [pid 5022] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [pid 5022] ioctl(3, LOOP_CLR_FD) = 0 [ 180.632767][ T6672] BTRFS info (device loop2): 2 enospc errors during balance [ 180.657351][ T6672] BTRFS info (device loop2): balance: ended with status: -28 [pid 5022] close(3) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6688 ./strace-static-x86_64: Process 6688 attached [pid 6688] set_robust_list(0x5555558636a0, 24) = 0 [pid 6688] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6688] setpgid(0, 0) = 0 [pid 6688] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6688] write(3, "1000", 4) = 4 [pid 6688] close(3) = 0 [pid 6688] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6688] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6688] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6679] 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 6688] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6688] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6688] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6688] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6690]}, 88) = 6690 [pid 6688] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6688] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6685] 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./strace-static-x86_64: Process 6690 attached [pid 6688] <... futex resumed>) = 0 [pid 6690] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6688] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6690] <... rseq resumed>) = 0 [pid 6690] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6690] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6690] memfd_create("syzkaller", 0) = 3 [pid 6690] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6683] 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 6675] <... ioctl resumed>) = 0 [pid 6675] close(4 [pid 6686] 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 6675] <... close resumed>) = 0 [pid 6675] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6674] <... futex resumed>) = 0 [pid 6675] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6674] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6675] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6674] <... futex resumed>) = 0 [pid 6675] open("./file0", O_RDONLY [pid 6674] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6675] <... open resumed>) = 3 [pid 6675] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6674] <... futex resumed>) = 0 [pid 6675] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6674] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6675] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6674] <... futex resumed>) = 0 [pid 6675] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6674] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6675] <... ioctl resumed>) = 0 [pid 6675] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6674] <... futex resumed>) = 0 [pid 6675] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6674] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6675] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6674] <... futex resumed>) = 0 [pid 6675] ioctl(3, 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 6674] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6674] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6674] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6674] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [ 181.013408][ T6675] BTRFS info (device loop2): balance: start -d -m [ 181.036338][ T6675] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6674] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6674] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6691]}, 88) = 6691 [pid 6674] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6674] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6691 attached ) = 0 [pid 6691] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6674] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6691] <... rseq resumed>) = 0 [pid 6691] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6691] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6691] open("./file0", O_RDONLY) = 4 [ 181.079155][ T6675] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6691] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6674] <... futex resumed>) = 0 [pid 6691] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6674] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6691] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6674] <... futex resumed>) = 0 [pid 6691] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6674] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6691] <... ioctl resumed>) = 0 [pid 6691] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6674] <... futex resumed>) = 0 [pid 6691] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6675] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6675] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6690] 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 6675] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6674] exit_group(0 [pid 6691] <... futex resumed>) = ? [pid 6679] <... write resumed>) = 16777216 [pid 6675] <... futex resumed>) = ? [pid 6674] <... exit_group resumed>) = ? [pid 6691] +++ exited with 0 +++ [pid 6675] +++ exited with 0 +++ [pid 6674] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6674, si_uid=0, si_status=0, si_utime=0, si_stime=23 /* 0.23 s */} --- [ 181.119549][ T6675] BTRFS info (device loop2): 2 enospc errors during balance [ 181.150882][ T6675] BTRFS info (device loop2): balance: ended with status: -28 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3 [pid 6685] <... write resumed>) = 16777216 [pid 5021] <... close resumed>) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6692 ./strace-static-x86_64: Process 6692 attached [pid 6692] set_robust_list(0x5555558636a0, 24) = 0 [pid 6692] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6679] munmap(0x7f4e2554e000, 16777216 [pid 6692] <... prctl resumed>) = 0 [pid 6692] setpgid(0, 0 [pid 6685] munmap(0x7f4e2554e000, 16777216 [pid 6692] <... setpgid resumed>) = 0 [pid 6679] <... munmap resumed>) = 0 [pid 6692] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6692] write(3, "1000", 4) = 4 [pid 6692] close(3) = 0 [pid 6685] <... munmap resumed>) = 0 [pid 6692] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6692] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6692] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6679] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6692] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6679] <... openat resumed>) = 4 [pid 6692] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6685] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6679] ioctl(4, LOOP_SET_FD, 3 [pid 6692] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6685] <... openat resumed>) = 4 [pid 6683] <... write resumed>) = 16777216 [pid 6692] <... mprotect resumed>) = 0 [pid 6685] ioctl(4, LOOP_SET_FD, 3 [pid 6692] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6692] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6693]}, 88) = 6693 [pid 6692] rt_sigprocmask(SIG_SETMASK, [], [pid 6683] munmap(0x7f4e2554e000, 16777216 [pid 6692] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6692] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6692] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6693 attached [pid 6693] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6693] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6693] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6679] <... ioctl resumed>) = 0 [pid 6693] memfd_create("syzkaller", 0 [pid 6679] close(3 [pid 6693] <... memfd_create resumed>) = 3 [pid 6685] <... ioctl resumed>) = 0 [pid 6679] <... close resumed>) = 0 [pid 6693] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6685] close(3 [pid 6679] mkdir("./file0", 0777 [pid 6693] <... mmap resumed>) = 0x7f4e2554e000 [pid 6685] <... close resumed>) = 0 [pid 6679] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6685] mkdir("./file0", 0777 [ 181.260677][ T6679] loop0: detected capacity change from 0 to 32768 [ 181.269965][ T6685] loop3: detected capacity change from 0 to 32768 [pid 6679] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6685] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6683] <... munmap resumed>) = 0 [pid 6685] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6683] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6683] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6683] close(3) = 0 [pid 6679] <... mount resumed>) = -1 EEXIST (File exists) [pid 6683] mkdir("./file0", 0777 [pid 6679] ioctl(4, LOOP_CLR_FD [pid 6683] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6685] <... mount resumed>) = -1 EEXIST (File exists) [pid 6683] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6686] <... write resumed>) = 16777216 [pid 6686] munmap(0x7f4e2554e000, 16777216 [ 181.308320][ T6679] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6679) [ 181.323267][ T6683] loop5: detected capacity change from 0 to 32768 [ 181.337884][ T6685] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6685) [pid 6685] ioctl(4, LOOP_CLR_FD [pid 6686] <... munmap resumed>) = 0 [pid 6686] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6686] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6686] close(3) = 0 [pid 6686] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6686] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6683] <... mount resumed>) = -1 EEXIST (File exists) [pid 6686] <... mount resumed>) = -1 EEXIST (File exists) [pid 6683] ioctl(4, LOOP_CLR_FD [pid 6686] ioctl(4, LOOP_CLR_FD [pid 6690] <... write resumed>) = 16777216 [ 181.370065][ T6683] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6683) [ 181.387929][ T6686] loop4: detected capacity change from 0 to 32768 [ 181.406244][ T6686] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6686) [pid 6690] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6690] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6690] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6690] ioctl(4, LOOP_CLR_FD) = 0 [pid 6690] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6690] close(4) = 0 [pid 6690] close(3 [pid 6693] 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 6686] <... ioctl resumed>) = 0 [pid 6685] <... ioctl resumed>) = 0 [pid 6683] <... ioctl resumed>) = 0 [pid 6683] close(4 [pid 6686] close(4 [pid 6685] close(4 [pid 6683] <... close resumed>) = 0 [pid 6679] <... ioctl resumed>) = 0 [pid 6686] <... close resumed>) = 0 [pid 6683] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6686] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6683] <... futex resumed>) = 1 [pid 6686] <... futex resumed>) = 1 [pid 6683] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6686] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6690] <... close resumed>) = 0 [pid 6685] <... close resumed>) = 0 [pid 6684] <... futex resumed>) = 0 [pid 6681] <... futex resumed>) = 0 [pid 6679] close(4 [pid 6690] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6688] <... futex resumed>) = 0 [pid 6685] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6684] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6681] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6679] <... close resumed>) = 0 [pid 6690] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6688] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6686] <... futex resumed>) = 0 [pid 6685] <... futex resumed>) = 1 [pid 6684] <... futex resumed>) = 1 [pid 6683] <... futex resumed>) = 0 [pid 6682] <... futex resumed>) = 0 [pid 6681] <... futex resumed>) = 1 [pid 6679] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6690] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6688] <... futex resumed>) = 0 [pid 6686] open("./file0", O_RDONLY [pid 6685] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6684] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6683] open("./file0", O_RDONLY [pid 6682] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6681] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6679] <... futex resumed>) = 1 [pid 6677] <... futex resumed>) = 0 [pid 6690] open("./file0", O_RDONLY [pid 6688] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6686] <... open resumed>) = 3 [pid 6685] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6683] <... open resumed>) = 3 [pid 6682] <... futex resumed>) = 0 [pid 6679] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6677] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6690] <... open resumed>) = 3 [pid 6686] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6685] open("./file0", O_RDONLY [pid 6683] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6682] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6679] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6677] <... futex resumed>) = 0 [pid 6690] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6686] <... futex resumed>) = 1 [pid 6685] <... open resumed>) = 3 [pid 6684] <... futex resumed>) = 0 [pid 6683] <... futex resumed>) = 1 [pid 6681] <... futex resumed>) = 0 [pid 6679] open("./file0", O_RDONLY [pid 6677] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6690] <... futex resumed>) = 1 [pid 6688] <... futex resumed>) = 0 [pid 6686] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6685] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6684] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6683] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6681] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6679] <... open resumed>) = 3 [pid 6690] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6688] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6686] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6685] <... futex resumed>) = 1 [pid 6684] <... futex resumed>) = 0 [pid 6683] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6682] <... futex resumed>) = 0 [pid 6681] <... futex resumed>) = 0 [pid 6679] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6690] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6688] <... futex resumed>) = 0 [pid 6686] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6685] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6684] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6683] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6682] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6681] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6679] <... futex resumed>) = 1 [pid 6677] <... futex resumed>) = 0 [pid 6690] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6688] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6686] <... ioctl resumed>) = 0 [pid 6685] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6683] <... ioctl resumed>) = 0 [pid 6682] <... futex resumed>) = 0 [pid 6679] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6677] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6690] <... ioctl resumed>) = 0 [pid 6686] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6685] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6683] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6682] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6679] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6677] <... futex resumed>) = 0 [pid 6690] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6686] <... futex resumed>) = 1 [pid 6685] <... ioctl resumed>) = 0 [pid 6684] <... futex resumed>) = 0 [pid 6683] <... futex resumed>) = 1 [pid 6681] <... futex resumed>) = 0 [pid 6679] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6677] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6690] <... futex resumed>) = 1 [pid 6688] <... futex resumed>) = 0 [pid 6686] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6685] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6684] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6683] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6681] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6679] <... ioctl resumed>) = 0 [pid 6690] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6688] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6686] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6685] <... futex resumed>) = 1 [pid 6684] <... futex resumed>) = 0 [pid 6683] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6682] <... futex resumed>) = 0 [pid 6681] <... futex resumed>) = 0 [pid 6679] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6690] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6688] <... futex resumed>) = 0 [pid 6686] ioctl(3, 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 6685] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6684] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6683] ioctl(3, 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 6682] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6681] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6679] <... futex resumed>) = 1 [pid 6677] <... futex resumed>) = 0 [pid 6690] ioctl(3, 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 6688] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6685] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6682] <... futex resumed>) = 0 [pid 6679] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6677] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6685] ioctl(3, 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 6679] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6677] <... futex resumed>) = 0 [pid 6682] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6679] ioctl(3, 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 6677] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6690] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6685] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6683] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6679] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6685] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6679] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6685] <... futex resumed>) = 1 [pid 6679] <... futex resumed>) = 1 [pid 6677] <... futex resumed>) = 0 [pid 6685] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6679] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6677] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6679] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6677] <... futex resumed>) = 0 [pid 6679] open("./file0", O_RDONLY [pid 6677] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6679] <... open resumed>) = 4 [pid 6690] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6683] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6682] <... futex resumed>) = 0 [pid 6679] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6690] <... futex resumed>) = 1 [pid 6688] <... futex resumed>) = 0 [pid 6683] <... futex resumed>) = 1 [pid 6682] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6681] <... futex resumed>) = 0 [pid 6679] <... futex resumed>) = 1 [pid 6677] <... futex resumed>) = 0 [pid 6690] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6688] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6685] <... futex resumed>) = 0 [pid 6683] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6682] <... futex resumed>) = 1 [pid 6681] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6679] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6677] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6690] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6688] <... futex resumed>) = 0 [pid 6685] open("./file0", O_RDONLY [pid 6683] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6682] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6681] <... futex resumed>) = 0 [pid 6679] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6677] <... futex resumed>) = 0 [pid 6690] open("./file0", O_RDONLY [pid 6688] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6685] <... open resumed>) = 4 [pid 6683] open("./file0", O_RDONLY [pid 6681] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6679] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6677] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6690] <... open resumed>) = 4 [pid 6685] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6683] <... open resumed>) = 4 [pid 6679] <... ioctl resumed>) = 0 [pid 6690] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6685] <... futex resumed>) = 1 [pid 6684] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6683] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6682] <... futex resumed>) = 0 [ 181.735390][ T6686] BTRFS info (device loop2): balance: start -d -m [ 181.749052][ T6686] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6679] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6690] <... futex resumed>) = 1 [pid 6688] <... futex resumed>) = 0 [pid 6685] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6684] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6683] <... futex resumed>) = 1 [pid 6682] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6681] <... futex resumed>) = 0 [pid 6679] <... futex resumed>) = 1 [pid 6677] <... futex resumed>) = 0 [pid 6690] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6688] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6685] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6684] <... futex resumed>) = 0 [pid 6683] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6682] <... futex resumed>) = 0 [pid 6681] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6679] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6677] exit_group(0 [pid 6690] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6688] <... futex resumed>) = 0 [pid 6685] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6684] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6683] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6682] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6681] <... futex resumed>) = 0 [pid 6679] <... futex resumed>) = ? [pid 6677] <... exit_group resumed>) = ? [pid 6693] <... write resumed>) = 16777216 [pid 6690] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6688] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6685] <... ioctl resumed>) = 0 [pid 6684] <... mmap resumed>) = 0x7f4e2652d000 [pid 6683] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6681] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6679] +++ exited with 0 +++ [pid 6677] +++ exited with 0 +++ [pid 6685] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6684] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6685] <... futex resumed>) = 1 [pid 6684] <... mprotect resumed>) = 0 [pid 6682] <... futex resumed>) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6677, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=25 /* 0.25 s */} --- [pid 6685] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6684] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6682] exit_group(0 [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 6690] <... ioctl resumed>) = 0 [pid 6685] <... futex resumed>) = ? [pid 6684] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6683] <... ioctl resumed>) = 0 [pid 6682] <... exit_group resumed>) = ? [pid 5020] <... restart_syscall resumed>) = 0 [pid 6693] munmap(0x7f4e2554e000, 16777216 [pid 6690] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6685] +++ exited with 0 +++ [pid 6684] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6683] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6690] <... futex resumed>) = 1 [pid 6688] <... futex resumed>) = 0 [pid 6683] <... futex resumed>) = 1 [pid 6682] +++ exited with 0 +++ [pid 6681] <... futex resumed>) = 0 [pid 6690] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6688] exit_group(0 [pid 6684] <... clone3 resumed> => {parent_tid=[6695]}, 88) = 6695 [pid 6683] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6681] exit_group(0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6690] <... futex resumed>) = ? [pid 6688] <... exit_group resumed>) = ? [pid 6684] rt_sigprocmask(SIG_SETMASK, [], [pid 6683] <... futex resumed>) = ? [pid 6681] <... exit_group resumed>) = ? [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6682, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- [pid 5020] <... openat resumed>) = 3 [pid 6690] +++ exited with 0 +++ [pid 6684] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5020] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 6695 attached [pid 6688] +++ exited with 0 +++ [pid 6684] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6695] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6684] <... futex resumed>) = 0 [pid 6683] +++ exited with 0 +++ [pid 6681] +++ exited with 0 +++ [ 181.790347][ T6686] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 5020] close(3 [pid 6695] <... rseq resumed>) = 0 [pid 6693] <... munmap resumed>) = 0 [pid 6684] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6681, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- [pid 5025] <... restart_syscall resumed>) = 0 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6688, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=20 /* 0.20 s */} --- [pid 5020] <... close resumed>) = 0 [pid 6695] set_robust_list(0x7f4e2654d9a0, 24 [pid 6693] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6695] <... set_robust_list resumed>) = 0 [pid 6693] <... openat resumed>) = 4 [pid 5022] <... openat resumed>) = 3 [pid 6695] rt_sigprocmask(SIG_SETMASK, [], [pid 6693] ioctl(4, LOOP_SET_FD, 3 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5022] ioctl(3, LOOP_CLR_FD [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6696 [pid 6695] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5022] <... ioctl resumed>) = 0 [pid 6695] open("./file0", O_RDONLY [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5022] close(3 [pid 6695] <... open resumed>) = 4 [pid 5027] <... openat resumed>) = 3 [pid 5022] <... close resumed>) = 0 [pid 6695] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6695] <... futex resumed>) = 1 [pid 6684] <... futex resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6695] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6684] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] close(3 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6697 ./strace-static-x86_64: Process 6696 attached [pid 6695] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6693] <... ioctl resumed>) = 0 [pid 6684] <... futex resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 5025] <... openat resumed>) = 3 [pid 6695] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6684] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6695] <... ioctl resumed>) = 0 ./strace-static-x86_64: Process 6698 attached [pid 6696] set_robust_list(0x5555558636a0, 24 [pid 6695] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6693] close(3 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6698 [pid 5025] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 6697 attached [pid 6698] set_robust_list(0x5555558636a0, 24 [pid 6696] <... set_robust_list resumed>) = 0 [pid 6695] <... futex resumed>) = 1 [pid 6693] <... close resumed>) = 0 [pid 6684] <... futex resumed>) = 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6698] <... set_robust_list resumed>) = 0 [pid 6697] set_robust_list(0x5555558636a0, 24 [pid 6696] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6695] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6693] mkdir("./file0", 0777 [pid 5025] close(3 [pid 6698] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6696] <... prctl resumed>) = 0 [pid 6693] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6686] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 5025] <... close resumed>) = 0 [pid 6698] <... prctl resumed>) = 0 [pid 6696] setpgid(0, 0 [pid 6693] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6686] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [ 181.842164][ T6686] BTRFS info (device loop2): 2 enospc errors during balance [ 181.855464][ T6693] loop1: detected capacity change from 0 to 32768 [ 181.866809][ T6686] BTRFS info (device loop2): balance: ended with status: -28 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6699 attached [pid 6698] setpgid(0, 0 [pid 6696] <... setpgid resumed>) = 0 [pid 6686] <... futex resumed>) = 0 [pid 6697] <... set_robust_list resumed>) = 0 [pid 6699] set_robust_list(0x5555558636a0, 24 [pid 6698] <... setpgid resumed>) = 0 [pid 6697] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6696] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6686] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6684] exit_group(0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6699 [pid 6699] <... set_robust_list resumed>) = 0 [pid 6698] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6697] <... prctl resumed>) = 0 [pid 6695] <... futex resumed>) = ? [pid 6684] <... exit_group resumed>) = ? [pid 6686] <... futex resumed>) = ? [pid 6699] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6698] <... openat resumed>) = 3 [pid 6697] setpgid(0, 0 [pid 6696] <... openat resumed>) = 3 [pid 6695] +++ exited with 0 +++ [pid 6699] <... prctl resumed>) = 0 [pid 6697] <... setpgid resumed>) = 0 [pid 6699] setpgid(0, 0 [pid 6697] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6686] +++ exited with 0 +++ [pid 6684] +++ exited with 0 +++ [pid 6696] write(3, "1000", 4 [pid 6698] write(3, "1000", 4 [pid 6699] <... setpgid resumed>) = 0 [pid 6698] <... write resumed>) = 4 [pid 6697] <... openat resumed>) = 3 [pid 6696] <... write resumed>) = 4 [pid 6699] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6698] close(3 [pid 6697] write(3, "1000", 4 [pid 6696] close(3 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6684, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=28 /* 0.28 s */} --- [pid 6699] <... openat resumed>) = 3 [pid 6698] <... close resumed>) = 0 [pid 6697] <... write resumed>) = 4 [pid 6696] <... close resumed>) = 0 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 6699] write(3, "1000", 4 [pid 6698] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6697] close(3 [pid 6696] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... restart_syscall resumed>) = 0 [pid 6699] <... write resumed>) = 4 [pid 6698] <... futex resumed>) = 0 [pid 6697] <... close resumed>) = 0 [pid 6696] <... futex resumed>) = 0 [pid 6699] close(3 [pid 6698] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6697] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6696] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6693] <... mount resumed>) = -1 EEXIST (File exists) [pid 6699] <... close resumed>) = 0 [pid 6698] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6697] <... futex resumed>) = 0 [pid 6696] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6699] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6698] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6697] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6696] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5026] <... openat resumed>) = 3 [pid 6699] <... futex resumed>) = 0 [pid 6698] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6697] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6696] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6699] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6698] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6697] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6696] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6693] ioctl(4, LOOP_CLR_FD [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6699] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6698] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6697] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] close(3 [pid 6699] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6698] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6697] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6696] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5026] <... close resumed>) = 0 [pid 6698] <... mprotect resumed>) = 0 [pid 6696] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6698] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6696] <... mprotect resumed>) = 0 [pid 6698] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6696] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6698] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6696] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6696] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6698] <... clone3 resumed> => {parent_tid=[6700]}, 88) = 6700 [pid 6698] rt_sigprocmask(SIG_SETMASK, [], [pid 6696] <... clone3 resumed> => {parent_tid=[6701]}, 88) = 6701 [pid 6698] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6699] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6696] rt_sigprocmask(SIG_SETMASK, [], [pid 6698] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6697] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6696] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6699] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6698] <... futex resumed>) = 0 [pid 6697] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6696] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6698] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6696] <... futex resumed>) = 0 [pid 6696] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6701 attached [pid 6701] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6699] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6697] <... mprotect resumed>) = 0 [pid 6701] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6699] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6697] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6699] <... mprotect resumed>) = 0 [pid 6697] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6702 [pid 6701] <... set_robust_list resumed>) = 0 [pid 6699] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6697] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6699] <... rt_sigprocmask resumed>[], 8) = 0 ./strace-static-x86_64: Process 6702 attached ./strace-static-x86_64: Process 6700 attached [pid 6701] rt_sigprocmask(SIG_SETMASK, [], [pid 6699] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0}./strace-static-x86_64: Process 6704 attached ./strace-static-x86_64: Process 6703 attached [pid 6702] set_robust_list(0x5555558636a0, 24 [pid 6701] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6700] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6697] <... clone3 resumed> => {parent_tid=[6703]}, 88) = 6703 [pid 6704] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6703] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6702] <... set_robust_list resumed>) = 0 [pid 6700] <... rseq resumed>) = 0 [pid 6699] <... clone3 resumed> => {parent_tid=[6704]}, 88) = 6704 [pid 6697] rt_sigprocmask(SIG_SETMASK, [], [pid 6704] <... rseq resumed>) = 0 [pid 6703] <... rseq resumed>) = 0 [pid 6702] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6701] memfd_create("syzkaller", 0 [pid 6700] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6699] rt_sigprocmask(SIG_SETMASK, [], [pid 6697] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6702] <... prctl resumed>) = 0 [pid 6700] <... set_robust_list resumed>) = 0 [pid 6699] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6697] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6702] setpgid(0, 0 [pid 6700] rt_sigprocmask(SIG_SETMASK, [], [pid 6699] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6697] <... futex resumed>) = 0 [pid 6703] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6702] <... setpgid resumed>) = 0 [pid 6701] <... memfd_create resumed>) = 3 [pid 6700] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6699] <... futex resumed>) = 0 [pid 6697] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6704] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6703] <... set_robust_list resumed>) = 0 [pid 6702] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6701] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6700] memfd_create("syzkaller", 0 [ 181.884270][ T6693] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6693) [pid 6699] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6704] <... set_robust_list resumed>) = 0 [pid 6703] rt_sigprocmask(SIG_SETMASK, [], [pid 6702] <... openat resumed>) = 3 [pid 6701] <... mmap resumed>) = 0x7f4e2554e000 [pid 6700] <... memfd_create resumed>) = 3 [pid 6704] rt_sigprocmask(SIG_SETMASK, [], [pid 6703] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6702] write(3, "1000", 4 [pid 6700] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6702] <... write resumed>) = 4 [pid 6700] <... mmap resumed>) = 0x7f4e2554e000 [pid 6704] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6703] memfd_create("syzkaller", 0 [pid 6702] close(3) = 0 [pid 6703] <... memfd_create resumed>) = 3 [pid 6702] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6703] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6702] <... futex resumed>) = 0 [pid 6704] memfd_create("syzkaller", 0 [pid 6702] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6703] <... mmap resumed>) = 0x7f4e2554e000 [pid 6702] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6704] <... memfd_create resumed>) = 3 [pid 6702] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6702] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6704] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6702] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6704] <... mmap resumed>) = 0x7f4e2554e000 [pid 6702] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6702] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6705]}, 88) = 6705 [pid 6702] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6702] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6702] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6705 attached [pid 6705] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6705] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6705] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6705] memfd_create("syzkaller", 0) = 3 [pid 6705] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6693] <... ioctl resumed>) = 0 [pid 6693] close(4) = 0 [pid 6693] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6692] <... futex resumed>) = 0 [pid 6693] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6692] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6693] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6692] <... futex resumed>) = 0 [pid 6693] open("./file0", O_RDONLY [pid 6692] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6693] <... open resumed>) = 3 [pid 6693] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6692] <... futex resumed>) = 0 [pid 6693] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6692] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6693] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6692] <... futex resumed>) = 0 [pid 6693] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6692] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6693] <... ioctl resumed>) = 0 [pid 6693] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6692] <... futex resumed>) = 0 [pid 6693] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6692] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6693] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6692] <... futex resumed>) = 0 [pid 6693] ioctl(3, 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 6692] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6700] 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 [ 182.217899][ T6693] BTRFS info (device loop2): balance: start -d -m [ 182.224728][ T6693] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6705] 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 6692] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6692] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6692] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6692] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6692] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6692] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6706]}, 88) = 6706 [pid 6692] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6692] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6701] 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 6692] <... futex resumed>) = 0 [pid 6692] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6706 attached [pid 6706] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6706] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6706] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6706] open("./file0", O_RDONLY) = 4 [pid 6706] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6692] <... futex resumed>) = 0 [pid 6706] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6704] 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 6692] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6706] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 182.275847][ T6693] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 182.295732][ T6693] BTRFS info (device loop2): 2 enospc errors during balance [pid 6703] 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 6706] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6692] <... futex resumed>) = 0 [pid 6692] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6706] <... ioctl resumed>) = 0 [pid 6706] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6692] <... futex resumed>) = 0 [pid 6706] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6693] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6693] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6692] exit_group(0 [pid 6706] <... futex resumed>) = ? [pid 6692] <... exit_group resumed>) = ? [pid 6706] +++ exited with 0 +++ [pid 6693] +++ exited with 0 +++ [pid 6692] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6692, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=27 /* 0.27 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [ 182.333572][ T6693] BTRFS info (device loop2): balance: ended with status: -28 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6707 ./strace-static-x86_64: Process 6707 attached [pid 6707] set_robust_list(0x5555558636a0, 24) = 0 [pid 6707] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6707] setpgid(0, 0) = 0 [pid 6707] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6707] write(3, "1000", 4) = 4 [pid 6707] close(3) = 0 [pid 6707] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6707] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6707] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6707] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6707] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6707] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6707] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6708]}, 88) = 6708 [pid 6707] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6707] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6707] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6708 attached [pid 6708] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6708] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6708] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6708] memfd_create("syzkaller", 0) = 3 [pid 6708] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6700] <... write resumed>) = 16777216 [pid 6700] munmap(0x7f4e2554e000, 16777216 [pid 6701] <... write resumed>) = 16777216 [pid 6700] <... munmap resumed>) = 0 [pid 6700] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6700] ioctl(4, LOOP_SET_FD, 3 [pid 6701] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6700] <... ioctl resumed>) = 0 [pid 6701] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6700] close(3 [pid 6701] <... openat resumed>) = 4 [pid 6700] <... close resumed>) = 0 [pid 6701] ioctl(4, LOOP_SET_FD, 3 [pid 6700] mkdir("./file0", 0777 [pid 6705] <... write resumed>) = 16777216 [pid 6701] <... ioctl resumed>) = 0 [pid 6700] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6705] munmap(0x7f4e2554e000, 16777216 [pid 6703] <... write resumed>) = 16777216 [pid 6700] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6705] <... munmap resumed>) = 0 [pid 6703] munmap(0x7f4e2554e000, 16777216 [pid 6701] close(3) = 0 [pid 6701] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6701] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6703] <... munmap resumed>) = 0 [pid 6705] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6703] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6705] <... openat resumed>) = 4 [pid 6703] <... openat resumed>) = 4 [pid 6705] ioctl(4, LOOP_SET_FD, 3 [ 182.624246][ T6700] loop5: detected capacity change from 0 to 32768 [ 182.648652][ T6701] loop0: detected capacity change from 0 to 32768 [ 182.663572][ T6700] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6700) [pid 6703] ioctl(4, LOOP_SET_FD, 3 [pid 6704] <... write resumed>) = 16777216 [pid 6703] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6703] ioctl(4, LOOP_CLR_FD) = 0 [pid 6704] munmap(0x7f4e2554e000, 16777216 [pid 6700] <... mount resumed>) = -1 EEXIST (File exists) [pid 6705] <... ioctl resumed>) = 0 [pid 6705] close(3 [pid 6703] ioctl(4, LOOP_SET_FD, 3 [pid 6700] ioctl(4, LOOP_CLR_FD [pid 6705] <... close resumed>) = 0 [pid 6703] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6705] mkdir("./file0", 0777 [pid 6703] close(4 [pid 6705] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6703] <... close resumed>) = 0 [pid 6705] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6703] close(3 [pid 6704] <... munmap resumed>) = 0 [pid 6704] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6704] ioctl(4, LOOP_SET_FD, 3 [pid 6701] <... mount resumed>) = -1 EEXIST (File exists) [pid 6701] ioctl(4, LOOP_CLR_FD [pid 6704] <... ioctl resumed>) = 0 [ 182.683526][ T6705] loop4: detected capacity change from 0 to 32768 [ 182.693226][ T6701] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6701) [ 182.723138][ T6704] loop3: detected capacity change from 0 to 32768 [pid 6704] close(3) = 0 [pid 6704] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6704] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [pid 6704] ioctl(4, LOOP_CLR_FD [pid 6708] 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 6705] <... mount resumed>) = -1 EEXIST (File exists) [ 182.731378][ T6705] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6705) [ 182.756172][ T6704] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6704) [pid 6705] ioctl(4, LOOP_CLR_FD [pid 6703] <... close resumed>) = 0 [pid 6703] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6697] <... futex resumed>) = 0 [pid 6703] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6697] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6703] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6700] <... ioctl resumed>) = 0 [pid 6697] <... futex resumed>) = 0 [pid 6703] open("./file0", O_RDONLY [pid 6700] close(4 [pid 6697] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6703] <... open resumed>) = 3 [pid 6700] <... close resumed>) = 0 [pid 6703] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6700] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6703] <... futex resumed>) = 1 [pid 6700] <... futex resumed>) = 1 [pid 6698] <... futex resumed>) = 0 [pid 6697] <... futex resumed>) = 0 [pid 6698] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6698] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6703] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6697] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6703] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6700] open("./file0", O_RDONLY [pid 6697] <... futex resumed>) = 0 [pid 6703] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6700] <... open resumed>) = 3 [pid 6697] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6703] <... ioctl resumed>) = 0 [pid 6700] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6703] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6700] <... futex resumed>) = 1 [pid 6698] <... futex resumed>) = 0 [pid 6703] <... futex resumed>) = 1 [pid 6701] <... ioctl resumed>) = 0 [pid 6700] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6698] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6697] <... futex resumed>) = 0 [pid 6703] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6700] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6698] <... futex resumed>) = 0 [pid 6697] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6703] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6700] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6698] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6697] <... futex resumed>) = 0 [pid 6704] <... ioctl resumed>) = 0 [pid 6703] ioctl(3, 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 6701] close(4 [pid 6700] <... ioctl resumed>) = 0 [pid 6697] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6701] <... close resumed>) = 0 [pid 6701] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6700] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6701] <... futex resumed>) = 1 [pid 6696] <... futex resumed>) = 0 [pid 6701] open("./file0", O_RDONLY [pid 6696] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6701] <... open resumed>) = 3 [pid 6696] <... futex resumed>) = 0 [pid 6701] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6696] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6701] <... futex resumed>) = 0 [pid 6696] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6704] close(4 [pid 6700] <... futex resumed>) = 1 [pid 6698] <... futex resumed>) = 0 [pid 6704] <... close resumed>) = 0 [pid 6701] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6698] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6696] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6704] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6701] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6698] <... futex resumed>) = 0 [pid 6696] <... futex resumed>) = 0 [pid 6704] <... futex resumed>) = 1 [pid 6701] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6698] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6696] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6704] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6701] <... ioctl resumed>) = 0 [pid 6701] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6700] ioctl(3, 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 6699] <... futex resumed>) = 0 [pid 6701] <... futex resumed>) = 1 [pid 6700] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6699] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6696] <... futex resumed>) = 0 [pid 6701] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6696] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6701] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6696] <... futex resumed>) = 0 [pid 6701] ioctl(3, 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 6696] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6701] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6701] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6696] <... futex resumed>) = 0 [pid 6701] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6696] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6701] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6696] <... futex resumed>) = 0 [pid 6704] <... futex resumed>) = 0 [pid 6701] open("./file0", O_RDONLY [pid 6700] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6699] <... futex resumed>) = 1 [pid 6696] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6704] open("./file0", O_RDONLY [pid 6701] <... open resumed>) = 4 [pid 6700] <... futex resumed>) = 1 [pid 6699] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6698] <... futex resumed>) = 0 [pid 6704] <... open resumed>) = 3 [pid 6701] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6698] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6704] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6701] <... futex resumed>) = 1 [pid 6698] <... futex resumed>) = 0 [pid 6696] <... futex resumed>) = 0 [pid 6704] <... futex resumed>) = 0 [pid 6701] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6700] open("./file0", O_RDONLY [pid 6699] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6698] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6696] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6704] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6701] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6700] <... open resumed>) = 4 [pid 6699] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6696] <... futex resumed>) = 0 [pid 6704] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6701] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6700] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6699] <... futex resumed>) = 0 [pid 6696] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6704] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6701] <... ioctl resumed>) = 0 [pid 6700] <... futex resumed>) = 1 [pid 6699] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6698] <... futex resumed>) = 0 [pid 6705] <... ioctl resumed>) = 0 [pid 6704] <... ioctl resumed>) = 0 [pid 6701] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6700] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6698] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6705] close(4 [pid 6704] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6701] <... futex resumed>) = 1 [pid 6700] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6698] <... futex resumed>) = 0 [pid 6696] <... futex resumed>) = 0 [pid 6704] <... futex resumed>) = 1 [pid 6701] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6700] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6699] <... futex resumed>) = 0 [pid 6698] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6697] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6696] exit_group(0 [pid 6704] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6701] <... futex resumed>) = ? [pid 6699] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6697] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6696] <... exit_group resumed>) = ? [pid 6704] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6701] +++ exited with 0 +++ [pid 6700] <... ioctl resumed>) = 0 [pid 6699] <... futex resumed>) = 0 [pid 6697] <... futex resumed>) = 0 [pid 6696] +++ exited with 0 +++ [pid 6705] <... close resumed>) = 0 [pid 6704] ioctl(3, 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 6700] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6699] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 183.027438][ T6703] BTRFS info (device loop2): balance: start -d -m [ 183.035521][ T6703] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6697] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6696, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=21 /* 0.21 s */} --- [pid 6705] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6704] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6700] <... futex resumed>) = 1 [pid 6698] <... futex resumed>) = 0 [pid 6697] <... mmap resumed>) = 0x7f4e2652d000 [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 6704] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6698] exit_group(0 [pid 5020] <... restart_syscall resumed>) = 0 [pid 6704] <... futex resumed>) = 1 [pid 6698] <... exit_group resumed>) = ? [pid 6697] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6705] <... futex resumed>) = 1 [pid 6704] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6702] <... futex resumed>) = 0 [pid 6699] <... futex resumed>) = 0 [pid 6697] <... mprotect resumed>) = 0 [pid 6705] open("./file0", O_RDONLY [pid 6702] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6700] +++ exited with 0 +++ [pid 6699] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6698] +++ exited with 0 +++ [pid 6697] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6705] <... open resumed>) = 3 [pid 6704] <... futex resumed>) = 0 [pid 6702] <... futex resumed>) = 0 [pid 6699] <... futex resumed>) = 1 [pid 6697] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6698, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=26 /* 0.26 s */} --- [pid 5020] <... openat resumed>) = 3 [pid 6705] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6704] open("./file0", O_RDONLY [pid 6702] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6699] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6697] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6704] <... open resumed>) = 4 [pid 5027] <... restart_syscall resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6704] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6697] <... clone3 resumed> => {parent_tid=[6710]}, 88) = 6710 [pid 5020] close(3 [pid 6704] <... futex resumed>) = 0 [pid 6697] rt_sigprocmask(SIG_SETMASK, [], [pid 5020] <... close resumed>) = 0 [pid 6704] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6697] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6705] <... futex resumed>) = 0 [pid 6702] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6699] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6697] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... openat resumed>) = 3 ./strace-static-x86_64: Process 6710 attached [pid 6705] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6702] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6699] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6697] <... futex resumed>) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6711 [pid 6710] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6705] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6704] <... futex resumed>) = 0 [pid 6702] <... futex resumed>) = 0 [pid 6699] <... futex resumed>) = 1 [pid 6697] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 6711 attached [pid 6710] <... rseq resumed>) = 0 [pid 6705] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6704] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6702] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6699] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] close(3 [pid 6711] set_robust_list(0x5555558636a0, 24 [pid 6710] set_robust_list(0x7f4e2654d9a0, 24 [pid 6705] <... ioctl resumed>) = 0 [pid 6704] <... ioctl resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 6711] <... set_robust_list resumed>) = 0 [pid 6710] <... set_robust_list resumed>) = 0 [ 183.081125][ T6703] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 183.119925][ T6703] BTRFS info (device loop2): 2 enospc errors during balance [pid 6705] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6704] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6711] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6710] rt_sigprocmask(SIG_SETMASK, [], [pid 6705] <... futex resumed>) = 1 [pid 6704] <... futex resumed>) = 1 [pid 6702] <... futex resumed>) = 0 [pid 6699] <... futex resumed>) = 0 [pid 6711] <... prctl resumed>) = 0 [pid 6710] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6705] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6704] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6702] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6699] exit_group(0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6712 ./strace-static-x86_64: Process 6712 attached [pid 6711] setpgid(0, 0 [pid 6710] open("./file0", O_RDONLY [pid 6705] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6704] <... futex resumed>) = ? [pid 6702] <... futex resumed>) = 0 [pid 6699] <... exit_group resumed>) = ? [pid 6712] set_robust_list(0x5555558636a0, 24 [pid 6711] <... setpgid resumed>) = 0 [pid 6710] <... open resumed>) = 4 [pid 6705] ioctl(3, 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 6704] +++ exited with 0 +++ [pid 6702] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6712] <... set_robust_list resumed>) = 0 [pid 6711] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6710] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6699] +++ exited with 0 +++ [pid 6712] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6711] <... openat resumed>) = 3 [pid 6710] <... futex resumed>) = 1 [pid 6697] <... futex resumed>) = 0 [pid 6712] <... prctl resumed>) = 0 [pid 6711] write(3, "1000", 4 [pid 6710] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6697] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6699, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- [pid 6712] setpgid(0, 0 [pid 6711] <... write resumed>) = 4 [pid 6710] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6708] <... write resumed>) = 16777216 [pid 6705] <... 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}}) = 8 [pid 6703] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6697] <... futex resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6712] <... setpgid resumed>) = 0 [pid 6711] close(3 [pid 6710] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6708] munmap(0x7f4e2554e000, 16777216 [pid 6705] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6703] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6697] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] <... openat resumed>) = 3 [pid 6712] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6711] <... close resumed>) = 0 [pid 6710] <... ioctl resumed>) = 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6711] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6710] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6711] <... futex resumed>) = 0 [pid 6710] <... futex resumed>) = 1 [pid 6697] <... futex resumed>) = 0 [pid 5025] close(3 [pid 6711] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6710] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6705] <... futex resumed>) = 1 [pid 6703] <... futex resumed>) = 0 [pid 6697] exit_group(0 [pid 5025] <... close resumed>) = 0 [pid 6712] <... openat resumed>) = 3 [pid 6711] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6710] <... futex resumed>) = ? [pid 6708] <... munmap resumed>) = 0 [pid 6705] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6702] <... futex resumed>) = 0 [pid 6697] <... exit_group resumed>) = ? [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6712] write(3, "1000", 4 [pid 6711] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6710] +++ exited with 0 +++ [pid 6708] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6703] +++ exited with 0 +++ [pid 6702] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6697] +++ exited with 0 +++ [pid 6712] <... write resumed>) = 4 [pid 6711] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6708] <... openat resumed>) = 4 [pid 6705] <... futex resumed>) = 0 [pid 6702] <... futex resumed>) = 1 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6713 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6697, si_uid=0, si_status=0, si_utime=8 /* 0.08 s */, si_stime=20 /* 0.20 s */} --- ./strace-static-x86_64: Process 6713 attached [pid 6712] close(3 [pid 6711] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [ 183.139504][ T6703] BTRFS info (device loop2): balance: ended with status: -28 [pid 6708] ioctl(4, LOOP_SET_FD, 3 [pid 6705] open("./file0", O_RDONLY [pid 6702] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6713] set_robust_list(0x5555558636a0, 24 [pid 6712] <... close resumed>) = 0 [pid 6711] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6705] <... open resumed>) = 4 [pid 6713] <... set_robust_list resumed>) = 0 [pid 6712] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6708] <... ioctl resumed>) = 0 [pid 6705] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6713] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6712] <... futex resumed>) = 0 [pid 6711] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6708] close(3 [pid 6705] <... futex resumed>) = 1 [pid 6702] <... futex resumed>) = 0 [pid 6713] <... prctl resumed>) = 0 [pid 6712] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6708] <... close resumed>) = 0 [pid 6705] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6702] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6713] setpgid(0, 0 [pid 6712] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6708] mkdir("./file0", 0777 [pid 6705] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6702] <... futex resumed>) = 0 [pid 6713] <... setpgid resumed>) = 0 [pid 6712] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6708] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6705] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6702] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6713] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6712] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6708] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6711] <... mprotect resumed>) = 0 [pid 6713] <... openat resumed>) = 3 [pid 6712] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6705] <... ioctl resumed>) = 0 [pid 6713] write(3, "1000", 4 [pid 6712] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6711] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6705] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6713] <... write resumed>) = 4 [pid 6712] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6711] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6705] <... futex resumed>) = 1 [pid 6702] <... futex resumed>) = 0 [pid 6713] close(3 [pid 6712] <... mprotect resumed>) = 0 [pid 6711] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6705] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6702] exit_group(0 [pid 6713] <... close resumed>) = 0 [pid 6712] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6705] <... futex resumed>) = ? [pid 6702] <... exit_group resumed>) = ? [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR./strace-static-x86_64: Process 6714 attached [pid 6713] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6712] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6711] <... clone3 resumed> => {parent_tid=[6714]}, 88) = 6714 [pid 6708] <... mount resumed>) = -1 EEXIST (File exists) [pid 6705] +++ exited with 0 +++ [pid 6702] +++ exited with 0 +++ [pid 5022] <... openat resumed>) = 3 [pid 6713] <... futex resumed>) = 0 [pid 6712] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6713] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6702, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- [pid 6713] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6712] <... clone3 resumed> => {parent_tid=[6715]}, 88) = 6715 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 6713] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6712] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] <... restart_syscall resumed>) = 0 [pid 6713] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6712] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6713] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6712] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6713] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6712] <... futex resumed>) = 0 [pid 6711] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6713] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6712] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6711] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] <... openat resumed>) = 3 [pid 6713] <... mprotect resumed>) = 0 [pid 6711] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5022] <... ioctl resumed>) = 0 [pid 6713] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6711] <... futex resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5022] close(3 [pid 6713] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6711] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6708] ioctl(4, LOOP_CLR_FD [pid 5026] close(3 [pid 6713] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5026] <... close resumed>) = 0 [pid 5022] <... close resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6713] <... clone3 resumed> => {parent_tid=[6716]}, 88) = 6716 [pid 6713] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6717 [pid 6713] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6715 attached [pid 6713] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6715] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6713] <... futex resumed>) = 0 [pid 6715] <... rseq resumed>) = 0 [pid 6713] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6715] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6715] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6715] memfd_create("syzkaller", 0) = 3 [pid 6715] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 ./strace-static-x86_64: Process 6717 attached [pid 6717] set_robust_list(0x5555558636a0, 24) = 0 [pid 6717] prctl(PR_SET_PDEATHSIG, SIGKILL./strace-static-x86_64: Process 6716 attached [pid 6716] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6717] <... prctl resumed>) = 0 [pid 6716] <... rseq resumed>) = 0 [pid 6717] setpgid(0, 0 [pid 6716] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6717] <... setpgid resumed>) = 0 [pid 6716] <... set_robust_list resumed>) = 0 [pid 6717] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6716] rt_sigprocmask(SIG_SETMASK, [], [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6717] <... openat resumed>) = 3 [pid 6716] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6717] write(3, "1000", 4 [pid 6716] memfd_create("syzkaller", 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6719 [pid 6717] <... write resumed>) = 4 [pid 6716] <... memfd_create resumed>) = 3 [pid 6717] close(3 [pid 6716] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6717] <... close resumed>) = 0 [pid 6716] <... mmap resumed>) = 0x7f4e2554e000 [ 183.191004][ T6708] loop1: detected capacity change from 0 to 32768 [ 183.205062][ T6708] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6708) [pid 6714] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6717] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6714] <... rseq resumed>) = 0 ./strace-static-x86_64: Process 6719 attached [pid 6717] <... futex resumed>) = 0 [pid 6719] set_robust_list(0x5555558636a0, 24 [pid 6717] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6719] <... set_robust_list resumed>) = 0 [pid 6717] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6719] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6717] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6719] <... prctl resumed>) = 0 [pid 6717] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6719] setpgid(0, 0 [pid 6717] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6719] <... setpgid resumed>) = 0 [pid 6717] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6719] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6717] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6714] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6719] <... openat resumed>) = 3 [pid 6717] <... mprotect resumed>) = 0 [pid 6714] <... set_robust_list resumed>) = 0 [pid 6719] write(3, "1000", 4 [pid 6717] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6714] rt_sigprocmask(SIG_SETMASK, [], [pid 6719] <... write resumed>) = 4 [pid 6717] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6719] close(3 [pid 6717] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6714] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6719] <... close resumed>) = 0 [pid 6719] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6717] <... clone3 resumed> => {parent_tid=[6720]}, 88) = 6720 [pid 6719] <... futex resumed>) = 0 [pid 6717] rt_sigprocmask(SIG_SETMASK, [], [pid 6714] memfd_create("syzkaller", 0 [pid 6719] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6717] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6714] <... memfd_create resumed>) = 3 [pid 6719] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6717] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6714] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6719] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6717] <... futex resumed>) = 0 [pid 6719] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6717] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6714] <... mmap resumed>) = 0x7f4e2554e000 [pid 6719] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0./strace-static-x86_64: Process 6720 attached ) = 0x7f4e2d94e000 [pid 6720] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6719] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6720] <... rseq resumed>) = 0 [pid 6719] <... mprotect resumed>) = 0 [pid 6720] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6719] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6720] <... set_robust_list resumed>) = 0 [pid 6719] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6720] rt_sigprocmask(SIG_SETMASK, [], [pid 6719] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6720] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6720] memfd_create("syzkaller", 0 [pid 6719] <... clone3 resumed> => {parent_tid=[6721]}, 88) = 6721 [pid 6720] <... memfd_create resumed>) = 3 [pid 6719] rt_sigprocmask(SIG_SETMASK, [], [pid 6720] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6719] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6720] <... mmap resumed>) = 0x7f4e2554e000 [pid 6719] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6719] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6721 attached [pid 6721] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6721] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6721] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6721] memfd_create("syzkaller", 0) = 3 [pid 6721] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6708] <... ioctl resumed>) = 0 [pid 6708] close(4) = 0 [pid 6708] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6707] <... futex resumed>) = 0 [pid 6708] open("./file0", O_RDONLY [pid 6707] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6708] <... open resumed>) = 3 [pid 6707] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6708] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6707] <... futex resumed>) = 0 [pid 6708] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6707] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6708] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6707] <... futex resumed>) = 0 [pid 6708] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6707] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6708] <... ioctl resumed>) = 0 [pid 6708] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6707] <... futex resumed>) = 0 [pid 6708] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6707] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6708] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6707] <... futex resumed>) = 0 [pid 6708] ioctl(3, 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 6707] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6716] 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 6715] 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 [ 183.588598][ T6708] BTRFS info (device loop2): balance: start -d -m [ 183.599420][ T6708] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6714] 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 6707] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6707] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6707] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6707] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6707] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6707] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6722]}, 88) = 6722 ./strace-static-x86_64: Process 6722 attached [pid 6720] 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 6707] rt_sigprocmask(SIG_SETMASK, [], [pid 6722] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6707] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6722] <... rseq resumed>) = 0 [pid 6707] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6722] set_robust_list(0x7f4e2654d9a0, 24 [pid 6707] <... futex resumed>) = 0 [pid 6722] <... set_robust_list resumed>) = 0 [pid 6707] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6722] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6722] open("./file0", O_RDONLY) = 4 [pid 6722] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6707] <... futex resumed>) = 0 [pid 6722] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6707] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6722] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6707] <... futex resumed>) = 0 [pid 6722] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6707] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6722] <... ioctl resumed>) = 0 [pid 6722] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [ 183.634476][ T6708] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 183.671598][ T6708] BTRFS info (device loop2): 2 enospc errors during balance [pid 6707] <... futex resumed>) = 0 [pid 6722] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6721] 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 6708] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6708] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6708] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6707] exit_group(0 [pid 6722] <... futex resumed>) = ? [pid 6708] <... futex resumed>) = ? [pid 6707] <... exit_group resumed>) = ? [pid 6722] +++ exited with 0 +++ [pid 6708] +++ exited with 0 +++ [pid 6707] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6707, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=23 /* 0.23 s */} --- [pid 5021] restart_syscall(<... resuming interrupted clone ...>) = 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 183.700097][ T6708] BTRFS info (device loop2): balance: ended with status: -28 [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6723 ./strace-static-x86_64: Process 6723 attached [pid 6723] set_robust_list(0x5555558636a0, 24) = 0 [pid 6723] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6723] setpgid(0, 0) = 0 [pid 6723] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6723] write(3, "1000", 4) = 4 [pid 6723] close(3) = 0 [pid 6723] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6723] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6723] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6723] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6723] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6723] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6723] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6724]}, 88) = 6724 [pid 6723] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6723] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6723] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6724 attached [pid 6724] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6724] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6724] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6724] memfd_create("syzkaller", 0) = 3 [pid 6724] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6720] <... write resumed>) = 16777216 [pid 6720] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6720] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6720] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6720] close(3) = 0 [pid 6720] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6720] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6716] <... write resumed>) = 16777216 [pid 6715] <... write resumed>) = 16777216 [pid 6715] munmap(0x7f4e2554e000, 16777216 [pid 6716] munmap(0x7f4e2554e000, 16777216 [pid 6715] <... munmap resumed>) = 0 [pid 6715] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6716] <... munmap resumed>) = 0 [pid 6715] <... openat resumed>) = 4 [pid 6716] openat(AT_FDCWD, "/dev/loop3", O_RDWR [ 184.010123][ T6720] loop4: detected capacity change from 0 to 32768 [ 184.032775][ T6720] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6720) [pid 6715] ioctl(4, LOOP_SET_FD, 3 [pid 6716] <... openat resumed>) = 4 [pid 6716] ioctl(4, LOOP_SET_FD, 3 [pid 6720] <... mount resumed>) = -1 EEXIST (File exists) [pid 6720] ioctl(4, LOOP_CLR_FD [pid 6714] <... write resumed>) = 16777216 [pid 6716] <... ioctl resumed>) = 0 [pid 6716] close(3 [pid 6714] munmap(0x7f4e2554e000, 16777216 [pid 6716] <... close resumed>) = 0 [pid 6716] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6716] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6714] <... munmap resumed>) = 0 [pid 6721] <... write resumed>) = 16777216 [pid 6716] <... mount resumed>) = -1 EEXIST (File exists) [pid 6715] <... ioctl resumed>) = 0 [pid 6714] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6721] munmap(0x7f4e2554e000, 16777216 [pid 6716] ioctl(4, LOOP_CLR_FD [pid 6715] close(3 [pid 6714] <... openat resumed>) = 4 [pid 6715] <... close resumed>) = 0 [ 184.064420][ T6715] loop5: detected capacity change from 0 to 32768 [ 184.077262][ T6716] loop3: detected capacity change from 0 to 32768 [ 184.091196][ T6716] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6716) [pid 6714] ioctl(4, LOOP_SET_FD, 3 [pid 6715] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6715] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6724] 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 6721] <... munmap resumed>) = 0 [pid 6715] <... mount resumed>) = -1 EEXIST (File exists) [pid 6714] <... ioctl resumed>) = 0 [pid 6721] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6715] ioctl(4, LOOP_CLR_FD [pid 6714] close(3 [pid 6721] <... openat resumed>) = 4 [pid 6714] <... close resumed>) = 0 [pid 6721] ioctl(4, LOOP_SET_FD, 3 [pid 6714] mkdir("./file0", 0777 [pid 6721] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6714] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6721] ioctl(4, LOOP_CLR_FD [pid 6714] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6721] <... ioctl resumed>) = 0 [pid 6721] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6721] close(4) = 0 [pid 6714] <... mount resumed>) = -1 EEXIST (File exists) [pid 6721] close(3 [ 184.113852][ T6714] loop0: detected capacity change from 0 to 32768 [ 184.122021][ T6715] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6715) [ 184.150090][ T6714] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6714) [pid 6714] ioctl(4, LOOP_CLR_FD [pid 6716] <... ioctl resumed>) = 0 [pid 6720] <... ioctl resumed>) = 0 [pid 6720] close(4 [pid 6716] close(4 [pid 6720] <... close resumed>) = 0 [pid 6716] <... close resumed>) = 0 [pid 6720] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6717] <... futex resumed>) = 0 [pid 6717] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6720] open("./file0", O_RDONLY [pid 6717] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6720] <... open resumed>) = 3 [pid 6716] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6720] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6716] <... futex resumed>) = 1 [pid 6720] <... futex resumed>) = 1 [pid 6716] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6717] <... futex resumed>) = 0 [pid 6713] <... futex resumed>) = 0 [pid 6720] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6717] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6713] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6720] <... futex resumed>) = 0 [pid 6717] <... futex resumed>) = 1 [pid 6716] <... futex resumed>) = 0 [pid 6713] <... futex resumed>) = 1 [pid 6720] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6717] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6716] open("./file0", O_RDONLY [pid 6713] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6720] <... ioctl resumed>) = 0 [pid 6716] <... open resumed>) = 3 [pid 6714] <... ioctl resumed>) = 0 [pid 6720] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6716] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6720] <... futex resumed>) = 1 [pid 6717] <... futex resumed>) = 0 [pid 6716] <... futex resumed>) = 1 [pid 6713] <... futex resumed>) = 0 [pid 6720] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6717] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6716] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6713] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6720] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6717] <... futex resumed>) = 0 [pid 6716] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6713] <... futex resumed>) = 0 [pid 6720] ioctl(3, 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 6717] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6716] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6713] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6716] <... ioctl resumed>) = 0 [pid 6716] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6713] <... futex resumed>) = 0 [pid 6716] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6713] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6716] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6713] <... futex resumed>) = 0 [pid 6716] ioctl(3, 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 6713] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6716] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6715] <... ioctl resumed>) = 0 [pid 6716] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6713] <... futex resumed>) = 0 [pid 6716] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6713] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6716] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6713] <... futex resumed>) = 0 [pid 6716] open("./file0", O_RDONLY [pid 6713] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6716] <... open resumed>) = 4 [pid 6716] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6713] <... futex resumed>) = 0 [pid 6716] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6713] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6716] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6713] <... futex resumed>) = 0 [pid 6716] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6713] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6716] <... ioctl resumed>) = 0 [pid 6716] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6713] <... futex resumed>) = 0 [pid 6716] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6713] exit_group(0 [pid 6716] <... futex resumed>) = ? [pid 6714] close(4 [pid 6713] <... exit_group resumed>) = ? [pid 6724] <... write resumed>) = 16777216 [pid 6721] <... close resumed>) = 0 [pid 6716] +++ exited with 0 +++ [pid 6715] close(4 [pid 6714] <... close resumed>) = 0 [pid 6713] +++ exited with 0 +++ [pid 6724] munmap(0x7f4e2554e000, 16777216 [pid 6721] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6715] <... close resumed>) = 0 [pid 6714] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6713, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=24 /* 0.24 s */} --- [pid 6717] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6714] <... futex resumed>) = 1 [pid 6711] <... futex resumed>) = 0 [pid 6721] <... futex resumed>) = 1 [pid 6719] <... futex resumed>) = 0 [pid 6717] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6715] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6714] open("./file0", O_RDONLY [pid 6711] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6721] open("./file0", O_RDONLY [pid 6719] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6717] <... futex resumed>) = 0 [pid 6715] <... futex resumed>) = 1 [pid 6714] <... open resumed>) = 3 [pid 6712] <... futex resumed>) = 0 [pid 6711] <... futex resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6721] <... open resumed>) = 3 [pid 6719] <... futex resumed>) = 0 [pid 6717] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6714] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6712] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6711] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] <... openat resumed>) = 3 [ 184.409100][ T6720] BTRFS info (device loop2): balance: start -d -m [ 184.424160][ T6720] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6724] <... munmap resumed>) = 0 [pid 6721] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6719] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6717] <... mmap resumed>) = 0x7f4e2652d000 [pid 6715] open("./file0", O_RDONLY [pid 6714] <... futex resumed>) = 0 [pid 6712] <... futex resumed>) = 0 [pid 6711] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6721] <... futex resumed>) = 0 [pid 6719] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6717] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6715] <... open resumed>) = 3 [pid 6714] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6711] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6714] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6711] <... futex resumed>) = 0 [pid 6714] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6711] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6714] <... ioctl resumed>) = 0 [pid 6712] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6721] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6719] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6714] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6717] <... mprotect resumed>) = 0 [pid 6715] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6714] <... futex resumed>) = 1 [pid 6711] <... futex resumed>) = 0 [pid 6721] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6719] <... futex resumed>) = 0 [pid 5025] close(3 [pid 6721] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6719] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6717] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6715] <... futex resumed>) = 1 [pid 6714] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6712] <... futex resumed>) = 0 [pid 6711] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... close resumed>) = 0 [pid 6721] <... ioctl resumed>) = 0 [pid 6717] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6715] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6714] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6712] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6711] <... futex resumed>) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6721] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6715] <... ioctl resumed>) = 0 [pid 6714] ioctl(3, 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 6712] <... futex resumed>) = 0 [pid 6711] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6721] <... futex resumed>) = 1 [pid 6719] <... futex resumed>) = 0 [pid 6715] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6717] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6714] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6712] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6721] ioctl(3, 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 6719] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6715] <... futex resumed>) = 0 [pid 6714] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6712] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6726 [pid 6721] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6719] <... futex resumed>) = 0 [pid 6717] <... clone3 resumed> => {parent_tid=[6727]}, 88) = 6727 [pid 6715] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6714] <... futex resumed>) = 1 [pid 6712] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6711] <... futex resumed>) = 0 [pid 6724] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6721] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6719] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6717] rt_sigprocmask(SIG_SETMASK, [], [pid 6715] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6714] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6711] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6727 attached [pid 6714] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6711] <... futex resumed>) = 0 [pid 6727] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6714] open("./file0", O_RDONLY [pid 6711] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6727] <... rseq resumed>) = 0 [pid 6714] <... open resumed>) = 4 [pid 6727] set_robust_list(0x7f4e2654d9a0, 24 [pid 6714] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6727] <... set_robust_list resumed>) = 0 [pid 6714] <... futex resumed>) = 1 [pid 6711] <... futex resumed>) = 0 [pid 6727] rt_sigprocmask(SIG_SETMASK, [], [pid 6714] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6711] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6727] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6714] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6711] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6726 attached [pid 6727] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6724] <... openat resumed>) = 4 [pid 6721] <... futex resumed>) = 0 [pid 6719] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6717] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6715] ioctl(3, 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 6714] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6712] <... futex resumed>) = 0 [pid 6711] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6726] set_robust_list(0x5555558636a0, 24 [pid 6724] ioctl(4, LOOP_SET_FD, 3 [pid 6721] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6719] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6717] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6715] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6714] <... ioctl resumed>) = 0 [pid 6712] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6727] <... futex resumed>) = 0 [pid 6726] <... set_robust_list resumed>) = 0 [pid 6721] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6719] <... futex resumed>) = 0 [pid 6724] <... ioctl resumed>) = 0 [pid 6717] <... futex resumed>) = 1 [pid 6715] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6714] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6712] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6727] open("./file0", O_RDONLY [pid 6726] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6724] close(3 [pid 6721] open("./file0", O_RDONLY [pid 6719] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6717] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6715] <... futex resumed>) = 0 [pid 6714] <... futex resumed>) = 1 [ 184.485599][ T6720] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 184.511595][ T6724] loop1: detected capacity change from 0 to 32768 [ 184.516295][ T6720] BTRFS info (device loop2): 2 enospc errors during balance [pid 6712] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6711] <... futex resumed>) = 0 [pid 6727] <... open resumed>) = 4 [pid 6726] <... prctl resumed>) = 0 [pid 6724] <... close resumed>) = 0 [pid 6721] <... open resumed>) = 4 [pid 6715] open("./file0", O_RDONLY [pid 6714] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6712] <... futex resumed>) = 0 [pid 6711] exit_group(0 [pid 6727] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6726] setpgid(0, 0 [pid 6724] mkdir("./file0", 0777 [pid 6721] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6715] <... open resumed>) = 4 [pid 6714] <... futex resumed>) = ? [pid 6712] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6711] <... exit_group resumed>) = ? [pid 6727] <... futex resumed>) = 1 [pid 6726] <... setpgid resumed>) = 0 [pid 6724] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6721] <... futex resumed>) = 1 [pid 6719] <... futex resumed>) = 0 [pid 6717] <... futex resumed>) = 0 [pid 6715] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6714] +++ exited with 0 +++ [pid 6712] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6711] +++ exited with 0 +++ [pid 6727] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6726] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6724] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6711, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=24 /* 0.24 s */} --- [pid 6721] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6719] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6727] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6717] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6715] <... futex resumed>) = 0 [pid 6712] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6727] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6721] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6719] <... futex resumed>) = 0 [pid 6717] <... futex resumed>) = 0 [pid 6715] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6712] <... futex resumed>) = 0 [pid 6727] <... ioctl resumed>) = 0 [pid 6726] <... openat resumed>) = 3 [pid 6727] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6727] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3 [pid 6726] write(3, "1000", 4 [pid 6721] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6719] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6717] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6712] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5020] <... close resumed>) = 0 [pid 6726] <... write resumed>) = 4 [pid 6717] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6715] <... ioctl resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6726] close(3 [pid 6715] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6726] <... close resumed>) = 0 [pid 6721] <... ioctl resumed>) = 0 [pid 6715] <... futex resumed>) = 1 [pid 6712] <... futex resumed>) = 0 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6728 [pid 6726] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6721] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6715] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6712] exit_group(0 [pid 6726] <... futex resumed>) = 0 [pid 6721] <... futex resumed>) = 1 [pid 6719] <... futex resumed>) = 0 [pid 6715] <... futex resumed>) = ? [pid 6712] <... exit_group resumed>) = ? [pid 6726] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6721] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6719] exit_group(0 [pid 6715] +++ exited with 0 +++ ./strace-static-x86_64: Process 6728 attached [pid 6728] set_robust_list(0x5555558636a0, 24) = 0 [pid 6712] +++ exited with 0 +++ [pid 6728] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6726] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6721] <... futex resumed>) = ? [pid 6720] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6719] <... exit_group resumed>) = ? [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6712, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=23 /* 0.23 s */} --- [pid 6728] <... prctl resumed>) = 0 [pid 6726] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6721] +++ exited with 0 +++ [pid 6720] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 6728] setpgid(0, 0 [pid 6720] <... futex resumed>) = 0 [pid 5027] <... restart_syscall resumed>) = 0 [pid 6728] <... setpgid resumed>) = 0 [pid 6720] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6719] +++ exited with 0 +++ [pid 6728] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6726] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6717] exit_group(0 [pid 6728] <... openat resumed>) = 3 [pid 6727] <... futex resumed>) = ? [pid 6726] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6720] <... futex resumed>) = ? [pid 6717] <... exit_group resumed>) = ? [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6719, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=20 /* 0.20 s */} --- [pid 6728] write(3, "1000", 4 [pid 6727] +++ exited with 0 +++ [pid 6726] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6720] +++ exited with 0 +++ [pid 5027] <... openat resumed>) = 3 [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 6728] <... write resumed>) = 4 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5022] <... restart_syscall resumed>) = 0 [pid 6728] close(3 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6717] +++ exited with 0 +++ [pid 6728] <... close resumed>) = 0 [pid 6726] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5027] close(3 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6717, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=31 /* 0.31 s */} --- [pid 6728] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6726] <... mprotect resumed>) = 0 [pid 6724] <... mount resumed>) = -1 EEXIST (File exists) [pid 5027] <... close resumed>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6726] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6724] ioctl(4, LOOP_CLR_FD [pid 6728] <... futex resumed>) = 0 [pid 6726] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5022] <... openat resumed>) = 3 [pid 6728] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6726] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5026] <... openat resumed>) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6726] <... clone3 resumed> => {parent_tid=[6730]}, 88) = 6730 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6728] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6726] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6729 [pid 5026] close(3 [pid 5022] <... ioctl resumed>) = 0 [pid 6728] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6726] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] <... close resumed>) = 0 [pid 5022] close(3 [pid 6728] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6726] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5022] <... close resumed>) = 0 [pid 6728] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6726] <... futex resumed>) = 0 [pid 6726] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6731 ./strace-static-x86_64: Process 6730 attached [pid 6730] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6730] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6730] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [ 184.528781][ T6720] BTRFS info (device loop2): balance: ended with status: -28 [ 184.544589][ T6724] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6724) [pid 6730] memfd_create("syzkaller", 0) = 3 [pid 6728] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6731 attached ./strace-static-x86_64: Process 6729 attached [pid 6730] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6728] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6730] <... mmap resumed>) = 0x7f4e2554e000 [pid 6731] set_robust_list(0x5555558636a0, 24 [pid 6729] set_robust_list(0x5555558636a0, 24 [pid 6728] <... mprotect resumed>) = 0 ./strace-static-x86_64: Process 6732 attached [pid 6732] set_robust_list(0x5555558636a0, 24) = 0 [pid 6732] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6732] setpgid(0, 0 [pid 6731] <... set_robust_list resumed>) = 0 [pid 6729] <... set_robust_list resumed>) = 0 [pid 6728] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6732 [pid 6731] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6729] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6728] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6732] <... setpgid resumed>) = 0 [pid 6731] <... prctl resumed>) = 0 [pid 6729] <... prctl resumed>) = 0 [pid 6728] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6732] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6731] setpgid(0, 0 [pid 6729] setpgid(0, 0 [pid 6732] <... openat resumed>) = 3 [pid 6731] <... setpgid resumed>) = 0 [pid 6729] <... setpgid resumed>) = 0 [pid 6728] <... clone3 resumed> => {parent_tid=[6733]}, 88) = 6733 [pid 6732] write(3, "1000", 4 [pid 6731] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6729] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6728] rt_sigprocmask(SIG_SETMASK, [], [pid 6732] <... write resumed>) = 4 [pid 6731] <... openat resumed>) = 3 [pid 6729] <... openat resumed>) = 3 [pid 6732] close(3 [pid 6731] write(3, "1000", 4 [pid 6729] write(3, "1000", 4 [pid 6728] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6732] <... close resumed>) = 0 [pid 6731] <... write resumed>) = 4 [pid 6729] <... write resumed>) = 4 [pid 6728] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6733 attached [pid 6732] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6731] close(3 [pid 6729] close(3 [pid 6728] <... futex resumed>) = 0 [pid 6733] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6732] <... futex resumed>) = 0 [pid 6731] <... close resumed>) = 0 [pid 6729] <... close resumed>) = 0 [pid 6728] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6733] <... rseq resumed>) = 0 [pid 6732] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6731] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6729] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6733] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6732] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6731] <... futex resumed>) = 0 [pid 6733] <... set_robust_list resumed>) = 0 [pid 6732] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6731] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6729] <... futex resumed>) = 0 [pid 6733] rt_sigprocmask(SIG_SETMASK, [], [pid 6732] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6731] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6729] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6733] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6732] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6731] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6729] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6733] memfd_create("syzkaller", 0 [pid 6732] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6731] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6729] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6733] <... memfd_create resumed>) = 3 [pid 6732] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6731] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6729] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6733] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6732] <... mprotect resumed>) = 0 [pid 6731] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6729] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6733] <... mmap resumed>) = 0x7f4e2554e000 [pid 6732] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6731] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6729] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6732] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6732] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6731] <... mprotect resumed>) = 0 [pid 6729] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6732] <... clone3 resumed> => {parent_tid=[6735]}, 88) = 6735 [pid 6731] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6732] rt_sigprocmask(SIG_SETMASK, [], [pid 6731] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6729] <... mprotect resumed>) = 0 [pid 6732] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6731] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6729] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6732] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6729] <... rt_sigprocmask resumed>[], 8) = 0 ./strace-static-x86_64: Process 6735 attached [pid 6732] <... futex resumed>) = 0 [pid 6731] <... clone3 resumed> => {parent_tid=[6736]}, 88) = 6736 [pid 6729] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6735] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6732] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6731] rt_sigprocmask(SIG_SETMASK, [], [pid 6735] <... rseq resumed>) = 0 [pid 6731] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6729] <... clone3 resumed> => {parent_tid=[6737]}, 88) = 6737 ./strace-static-x86_64: Process 6736 attached [pid 6735] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6731] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6729] rt_sigprocmask(SIG_SETMASK, [], [pid 6736] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6735] <... set_robust_list resumed>) = 0 [pid 6731] <... futex resumed>) = 0 [pid 6729] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6736] <... rseq resumed>) = 0 [pid 6735] rt_sigprocmask(SIG_SETMASK, [], [pid 6731] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6729] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6736] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6735] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6729] <... futex resumed>) = 0 [pid 6736] <... set_robust_list resumed>) = 0 [pid 6729] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6736] rt_sigprocmask(SIG_SETMASK, [], [pid 6735] memfd_create("syzkaller", 0./strace-static-x86_64: Process 6737 attached [pid 6736] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6735] <... memfd_create resumed>) = 3 [pid 6737] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6736] memfd_create("syzkaller", 0 [pid 6735] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6737] <... rseq resumed>) = 0 [pid 6736] <... memfd_create resumed>) = 3 [pid 6735] <... mmap resumed>) = 0x7f4e2554e000 [pid 6736] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6737] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6737] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6737] memfd_create("syzkaller", 0) = 3 [pid 6737] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6724] <... ioctl resumed>) = 0 [pid 6724] close(4) = 0 [pid 6724] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6724] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6723] <... futex resumed>) = 0 [pid 6723] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6724] <... futex resumed>) = 0 [pid 6723] <... futex resumed>) = 1 [pid 6724] open("./file0", O_RDONLY [pid 6723] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6724] <... open resumed>) = 3 [pid 6724] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6723] <... futex resumed>) = 0 [pid 6724] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6723] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6724] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6723] <... futex resumed>) = 0 [pid 6724] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6723] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6724] <... ioctl resumed>) = 0 [pid 6724] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6723] <... futex resumed>) = 0 [pid 6724] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6723] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6724] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6723] <... futex resumed>) = 0 [pid 6724] ioctl(3, 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}} [ 184.862299][ T6724] BTRFS info (device loop2): balance: start -d -m [ 184.870571][ T6724] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6723] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6723] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6723] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6723] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6723] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6723] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6738]}, 88) = 6738 [pid 6723] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6723] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6723] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6738 attached [pid 6738] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6738] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6738] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6738] open("./file0", O_RDONLY) = 4 [pid 6738] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6723] <... futex resumed>) = 0 [pid 6738] <... futex resumed>) = 1 [pid 6723] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6738] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6723] <... futex resumed>) = 0 [pid 6723] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 184.926531][ T6724] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6738] <... ioctl resumed>) = 0 [pid 6738] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6723] <... futex resumed>) = 0 [pid 6738] <... futex resumed>) = 1 [pid 6738] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6730] 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 6733] 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 6724] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6724] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6724] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6723] exit_group(0 [pid 6738] <... futex resumed>) = ? [pid 6724] <... futex resumed>) = ? [pid 6723] <... exit_group resumed>) = ? [pid 6738] +++ exited with 0 +++ [pid 6724] +++ exited with 0 +++ [pid 6723] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6723, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=28 /* 0.28 s */} --- [pid 5021] restart_syscall(<... resuming interrupted clone ...>) = 0 [ 184.974215][ T6724] BTRFS info (device loop2): 2 enospc errors during balance [ 185.013139][ T6724] BTRFS info (device loop2): balance: ended with status: -28 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6735] 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 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6739 [pid 6737] 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./strace-static-x86_64: Process 6739 attached [pid 6736] 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 6739] set_robust_list(0x5555558636a0, 24) = 0 [pid 6739] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6739] setpgid(0, 0) = 0 [pid 6739] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6739] write(3, "1000", 4) = 4 [pid 6739] close(3) = 0 [pid 6739] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6739] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6739] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6739] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6739] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6739] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6739] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6740]}, 88) = 6740 [pid 6739] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6739] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6739] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6740 attached [pid 6740] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6740] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6740] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6740] memfd_create("syzkaller", 0) = 3 [pid 6740] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6730] <... write resumed>) = 16777216 [pid 6730] munmap(0x7f4e2554e000, 16777216 [pid 6733] <... write resumed>) = 16777216 [pid 6730] <... munmap resumed>) = 0 [pid 6733] munmap(0x7f4e2554e000, 16777216 [pid 6730] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6733] <... munmap resumed>) = 0 [pid 6730] <... openat resumed>) = 4 [pid 6733] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6730] ioctl(4, LOOP_SET_FD, 3 [pid 6733] <... openat resumed>) = 4 [pid 6736] <... write resumed>) = 16777216 [pid 6736] munmap(0x7f4e2554e000, 16777216 [pid 6733] ioctl(4, LOOP_SET_FD, 3 [pid 6735] <... write resumed>) = 16777216 [pid 6730] <... ioctl resumed>) = 0 [pid 6735] munmap(0x7f4e2554e000, 16777216 [pid 6730] close(3 [pid 6736] <... munmap resumed>) = 0 [pid 6730] <... close resumed>) = 0 [pid 6735] <... munmap resumed>) = 0 [pid 6730] mkdir("./file0", 0777 [pid 6735] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6733] <... ioctl resumed>) = 0 [pid 6730] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6735] <... openat resumed>) = 4 [pid 6733] close(3 [pid 6730] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6736] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6736] ioctl(4, LOOP_SET_FD, 3 [pid 6735] ioctl(4, LOOP_SET_FD, 3 [pid 6733] <... close resumed>) = 0 [pid 6730] <... mount resumed>) = -1 EEXIST (File exists) [pid 6737] <... write resumed>) = 16777216 [pid 6736] <... ioctl resumed>) = 0 [pid 6735] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6733] mkdir("./file0", 0777 [pid 6730] ioctl(4, LOOP_CLR_FD [pid 6737] munmap(0x7f4e2554e000, 16777216 [pid 6736] close(3 [pid 6735] ioctl(4, LOOP_CLR_FD [pid 6733] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6737] <... munmap resumed>) = 0 [pid 6736] <... close resumed>) = 0 [pid 6735] <... ioctl resumed>) = 0 [ 185.404955][ T6730] loop3: detected capacity change from 0 to 32768 [ 185.413235][ T6733] loop0: detected capacity change from 0 to 32768 [ 185.436725][ T6730] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6730) [ 185.438176][ T6736] loop4: detected capacity change from 0 to 32768 [pid 6733] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6740] 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 6737] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6736] mkdir("./file0", 0777 [pid 6737] <... openat resumed>) = 4 [pid 6736] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6737] ioctl(4, LOOP_SET_FD, 3 [pid 6736] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6737] <... ioctl resumed>) = 0 [pid 6733] <... mount resumed>) = -1 EEXIST (File exists) [pid 6735] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6733] ioctl(4, LOOP_CLR_FD [pid 6735] close(4) = 0 [pid 6735] close(3 [pid 6737] close(3) = 0 [pid 6737] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 185.464787][ T6733] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6733) [ 185.477846][ T6737] loop5: detected capacity change from 0 to 32768 [ 185.485244][ T6736] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6736) [pid 6737] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6736] <... mount resumed>) = -1 EEXIST (File exists) [pid 6736] ioctl(4, LOOP_CLR_FD [pid 6737] <... mount resumed>) = -1 EEXIST (File exists) [ 185.532978][ T6737] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6737) [pid 6737] ioctl(4, LOOP_CLR_FD [pid 6735] <... close resumed>) = 0 [pid 6735] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6732] <... futex resumed>) = 0 [pid 6735] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6732] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6735] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6732] <... futex resumed>) = 0 [pid 6730] <... ioctl resumed>) = 0 [pid 6735] open("./file0", O_RDONLY [pid 6732] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6730] close(4 [pid 6735] <... open resumed>) = 3 [pid 6730] <... close resumed>) = 0 [pid 6735] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6730] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6735] <... futex resumed>) = 0 [pid 6730] <... futex resumed>) = 1 [pid 6735] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6730] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6732] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6732] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6726] <... futex resumed>) = 0 [pid 6740] <... write resumed>) = 16777216 [pid 6735] <... futex resumed>) = 0 [pid 6732] <... futex resumed>) = 1 [pid 6726] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6735] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6732] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6730] <... futex resumed>) = 0 [pid 6726] <... futex resumed>) = 1 [pid 6735] <... ioctl resumed>) = 0 [pid 6730] open("./file0", O_RDONLY [pid 6726] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6735] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6730] <... open resumed>) = 3 [pid 6735] <... futex resumed>) = 1 [pid 6732] <... futex resumed>) = 0 [pid 6730] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6735] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6732] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6730] <... futex resumed>) = 1 [pid 6726] <... futex resumed>) = 0 [pid 6735] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6732] <... futex resumed>) = 0 [pid 6730] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6726] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6735] ioctl(3, 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 6732] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6730] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6726] <... futex resumed>) = 0 [pid 6733] <... ioctl resumed>) = 0 [pid 6730] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6726] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6733] close(4 [pid 6730] <... ioctl resumed>) = 0 [pid 6733] <... close resumed>) = 0 [pid 6730] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6733] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6730] <... futex resumed>) = 1 [pid 6726] <... futex resumed>) = 0 [pid 6733] <... futex resumed>) = 1 [pid 6730] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6728] <... futex resumed>) = 0 [pid 6726] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6730] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6728] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6733] open("./file0", O_RDONLY [pid 6726] <... futex resumed>) = 0 [pid 6730] ioctl(3, 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 6728] <... futex resumed>) = 0 [pid 6726] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6740] munmap(0x7f4e2554e000, 16777216 [pid 6733] <... open resumed>) = 3 [pid 6730] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6728] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6730] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6730] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6740] <... munmap resumed>) = 0 [pid 6733] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6726] <... futex resumed>) = 0 [pid 6740] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6733] <... futex resumed>) = 1 [pid 6728] <... futex resumed>) = 0 [pid 6726] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6728] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6740] <... openat resumed>) = 4 [pid 6733] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6730] <... futex resumed>) = 0 [pid 6728] <... futex resumed>) = 0 [pid 6726] <... futex resumed>) = 1 [pid 6740] ioctl(4, LOOP_SET_FD, 3 [pid 6733] <... ioctl resumed>) = 0 [pid 6730] open("./file0", O_RDONLY [pid 6728] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 185.745576][ T6735] BTRFS info (device loop2): balance: start -d -m [ 185.765838][ T6735] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6726] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6733] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6732] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6730] <... open resumed>) = 4 [pid 6730] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6730] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6733] <... futex resumed>) = 1 [pid 6740] <... ioctl resumed>) = 0 [pid 6732] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6728] <... futex resumed>) = 0 [pid 6726] <... futex resumed>) = 0 [pid 6733] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6732] <... futex resumed>) = 0 [pid 6728] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6726] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6740] close(3) = 0 [pid 6737] <... ioctl resumed>) = 0 [pid 6733] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6732] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6730] <... futex resumed>) = 0 [pid 6728] <... futex resumed>) = 0 [pid 6726] <... futex resumed>) = 1 [pid 6740] mkdir("./file0", 0777 [pid 6733] ioctl(3, 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 6732] <... mmap resumed>) = 0x7f4e2652d000 [pid 6737] close(4 [pid 6730] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6728] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6726] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6740] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6737] <... close resumed>) = 0 [pid 6736] <... ioctl resumed>) = 0 [pid 6733] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6732] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6730] <... ioctl resumed>) = 0 [pid 6740] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 185.796387][ T6740] loop1: detected capacity change from 0 to 32768 [ 185.805567][ T6735] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6737] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6736] close(4 [pid 6733] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6732] <... mprotect resumed>) = 0 [pid 6730] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6730] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6740] <... mount resumed>) = -1 EEXIST (File exists) [pid 6740] ioctl(4, LOOP_CLR_FD [pid 6737] <... futex resumed>) = 1 [pid 6729] <... futex resumed>) = 0 [pid 6737] open("./file0", O_RDONLY [pid 6729] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6737] <... open resumed>) = 3 [pid 6729] <... futex resumed>) = 0 [pid 6737] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6729] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6737] <... futex resumed>) = 0 [pid 6729] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6737] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6729] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6737] <... ioctl resumed>) = 0 [pid 6729] <... futex resumed>) = 0 [pid 6737] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6729] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6737] <... futex resumed>) = 0 [pid 6729] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6737] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6729] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6737] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6736] <... close resumed>) = 0 [pid 6733] <... futex resumed>) = 1 [pid 6732] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6729] <... futex resumed>) = 0 [pid 6728] <... futex resumed>) = 0 [pid 6726] <... futex resumed>) = 0 [pid 6737] ioctl(3, 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 6729] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6728] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6728] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6736] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6733] open("./file0", O_RDONLY [pid 6732] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6726] exit_group(0 [pid 6736] <... futex resumed>) = 1 [pid 6733] <... open resumed>) = 4 [pid 6732] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6731] <... futex resumed>) = 0 [pid 6730] <... futex resumed>) = ? [pid 6726] <... exit_group resumed>) = ? [pid 6736] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6733] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6731] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6730] +++ exited with 0 +++ [pid 6736] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6733] <... futex resumed>) = 1 [pid 6732] <... clone3 resumed> => {parent_tid=[6742]}, 88) = 6742 [pid 6731] <... futex resumed>) = 0 [pid 6728] <... futex resumed>) = 0 [pid 6726] +++ exited with 0 +++ ./strace-static-x86_64: Process 6742 attached [pid 6737] <... 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}}) = 8 [pid 6736] open("./file0", O_RDONLY [pid 6735] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6733] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6732] rt_sigprocmask(SIG_SETMASK, [], [pid 6731] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6728] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6726, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=23 /* 0.23 s */} --- [pid 6742] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6737] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6736] <... open resumed>) = 3 [pid 6735] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6733] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6732] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6728] <... futex resumed>) = 0 [pid 6742] <... rseq resumed>) = 0 [pid 6737] <... futex resumed>) = 1 [pid 6736] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6735] <... futex resumed>) = 0 [pid 6733] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6732] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6729] <... futex resumed>) = 0 [pid 6728] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6742] set_robust_list(0x7f4e2654d9a0, 24 [pid 6737] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6736] <... futex resumed>) = 1 [pid 6735] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6732] <... futex resumed>) = 0 [pid 6731] <... futex resumed>) = 0 [pid 6729] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6742] <... set_robust_list resumed>) = 0 [pid 6737] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6736] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6733] <... ioctl resumed>) = 0 [pid 6732] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6731] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6729] <... futex resumed>) = 0 [pid 6742] rt_sigprocmask(SIG_SETMASK, [], [pid 6737] open("./file0", O_RDONLY [pid 6736] <... ioctl resumed>) = 0 [pid 6733] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6731] <... futex resumed>) = 0 [pid 6729] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6742] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6737] <... open resumed>) = 4 [pid 6736] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6733] <... futex resumed>) = 1 [pid 6731] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6728] <... futex resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6742] open("./file0", O_RDONLY [pid 6737] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6736] <... futex resumed>) = 0 [pid 6733] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6731] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6728] exit_group(0 [pid 5025] <... openat resumed>) = 3 [pid 6737] <... futex resumed>) = 1 [pid 6731] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6729] <... futex resumed>) = 0 [pid 6728] <... exit_group resumed>) = ? [pid 6737] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6736] ioctl(3, 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 6733] <... futex resumed>) = ? [pid 6731] <... futex resumed>) = 0 [pid 6729] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6742] <... open resumed>) = 4 [pid 6737] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6731] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6729] <... futex resumed>) = 0 [ 185.844024][ T6740] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6740) [ 185.855313][ T6735] BTRFS info (device loop2): 2 enospc errors during balance [ 185.863702][ T6735] BTRFS info (device loop2): balance: ended with status: -28 [pid 6742] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6737] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6733] +++ exited with 0 +++ [pid 6729] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6728] +++ exited with 0 +++ [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6737] <... ioctl resumed>) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6728, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- [pid 6737] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6729] <... futex resumed>) = 0 [pid 6737] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6729] exit_group(0 [pid 5025] close(3 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6742] <... futex resumed>) = 1 [pid 6737] <... futex resumed>) = ? [pid 6732] <... futex resumed>) = 0 [pid 6729] <... exit_group resumed>) = ? [pid 5025] <... close resumed>) = 0 [pid 5020] <... openat resumed>) = 3 [pid 6737] +++ exited with 0 +++ [pid 6729] +++ exited with 0 +++ [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6729, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=19 /* 0.19 s */} --- [pid 5020] close(3 [pid 6742] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6732] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5020] <... close resumed>) = 0 [pid 5027] <... openat resumed>) = 3 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5027] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6743 [pid 5027] close(3 [pid 6732] <... futex resumed>) = 1 [pid 5027] <... close resumed>) = 0 [pid 6735] <... futex resumed>) = 0 [pid 6732] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6731] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6735] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6731] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6744 ./strace-static-x86_64: Process 6743 attached [pid 6731] <... futex resumed>) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6745 ./strace-static-x86_64: Process 6745 attached [pid 6743] set_robust_list(0x5555558636a0, 24 [pid 6735] <... ioctl resumed>) = 0 [pid 6731] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0./strace-static-x86_64: Process 6744 attached [pid 6745] set_robust_list(0x5555558636a0, 24 [pid 6743] <... set_robust_list resumed>) = 0 [pid 6735] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6731] <... mmap resumed>) = 0x7f4e2652d000 [ 185.911240][ T6736] BTRFS info (device loop2): balance: start -d -m [ 185.926271][ T6736] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 185.949997][ T6736] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6744] set_robust_list(0x5555558636a0, 24 [pid 6731] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6744] <... set_robust_list resumed>) = 0 [pid 6731] <... mprotect resumed>) = 0 [pid 6744] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6731] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6744] <... prctl resumed>) = 0 [pid 6731] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6744] setpgid(0, 0 [pid 6731] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6744] <... setpgid resumed>) = 0 [pid 6744] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6731] <... clone3 resumed> => {parent_tid=[6746]}, 88) = 6746 [pid 6745] <... set_robust_list resumed>) = 0 [pid 6744] <... openat resumed>) = 3 [pid 6743] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6740] <... ioctl resumed>) = 0 [pid 6735] <... futex resumed>) = 1 [pid 6732] <... futex resumed>) = 0 [pid 6731] rt_sigprocmask(SIG_SETMASK, [], [pid 6745] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6744] write(3, "1000", 4 [pid 6743] <... prctl resumed>) = 0 [pid 6740] close(4 [pid 6735] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6732] exit_group(0 [pid 6731] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6746 attached [pid 6745] <... prctl resumed>) = 0 [pid 6744] <... write resumed>) = 4 [pid 6743] setpgid(0, 0 [pid 6742] <... futex resumed>) = ? [pid 6740] <... close resumed>) = 0 [pid 6735] <... futex resumed>) = ? [pid 6732] <... exit_group resumed>) = ? [pid 6731] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6736] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6746] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6745] setpgid(0, 0 [pid 6744] close(3 [pid 6743] <... setpgid resumed>) = 0 [pid 6742] +++ exited with 0 +++ [pid 6740] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6735] +++ exited with 0 +++ [pid 6731] <... futex resumed>) = 0 [pid 6746] <... rseq resumed>) = 0 [pid 6745] <... setpgid resumed>) = 0 [pid 6744] <... close resumed>) = 0 [pid 6743] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6740] <... futex resumed>) = 1 [pid 6739] <... futex resumed>) = 0 [pid 6736] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6732] +++ exited with 0 +++ [pid 6731] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6746] set_robust_list(0x7f4e2654d9a0, 24 [pid 6745] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6744] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6743] <... openat resumed>) = 3 [pid 6740] open("./file0", O_RDONLY [pid 6739] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6736] <... futex resumed>) = 0 [pid 6746] <... set_robust_list resumed>) = 0 [pid 6745] <... openat resumed>) = 3 [pid 6744] <... futex resumed>) = 0 [pid 6743] write(3, "1000", 4 [pid 6740] <... open resumed>) = 3 [pid 6739] <... futex resumed>) = 0 [pid 6736] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6732, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=29 /* 0.29 s */} --- [pid 6746] rt_sigprocmask(SIG_SETMASK, [], [pid 6745] write(3, "1000", 4 [pid 6744] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6743] <... write resumed>) = 4 [pid 6740] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6739] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6745] <... write resumed>) = 4 [pid 6743] close(3 [pid 6740] <... futex resumed>) = 0 [pid 6745] close(3 [pid 6743] <... close resumed>) = 0 [pid 6740] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6745] <... close resumed>) = 0 [pid 6743] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6745] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6743] <... futex resumed>) = 0 [pid 6745] <... futex resumed>) = 0 [pid 6743] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6745] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6743] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6746] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6745] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6744] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6743] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6739] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6746] open("./file0", O_RDONLY [pid 6745] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6744] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6743] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6739] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6746] <... open resumed>) = 4 [pid 6745] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6744] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6743] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6740] <... futex resumed>) = 0 [pid 6739] <... futex resumed>) = 1 [pid 5022] <... openat resumed>) = 3 [pid 6746] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6745] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6744] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6743] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6740] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6739] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6746] <... futex resumed>) = 1 [pid 6745] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6744] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6743] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6740] <... ioctl resumed>) = 0 [pid 6731] <... futex resumed>) = 0 [pid 5022] <... ioctl resumed>) = 0 [pid 6746] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6745] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6744] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6743] <... mprotect resumed>) = 0 [pid 6740] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6731] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] close(3 [pid 6745] <... mprotect resumed>) = 0 [pid 6744] <... mprotect resumed>) = 0 [pid 6743] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6740] <... futex resumed>) = 1 [pid 6739] <... futex resumed>) = 0 [pid 6736] <... futex resumed>) = 0 [pid 6731] <... futex resumed>) = 1 [pid 5022] <... close resumed>) = 0 [pid 6745] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6744] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6743] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6740] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6739] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6736] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6731] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6745] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6744] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6743] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6740] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6739] <... futex resumed>) = 0 [pid 6736] <... ioctl resumed>) = 0 [pid 6745] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [ 185.970933][ T6736] BTRFS info (device loop2): 2 enospc errors during balance [ 185.981549][ T6736] BTRFS info (device loop2): balance: ended with status: -28 [pid 6740] ioctl(3, 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 6736] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6747 attached [pid 6744] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6743] <... clone3 resumed> => {parent_tid=[6747]}, 88) = 6747 [pid 6739] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6736] <... futex resumed>) = 1 [pid 6745] <... clone3 resumed> => {parent_tid=[6749]}, 88) = 6749 [pid 6743] rt_sigprocmask(SIG_SETMASK, [], [pid 6736] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6745] rt_sigprocmask(SIG_SETMASK, [], [pid 6743] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6745] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6743] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6748 attached [pid 6745] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6743] <... futex resumed>) = 0 [pid 6748] set_robust_list(0x5555558636a0, 24 [pid 6745] <... futex resumed>) = 0 [pid 6743] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6748] <... set_robust_list resumed>) = 0 [pid 6745] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6748] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6731] <... futex resumed>) = 0 [pid 6747] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6748] setpgid(0, 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6748 [pid 6731] exit_group(0 [pid 6747] <... rseq resumed>) = 0 ./strace-static-x86_64: Process 6749 attached [pid 6748] <... setpgid resumed>) = 0 [pid 6747] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6746] <... futex resumed>) = ? [pid 6744] <... clone3 resumed> => {parent_tid=[6751]}, 88) = 6751 [pid 6736] <... futex resumed>) = ? [pid 6731] <... exit_group resumed>) = ? [pid 6749] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6748] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6747] <... set_robust_list resumed>) = 0 [pid 6746] +++ exited with 0 +++ [pid 6744] rt_sigprocmask(SIG_SETMASK, [], [pid 6736] +++ exited with 0 +++ [pid 6749] <... rseq resumed>) = 0 [pid 6748] <... openat resumed>) = 3 [pid 6749] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6748] write(3, "1000", 4 [pid 6749] <... set_robust_list resumed>) = 0 [pid 6748] <... write resumed>) = 4 [pid 6731] +++ exited with 0 +++ [pid 6749] rt_sigprocmask(SIG_SETMASK, [], [pid 6748] close(3 [pid 6747] rt_sigprocmask(SIG_SETMASK, [], [pid 6744] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6731, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=28 /* 0.28 s */} --- [pid 6749] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6748] <... close resumed>) = 0 [pid 6747] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6744] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 6749] memfd_create("syzkaller", 0 [pid 6748] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... restart_syscall resumed>) = 0 [pid 6749] <... memfd_create resumed>) = 3 [pid 6748] <... futex resumed>) = 0 [pid 6747] memfd_create("syzkaller", 0 [pid 6744] <... futex resumed>) = 0 [pid 6749] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6748] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6747] <... memfd_create resumed>) = 3 [pid 6744] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6749] <... mmap resumed>) = 0x7f4e2554e000 [pid 6748] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6747] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6748] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5026] <... openat resumed>) = 3 [pid 6748] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] ioctl(3, LOOP_CLR_FD [ 186.018392][ T6740] BTRFS info (device loop2): balance: start -d -m [ 186.035230][ T6740] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6748] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6747] <... mmap resumed>) = 0x7f4e2554e000 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6748] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5026] close(3 [pid 6748] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5026] <... close resumed>) = 0 [pid 6748] <... mprotect resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6751 attached [pid 6748] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6752 [pid 6751] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6748] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6753]}, 88) = 6753 [pid 6751] <... rseq resumed>) = 0 [pid 6748] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6748] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6748] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6751] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6751] rt_sigprocmask(SIG_SETMASK, [], [pid 6739] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6751] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6739] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6753 attached [pid 6753] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6751] memfd_create("syzkaller", 0 [pid 6739] <... futex resumed>) = 0 [pid 6753] <... rseq resumed>) = 0 [pid 6753] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6751] <... memfd_create resumed>) = 3 [pid 6739] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6753] rt_sigprocmask(SIG_SETMASK, [], [pid 6739] <... mmap resumed>) = 0x7f4e2652d000 [pid 6751] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6753] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6753] memfd_create("syzkaller", 0) = 3 ./strace-static-x86_64: Process 6752 attached [pid 6753] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6751] <... mmap resumed>) = 0x7f4e2554e000 [pid 6739] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6753] <... mmap resumed>) = 0x7f4e2554e000 [pid 6752] set_robust_list(0x5555558636a0, 24 [pid 6739] <... mprotect resumed>) = 0 [pid 6752] <... set_robust_list resumed>) = 0 [pid 6739] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6752] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6739] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6739] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6752] <... prctl resumed>) = 0 [pid 6752] setpgid(0, 0 [pid 6739] <... clone3 resumed> => {parent_tid=[6754]}, 88) = 6754 [pid 6752] <... setpgid resumed>) = 0 [pid 6739] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6754 attached [pid 6752] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6739] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 186.074502][ T6740] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6754] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6752] <... openat resumed>) = 3 [pid 6739] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6752] write(3, "1000", 4 [pid 6754] <... rseq resumed>) = 0 [pid 6752] <... write resumed>) = 4 [pid 6739] <... futex resumed>) = 0 [pid 6754] set_robust_list(0x7f4e2654d9a0, 24 [pid 6752] close(3 [pid 6739] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6754] <... set_robust_list resumed>) = 0 [pid 6752] <... close resumed>) = 0 [pid 6754] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6752] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6754] open("./file0", O_RDONLY [pid 6752] <... futex resumed>) = 0 [pid 6754] <... open resumed>) = 4 [pid 6752] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6754] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6752] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6739] <... futex resumed>) = 0 [pid 6754] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6752] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6739] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6754] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6752] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6739] <... futex resumed>) = 0 [pid 6754] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6752] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6739] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6752] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6752] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6754] <... ioctl resumed>) = 0 [pid 6752] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6754] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6752] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6754] <... futex resumed>) = 1 [pid 6752] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6739] <... futex resumed>) = 0 [ 186.138388][ T6740] BTRFS info (device loop2): 2 enospc errors during balance [pid 6754] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6752] <... clone3 resumed> => {parent_tid=[6755]}, 88) = 6755 [pid 6752] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6752] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6755 attached ) = 0 [pid 6752] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6755] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6755] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6755] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6755] memfd_create("syzkaller", 0) = 3 [pid 6755] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6740] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6740] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6739] exit_group(0) = ? [pid 6754] <... futex resumed>) = ? [pid 6754] +++ exited with 0 +++ [pid 6740] +++ exited with 0 +++ [pid 6739] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6739, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=25 /* 0.25 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 186.186786][ T6740] BTRFS info (device loop2): balance: ended with status: -28 [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6756 ./strace-static-x86_64: Process 6756 attached [pid 6756] set_robust_list(0x5555558636a0, 24) = 0 [pid 6756] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6756] setpgid(0, 0) = 0 [pid 6756] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6756] write(3, "1000", 4) = 4 [pid 6756] close(3) = 0 [pid 6756] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6756] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6756] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6756] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6756] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6756] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6756] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6757]}, 88) = 6757 [pid 6756] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6756] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6756] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6757 attached [pid 6757] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6757] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6757] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6757] memfd_create("syzkaller", 0) = 3 [pid 6757] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6751] 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 6747] 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 6749] 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 6755] 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 6753] 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 6757] 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 6751] <... write resumed>) = 16777216 [pid 6751] munmap(0x7f4e2554e000, 16777216 [pid 6749] <... write resumed>) = 16777216 [pid 6749] munmap(0x7f4e2554e000, 16777216 [pid 6751] <... munmap resumed>) = 0 [pid 6751] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6751] ioctl(4, LOOP_SET_FD, 3 [pid 6749] <... munmap resumed>) = 0 [pid 6749] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6749] ioctl(4, LOOP_SET_FD, 3 [pid 6751] <... ioctl resumed>) = 0 [pid 6747] <... write resumed>) = 16777216 [pid 6751] close(3 [pid 6749] <... ioctl resumed>) = 0 [pid 6751] <... close resumed>) = 0 [pid 6749] close(3) = 0 [pid 6749] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6751] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6749] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 186.768553][ T6751] loop3: detected capacity change from 0 to 32768 [ 186.786168][ T6749] loop5: detected capacity change from 0 to 32768 [pid 6751] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6747] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6747] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6747] ioctl(4, LOOP_SET_FD, 3 [pid 6755] <... write resumed>) = 16777216 [ 186.811547][ T6751] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6751) [ 186.846657][ T6747] loop0: detected capacity change from 0 to 32768 [pid 6755] munmap(0x7f4e2554e000, 16777216 [pid 6753] <... write resumed>) = 16777216 [pid 6751] <... mount resumed>) = -1 EEXIST (File exists) [pid 6755] <... munmap resumed>) = 0 [pid 6753] munmap(0x7f4e2554e000, 16777216 [pid 6751] ioctl(4, LOOP_CLR_FD [pid 6747] <... ioctl resumed>) = 0 [pid 6755] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6755] ioctl(4, LOOP_SET_FD, 3 [pid 6753] <... munmap resumed>) = 0 [pid 6747] close(3 [pid 6753] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6747] <... close resumed>) = 0 [pid 6749] <... mount resumed>) = -1 EEXIST (File exists) [pid 6747] mkdir("./file0", 0777 [pid 6749] ioctl(4, LOOP_CLR_FD [pid 6747] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6755] <... ioctl resumed>) = 0 [pid 6755] close(3) = 0 [pid 6747] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6753] <... openat resumed>) = 4 [pid 6753] ioctl(4, LOOP_SET_FD, 3 [pid 6755] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6755] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6753] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6753] ioctl(4, LOOP_CLR_FD [pid 6747] <... mount resumed>) = -1 EEXIST (File exists) [pid 6753] <... ioctl resumed>) = 0 [pid 6747] ioctl(4, LOOP_CLR_FD [pid 6755] <... mount resumed>) = -1 EEXIST (File exists) [pid 6755] ioctl(4, LOOP_CLR_FD [pid 6753] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [ 186.854422][ T6749] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6749) [ 186.871460][ T6755] loop4: detected capacity change from 0 to 32768 [ 186.883445][ T6747] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6747) [ 186.895115][ T6755] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6755) [pid 6753] close(4) = 0 [pid 6757] <... write resumed>) = 16777216 [pid 6757] munmap(0x7f4e2554e000, 16777216 [pid 6753] close(3 [pid 6757] <... munmap resumed>) = 0 [pid 6757] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6757] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6757] close(3) = 0 [pid 6757] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 186.930828][ T6757] loop1: detected capacity change from 0 to 32768 [ 186.966045][ T6757] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6757) [pid 6757] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1,") = -1 EEXIST (File exists) [pid 6757] ioctl(4, LOOP_CLR_FD [pid 6749] <... ioctl resumed>) = 0 [pid 6749] close(4) = 0 [pid 6751] <... ioctl resumed>) = 0 [pid 6749] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6745] <... futex resumed>) = 0 [pid 6749] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6745] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6749] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6745] <... futex resumed>) = 0 [pid 6749] open("./file0", O_RDONLY [pid 6745] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6749] <... open resumed>) = 3 [pid 6751] close(4 [pid 6749] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6751] <... close resumed>) = 0 [pid 6749] <... futex resumed>) = 1 [pid 6745] <... futex resumed>) = 0 [pid 6751] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6749] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6745] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6751] <... futex resumed>) = 1 [pid 6749] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6745] <... futex resumed>) = 0 [pid 6744] <... futex resumed>) = 0 [pid 6751] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6749] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6745] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6744] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6751] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6749] <... ioctl resumed>) = 0 [pid 6744] <... futex resumed>) = 0 [pid 6751] open("./file0", O_RDONLY [pid 6749] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6744] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6751] <... open resumed>) = 3 [pid 6749] <... futex resumed>) = 1 [pid 6745] <... futex resumed>) = 0 [pid 6749] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6745] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6749] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6745] <... futex resumed>) = 0 [pid 6749] ioctl(3, 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 6745] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6751] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6747] <... ioctl resumed>) = 0 [pid 6751] <... futex resumed>) = 1 [pid 6744] <... futex resumed>) = 0 [pid 6753] <... close resumed>) = 0 [pid 6751] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6744] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6753] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6751] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6744] <... futex resumed>) = 0 [pid 6753] <... futex resumed>) = 1 [pid 6751] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6748] <... futex resumed>) = 0 [pid 6747] close(4 [pid 6744] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6755] <... ioctl resumed>) = 0 [pid 6753] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6751] <... ioctl resumed>) = 0 [pid 6748] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6747] <... close resumed>) = 0 [pid 6748] <... futex resumed>) = 0 [pid 6748] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6753] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6751] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6747] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6757] <... ioctl resumed>) = 0 [pid 6753] open("./file0", O_RDONLY [pid 6751] <... futex resumed>) = 1 [pid 6747] <... futex resumed>) = 1 [pid 6744] <... futex resumed>) = 0 [pid 6743] <... futex resumed>) = 0 [pid 6753] <... open resumed>) = 3 [pid 6751] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6747] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6744] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6743] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6753] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6751] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6747] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6744] <... futex resumed>) = 0 [pid 6743] <... futex resumed>) = 0 [pid 6753] <... futex resumed>) = 1 [pid 6751] ioctl(3, 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 6748] <... futex resumed>) = 0 [pid 6747] open("./file0", O_RDONLY [pid 6744] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6743] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6753] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6751] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6748] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6747] <... open resumed>) = 3 [pid 6755] close(4 [pid 6753] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6751] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6748] <... futex resumed>) = 0 [pid 6747] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6745] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6755] <... close resumed>) = 0 [pid 6753] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6751] <... futex resumed>) = 1 [pid 6748] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6745] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6744] <... futex resumed>) = 0 [ 187.195388][ T6749] BTRFS info (device loop2): balance: start -d -m [ 187.207462][ T6749] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6757] close(4 [pid 6755] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6747] <... futex resumed>) = 1 [pid 6745] <... futex resumed>) = 0 [pid 6743] <... futex resumed>) = 0 [pid 6757] <... close resumed>) = 0 [pid 6755] <... futex resumed>) = 1 [pid 6745] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6743] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6757] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6755] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6753] <... ioctl resumed>) = 0 [pid 6752] <... futex resumed>) = 0 [pid 6751] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6747] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6745] <... mmap resumed>) = 0x7f4e2652d000 [pid 6744] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6743] <... futex resumed>) = 0 [pid 6757] <... futex resumed>) = 1 [pid 6756] <... futex resumed>) = 0 [pid 6753] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6752] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6751] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6747] <... ioctl resumed>) = 0 [pid 6745] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6744] <... futex resumed>) = 0 [pid 6743] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6757] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6756] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6755] <... futex resumed>) = 0 [pid 6753] <... futex resumed>) = 1 [pid 6752] <... futex resumed>) = 1 [pid 6751] open("./file0", O_RDONLY [pid 6748] <... futex resumed>) = 0 [pid 6747] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6745] <... mprotect resumed>) = 0 [pid 6743] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6757] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6756] <... futex resumed>) = 0 [pid 6755] open("./file0", O_RDONLY [pid 6753] ioctl(3, 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 6752] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6751] <... open resumed>) = 4 [pid 6748] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6747] <... futex resumed>) = 0 [pid 6745] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6744] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6743] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6757] open("./file0", O_RDONLY [pid 6756] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6755] <... open resumed>) = 3 [pid 6753] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6751] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6748] <... futex resumed>) = 0 [pid 6747] ioctl(3, 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 6745] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6744] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6743] <... futex resumed>) = 0 [pid 6757] <... open resumed>) = 3 [pid 6755] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6753] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6751] <... futex resumed>) = 0 [pid 6748] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6747] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6745] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6744] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6743] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6757] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6755] <... futex resumed>) = 1 [pid 6753] <... futex resumed>) = 0 [pid 6752] <... futex resumed>) = 0 [pid 6751] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6748] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6747] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6744] <... futex resumed>) = 0 [pid 6743] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6757] <... futex resumed>) = 1 [pid 6756] <... futex resumed>) = 0 [pid 6755] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6753] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6752] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6748] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6747] <... futex resumed>) = 0 [pid 6745] <... clone3 resumed> => {parent_tid=[6759]}, 88) = 6759 [pid 6744] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6743] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6759 attached [pid 6757] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6756] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6755] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6753] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6752] <... futex resumed>) = 0 [pid 6751] <... ioctl resumed>) = 0 [pid 6748] <... futex resumed>) = 0 [pid 6747] open("./file0", O_RDONLY [pid 6745] rt_sigprocmask(SIG_SETMASK, [], [pid 6743] <... futex resumed>) = 0 [pid 6759] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6757] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6756] <... futex resumed>) = 0 [pid 6755] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6753] open("./file0", O_RDONLY [pid 6752] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6751] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6748] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6747] <... open resumed>) = 4 [pid 6745] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6743] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6759] <... rseq resumed>) = 0 [pid 6757] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6756] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6755] <... ioctl resumed>) = 0 [pid 6753] <... open resumed>) = 4 [pid 6751] <... futex resumed>) = 1 [pid 6747] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6745] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6744] <... futex resumed>) = 0 [pid 6759] set_robust_list(0x7f4e2654d9a0, 24 [pid 6753] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6747] <... futex resumed>) = 0 [pid 6744] exit_group(0 [pid 6759] <... set_robust_list resumed>) = 0 [pid 6753] <... futex resumed>) = 1 [pid 6747] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6744] <... exit_group resumed>) = ? [pid 6759] rt_sigprocmask(SIG_SETMASK, [], [pid 6753] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6743] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6757] <... ioctl resumed>) = 0 [pid 6759] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6757] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6755] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6748] <... futex resumed>) = 0 [pid 6745] <... futex resumed>) = 0 [pid 6743] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6759] open("./file0", O_RDONLY [pid 6757] <... futex resumed>) = 1 [pid 6756] <... futex resumed>) = 0 [pid 6759] <... open resumed>) = 4 [pid 6759] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6759] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6757] ioctl(3, 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 6756] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6755] <... futex resumed>) = 1 [pid 6752] <... futex resumed>) = 0 [pid 6751] +++ exited with 0 +++ [pid 6748] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6747] <... futex resumed>) = 0 [pid 6745] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6744] +++ exited with 0 +++ [pid 6743] <... futex resumed>) = 1 [pid 6757] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6756] <... futex resumed>) = 0 [pid 6755] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6753] <... futex resumed>) = 0 [pid 6752] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6748] <... futex resumed>) = 1 [pid 6747] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6745] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6743] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6744, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=19 /* 0.19 s */} --- [pid 6757] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6756] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6755] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6753] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6752] <... futex resumed>) = 0 [pid 6748] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6745] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 6759] <... futex resumed>) = 0 [pid 6757] <... futex resumed>) = 0 [pid 6756] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6755] ioctl(3, 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 6752] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6745] <... futex resumed>) = 1 [pid 5025] <... restart_syscall resumed>) = 0 [pid 6759] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6757] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6756] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6755] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6745] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6757] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6756] <... futex resumed>) = 0 [ 187.269621][ T6749] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6755] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6747] <... ioctl resumed>) = 0 [pid 6759] <... ioctl resumed>) = 0 [pid 6757] open("./file0", O_RDONLY [pid 6756] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6755] <... futex resumed>) = 1 [pid 6753] <... ioctl resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6759] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6757] <... open resumed>) = 4 [pid 6755] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5025] <... openat resumed>) = 3 [pid 6759] <... futex resumed>) = 1 [pid 6757] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6745] <... futex resumed>) = 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6759] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6757] <... futex resumed>) = 1 [pid 6756] <... futex resumed>) = 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6757] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6756] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] close(3 [pid 6757] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6756] <... futex resumed>) = 0 [pid 5025] <... close resumed>) = 0 [pid 6757] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6756] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6757] <... ioctl resumed>) = 0 [pid 6757] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6752] <... futex resumed>) = 0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6760 [pid 6757] <... futex resumed>) = 1 [pid 6756] <... futex resumed>) = 0 [pid 6757] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6756] exit_group(0 [pid 6757] <... futex resumed>) = ? [pid 6756] <... exit_group resumed>) = ? [pid 6757] +++ exited with 0 +++ [pid 6756] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6756, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=20 /* 0.20 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 3 [pid 5021] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5021] close(3) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6761 ./strace-static-x86_64: Process 6760 attached [pid 6760] set_robust_list(0x5555558636a0, 24 [pid 6752] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6760] <... set_robust_list resumed>) = 0 [pid 6755] <... futex resumed>) = 0 [pid 6753] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6752] <... futex resumed>) = 1 [pid 6747] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6760] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6755] open("./file0", O_RDONLY [pid 6753] <... futex resumed>) = 1 [pid 6752] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6748] <... futex resumed>) = 0 [pid 6747] <... futex resumed>) = 1 [pid 6743] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6761 attached [pid 6760] <... prctl resumed>) = 0 [pid 6755] <... open resumed>) = 4 [pid 6753] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6748] exit_group(0 [pid 6747] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6743] exit_group(0 [pid 6761] set_robust_list(0x5555558636a0, 24 [pid 6760] setpgid(0, 0 [pid 6755] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6753] <... futex resumed>) = ? [pid 6748] <... exit_group resumed>) = ? [pid 6747] <... futex resumed>) = ? [pid 6743] <... exit_group resumed>) = ? [pid 6761] <... set_robust_list resumed>) = 0 [pid 6760] <... setpgid resumed>) = 0 [pid 6755] <... futex resumed>) = 1 [pid 6753] +++ exited with 0 +++ [pid 6752] <... futex resumed>) = 0 [pid 6748] +++ exited with 0 +++ [pid 6747] +++ exited with 0 +++ [pid 6743] +++ exited with 0 +++ [pid 6761] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6760] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6755] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6752] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6743, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=19 /* 0.19 s */} --- [pid 6761] <... prctl resumed>) = 0 [pid 6760] <... openat resumed>) = 3 [pid 6755] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6752] <... futex resumed>) = 0 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6748, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- [pid 6761] setpgid(0, 0 [pid 6760] write(3, "1000", 4 [pid 6755] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6752] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 6761] <... setpgid resumed>) = 0 [pid 6760] <... write resumed>) = 4 [pid 6755] <... ioctl resumed>) = 0 [pid 5022] <... restart_syscall resumed>) = 0 [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6761] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6760] close(3 [pid 6755] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] <... openat resumed>) = 3 [pid 6761] <... openat resumed>) = 3 [pid 6760] <... close resumed>) = 0 [pid 6755] <... futex resumed>) = 1 [pid 6752] <... futex resumed>) = 0 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6761] write(3, "1000", 4 [pid 6760] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6755] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6752] exit_group(0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6761] <... write resumed>) = 4 [pid 6760] <... futex resumed>) = 0 [pid 6755] <... futex resumed>) = ? [pid 6752] <... exit_group resumed>) = ? [pid 5022] <... openat resumed>) = 3 [pid 5020] close(3 [pid 6761] close(3 [pid 6760] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6755] +++ exited with 0 +++ [pid 5022] ioctl(3, LOOP_CLR_FD [pid 5020] <... close resumed>) = 0 [pid 6761] <... close resumed>) = 0 [pid 6760] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5022] <... ioctl resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6761] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6760] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6752] +++ exited with 0 +++ [pid 5022] close(3 [pid 6761] <... futex resumed>) = 0 [pid 6760] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6752, si_uid=0, si_status=0, si_utime=0, si_stime=24 /* 0.24 s */} --- [pid 5022] <... close resumed>) = 0 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6762 [ 187.318953][ T6749] BTRFS info (device loop2): 2 enospc errors during balance [pid 6761] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6760] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6761] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6760] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6761] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6760] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6763 [pid 6761] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6760] <... mprotect resumed>) = 0 [pid 5026] <... openat resumed>) = 3 [pid 6761] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6760] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6761] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6760] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6761] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6760] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5026] close(3 [pid 6761] <... mprotect resumed>) = 0 [pid 5026] <... close resumed>) = 0 [pid 6761] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6760] <... clone3 resumed> => {parent_tid=[6764]}, 88) = 6764 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6761] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6760] rt_sigprocmask(SIG_SETMASK, [], [pid 6761] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6760] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6765 [pid 6760] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6761] <... clone3 resumed> => {parent_tid=[6766]}, 88) = 6766 [pid 6760] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6763 attached [pid 6761] rt_sigprocmask(SIG_SETMASK, [], [pid 6760] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6764 attached [pid 6763] set_robust_list(0x5555558636a0, 24 [pid 6761] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6764] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6763] <... set_robust_list resumed>) = 0 [pid 6761] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6764] <... rseq resumed>) = 0 [pid 6763] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6761] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6766 attached [pid 6764] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6763] <... prctl resumed>) = 0 [pid 6761] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6766] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6764] <... set_robust_list resumed>) = 0 [pid 6763] setpgid(0, 0 [pid 6766] <... rseq resumed>) = 0 [pid 6764] rt_sigprocmask(SIG_SETMASK, [], [pid 6763] <... setpgid resumed>) = 0 [pid 6766] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6764] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6763] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC./strace-static-x86_64: Process 6762 attached [pid 6766] <... set_robust_list resumed>) = 0 [pid 6764] memfd_create("syzkaller", 0 [pid 6763] <... openat resumed>) = 3 [pid 6766] rt_sigprocmask(SIG_SETMASK, [], [pid 6764] <... memfd_create resumed>) = 3 [pid 6763] write(3, "1000", 4 [pid 6762] set_robust_list(0x5555558636a0, 24 [pid 6766] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6764] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6763] <... write resumed>) = 4 ./strace-static-x86_64: Process 6765 attached [pid 6766] memfd_create("syzkaller", 0 [pid 6764] <... mmap resumed>) = 0x7f4e2554e000 [pid 6763] close(3 [pid 6762] <... set_robust_list resumed>) = 0 [pid 6766] <... memfd_create resumed>) = 3 [pid 6765] set_robust_list(0x5555558636a0, 24 [pid 6763] <... close resumed>) = 0 [pid 6766] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6765] <... set_robust_list resumed>) = 0 [pid 6763] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6762] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6766] <... mmap resumed>) = 0x7f4e2554e000 [pid 6763] <... futex resumed>) = 0 [pid 6765] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6763] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6762] <... prctl resumed>) = 0 [pid 6763] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6763] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6765] <... prctl resumed>) = 0 [pid 6763] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6762] setpgid(0, 0 [pid 6765] setpgid(0, 0 [pid 6763] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6749] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6765] <... setpgid resumed>) = 0 [pid 6763] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6762] <... setpgid resumed>) = 0 [pid 6749] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6765] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6763] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6762] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6749] <... futex resumed>) = 0 [pid 6745] exit_group(0 [pid 6763] <... mprotect resumed>) = 0 [pid 6759] <... futex resumed>) = ? [pid 6745] <... exit_group resumed>) = ? [pid 6763] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6759] +++ exited with 0 +++ [pid 6763] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6763] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6767]}, 88) = 6767 [pid 6763] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6765] <... openat resumed>) = 3 [pid 6763] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6762] <... openat resumed>) = 3 [pid 6765] write(3, "1000", 4 [pid 6763] <... futex resumed>) = 0 [pid 6762] write(3, "1000", 4 [pid 6763] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6749] +++ exited with 0 +++ [pid 6745] +++ exited with 0 +++ [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6745, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=30 /* 0.30 s */} --- [pid 6765] <... write resumed>) = 4 [pid 6762] <... write resumed>) = 4 ./strace-static-x86_64: Process 6767 attached [pid 6767] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6762] close(3 [pid 6765] close(3 [pid 6767] <... rseq resumed>) = 0 [pid 6765] <... close resumed>) = 0 [pid 6762] <... close resumed>) = 0 [pid 6767] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6765] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6762] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6767] <... set_robust_list resumed>) = 0 [pid 6765] <... futex resumed>) = 0 [pid 6762] <... futex resumed>) = 0 [ 187.359639][ T6749] BTRFS info (device loop2): balance: ended with status: -28 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6767] rt_sigprocmask(SIG_SETMASK, [], [pid 6765] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6762] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 5027] <... openat resumed>) = 3 [pid 6767] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6765] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6762] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6767] memfd_create("syzkaller", 0 [pid 6765] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6762] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6767] <... memfd_create resumed>) = 3 [pid 6767] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6765] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6762] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] close(3 [pid 6765] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6762] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5027] <... close resumed>) = 0 [pid 6762] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6765] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6762] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6765] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6762] <... mprotect resumed>) = 0 [pid 6765] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6762] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6769 [pid 6765] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6762] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6762] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0}./strace-static-x86_64: Process 6771 attached ./strace-static-x86_64: Process 6769 attached [pid 6765] <... clone3 resumed> => {parent_tid=[6770]}, 88) = 6770 [pid 6771] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6769] set_robust_list(0x5555558636a0, 24./strace-static-x86_64: Process 6770 attached [pid 6770] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6770] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6770] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6765] rt_sigprocmask(SIG_SETMASK, [], [pid 6762] <... clone3 resumed> => {parent_tid=[6771]}, 88) = 6771 [pid 6771] <... rseq resumed>) = 0 [pid 6770] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6769] <... set_robust_list resumed>) = 0 [pid 6765] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6762] rt_sigprocmask(SIG_SETMASK, [], [pid 6771] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6769] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6765] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6771] <... set_robust_list resumed>) = 0 [pid 6762] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6770] <... futex resumed>) = 0 [pid 6765] <... futex resumed>) = 1 [pid 6769] <... prctl resumed>) = 0 [pid 6771] rt_sigprocmask(SIG_SETMASK, [], [pid 6762] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6770] memfd_create("syzkaller", 0 [pid 6771] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6770] <... memfd_create resumed>) = 3 [pid 6769] setpgid(0, 0 [pid 6765] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6762] <... futex resumed>) = 0 [pid 6770] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6771] memfd_create("syzkaller", 0 [pid 6769] <... setpgid resumed>) = 0 [pid 6762] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6771] <... memfd_create resumed>) = 3 [pid 6769] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6771] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6769] <... openat resumed>) = 3 [pid 6769] write(3, "1000", 4) = 4 [pid 6769] close(3) = 0 [pid 6769] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6769] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6769] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6769] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6769] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6769] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6769] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6772]}, 88) = 6772 [pid 6769] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6769] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6769] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6772 attached [pid 6772] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6772] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6772] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6772] memfd_create("syzkaller", 0) = 3 [pid 6772] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6764] 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 6766] 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 6767] 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 6771] 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 6770] 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 6772] 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 6764] <... write resumed>) = 16777216 [pid 6766] <... write resumed>) = 16777216 [pid 6771] <... write resumed>) = 16777216 [pid 6766] munmap(0x7f4e2554e000, 16777216 [pid 6764] munmap(0x7f4e2554e000, 16777216 [pid 6771] munmap(0x7f4e2554e000, 16777216 [pid 6766] <... munmap resumed>) = 0 [pid 6771] <... munmap resumed>) = 0 [pid 6771] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6766] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6764] <... munmap resumed>) = 0 [pid 6771] <... openat resumed>) = 4 [pid 6764] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6766] <... openat resumed>) = 4 [pid 6764] <... openat resumed>) = 4 [pid 6771] ioctl(4, LOOP_SET_FD, 3 [pid 6766] ioctl(4, LOOP_SET_FD, 3 [pid 6764] ioctl(4, LOOP_SET_FD, 3 [pid 6767] <... write resumed>) = 16777216 [pid 6767] munmap(0x7f4e2554e000, 16777216 [pid 6764] <... ioctl resumed>) = 0 [pid 6771] <... ioctl resumed>) = 0 [pid 6766] <... ioctl resumed>) = 0 [pid 6764] close(3 [pid 6771] close(3 [pid 6766] close(3 [pid 6764] <... close resumed>) = 0 [pid 6771] <... close resumed>) = 0 [pid 6770] <... write resumed>) = 16777216 [pid 6764] mkdir("./file0", 0777 [pid 6771] mkdir("./file0", 0777 [pid 6770] munmap(0x7f4e2554e000, 16777216 [pid 6766] <... close resumed>) = 0 [pid 6764] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6771] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6771] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6766] mkdir("./file0", 0777 [pid 6764] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6766] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6766] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6767] <... munmap resumed>) = 0 [pid 6767] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6767] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6767] ioctl(4, LOOP_CLR_FD) = 0 [pid 6767] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6767] close(4 [pid 6770] <... munmap resumed>) = 0 [pid 6767] <... close resumed>) = 0 [ 188.153643][ T6764] loop3: detected capacity change from 0 to 32768 [ 188.160807][ T6771] loop0: detected capacity change from 0 to 32768 [ 188.167739][ T6766] loop1: detected capacity change from 0 to 32768 [ 188.179733][ T6771] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6771) [pid 6767] close(3 [pid 6770] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6771] <... mount resumed>) = -1 EEXIST (File exists) [pid 6771] ioctl(4, LOOP_CLR_FD [pid 6772] <... write resumed>) = 16777216 [pid 6772] munmap(0x7f4e2554e000, 16777216 [pid 6770] ioctl(4, LOOP_SET_FD, 3 [pid 6772] <... munmap resumed>) = 0 [pid 6766] <... mount resumed>) = -1 EEXIST (File exists) [pid 6764] <... mount resumed>) = -1 EEXIST (File exists) [pid 6766] ioctl(4, LOOP_CLR_FD [pid 6764] ioctl(4, LOOP_CLR_FD [pid 6772] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6770] <... ioctl resumed>) = 0 [pid 6772] <... openat resumed>) = 4 [pid 6770] close(3 [pid 6772] ioctl(4, LOOP_SET_FD, 3 [pid 6770] <... close resumed>) = 0 [pid 6770] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6772] <... ioctl resumed>) = 0 [pid 6770] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6772] close(3) = 0 [pid 6772] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 188.195269][ T6764] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6764) [ 188.207267][ T6766] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6766) [ 188.224575][ T6770] loop4: detected capacity change from 0 to 32768 [ 188.233061][ T6772] loop5: detected capacity change from 0 to 32768 [ 188.242470][ T6770] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6770) [pid 6772] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6770] <... mount resumed>) = -1 EEXIST (File exists) [pid 6770] ioctl(4, LOOP_CLR_FD [pid 6772] <... mount resumed>) = -1 EEXIST (File exists) [pid 6772] ioctl(4, LOOP_CLR_FD [pid 6767] <... close resumed>) = 0 [pid 6767] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6763] <... futex resumed>) = 0 [pid 6767] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6763] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6767] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6763] <... futex resumed>) = 0 [pid 6767] open("./file0", O_RDONLY [pid 6763] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [ 188.319901][ T6772] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6772) [pid 6767] <... open resumed>) = 3 [pid 6767] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6763] <... futex resumed>) = 0 [pid 6767] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6764] <... ioctl resumed>) = 0 [pid 6763] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6767] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6763] <... futex resumed>) = 0 [pid 6767] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6764] close(4 [pid 6763] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6767] <... ioctl resumed>) = 0 [pid 6767] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6764] <... close resumed>) = 0 [pid 6767] <... futex resumed>) = 1 [pid 6764] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6763] <... futex resumed>) = 0 [pid 6767] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6764] <... futex resumed>) = 1 [pid 6763] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6760] <... futex resumed>) = 0 [pid 6767] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6764] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6763] <... futex resumed>) = 0 [pid 6760] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6767] ioctl(3, 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 6764] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6763] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6760] <... futex resumed>) = 0 [pid 6764] open("./file0", O_RDONLY [pid 6760] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6764] <... open resumed>) = 3 [pid 6764] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6760] <... futex resumed>) = 0 [pid 6764] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6760] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6764] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6760] <... futex resumed>) = 0 [pid 6764] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6760] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6764] <... ioctl resumed>) = 0 [pid 6764] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6760] <... futex resumed>) = 0 [pid 6764] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6760] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6764] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6760] <... futex resumed>) = 0 [pid 6764] ioctl(3, 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 6760] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6764] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6764] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6760] <... futex resumed>) = 0 [pid 6764] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6760] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6764] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6760] <... futex resumed>) = 0 [pid 6764] open("./file0", O_RDONLY [pid 6763] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6760] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6764] <... open resumed>) = 4 [pid 6763] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6763] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6764] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6763] <... mmap resumed>) = 0x7f4e2652d000 [pid 6764] <... futex resumed>) = 1 [pid 6763] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6760] <... futex resumed>) = 0 [pid 6764] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6763] <... mprotect resumed>) = 0 [pid 6760] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6764] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6763] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6760] <... futex resumed>) = 0 [pid 6764] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6760] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6763] <... rt_sigprocmask resumed>[], 8) = 0 [ 188.428128][ T6767] BTRFS info (device loop2): balance: start -d -m [ 188.434878][ T6767] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6763] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6764] <... ioctl resumed>) = 0 [pid 6764] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6763] <... clone3 resumed> => {parent_tid=[6774]}, 88) = 6774 ./strace-static-x86_64: Process 6774 attached [pid 6764] <... futex resumed>) = 1 [pid 6760] <... futex resumed>) = 0 [pid 6763] rt_sigprocmask(SIG_SETMASK, [], [pid 6774] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6764] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6763] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6760] exit_group(0 [pid 6774] <... rseq resumed>) = 0 [pid 6764] <... futex resumed>) = ? [pid 6763] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6760] <... exit_group resumed>) = ? [pid 6774] set_robust_list(0x7f4e2654d9a0, 24 [pid 6764] +++ exited with 0 +++ [pid 6763] <... futex resumed>) = 0 [pid 6774] <... set_robust_list resumed>) = 0 [pid 6763] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6760] +++ exited with 0 +++ [pid 6774] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6760, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- [pid 6774] open("./file0", O_RDONLY [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 6774] <... open resumed>) = 4 [pid 6774] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... restart_syscall resumed>) = 0 [pid 6774] <... futex resumed>) = 1 [pid 6763] <... futex resumed>) = 0 [pid 6774] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6766] <... ioctl resumed>) = 0 [pid 6763] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6774] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6771] <... ioctl resumed>) = 0 [pid 6766] close(4 [pid 6774] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6772] <... ioctl resumed>) = 0 [pid 6763] <... futex resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6763] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] <... openat resumed>) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 6774] <... ioctl resumed>) = 0 [pid 5025] close(3 [pid 6774] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [ 188.488216][ T6767] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 188.525560][ T6767] BTRFS info (device loop2): 2 enospc errors during balance [pid 6766] <... close resumed>) = 0 [pid 6766] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6766] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6771] close(4) = 0 [pid 6771] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6762] <... futex resumed>) = 0 [pid 6762] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6762] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6771] <... futex resumed>) = 1 [pid 6771] open("./file0", O_RDONLY [pid 6761] <... futex resumed>) = 0 [pid 5025] <... close resumed>) = 0 [pid 6761] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6774] <... futex resumed>) = 1 [pid 6763] <... futex resumed>) = 0 [pid 6761] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6775 attached [pid 6774] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6772] close(4 [pid 6771] <... open resumed>) = 3 [pid 6770] <... ioctl resumed>) = 0 [pid 6767] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6766] <... futex resumed>) = 0 [pid 6775] set_robust_list(0x5555558636a0, 24 [pid 6772] <... close resumed>) = 0 [pid 6771] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6770] close(4 [pid 6767] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6766] open("./file0", O_RDONLY [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6775 [pid 6775] <... set_robust_list resumed>) = 0 [pid 6772] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6771] <... futex resumed>) = 1 [pid 6770] <... close resumed>) = 0 [pid 6767] <... futex resumed>) = 0 [pid 6766] <... open resumed>) = 3 [pid 6762] <... futex resumed>) = 0 [pid 6775] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6772] <... futex resumed>) = 1 [pid 6771] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6770] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6769] <... futex resumed>) = 0 [pid 6767] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6766] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6763] exit_group(0 [pid 6762] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6775] <... prctl resumed>) = 0 [pid 6774] <... futex resumed>) = ? [pid 6772] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6771] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6770] <... futex resumed>) = 1 [pid 6769] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6767] <... futex resumed>) = ? [pid 6766] <... futex resumed>) = 1 [pid 6765] <... futex resumed>) = 0 [pid 6763] <... exit_group resumed>) = ? [pid 6762] <... futex resumed>) = 0 [pid 6761] <... futex resumed>) = 0 [pid 6775] setpgid(0, 0 [pid 6774] +++ exited with 0 +++ [pid 6772] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6771] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6770] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6769] <... futex resumed>) = 0 [pid 6767] +++ exited with 0 +++ [pid 6766] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6765] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6762] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6775] <... setpgid resumed>) = 0 [pid 6772] open("./file0", O_RDONLY [pid 6771] <... ioctl resumed>) = 0 [pid 6770] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6769] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6766] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6765] <... futex resumed>) = 0 [pid 6763] +++ exited with 0 +++ [pid 6761] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6775] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6772] <... open resumed>) = 3 [pid 6771] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6770] open("./file0", O_RDONLY [pid 6766] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6765] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6761] <... futex resumed>) = 0 [pid 6775] <... openat resumed>) = 3 [pid 6772] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6771] <... futex resumed>) = 1 [pid 6770] <... open resumed>) = 3 [pid 6766] <... ioctl resumed>) = 0 [pid 6762] <... futex resumed>) = 0 [pid 6761] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6763, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- [pid 6775] write(3, "1000", 4 [pid 6772] <... futex resumed>) = 1 [pid 6771] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6770] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6769] <... futex resumed>) = 0 [pid 6766] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6762] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6761] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 6775] <... write resumed>) = 4 [pid 6772] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6771] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6770] <... futex resumed>) = 1 [pid 6769] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6766] <... futex resumed>) = 0 [pid 6765] <... futex resumed>) = 0 [pid 6762] <... futex resumed>) = 0 [pid 6761] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... restart_syscall resumed>) = 0 [pid 6775] close(3 [pid 6772] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 188.549629][ T6767] BTRFS info (device loop2): balance: ended with status: -28 [pid 6771] ioctl(3, 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 6770] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6769] <... futex resumed>) = 0 [pid 6766] ioctl(3, 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 6765] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6762] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6761] <... futex resumed>) = 0 [pid 6775] <... close resumed>) = 0 [pid 6772] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6770] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6769] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6765] <... futex resumed>) = 0 [pid 6761] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6775] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6772] <... ioctl resumed>) = 0 [pid 6770] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6766] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6765] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6775] <... futex resumed>) = 0 [pid 6772] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6770] <... ioctl resumed>) = 0 [pid 6766] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... openat resumed>) = 3 [pid 6775] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6772] <... futex resumed>) = 1 [pid 6770] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6769] <... futex resumed>) = 0 [pid 6766] <... futex resumed>) = 1 [pid 6761] <... futex resumed>) = 0 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6775] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6772] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6770] <... futex resumed>) = 1 [pid 6769] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6766] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6765] <... futex resumed>) = 0 [pid 6765] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6765] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6761] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... ioctl resumed>) = 0 [pid 6775] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6772] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6770] ioctl(3, 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 6769] <... futex resumed>) = 0 [pid 6766] <... futex resumed>) = 0 [pid 6761] <... futex resumed>) = 1 [pid 5022] close(3 [pid 6775] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6772] ioctl(3, 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 6770] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6769] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6766] open("./file0", O_RDONLY [pid 6761] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] <... close resumed>) = 0 [pid 6775] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6772] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6770] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6766] <... open resumed>) = 4 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6775] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6772] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6770] <... futex resumed>) = 1 [pid 6766] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6765] <... futex resumed>) = 0 [pid 6775] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6772] <... futex resumed>) = 1 [pid 6770] open("./file0", O_RDONLY [pid 6769] <... futex resumed>) = 0 [pid 6766] <... futex resumed>) = 1 [pid 6765] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6761] <... futex resumed>) = 0 [pid 6775] <... mprotect resumed>) = 0 [pid 6772] open("./file0", O_RDONLY [pid 6770] <... open resumed>) = 4 [pid 6769] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6766] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6765] <... futex resumed>) = 0 [pid 6761] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6776 [pid 6775] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6772] <... open resumed>) = 4 [pid 6770] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6769] <... futex resumed>) = 0 [pid 6766] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6765] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6761] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6776 attached [pid 6775] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6772] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6770] <... futex resumed>) = 0 [pid 6769] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6766] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6765] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6761] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6776] set_robust_list(0x5555558636a0, 24 [pid 6775] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6772] <... futex resumed>) = 0 [pid 6770] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6769] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6766] <... ioctl resumed>) = 0 [pid 6765] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6776] <... set_robust_list resumed>) = 0 [pid 6766] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6765] <... futex resumed>) = 0 [pid 6772] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [ 188.600098][ T6771] BTRFS info (device loop2): balance: start -d -m [ 188.610062][ T6771] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6770] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6766] <... futex resumed>) = 1 [pid 6769] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6765] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6761] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6777 attached [pid 6776] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6775] <... clone3 resumed> => {parent_tid=[6777]}, 88) = 6777 [pid 6772] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6770] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6769] <... futex resumed>) = 0 [pid 6766] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6762] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6761] exit_group(0 [pid 6777] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6776] <... prctl resumed>) = 0 [pid 6775] rt_sigprocmask(SIG_SETMASK, [], [pid 6772] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6769] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6766] <... futex resumed>) = ? [pid 6762] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6761] <... exit_group resumed>) = ? [pid 6777] <... rseq resumed>) = 0 [pid 6776] setpgid(0, 0 [pid 6775] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6770] <... ioctl resumed>) = 0 [pid 6766] +++ exited with 0 +++ [pid 6762] <... futex resumed>) = 0 [pid 6762] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6761] +++ exited with 0 +++ [pid 6777] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6776] <... setpgid resumed>) = 0 [pid 6775] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6777] <... set_robust_list resumed>) = 0 [pid 6772] <... ioctl resumed>) = 0 [pid 6770] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6762] <... mmap resumed>) = 0x7f4e2652d000 [pid 6777] rt_sigprocmask(SIG_SETMASK, [], [pid 6776] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6775] <... futex resumed>) = 0 [pid 6772] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6770] <... futex resumed>) = 1 [pid 6765] <... futex resumed>) = 0 [pid 6762] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6761, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=21 /* 0.21 s */} --- [pid 6777] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6776] <... openat resumed>) = 3 [pid 6775] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6772] <... futex resumed>) = 1 [pid 6770] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6769] <... futex resumed>) = 0 [pid 6765] exit_group(0 [pid 6762] <... mprotect resumed>) = 0 [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 6777] memfd_create("syzkaller", 0 [pid 6776] write(3, "1000", 4 [pid 6772] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6770] <... futex resumed>) = ? [pid 6769] exit_group(0 [pid 6765] <... exit_group resumed>) = ? [pid 6762] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5021] <... restart_syscall resumed>) = 0 [pid 6777] <... memfd_create resumed>) = 3 [pid 6776] <... write resumed>) = 4 [pid 6772] <... futex resumed>) = ? [pid 6770] +++ exited with 0 +++ [pid 6769] <... exit_group resumed>) = ? [pid 6765] +++ exited with 0 +++ [pid 6762] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6777] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6776] close(3 [pid 6772] +++ exited with 0 +++ [pid 6762] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6769] +++ exited with 0 +++ [pid 6777] <... mmap resumed>) = 0x7f4e2554e000 [pid 6776] <... close resumed>) = 0 [pid 6762] <... clone3 resumed> => {parent_tid=[6779]}, 88) = 6779 [pid 6762] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6769, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=21 /* 0.21 s */} --- [pid 6762] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 6776] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6762] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] <... restart_syscall resumed>) = 0 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6765, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=25 /* 0.25 s */} --- [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6776] <... futex resumed>) = 0 [pid 6762] <... futex resumed>) = 0 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 6776] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [ 188.651559][ T6771] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6762] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] <... openat resumed>) = 3 [pid 5026] <... restart_syscall resumed>) = 0 [pid 6776] <... rt_sigaction resumed>NULL, 8) = 0 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5021] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 6779 attached [pid 6776] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5027] <... openat resumed>) = 3 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6779] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6776] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5021] close(3 [pid 6779] <... rseq resumed>) = 0 [pid 6776] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6779] set_robust_list(0x7f4e2654d9a0, 24 [pid 5027] close(3 [pid 5021] <... close resumed>) = 0 [pid 6779] <... set_robust_list resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 6779] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6779] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6779] open("./file0", O_RDONLY [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6780 [pid 6779] <... open resumed>) = 4 [pid 6779] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6762] <... futex resumed>) = 0 [pid 6779] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6762] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6779] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6762] <... futex resumed>) = 0 [pid 6779] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6776] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6762] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5026] <... openat resumed>) = 3 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6776] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6776] <... mprotect resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 6780 attached [pid 6779] <... ioctl resumed>) = 0 [pid 6776] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5026] close(3 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6781 [pid 6780] set_robust_list(0x5555558636a0, 24 [pid 6779] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6776] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5026] <... close resumed>) = 0 [pid 6780] <... set_robust_list resumed>) = 0 [pid 6779] <... futex resumed>) = 1 [pid 6776] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6762] <... futex resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6780] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6779] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6780] <... prctl resumed>) = 0 [pid 6780] setpgid(0, 0) = 0 [pid 6776] <... clone3 resumed> => {parent_tid=[6782]}, 88) = 6782 [pid 6776] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6783 ./strace-static-x86_64: Process 6781 attached [pid 6780] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6776] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6781] set_robust_list(0x5555558636a0, 24 [pid 6780] <... openat resumed>) = 3 [pid 6776] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6781] <... set_robust_list resumed>) = 0 [pid 6780] write(3, "1000", 4 [pid 6776] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6783 attached ./strace-static-x86_64: Process 6782 attached [pid 6781] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6780] <... write resumed>) = 4 [pid 6776] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6783] set_robust_list(0x5555558636a0, 24 [pid 6782] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6781] <... prctl resumed>) = 0 [pid 6780] close(3 [pid 6783] <... set_robust_list resumed>) = 0 [pid 6782] <... rseq resumed>) = 0 [pid 6781] setpgid(0, 0 [pid 6780] <... close resumed>) = 0 [pid 6783] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6782] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6781] <... setpgid resumed>) = 0 [pid 6780] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6783] <... prctl resumed>) = 0 [pid 6782] <... set_robust_list resumed>) = 0 [pid 6781] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6780] <... futex resumed>) = 0 [pid 6783] setpgid(0, 0 [pid 6782] rt_sigprocmask(SIG_SETMASK, [], [pid 6781] <... openat resumed>) = 3 [pid 6780] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6783] <... setpgid resumed>) = 0 [pid 6782] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6781] write(3, "1000", 4 [pid 6780] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6783] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6782] memfd_create("syzkaller", 0 [pid 6781] <... write resumed>) = 4 [pid 6780] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6783] <... openat resumed>) = 3 [pid 6782] <... memfd_create resumed>) = 3 [pid 6781] close(3 [pid 6780] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6783] write(3, "1000", 4 [pid 6782] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6781] <... close resumed>) = 0 [pid 6780] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6783] <... write resumed>) = 4 [pid 6782] <... mmap resumed>) = 0x7f4e2554e000 [pid 6781] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6780] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6783] close(3 [pid 6780] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6783] <... close resumed>) = 0 [pid 6780] <... mprotect resumed>) = 0 [pid 6783] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6780] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6783] <... futex resumed>) = 0 [pid 6780] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6783] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6780] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6783] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6781] <... futex resumed>) = 0 [pid 6783] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6781] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6780] <... clone3 resumed> => {parent_tid=[6784]}, 88) = 6784 [pid 6783] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6781] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6780] rt_sigprocmask(SIG_SETMASK, [], [pid 6783] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6781] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6780] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6771] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6783] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6781] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6780] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6771] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6784 attached [ 188.694855][ T6771] BTRFS info (device loop2): 2 enospc errors during balance [ 188.730595][ T6771] BTRFS info (device loop2): balance: ended with status: -28 [pid 6783] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6781] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6780] <... futex resumed>) = 0 [pid 6771] <... futex resumed>) = 0 [pid 6762] exit_group(0 [pid 6784] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6783] <... mprotect resumed>) = 0 [pid 6781] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6780] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6779] <... futex resumed>) = ? [pid 6762] <... exit_group resumed>) = ? [pid 6784] <... rseq resumed>) = 0 [pid 6783] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6781] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6779] +++ exited with 0 +++ [pid 6771] +++ exited with 0 +++ [pid 6762] +++ exited with 0 +++ [pid 6784] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6783] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6781] <... mprotect resumed>) = 0 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6762, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=33 /* 0.33 s */} --- [pid 6784] <... set_robust_list resumed>) = 0 [pid 6783] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6781] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6784] rt_sigprocmask(SIG_SETMASK, [], [pid 6781] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6784] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6783] <... clone3 resumed> => {parent_tid=[6785]}, 88) = 6785 [pid 6781] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6784] memfd_create("syzkaller", 0 [pid 6783] rt_sigprocmask(SIG_SETMASK, [], [pid 6784] <... memfd_create resumed>) = 3 [pid 6783] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6781] <... clone3 resumed> => {parent_tid=[6786]}, 88) = 6786 [pid 5020] <... openat resumed>) = 3 [pid 6784] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6783] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6781] rt_sigprocmask(SIG_SETMASK, [], [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6784] <... mmap resumed>) = 0x7f4e2554e000 [pid 6783] <... futex resumed>) = 0 [pid 6781] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 6786 attached ./strace-static-x86_64: Process 6785 attached [pid 6783] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6781] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5020] close(3 [pid 6786] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6785] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6781] <... futex resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 6785] <... rseq resumed>) = 0 [pid 6785] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6785] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6785] memfd_create("syzkaller", 0) = 3 [pid 6785] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6786] <... rseq resumed>) = 0 [pid 6781] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6786] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6786] rt_sigprocmask(SIG_SETMASK, [], [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6787 [pid 6786] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6787 attached [pid 6786] memfd_create("syzkaller", 0 [pid 6787] set_robust_list(0x5555558636a0, 24 [pid 6786] <... memfd_create resumed>) = 3 [pid 6787] <... set_robust_list resumed>) = 0 [pid 6786] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6787] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6786] <... mmap resumed>) = 0x7f4e2554e000 [pid 6787] <... prctl resumed>) = 0 [pid 6787] setpgid(0, 0) = 0 [pid 6787] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6787] write(3, "1000", 4) = 4 [pid 6787] close(3) = 0 [pid 6787] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6787] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6787] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6787] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6787] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6787] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6787] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6788]}, 88) = 6788 [pid 6787] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6787] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6787] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6788 attached [pid 6788] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6788] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6788] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6788] memfd_create("syzkaller", 0) = 3 [pid 6788] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6777] 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 6782] 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 6784] 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 6786] 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 6785] 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 6788] 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 6777] <... write resumed>) = 16777216 [pid 6777] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6777] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6777] ioctl(4, LOOP_SET_FD, 3 [pid 6782] <... write resumed>) = 16777216 [pid 6782] munmap(0x7f4e2554e000, 16777216 [pid 6777] <... ioctl resumed>) = 0 [pid 6777] close(3) = 0 [pid 6777] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6777] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6782] <... munmap resumed>) = 0 [pid 6782] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6782] ioctl(4, LOOP_SET_FD, 3 [pid 6786] <... write resumed>) = 16777216 [pid 6782] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6786] munmap(0x7f4e2554e000, 16777216 [pid 6782] ioctl(4, LOOP_CLR_FD) = 0 [pid 6782] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6782] close(4) = 0 [pid 6782] close(3 [pid 6786] <... munmap resumed>) = 0 [pid 6785] <... write resumed>) = 16777216 [pid 6784] <... write resumed>) = 16777216 [ 189.427954][ T6777] loop3: detected capacity change from 0 to 32768 [ 189.449209][ T6777] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6777) [pid 6786] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6785] munmap(0x7f4e2554e000, 16777216 [pid 6786] <... openat resumed>) = 4 [pid 6784] munmap(0x7f4e2554e000, 16777216 [pid 6777] <... mount resumed>) = -1 EEXIST (File exists) [pid 6785] <... munmap resumed>) = 0 [pid 6784] <... munmap resumed>) = 0 [pid 6777] ioctl(4, LOOP_CLR_FD [pid 6786] ioctl(4, LOOP_SET_FD, 3 [pid 6784] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6784] ioctl(4, LOOP_SET_FD, 3 [pid 6785] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6786] <... ioctl resumed>) = 0 [pid 6785] <... openat resumed>) = 4 [pid 6786] close(3 [pid 6785] ioctl(4, LOOP_SET_FD, 3 [pid 6786] <... close resumed>) = 0 [pid 6784] <... ioctl resumed>) = 0 [pid 6784] close(3) = 0 [pid 6784] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6784] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6786] mkdir("./file0", 0777 [pid 6785] <... ioctl resumed>) = 0 [pid 6786] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6785] close(3 [pid 6786] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6785] <... close resumed>) = 0 [pid 6785] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 189.519575][ T6786] loop1: detected capacity change from 0 to 32768 [ 189.524981][ T6784] loop5: detected capacity change from 0 to 32768 [ 189.536864][ T6785] loop4: detected capacity change from 0 to 32768 [ 189.544232][ T6784] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6784) [pid 6785] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6782] <... close resumed>) = 0 [pid 6782] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6776] <... futex resumed>) = 0 [pid 6784] <... mount resumed>) = -1 EEXIST (File exists) [pid 6782] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6776] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6784] ioctl(4, LOOP_CLR_FD [pid 6776] <... futex resumed>) = 0 [pid 6782] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6776] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6782] open("./file0", O_RDONLY) = 3 [pid 6782] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6776] <... futex resumed>) = 0 [pid 6782] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6776] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6782] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6776] <... futex resumed>) = 0 [pid 6782] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6776] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6782] <... ioctl resumed>) = 0 [pid 6782] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6786] <... mount resumed>) = -1 EEXIST (File exists) [pid 6782] <... futex resumed>) = 1 [pid 6776] <... futex resumed>) = 0 [pid 6786] ioctl(4, LOOP_CLR_FD [pid 6782] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6776] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6788] <... write resumed>) = 16777216 [pid 6782] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6776] <... futex resumed>) = 0 [pid 6782] ioctl(3, 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 6776] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6788] munmap(0x7f4e2554e000, 16777216 [ 189.610901][ T6786] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6786) [ 189.631542][ T6785] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6785) [ 189.654673][ T6782] BTRFS info (device loop2): balance: start -d -m [pid 6785] <... mount resumed>) = -1 EEXIST (File exists) [pid 6788] <... munmap resumed>) = 0 [pid 6785] ioctl(4, LOOP_CLR_FD [pid 6788] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6788] ioctl(4, LOOP_SET_FD, 3 [pid 6776] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6776] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6776] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6776] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6776] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6776] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6790]}, 88) = 6790 [pid 6776] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6776] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 ./strace-static-x86_64: Process 6790 attached [pid 6776] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6790] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6790] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6790] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6788] <... ioctl resumed>) = 0 [pid 6790] open("./file0", O_RDONLY [pid 6788] close(3 [pid 6790] <... open resumed>) = 4 [pid 6788] <... close resumed>) = 0 [pid 6790] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [ 189.679820][ T6782] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 189.697644][ T6788] loop0: detected capacity change from 0 to 32768 [pid 6788] mkdir("./file0", 0777 [pid 6790] <... futex resumed>) = 1 [pid 6788] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6776] <... futex resumed>) = 0 [pid 6790] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6788] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6776] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6790] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6776] <... futex resumed>) = 0 [pid 6790] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6776] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6790] <... ioctl resumed>) = 0 [pid 6790] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6776] <... futex resumed>) = 0 [ 189.745004][ T6788] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6788) [ 189.764189][ T6782] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6790] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6777] <... ioctl resumed>) = 0 [pid 6788] <... mount resumed>) = -1 EEXIST (File exists) [pid 6777] close(4 [pid 6788] ioctl(4, LOOP_CLR_FD [pid 6777] <... close resumed>) = 0 [pid 6777] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6775] <... futex resumed>) = 0 [pid 6777] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6775] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6777] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6775] <... futex resumed>) = 0 [pid 6777] open("./file0", O_RDONLY [pid 6775] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6777] <... open resumed>) = 3 [pid 6777] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6775] <... futex resumed>) = 0 [pid 6777] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6775] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6777] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6775] <... futex resumed>) = 0 [pid 6777] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840) = 0 [pid 6775] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6777] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6775] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6777] <... futex resumed>) = 0 [pid 6775] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6777] ioctl(3, 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 6775] <... futex resumed>) = 0 [pid 6775] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6784] <... ioctl resumed>) = 0 [pid 6782] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6777] <... 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}}) = 8 [ 189.800706][ T6782] BTRFS info (device loop2): 2 enospc errors during balance [ 189.835076][ T6782] BTRFS info (device loop2): balance: ended with status: -28 [pid 6786] <... ioctl resumed>) = 0 [pid 6782] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6777] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6776] exit_group(0 [pid 6790] <... futex resumed>) = ? [pid 6786] close(4 [pid 6784] close(4 [pid 6782] <... futex resumed>) = ? [pid 6777] <... futex resumed>) = 1 [pid 6776] <... exit_group resumed>) = ? [pid 6775] <... futex resumed>) = 0 [pid 6790] +++ exited with 0 +++ [pid 6786] <... close resumed>) = 0 [pid 6784] <... close resumed>) = 0 [pid 6775] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6786] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6784] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6782] +++ exited with 0 +++ [pid 6777] open("./file0", O_RDONLY [pid 6776] +++ exited with 0 +++ [pid 6775] <... futex resumed>) = 0 [pid 6786] <... futex resumed>) = 1 [pid 6784] <... futex resumed>) = 1 [pid 6781] <... futex resumed>) = 0 [pid 6780] <... futex resumed>) = 0 [pid 6777] <... open resumed>) = 4 [pid 6775] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6786] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6784] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6781] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6780] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6777] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6775] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6776, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- [pid 6786] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6784] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6781] <... futex resumed>) = 0 [pid 6780] <... futex resumed>) = 0 [pid 6777] <... futex resumed>) = 0 [pid 6775] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 6788] <... ioctl resumed>) = 0 [pid 6786] open("./file0", O_RDONLY [pid 6784] open("./file0", O_RDONLY [pid 6781] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6780] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6777] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6775] <... futex resumed>) = 0 [pid 5022] <... restart_syscall resumed>) = 0 [pid 6788] close(4 [pid 6786] <... open resumed>) = 3 [pid 6784] <... open resumed>) = 3 [pid 6775] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6788] <... close resumed>) = 0 [pid 6786] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6784] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6788] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6786] <... futex resumed>) = 1 [pid 6784] <... futex resumed>) = 1 [pid 6781] <... futex resumed>) = 0 [pid 6780] <... futex resumed>) = 0 [pid 6777] <... ioctl resumed>) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6788] <... futex resumed>) = 1 [pid 6787] <... futex resumed>) = 0 [pid 6786] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6785] <... ioctl resumed>) = 0 [pid 6784] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6781] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6780] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6777] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... openat resumed>) = 3 [pid 6788] open("./file0", O_RDONLY [pid 6787] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6786] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6781] <... futex resumed>) = 0 [pid 6780] <... futex resumed>) = 0 [pid 6784] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6777] <... futex resumed>) = 1 [pid 6788] <... open resumed>) = 3 [pid 6787] <... futex resumed>) = 0 [pid 6786] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6785] close(4 [pid 6784] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6781] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6780] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6777] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6775] <... futex resumed>) = 0 [pid 5022] <... ioctl resumed>) = 0 [pid 6788] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6787] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6786] <... ioctl resumed>) = 0 [pid 6785] <... close resumed>) = 0 [pid 6784] <... ioctl resumed>) = 0 [pid 6775] exit_group(0 [pid 5022] close(3 [pid 6788] <... futex resumed>) = 0 [pid 6787] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6786] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6785] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6784] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6777] <... futex resumed>) = ? [pid 6775] <... exit_group resumed>) = ? [pid 5022] <... close resumed>) = 0 [pid 6788] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6787] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6786] <... futex resumed>) = 1 [pid 6785] <... futex resumed>) = 1 [pid 6784] <... futex resumed>) = 1 [pid 6783] <... futex resumed>) = 0 [pid 6781] <... futex resumed>) = 0 [pid 6780] <... futex resumed>) = 0 [pid 6777] +++ exited with 0 +++ [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6788] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6787] <... futex resumed>) = 0 [pid 6786] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6785] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6784] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6783] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6781] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6780] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6775] +++ exited with 0 +++ [pid 6788] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6787] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6786] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6785] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6784] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6783] <... futex resumed>) = 0 [pid 6781] <... futex resumed>) = 0 [pid 6780] <... futex resumed>) = 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6791 [pid 6788] <... ioctl resumed>) = 0 [pid 6786] ioctl(3, 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 6785] open("./file0", O_RDONLY [pid 6784] ioctl(3, 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 6783] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6781] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6780] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6775, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=22 /* 0.22 s */} --- [pid 6788] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6785] <... open resumed>) = 3 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR./strace-static-x86_64: Process 6791 attached [pid 6788] <... futex resumed>) = 1 [pid 6787] <... futex resumed>) = 0 [pid 6785] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... openat resumed>) = 3 [pid 6791] set_robust_list(0x5555558636a0, 24 [pid 6788] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6787] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6785] <... futex resumed>) = 1 [pid 6783] <... futex resumed>) = 0 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6791] <... set_robust_list resumed>) = 0 [pid 6788] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6787] <... futex resumed>) = 0 [pid 6785] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6784] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6783] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6791] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6788] ioctl(3, 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 6787] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6785] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6784] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6783] <... futex resumed>) = 0 [pid 5025] close(3 [pid 6791] <... prctl resumed>) = 0 [pid 6788] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6785] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6784] <... futex resumed>) = 1 [pid 6783] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6780] <... futex resumed>) = 0 [pid 5025] <... close resumed>) = 0 [pid 6791] setpgid(0, 0 [pid 6788] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6780] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6791] <... setpgid resumed>) = 0 [pid 6788] <... futex resumed>) = 1 [pid 6787] <... futex resumed>) = 0 [pid 6780] <... futex resumed>) = 0 [pid 6791] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6788] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6787] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6780] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6791] <... openat resumed>) = 3 [pid 6788] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6787] <... futex resumed>) = 0 [pid 6791] write(3, "1000", 4 [pid 6788] open("./file0", O_RDONLY [pid 6787] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6791] <... write resumed>) = 4 [pid 6788] <... open resumed>) = 4 [pid 6785] <... ioctl resumed>) = 0 [pid 6784] open("./file0", O_RDONLY [pid 6791] close(3 [pid 6788] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6785] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6784] <... open resumed>) = 4 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6791] <... close resumed>) = 0 [pid 6788] <... futex resumed>) = 1 [pid 6787] <... futex resumed>) = 0 [pid 6785] <... futex resumed>) = 1 [pid 6784] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6783] <... futex resumed>) = 0 [pid 6791] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6788] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6787] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6785] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6784] <... futex resumed>) = 1 [pid 6783] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6780] <... futex resumed>) = 0 [pid 6791] <... futex resumed>) = 0 [pid 6788] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6787] <... futex resumed>) = 0 [pid 6785] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6784] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6783] <... futex resumed>) = 0 [pid 6780] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6793 [pid 6791] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6788] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6787] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6785] ioctl(3, 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 6784] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6783] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6780] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6793 attached [pid 6791] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6785] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6784] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6780] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6793] set_robust_list(0x5555558636a0, 24 [pid 6791] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6785] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6793] <... set_robust_list resumed>) = 0 [pid 6791] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6788] <... ioctl resumed>) = 0 [pid 6785] <... futex resumed>) = 1 [pid 6783] <... futex resumed>) = 0 [pid 6793] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6791] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6788] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6785] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6784] <... ioctl resumed>) = 0 [pid 6783] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6793] <... prctl resumed>) = 0 [pid 6791] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6788] <... futex resumed>) = 1 [pid 6787] <... futex resumed>) = 0 [pid 6785] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6784] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6783] <... futex resumed>) = 0 [pid 6793] setpgid(0, 0 [pid 6791] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6788] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6787] exit_group(0 [pid 6793] <... setpgid resumed>) = 0 [pid 6791] <... mprotect resumed>) = 0 [pid 6787] <... exit_group resumed>) = ? [pid 6785] open("./file0", O_RDONLY [pid 6788] <... futex resumed>) = ? [pid 6784] <... futex resumed>) = 1 [pid 6783] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6780] <... futex resumed>) = 0 [pid 6781] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [ 189.970685][ T6786] BTRFS info (device loop2): balance: start -d -m [ 189.982892][ T6786] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6793] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6791] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6788] +++ exited with 0 +++ [pid 6787] +++ exited with 0 +++ [pid 6785] <... open resumed>) = 4 [pid 6784] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6781] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6780] exit_group(0 [pid 6793] <... openat resumed>) = 3 [pid 6791] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6785] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6781] <... futex resumed>) = 0 [pid 6780] <... exit_group resumed>) = ? [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6787, si_uid=0, si_status=0, si_utime=7 /* 0.07 s */, si_stime=20 /* 0.20 s */} --- [pid 6793] write(3, "1000", 4 [pid 6791] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6785] <... futex resumed>) = 1 [pid 6783] <... futex resumed>) = 0 [pid 6781] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5020] restart_syscall(<... resuming interrupted clone ...> [pid 6793] <... write resumed>) = 4 [pid 6785] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6783] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6781] <... mmap resumed>) = 0x7f4e2652d000 [pid 5020] <... restart_syscall resumed>) = 0 [pid 6793] close(3 [pid 6791] <... clone3 resumed> => {parent_tid=[6794]}, 88) = 6794 [pid 6785] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6783] <... futex resumed>) = 0 [pid 6781] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6793] <... close resumed>) = 0 [pid 6791] rt_sigprocmask(SIG_SETMASK, [], [pid 6785] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6784] <... futex resumed>) = ? [pid 6783] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6781] <... mprotect resumed>) = 0 [pid 6793] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6791] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6781] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6793] <... futex resumed>) = 0 [pid 6791] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6785] <... ioctl resumed>) = 0 [pid 6784] +++ exited with 0 +++ [pid 6781] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6780] +++ exited with 0 +++ [pid 5020] <... openat resumed>) = 3 ./strace-static-x86_64: Process 6794 attached [pid 6793] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6791] <... futex resumed>) = 0 [pid 6785] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6781] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6780, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=21 /* 0.21 s */} --- [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6794] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6793] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6791] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6785] <... futex resumed>) = 1 [pid 6783] <... futex resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6794] <... rseq resumed>) = 0 [pid 6793] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6785] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6783] exit_group(0 [pid 6781] <... clone3 resumed> => {parent_tid=[6795]}, 88) = 6795 [pid 5020] close(3 [pid 6794] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6793] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6785] <... futex resumed>) = ? [pid 6783] <... exit_group resumed>) = ? [pid 6781] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5020] <... close resumed>) = 0 [pid 6794] <... set_robust_list resumed>) = 0 [pid 6793] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6785] +++ exited with 0 +++ [pid 6783] +++ exited with 0 +++ [pid 6781] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5027] <... openat resumed>) = 3 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6794] rt_sigprocmask(SIG_SETMASK, [], [pid 6793] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6781] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6794] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6793] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6781] <... futex resumed>) = 0 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6783, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=22 /* 0.22 s */} --- [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6796 [pid 6794] memfd_create("syzkaller", 0 [pid 6793] <... mprotect resumed>) = 0 [pid 6781] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5027] close(3 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6794] <... memfd_create resumed>) = 3 [pid 6793] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5027] <... close resumed>) = 0 [pid 5026] <... openat resumed>) = 3 [pid 6794] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6793] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6794] <... mmap resumed>) = 0x7f4e2554e000 [pid 6793] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) ./strace-static-x86_64: Process 6795 attached [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6797 [pid 5026] close(3./strace-static-x86_64: Process 6796 attached [pid 6795] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6793] <... clone3 resumed> => {parent_tid=[6798]}, 88) = 6798 [pid 5026] <... close resumed>) = 0 [pid 6796] set_robust_list(0x5555558636a0, 24 [pid 6795] <... rseq resumed>) = 0 [pid 6793] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6797 attached [pid 6796] <... set_robust_list resumed>) = 0 [pid 6795] set_robust_list(0x7f4e2654d9a0, 24 [pid 6793] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6797] set_robust_list(0x5555558636a0, 24 [pid 6796] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6795] <... set_robust_list resumed>) = 0 [pid 6793] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6799 ./strace-static-x86_64: Process 6798 attached [pid 6797] <... set_robust_list resumed>) = 0 [pid 6796] <... prctl resumed>) = 0 [pid 6795] rt_sigprocmask(SIG_SETMASK, [], [pid 6793] <... futex resumed>) = 0 [pid 6798] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6797] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6796] setpgid(0, 0 [pid 6795] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6793] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6799 attached [pid 6798] <... rseq resumed>) = 0 [pid 6797] <... prctl resumed>) = 0 [pid 6796] <... setpgid resumed>) = 0 [pid 6795] open("./file0", O_RDONLY [pid 6799] set_robust_list(0x5555558636a0, 24 [pid 6798] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6797] setpgid(0, 0 [pid 6796] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6795] <... open resumed>) = 4 [pid 6799] <... set_robust_list resumed>) = 0 [pid 6798] <... set_robust_list resumed>) = 0 [pid 6797] <... setpgid resumed>) = 0 [pid 6796] <... openat resumed>) = 3 [pid 6795] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6799] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6798] rt_sigprocmask(SIG_SETMASK, [], [pid 6797] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6796] write(3, "1000", 4 [pid 6795] <... futex resumed>) = 1 [pid 6781] <... futex resumed>) = 0 [ 190.031888][ T6786] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 190.065688][ T6786] BTRFS info (device loop2): 2 enospc errors during balance [pid 6799] <... prctl resumed>) = 0 [pid 6798] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6797] <... openat resumed>) = 3 [pid 6796] <... write resumed>) = 4 [pid 6799] setpgid(0, 0 [pid 6798] memfd_create("syzkaller", 0 [pid 6796] close(3 [pid 6799] <... setpgid resumed>) = 0 [pid 6798] <... memfd_create resumed>) = 3 [pid 6796] <... close resumed>) = 0 [pid 6799] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6798] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6796] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6799] <... openat resumed>) = 3 [pid 6798] <... mmap resumed>) = 0x7f4e2554e000 [pid 6796] <... futex resumed>) = 0 [pid 6795] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6781] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6799] write(3, "1000", 4 [pid 6797] write(3, "1000", 4 [pid 6796] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6799] <... write resumed>) = 4 [pid 6797] <... write resumed>) = 4 [pid 6796] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6795] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6781] <... futex resumed>) = 0 [pid 6799] close(3 [pid 6796] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6799] <... close resumed>) = 0 [pid 6797] close(3 [pid 6796] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6795] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6781] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6799] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6797] <... close resumed>) = 0 [pid 6796] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6799] <... futex resumed>) = 0 [pid 6797] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6796] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6799] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6797] <... futex resumed>) = 0 [pid 6796] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6795] <... ioctl resumed>) = 0 [pid 6799] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6797] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6796] <... mprotect resumed>) = 0 [pid 6795] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6799] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6797] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6796] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6795] <... futex resumed>) = 1 [pid 6786] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6781] <... futex resumed>) = 0 [pid 6799] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6797] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6796] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6795] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6786] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6781] exit_group(0 [pid 6799] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6797] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6796] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6795] <... futex resumed>) = ? [pid 6786] <... futex resumed>) = ? [pid 6781] <... exit_group resumed>) = ? ./strace-static-x86_64: Process 6800 attached [pid 6799] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6797] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6795] +++ exited with 0 +++ [pid 6786] +++ exited with 0 +++ [pid 6781] +++ exited with 0 +++ [pid 6800] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6799] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6797] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6796] <... clone3 resumed> => {parent_tid=[6800]}, 88) = 6800 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6781, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=24 /* 0.24 s */} --- [pid 6800] <... rseq resumed>) = 0 [pid 6799] <... mprotect resumed>) = 0 [pid 6797] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6796] rt_sigprocmask(SIG_SETMASK, [], [pid 6800] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6799] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6797] <... mprotect resumed>) = 0 [pid 6796] <... rt_sigprocmask resumed>NULL, 8) = 0 [ 190.101270][ T6786] BTRFS info (device loop2): balance: ended with status: -28 [pid 6800] <... set_robust_list resumed>) = 0 [pid 6799] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6797] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6796] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6800] rt_sigprocmask(SIG_SETMASK, [], [pid 6799] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6797] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6796] <... futex resumed>) = 0 [pid 5021] <... openat resumed>) = 3 [pid 6800] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6797] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6796] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5021] ioctl(3, LOOP_CLR_FD./strace-static-x86_64: Process 6801 attached [pid 6800] memfd_create("syzkaller", 0 [pid 6799] <... clone3 resumed> => {parent_tid=[6801]}, 88) = 6801 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6801] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6800] <... memfd_create resumed>) = 3 [pid 6799] rt_sigprocmask(SIG_SETMASK, [], [pid 6797] <... clone3 resumed> => {parent_tid=[6802]}, 88) = 6802 [pid 5021] close(3 [pid 6801] <... rseq resumed>) = 0 [pid 6800] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6799] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6797] rt_sigprocmask(SIG_SETMASK, [], [pid 5021] <... close resumed>) = 0 [pid 6799] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6799] <... futex resumed>) = 0 [pid 6799] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6803 ./strace-static-x86_64: Process 6802 attached [pid 6802] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6802] set_robust_list(0x7f4e2d96e9a0, 24./strace-static-x86_64: Process 6803 attached ) = 0 [pid 6803] set_robust_list(0x5555558636a0, 24 [pid 6802] rt_sigprocmask(SIG_SETMASK, [], [pid 6803] <... set_robust_list resumed>) = 0 [pid 6802] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6803] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6802] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6803] <... prctl resumed>) = 0 [pid 6800] <... mmap resumed>) = 0x7f4e2554e000 [pid 6797] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6803] setpgid(0, 0 [pid 6801] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6803] <... setpgid resumed>) = 0 [pid 6803] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6803] write(3, "1000", 4) = 4 [pid 6803] close(3) = 0 [pid 6803] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6803] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6803] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6797] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6801] <... set_robust_list resumed>) = 0 [pid 6803] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6802] <... futex resumed>) = 0 [pid 6801] rt_sigprocmask(SIG_SETMASK, [], [pid 6797] <... futex resumed>) = 1 [pid 6803] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6802] memfd_create("syzkaller", 0 [pid 6801] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6797] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6803] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6802] <... memfd_create resumed>) = 3 [pid 6801] memfd_create("syzkaller", 0 [pid 6803] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6802] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6801] <... memfd_create resumed>) = 3 [pid 6803] <... mprotect resumed>) = 0 [pid 6802] <... mmap resumed>) = 0x7f4e2554e000 [pid 6801] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6803] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6801] <... mmap resumed>) = 0x7f4e2554e000 [pid 6803] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6803] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6804]}, 88) = 6804 [pid 6803] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6804 attached NULL, 8) = 0 [pid 6804] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6803] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6804] <... rseq resumed>) = 0 [pid 6803] <... futex resumed>) = 0 [pid 6804] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6803] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6804] <... set_robust_list resumed>) = 0 [pid 6804] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6804] memfd_create("syzkaller", 0) = 3 [pid 6804] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6794] 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 6798] 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 6801] 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 6800] 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 6802] 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 6804] 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 6798] <... write resumed>) = 16777216 [pid 6798] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6794] <... write resumed>) = 16777216 [pid 6794] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6798] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6794] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6801] <... write resumed>) = 16777216 [pid 6800] <... write resumed>) = 16777216 [pid 6798] <... openat resumed>) = 4 [pid 6794] <... openat resumed>) = 4 [pid 6798] ioctl(4, LOOP_SET_FD, 3 [pid 6794] ioctl(4, LOOP_SET_FD, 3 [pid 6802] <... write resumed>) = 16777216 [pid 6800] munmap(0x7f4e2554e000, 16777216 [pid 6794] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6802] munmap(0x7f4e2554e000, 16777216 [pid 6798] <... ioctl resumed>) = 0 [pid 6798] close(3) = 0 [pid 6800] <... munmap resumed>) = 0 [pid 6794] ioctl(4, LOOP_CLR_FD) = 0 [pid 6798] mkdir("./file0", 0777 [pid 6794] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6794] close(4) = 0 [pid 6798] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6798] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6794] close(3 [pid 6801] munmap(0x7f4e2554e000, 16777216 [pid 6802] <... munmap resumed>) = 0 [pid 6800] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6801] <... munmap resumed>) = 0 [pid 6800] <... openat resumed>) = 4 [pid 6802] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6800] ioctl(4, LOOP_SET_FD, 3 [pid 6801] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [ 190.839075][ T6798] loop3: detected capacity change from 0 to 32768 [ 190.862573][ T6798] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6798) [pid 6801] ioctl(4, LOOP_SET_FD, 3 [pid 6802] <... openat resumed>) = 4 [pid 6802] ioctl(4, LOOP_SET_FD, 3 [pid 6800] <... ioctl resumed>) = 0 [pid 6798] <... mount resumed>) = -1 EEXIST (File exists) [pid 6798] ioctl(4, LOOP_CLR_FD [pid 6801] <... ioctl resumed>) = 0 [pid 6801] close(3) = 0 [pid 6801] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6801] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6800] close(3) = 0 [pid 6802] <... ioctl resumed>) = 0 [pid 6800] mkdir("./file0", 0777 [pid 6802] close(3 [pid 6800] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6802] <... close resumed>) = 0 [pid 6800] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6802] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6802] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6804] <... write resumed>) = 16777216 [pid 6804] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6804] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [ 190.884835][ T6800] loop0: detected capacity change from 0 to 32768 [ 190.890129][ T6801] loop4: detected capacity change from 0 to 32768 [ 190.899483][ T6802] loop5: detected capacity change from 0 to 32768 [ 190.918680][ T6801] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6801) [pid 6804] ioctl(4, LOOP_SET_FD, 3 [pid 6801] <... mount resumed>) = -1 EEXIST (File exists) [pid 6801] ioctl(4, LOOP_CLR_FD [pid 6804] <... ioctl resumed>) = 0 [pid 6804] close(3) = 0 [pid 6804] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6804] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6800] <... mount resumed>) = -1 EEXIST (File exists) [ 190.948163][ T6804] loop1: detected capacity change from 0 to 32768 [ 190.955038][ T6800] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6800) [ 190.974289][ T6802] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6802) [pid 6800] ioctl(4, LOOP_CLR_FD [pid 6802] <... mount resumed>) = -1 EEXIST (File exists) [pid 6802] ioctl(4, LOOP_CLR_FD [pid 6804] <... mount resumed>) = -1 EEXIST (File exists) [ 190.991181][ T6804] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6804) [pid 6804] ioctl(4, LOOP_CLR_FD [pid 6794] <... close resumed>) = 0 [pid 6794] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6791] <... futex resumed>) = 0 [pid 6791] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6791] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6794] <... futex resumed>) = 1 [pid 6794] open("./file0", O_RDONLY) = 3 [pid 6794] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6791] <... futex resumed>) = 0 [pid 6794] <... futex resumed>) = 1 [pid 6794] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6791] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6794] <... ioctl resumed>) = 0 [pid 6791] <... futex resumed>) = 0 [pid 6794] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6791] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6794] <... futex resumed>) = 0 [pid 6791] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6794] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6791] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6794] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6791] <... futex resumed>) = 0 [pid 6794] ioctl(3, 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 6791] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6791] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [ 191.083589][ T6794] BTRFS info (device loop2): balance: start -d -m [ 191.099042][ T6794] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6791] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6791] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6791] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6791] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6806]}, 88) = 6806 [pid 6791] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 ./strace-static-x86_64: Process 6806 attached [pid 6791] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6806] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [pid 6791] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6806] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6806] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6806] open("./file0", O_RDONLY) = 4 [pid 6806] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6791] <... futex resumed>) = 0 [pid 6806] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6791] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6806] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6791] <... futex resumed>) = 0 [pid 6806] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6791] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6806] <... ioctl resumed>) = 0 [pid 6806] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6791] <... futex resumed>) = 0 [ 191.164298][ T6794] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6806] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6802] <... ioctl resumed>) = 0 [pid 6801] <... ioctl resumed>) = 0 [pid 6800] <... ioctl resumed>) = 0 [pid 6794] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6802] close(4 [pid 6801] close(4 [pid 6800] close(4 [pid 6794] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6791] exit_group(0 [pid 6806] <... futex resumed>) = ? [pid 6802] <... close resumed>) = 0 [pid 6800] <... close resumed>) = 0 [pid 6794] <... futex resumed>) = ? [pid 6791] <... exit_group resumed>) = ? [pid 6806] +++ exited with 0 +++ [pid 6802] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6801] <... close resumed>) = 0 [pid 6800] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6794] +++ exited with 0 +++ [pid 6802] <... futex resumed>) = 1 [pid 6801] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6800] <... futex resumed>) = 1 [pid 6797] <... futex resumed>) = 0 [pid 6796] <... futex resumed>) = 0 [pid 6791] +++ exited with 0 +++ [pid 6802] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6801] <... futex resumed>) = 1 [pid 6800] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6799] <... futex resumed>) = 0 [pid 6797] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6796] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6791, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=28 /* 0.28 s */} --- [pid 6802] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6800] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6799] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6797] <... futex resumed>) = 0 [pid 6796] <... futex resumed>) = 0 [pid 6802] open("./file0", O_RDONLY [pid 6801] open("./file0", O_RDONLY [pid 6800] open("./file0", O_RDONLY [pid 6799] <... futex resumed>) = 0 [pid 6797] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6796] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6802] <... open resumed>) = 3 [pid 6801] <... open resumed>) = 3 [pid 6800] <... open resumed>) = 3 [pid 6799] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [ 191.217669][ T6794] BTRFS info (device loop2): 2 enospc errors during balance [ 191.225003][ T6794] BTRFS info (device loop2): balance: ended with status: -28 [pid 6802] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6801] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6800] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6799] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 5022] <... openat resumed>) = 3 [pid 6802] <... futex resumed>) = 1 [pid 6801] <... futex resumed>) = 0 [pid 6800] <... futex resumed>) = 1 [pid 6799] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6797] <... futex resumed>) = 0 [pid 6796] <... futex resumed>) = 0 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6802] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6801] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6800] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6799] <... futex resumed>) = 0 [pid 6798] <... ioctl resumed>) = 0 [pid 6797] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6796] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... ioctl resumed>) = 0 [pid 6802] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6801] <... ioctl resumed>) = 0 [pid 6800] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6799] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6797] <... futex resumed>) = 0 [pid 6796] <... futex resumed>) = 0 [pid 5022] close(3 [pid 6802] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6801] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6800] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6799] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6797] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6796] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] <... close resumed>) = 0 [pid 6802] <... ioctl resumed>) = 0 [pid 6801] <... futex resumed>) = 0 [pid 6800] <... ioctl resumed>) = 0 [pid 6799] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6802] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6801] ioctl(3, 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 6800] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6799] <... futex resumed>) = 0 [pid 6802] <... futex resumed>) = 1 [pid 6800] <... futex resumed>) = 1 [pid 6799] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6798] close(4 [pid 6797] <... futex resumed>) = 0 [pid 6796] <... futex resumed>) = 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6807 [pid 6802] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6800] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6798] <... close resumed>) = 0 [pid 6797] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6796] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6802] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6800] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6798] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6797] <... futex resumed>) = 0 [pid 6796] <... futex resumed>) = 0 [pid 6802] ioctl(3, 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 6800] ioctl(3, 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 6798] <... futex resumed>) = 1 [pid 6797] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6796] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6793] <... futex resumed>) = 0 [pid 6802] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6800] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6798] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6793] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6802] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6800] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6798] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6793] <... futex resumed>) = 0 [pid 6798] open("./file0", O_RDONLY [pid 6793] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6798] <... open resumed>) = 3 [pid 6798] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6793] <... futex resumed>) = 0 [pid 6802] <... futex resumed>) = 1 [pid 6798] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6797] <... futex resumed>) = 0 [pid 6793] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6802] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6798] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6797] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6793] <... futex resumed>) = 0 [pid 6802] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6800] <... futex resumed>) = 1 [pid 6798] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6797] <... futex resumed>) = 0 [pid 6793] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6796] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6807 attached [pid 6802] open("./file0", O_RDONLY [pid 6800] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6798] <... ioctl resumed>) = 0 [pid 6797] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6796] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6807] set_robust_list(0x5555558636a0, 24 [pid 6802] <... open resumed>) = 4 [pid 6800] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6798] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6796] <... futex resumed>) = 0 [pid 6807] <... set_robust_list resumed>) = 0 [pid 6804] <... ioctl resumed>) = 0 [pid 6802] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6800] open("./file0", O_RDONLY [pid 6798] <... futex resumed>) = 1 [pid 6796] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6793] <... futex resumed>) = 0 [pid 6807] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6802] <... futex resumed>) = 1 [pid 6800] <... open resumed>) = 4 [pid 6798] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6797] <... futex resumed>) = 0 [pid 6793] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6807] <... prctl resumed>) = 0 [pid 6804] close(4 [pid 6802] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6800] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6798] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6797] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6793] <... futex resumed>) = 0 [pid 6802] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6798] ioctl(3, 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 6797] <... futex resumed>) = 0 [pid 6793] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6802] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6798] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6797] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6807] setpgid(0, 0 [pid 6804] <... close resumed>) = 0 [pid 6802] <... ioctl resumed>) = 0 [pid 6800] <... futex resumed>) = 1 [pid 6799] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6798] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6796] <... futex resumed>) = 0 [ 191.297926][ T6801] BTRFS info (device loop2): balance: start -d -m [ 191.310842][ T6801] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 191.332015][ T6801] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6807] <... setpgid resumed>) = 0 [pid 6804] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6802] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6799] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6798] <... futex resumed>) = 1 [pid 6793] <... futex resumed>) = 0 [pid 6802] <... futex resumed>) = 1 [pid 6799] <... futex resumed>) = 0 [pid 6798] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6797] <... futex resumed>) = 0 [pid 6793] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6802] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6799] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6798] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6797] exit_group(0 [pid 6793] <... futex resumed>) = 0 [pid 6807] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6804] <... futex resumed>) = 1 [pid 6803] <... futex resumed>) = 0 [pid 6802] <... futex resumed>) = ? [pid 6800] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6799] <... mmap resumed>) = 0x7f4e2652d000 [pid 6798] open("./file0", O_RDONLY [pid 6797] <... exit_group resumed>) = ? [pid 6796] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6793] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6807] <... openat resumed>) = 3 [pid 6804] open("./file0", O_RDONLY [pid 6803] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6802] +++ exited with 0 +++ [pid 6800] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6799] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6798] <... open resumed>) = 4 [pid 6797] +++ exited with 0 +++ [pid 6796] <... futex resumed>) = 0 [pid 6803] <... futex resumed>) = 0 [pid 6799] <... mprotect resumed>) = 0 [pid 6798] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6803] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6799] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6798] <... futex resumed>) = 1 [pid 6793] <... futex resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6797, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=21 /* 0.21 s */} --- [pid 6799] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6798] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6793] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] restart_syscall(<... resuming interrupted clone ...> [pid 6807] write(3, "1000", 4 [pid 6804] <... open resumed>) = 3 [pid 6800] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6799] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6798] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6796] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6793] <... futex resumed>) = 0 [pid 5027] <... restart_syscall resumed>) = 0 [pid 6807] <... write resumed>) = 4 [pid 6804] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6800] <... ioctl resumed>) = 0 [pid 6798] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6793] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6807] close(3 [pid 6804] <... futex resumed>) = 1 [pid 6803] <... futex resumed>) = 0 [pid 6800] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6799] <... clone3 resumed> => {parent_tid=[6808]}, 88) = 6808 [pid 6798] <... ioctl resumed>) = 0 [pid 6803] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6799] rt_sigprocmask(SIG_SETMASK, [], [pid 6798] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6803] <... futex resumed>) = 0 [pid 6799] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6798] <... futex resumed>) = 1 [pid 6793] <... futex resumed>) = 0 [pid 5027] <... openat resumed>) = 3 ./strace-static-x86_64: Process 6808 attached [pid 6803] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6799] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6798] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6793] exit_group(0 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 6808] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6799] <... futex resumed>) = 0 [pid 6798] <... futex resumed>) = ? [pid 6793] <... exit_group resumed>) = ? [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6808] <... rseq resumed>) = 0 [pid 6807] <... close resumed>) = 0 [pid 6804] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6800] <... futex resumed>) = 1 [pid 6799] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6798] +++ exited with 0 +++ [pid 6796] <... futex resumed>) = 0 [pid 6793] +++ exited with 0 +++ [pid 5027] close(3 [pid 6808] set_robust_list(0x7f4e2654d9a0, 24 [pid 5027] <... close resumed>) = 0 [pid 6808] <... set_robust_list resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6793, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=25 /* 0.25 s */} --- [pid 6808] rt_sigprocmask(SIG_SETMASK, [], [pid 6807] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6804] <... ioctl resumed>) = 0 [pid 6800] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6796] exit_group(0 [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 6808] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6807] <... futex resumed>) = 0 [pid 6804] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6800] <... futex resumed>) = ? [pid 6796] <... exit_group resumed>) = ? [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6810 [pid 5025] <... restart_syscall resumed>) = 0 [pid 6808] open("./file0", O_RDONLY [pid 6807] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6804] <... futex resumed>) = 1 [pid 6803] <... futex resumed>) = 0 [pid 6800] +++ exited with 0 +++ ./strace-static-x86_64: Process 6810 attached [pid 6808] <... open resumed>) = 4 [pid 6807] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6804] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6803] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6796] +++ exited with 0 +++ [pid 6810] set_robust_list(0x5555558636a0, 24 [pid 6808] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6807] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6804] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6803] <... futex resumed>) = 0 [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6810] <... set_robust_list resumed>) = 0 [pid 6808] <... futex resumed>) = 1 [pid 6807] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6804] ioctl(3, 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 6803] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6799] <... futex resumed>) = 0 [pid 5025] <... openat resumed>) = 3 [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6796, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=22 /* 0.22 s */} --- [pid 6810] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6808] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6807] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6804] <... 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}}) = 8 [pid 6801] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6799] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6810] <... prctl resumed>) = 0 [pid 6808] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [ 191.349528][ T6801] BTRFS info (device loop2): 2 enospc errors during balance [ 191.360475][ T6801] BTRFS info (device loop2): balance: ended with status: -28 [pid 6807] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6804] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6799] <... futex resumed>) = 0 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5020] <... openat resumed>) = 3 [pid 6810] setpgid(0, 0 [pid 6808] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6807] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6804] <... futex resumed>) = 1 [pid 6803] <... futex resumed>) = 0 [pid 6801] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6799] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5025] close(3 [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6810] <... setpgid resumed>) = 0 [pid 6808] <... ioctl resumed>) = 0 [pid 6807] <... mprotect resumed>) = 0 [pid 6804] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6803] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6801] <... futex resumed>) = 0 [pid 5025] <... close resumed>) = 0 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6810] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6808] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6807] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6804] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6803] <... futex resumed>) = 0 [pid 6801] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5020] close(3 [pid 6810] <... openat resumed>) = 3 [pid 6808] <... futex resumed>) = 1 [pid 6807] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6804] open("./file0", O_RDONLY [pid 6803] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6799] <... futex resumed>) = 0 [pid 5020] <... close resumed>) = 0 [pid 6810] write(3, "1000", 4 [pid 6808] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6807] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6804] <... open resumed>) = 4 [pid 6799] exit_group(0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6811 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6810] <... write resumed>) = 4 [pid 6808] <... futex resumed>) = ? [pid 6804] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6801] <... futex resumed>) = ? [pid 6799] <... exit_group resumed>) = ? [pid 6810] close(3 [pid 6808] +++ exited with 0 +++ [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6813 [pid 6810] <... close resumed>) = 0 [pid 6807] <... clone3 resumed> => {parent_tid=[6812]}, 88) = 6812 [pid 6804] <... futex resumed>) = 1 [pid 6810] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6801] +++ exited with 0 +++ [pid 6799] +++ exited with 0 +++ [pid 6803] <... futex resumed>) = 0 [pid 6807] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6811 attached [pid 6810] <... futex resumed>) = 0 [pid 6807] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6804] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6803] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6799, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=26 /* 0.26 s */} --- ./strace-static-x86_64: Process 6813 attached [pid 6811] set_robust_list(0x5555558636a0, 24 [pid 6810] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6807] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6804] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6803] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6812 attached [pid 6813] set_robust_list(0x5555558636a0, 24 [pid 6811] <... set_robust_list resumed>) = 0 [pid 6810] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6807] <... futex resumed>) = 0 [pid 6804] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6803] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6813] <... set_robust_list resumed>) = 0 [pid 6812] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6811] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6810] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6807] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6813] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6812] <... rseq resumed>) = 0 [pid 6811] <... prctl resumed>) = 0 [pid 6810] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6804] <... ioctl resumed>) = 0 [pid 5026] <... openat resumed>) = 3 [pid 6813] <... prctl resumed>) = 0 [pid 6812] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6811] setpgid(0, 0 [pid 6810] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6804] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6813] setpgid(0, 0 [pid 6812] <... set_robust_list resumed>) = 0 [pid 6811] <... setpgid resumed>) = 0 [pid 6810] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6804] <... futex resumed>) = 1 [pid 6803] <... futex resumed>) = 0 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6813] <... setpgid resumed>) = 0 [pid 6812] rt_sigprocmask(SIG_SETMASK, [], [pid 6811] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6810] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6804] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6803] exit_group(0 [pid 5026] close(3 [pid 6813] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6812] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6811] <... openat resumed>) = 3 [pid 6810] <... mprotect resumed>) = 0 [pid 5026] <... close resumed>) = 0 [pid 6813] <... openat resumed>) = 3 [pid 6811] write(3, "1000", 4 [pid 6810] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6813] write(3, "1000", 4 [pid 6812] memfd_create("syzkaller", 0 [pid 6811] <... write resumed>) = 4 [pid 6810] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6804] <... futex resumed>) = ? [pid 6803] <... exit_group resumed>) = ? [pid 6813] <... write resumed>) = 4 [pid 6812] <... memfd_create resumed>) = 3 [pid 6811] close(3 [pid 6810] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6804] +++ exited with 0 +++ [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6814 [pid 6813] close(3 [pid 6812] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6811] <... close resumed>) = 0 [pid 6803] +++ exited with 0 +++ [pid 6813] <... close resumed>) = 0 [pid 6812] <... mmap resumed>) = 0x7f4e2554e000 [pid 6811] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6810] <... clone3 resumed> => {parent_tid=[6815]}, 88) = 6815 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6803, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=21 /* 0.21 s */} --- [pid 6813] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6811] <... futex resumed>) = 0 [pid 6810] rt_sigprocmask(SIG_SETMASK, [], [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 6813] <... futex resumed>) = 0 [pid 6811] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6810] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5021] <... restart_syscall resumed>) = 0 ./strace-static-x86_64: Process 6814 attached [pid 6813] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6811] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6810] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6814] set_robust_list(0x5555558636a0, 24 [pid 6813] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6811] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6810] <... futex resumed>) = 0 [pid 6814] <... set_robust_list resumed>) = 0 [pid 6813] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6811] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6810] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6814] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6813] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6811] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5021] <... openat resumed>) = 3 [pid 6814] <... prctl resumed>) = 0 [pid 6813] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6811] <... mmap resumed>) = 0x7f4e2d94e000 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6814] setpgid(0, 0 [pid 6813] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6811] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6814] <... setpgid resumed>) = 0 [pid 6813] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6811] <... mprotect resumed>) = 0 [pid 5021] close(3 [pid 6814] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6813] <... mprotect resumed>) = 0 [pid 6811] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5021] <... close resumed>) = 0 [pid 6814] <... openat resumed>) = 3 [pid 6813] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6811] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6814] write(3, "1000", 4 [pid 6813] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6811] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6814] <... write resumed>) = 4 [pid 6813] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6816 [pid 6814] close(3 [pid 6811] <... clone3 resumed> => {parent_tid=[6817]}, 88) = 6817 [pid 6814] <... close resumed>) = 0 [pid 6813] <... clone3 resumed> => {parent_tid=[6818]}, 88) = 6818 [pid 6811] rt_sigprocmask(SIG_SETMASK, [], [pid 6814] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6813] rt_sigprocmask(SIG_SETMASK, [], [pid 6811] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6815 attached [pid 6814] <... futex resumed>) = 0 [pid 6813] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6811] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6815] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6814] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6813] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6811] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6818 attached ./strace-static-x86_64: Process 6817 attached ./strace-static-x86_64: Process 6816 attached [pid 6815] <... rseq resumed>) = 0 [pid 6814] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6813] <... futex resumed>) = 0 [pid 6811] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6818] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6817] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6816] set_robust_list(0x5555558636a0, 24 [pid 6815] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6814] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6813] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6818] <... rseq resumed>) = 0 [pid 6817] <... rseq resumed>) = 0 [pid 6816] <... set_robust_list resumed>) = 0 [pid 6815] <... set_robust_list resumed>) = 0 [pid 6814] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6818] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6817] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6816] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6815] rt_sigprocmask(SIG_SETMASK, [], [pid 6814] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6818] <... set_robust_list resumed>) = 0 [pid 6817] <... set_robust_list resumed>) = 0 [pid 6816] <... prctl resumed>) = 0 [pid 6815] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6814] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6818] rt_sigprocmask(SIG_SETMASK, [], [pid 6817] rt_sigprocmask(SIG_SETMASK, [], [pid 6816] setpgid(0, 0 [pid 6815] memfd_create("syzkaller", 0 [pid 6814] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6818] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6817] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6816] <... setpgid resumed>) = 0 [pid 6815] <... memfd_create resumed>) = 3 [pid 6814] <... mprotect resumed>) = 0 [pid 6818] memfd_create("syzkaller", 0 [pid 6817] memfd_create("syzkaller", 0 [pid 6816] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6815] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6814] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6818] <... memfd_create resumed>) = 3 [pid 6817] <... memfd_create resumed>) = 3 [pid 6816] <... openat resumed>) = 3 [pid 6815] <... mmap resumed>) = 0x7f4e2554e000 [pid 6814] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6818] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6817] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6816] write(3, "1000", 4 [pid 6814] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6818] <... mmap resumed>) = 0x7f4e2554e000 [pid 6816] <... write resumed>) = 4 [pid 6817] <... mmap resumed>) = 0x7f4e2554e000 [pid 6816] close(3 [pid 6814] <... clone3 resumed> => {parent_tid=[6819]}, 88) = 6819 [pid 6816] <... close resumed>) = 0 [pid 6814] rt_sigprocmask(SIG_SETMASK, [], [pid 6816] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6814] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6816] <... futex resumed>) = 0 [pid 6814] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6816] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6814] <... futex resumed>) = 0 [pid 6816] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6814] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6816] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6816] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6816] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6816] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6816] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6820]}, 88) = 6820 ./strace-static-x86_64: Process 6819 attached [pid 6816] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6816] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6816] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6820 attached [pid 6820] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6820] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6820] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6820] memfd_create("syzkaller", 0 [pid 6819] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6820] <... memfd_create resumed>) = 3 [pid 6820] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6819] <... rseq resumed>) = 0 [pid 6819] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6819] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6819] memfd_create("syzkaller", 0) = 3 [pid 6819] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6812] 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 6815] 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 6818] 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 6817] 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 6820] 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 6819] 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 6812] <... write resumed>) = 16777216 [pid 6815] <... write resumed>) = 16777216 [pid 6812] munmap(0x7f4e2554e000, 16777216 [pid 6815] munmap(0x7f4e2554e000, 16777216 [pid 6812] <... munmap resumed>) = 0 [pid 6812] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 4 [pid 6812] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6812] ioctl(4, LOOP_CLR_FD) = 0 [pid 6812] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6812] close(4) = 0 [pid 6818] <... write resumed>) = 16777216 [pid 6818] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6812] close(3 [pid 6815] <... munmap resumed>) = 0 [pid 6817] <... write resumed>) = 16777216 [pid 6817] munmap(0x7f4e2554e000, 16777216 [pid 6818] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6818] ioctl(4, LOOP_SET_FD, 3 [pid 6817] <... munmap resumed>) = 0 [pid 6815] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 4 [pid 6815] ioctl(4, LOOP_SET_FD, 3 [pid 6817] openat(AT_FDCWD, "/dev/loop3", O_RDWR) = 4 [pid 6817] ioctl(4, LOOP_SET_FD, 3 [pid 6819] <... write resumed>) = 16777216 [pid 6815] <... ioctl resumed>) = 0 [pid 6815] close(3) = 0 [pid 6815] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6815] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6818] <... ioctl resumed>) = 0 [pid 6818] close(3) = 0 [pid 6818] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6818] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6819] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6817] <... ioctl resumed>) = 0 [ 192.240495][ T6818] loop0: detected capacity change from 0 to 32768 [ 192.249449][ T6815] loop5: detected capacity change from 0 to 32768 [ 192.255728][ T6817] loop3: detected capacity change from 0 to 32768 [ 192.273433][ T6815] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6815) [pid 6817] close(3) = 0 [pid 6820] <... write resumed>) = 16777216 [pid 6819] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6815] <... mount resumed>) = -1 EEXIST (File exists) [pid 6820] munmap(0x7f4e2554e000, 16777216 [pid 6815] ioctl(4, LOOP_CLR_FD [pid 6819] <... openat resumed>) = 4 [pid 6817] mkdir("./file0", 0777 [pid 6819] ioctl(4, LOOP_SET_FD, 3 [pid 6817] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6820] <... munmap resumed>) = 0 [pid 6817] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6820] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6820] ioctl(4, LOOP_SET_FD, 3 [pid 6819] <... ioctl resumed>) = 0 [pid 6820] <... ioctl resumed>) = 0 [pid 6819] close(3) = 0 [pid 6820] close(3 [pid 6818] <... mount resumed>) = -1 EEXIST (File exists) [pid 6812] <... close resumed>) = 0 [pid 6820] <... close resumed>) = 0 [pid 6819] mkdir("./file0", 0777 [pid 6818] ioctl(4, LOOP_CLR_FD [pid 6812] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6820] mkdir("./file0", 0777 [pid 6819] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6812] <... futex resumed>) = 1 [pid 6807] <... futex resumed>) = 0 [pid 6820] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6819] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6812] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6807] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6820] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6812] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6807] <... futex resumed>) = 0 [pid 6812] open("./file0", O_RDONLY [pid 6807] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6812] <... open resumed>) = 3 [pid 6812] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6807] <... futex resumed>) = 0 [pid 6812] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6807] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6812] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6807] <... futex resumed>) = 0 [pid 6812] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [ 192.296565][ T6818] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6818) [ 192.310427][ T6819] loop4: detected capacity change from 0 to 32768 [ 192.318898][ T6820] loop1: detected capacity change from 0 to 32768 [ 192.329863][ T6817] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6817) [pid 6807] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6817] <... mount resumed>) = -1 EEXIST (File exists) [pid 6812] <... ioctl resumed>) = 0 [pid 6817] ioctl(4, LOOP_CLR_FD [pid 6812] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6819] <... mount resumed>) = -1 EEXIST (File exists) [pid 6819] ioctl(4, LOOP_CLR_FD [pid 6812] <... futex resumed>) = 1 [pid 6807] <... futex resumed>) = 0 [pid 6807] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6812] ioctl(3, 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 6807] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [ 192.360058][ T6819] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6819) [ 192.376362][ T6820] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6820) [ 192.390288][ T6812] BTRFS info (device loop2): balance: start -d -m [pid 6807] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6820] <... mount resumed>) = -1 EEXIST (File exists) [pid 6820] ioctl(4, LOOP_CLR_FD [pid 6807] <... futex resumed>) = 0 [pid 6807] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6807] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6807] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [ 192.439958][ T6812] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [ 192.472663][ T6812] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6807] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6822]}, 88) = 6822 [pid 6807] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6807] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6807] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6822 attached [pid 6822] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [ 192.504192][ T6812] BTRFS info (device loop2): 2 enospc errors during balance [pid 6822] set_robust_list(0x7f4e2654d9a0, 24) = 0 [pid 6822] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6822] open("./file0", O_RDONLY [pid 6812] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6822] <... open resumed>) = 4 [pid 6812] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6807] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6822] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6812] <... futex resumed>) = 0 [pid 6807] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6822] <... futex resumed>) = 0 [pid 6812] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6807] <... futex resumed>) = 0 [pid 6822] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6807] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6812] <... ioctl resumed>) = 0 [pid 6812] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6807] <... futex resumed>) = 0 [pid 6812] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6807] exit_group(0 [pid 6822] <... futex resumed>) = ? [pid 6812] <... futex resumed>) = ? [pid 6807] <... exit_group resumed>) = ? [pid 6822] +++ exited with 0 +++ [pid 6818] <... ioctl resumed>) = 0 [pid 6812] +++ exited with 0 +++ [pid 6807] +++ exited with 0 +++ [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6807, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=25 /* 0.25 s */} --- [pid 6818] close(4) = 0 [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR) = 3 [ 192.556795][ T6812] BTRFS info (device loop2): balance: ended with status: -28 [pid 6818] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6820] <... ioctl resumed>) = 0 [pid 6818] <... futex resumed>) = 1 [pid 6813] <... futex resumed>) = 0 [pid 5022] <... ioctl resumed>) = 0 [pid 6820] close(4 [pid 6819] <... ioctl resumed>) = 0 [pid 6818] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6817] <... ioctl resumed>) = 0 [pid 6813] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6820] <... close resumed>) = 0 [pid 6819] close(4 [pid 6818] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6817] close(4 [pid 6813] <... futex resumed>) = 0 [pid 5022] close(3 [pid 6820] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6819] <... close resumed>) = 0 [pid 6813] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] <... close resumed>) = 0 [pid 6820] <... futex resumed>) = 1 [pid 6819] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6818] open("./file0", O_RDONLY [pid 6817] <... close resumed>) = 0 [pid 6816] <... futex resumed>) = 0 [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6820] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6819] <... futex resumed>) = 1 [pid 6818] <... open resumed>) = 3 [pid 6817] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6816] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6815] <... ioctl resumed>) = 0 [pid 6814] <... futex resumed>) = 0 [pid 6820] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6819] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6818] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6817] <... futex resumed>) = 1 [pid 6816] <... futex resumed>) = 0 [pid 6814] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6811] <... futex resumed>) = 0 [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6823 [pid 6820] open("./file0", O_RDONLY [pid 6819] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6818] <... futex resumed>) = 1 [pid 6817] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6816] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6815] close(4 [pid 6814] <... futex resumed>) = 0 [pid 6813] <... futex resumed>) = 0 [pid 6811] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6823 attached [pid 6820] <... open resumed>) = 3 [pid 6819] open("./file0", O_RDONLY [pid 6818] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6817] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6815] <... close resumed>) = 0 [pid 6814] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6813] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6811] <... futex resumed>) = 0 [pid 6823] set_robust_list(0x5555558636a0, 24 [pid 6820] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6819] <... open resumed>) = 3 [pid 6818] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6817] open("./file0", O_RDONLY [pid 6815] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6813] <... futex resumed>) = 0 [pid 6811] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6823] <... set_robust_list resumed>) = 0 [pid 6820] <... futex resumed>) = 1 [pid 6819] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6818] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6817] <... open resumed>) = 3 [pid 6816] <... futex resumed>) = 0 [pid 6815] <... futex resumed>) = 1 [pid 6813] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6810] <... futex resumed>) = 0 [pid 6823] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6820] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6819] <... futex resumed>) = 1 [pid 6818] <... ioctl resumed>) = 0 [pid 6817] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6816] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6815] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6814] <... futex resumed>) = 0 [pid 6810] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6823] <... prctl resumed>) = 0 [pid 6820] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6819] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6818] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6817] <... futex resumed>) = 1 [pid 6816] <... futex resumed>) = 0 [pid 6815] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6814] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6811] <... futex resumed>) = 0 [pid 6810] <... futex resumed>) = 0 [pid 6823] setpgid(0, 0 [pid 6820] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6819] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6818] <... futex resumed>) = 1 [pid 6817] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6816] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6815] open("./file0", O_RDONLY [pid 6814] <... futex resumed>) = 0 [pid 6813] <... futex resumed>) = 0 [pid 6811] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6810] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6823] <... setpgid resumed>) = 0 [pid 6820] <... ioctl resumed>) = 0 [pid 6819] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6818] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6817] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6815] <... open resumed>) = 3 [pid 6814] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6813] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6811] <... futex resumed>) = 0 [pid 6823] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6820] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6819] <... ioctl resumed>) = 0 [pid 6818] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6817] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6815] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6813] <... futex resumed>) = 0 [pid 6823] <... openat resumed>) = 3 [pid 6820] <... futex resumed>) = 1 [pid 6819] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6818] ioctl(3, 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 6817] <... ioctl resumed>) = 0 [pid 6816] <... futex resumed>) = 0 [pid 6815] <... futex resumed>) = 1 [pid 6811] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6810] <... futex resumed>) = 0 [pid 6813] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6823] write(3, "1000", 4 [pid 6820] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6819] <... futex resumed>) = 1 [pid 6817] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6816] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6815] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6814] <... futex resumed>) = 0 [pid 6811] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6810] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6823] <... write resumed>) = 4 [pid 6820] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6819] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6817] <... futex resumed>) = 0 [pid 6815] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6823] close(3 [pid 6820] ioctl(3, 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 6817] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6815] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6823] <... close resumed>) = 0 [pid 6815] <... ioctl resumed>) = 0 [pid 6823] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6815] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6823] <... futex resumed>) = 0 [pid 6815] <... futex resumed>) = 0 [pid 6823] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6815] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6823] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6823] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6823] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6814] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6823] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6819] <... futex resumed>) = 0 [pid 6816] <... futex resumed>) = 0 [pid 6815] <... futex resumed>) = 0 [pid 6814] <... futex resumed>) = 1 [pid 6811] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6810] <... futex resumed>) = 1 [pid 6823] <... mprotect resumed>) = 0 [pid 6819] ioctl(3, 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 6817] <... futex resumed>) = 0 [pid 6816] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6815] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6814] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6811] <... futex resumed>) = 1 [pid 6810] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6823] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6817] ioctl(3, 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 6811] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6823] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6810] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6823] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6810] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6815] <... futex resumed>) = 0 [pid 6810] <... futex resumed>) = 1 [pid 6823] <... clone3 resumed> => {parent_tid=[6825]}, 88) = 6825 [pid 6815] ioctl(3, 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 6810] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6823] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6823] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6823] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6825 attached [pid 6825] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6825] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6825] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6820] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6819] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6817] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6815] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6820] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6819] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6817] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6815] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6820] <... futex resumed>) = 1 [pid 6819] <... futex resumed>) = 1 [pid 6817] <... futex resumed>) = 1 [pid 6816] <... futex resumed>) = 0 [pid 6815] <... futex resumed>) = 1 [pid 6814] <... futex resumed>) = 0 [pid 6811] <... futex resumed>) = 0 [pid 6810] <... futex resumed>) = 0 [pid 6825] memfd_create("syzkaller", 0 [pid 6820] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6819] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6817] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6816] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6815] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6814] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6811] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6810] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6825] <... memfd_create resumed>) = 3 [pid 6820] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6819] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6817] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6816] <... futex resumed>) = 0 [pid 6815] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6814] <... futex resumed>) = 0 [pid 6811] <... futex resumed>) = 0 [pid 6810] <... futex resumed>) = 0 [pid 6825] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6820] open("./file0", O_RDONLY [pid 6819] open("./file0", O_RDONLY [pid 6817] open("./file0", O_RDONLY [pid 6816] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6815] open("./file0", O_RDONLY [pid 6814] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6811] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6810] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6825] <... mmap resumed>) = 0x7f4e2554e000 [pid 6820] <... open resumed>) = 4 [pid 6819] <... open resumed>) = 4 [pid 6817] <... open resumed>) = 4 [pid 6815] <... open resumed>) = 4 [pid 6820] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6819] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6817] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6815] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6820] <... futex resumed>) = 1 [pid 6819] <... futex resumed>) = 1 [pid 6817] <... futex resumed>) = 1 [pid 6816] <... futex resumed>) = 0 [pid 6815] <... futex resumed>) = 1 [pid 6814] <... futex resumed>) = 0 [pid 6811] <... futex resumed>) = 0 [pid 6810] <... futex resumed>) = 0 [pid 6820] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6819] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6817] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6816] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6815] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6814] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6811] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6810] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6820] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6819] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6817] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6816] <... futex resumed>) = 0 [pid 6815] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6814] <... futex resumed>) = 0 [pid 6811] <... futex resumed>) = 0 [pid 6810] <... futex resumed>) = 0 [pid 6820] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6819] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6817] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6816] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6815] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6814] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6811] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6810] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6820] <... ioctl resumed>) = 0 [pid 6819] <... ioctl resumed>) = 0 [pid 6817] <... ioctl resumed>) = 0 [pid 6815] <... ioctl resumed>) = 0 [pid 6820] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6819] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6817] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6815] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6820] <... futex resumed>) = 1 [pid 6819] <... futex resumed>) = 0 [pid 6817] <... futex resumed>) = 0 [pid 6816] <... futex resumed>) = 0 [pid 6815] <... futex resumed>) = 0 [pid 6814] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6811] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6810] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6820] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6819] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6817] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6816] exit_group(0 [pid 6815] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6820] <... futex resumed>) = ? [pid 6816] <... exit_group resumed>) = ? [pid 6814] exit_group(0 [pid 6811] exit_group(0 [pid 6810] exit_group(0 [pid 6820] +++ exited with 0 +++ [pid 6819] <... futex resumed>) = ? [pid 6817] <... futex resumed>) = ? [pid 6816] +++ exited with 0 +++ [pid 6815] <... futex resumed>) = ? [pid 6814] <... exit_group resumed>) = ? [pid 6811] <... exit_group resumed>) = ? [pid 6810] <... exit_group resumed>) = ? [pid 6819] +++ exited with 0 +++ [pid 6817] +++ exited with 0 +++ [pid 6815] +++ exited with 0 +++ [pid 6814] +++ exited with 0 +++ [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6816, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=22 /* 0.22 s */} --- [pid 6810] +++ exited with 0 +++ [pid 6811] +++ exited with 0 +++ [pid 6813] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6814, si_uid=0, si_status=0, si_utime=2 /* 0.02 s */, si_stime=26 /* 0.26 s */} --- [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6811, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=18 /* 0.18 s */} --- [pid 6813] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5026] restart_syscall(<... resuming interrupted clone ...> [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6810, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=21 /* 0.21 s */} --- [pid 6813] <... futex resumed>) = 0 [pid 6813] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 5026] <... restart_syscall resumed>) = 0 [pid 6813] <... mmap resumed>) = 0x7f4e2652d000 [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 5027] <... openat resumed>) = 3 [pid 5021] <... openat resumed>) = 3 [pid 5025] <... openat resumed>) = 3 [pid 6813] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 5025] ioctl(3, LOOP_CLR_FD [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6813] <... mprotect resumed>) = 0 [pid 5026] <... openat resumed>) = 3 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5026] ioctl(3, LOOP_CLR_FD [pid 5025] close(3 [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5021] close(3 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] <... close resumed>) = 0 [pid 5021] <... close resumed>) = 0 [pid 5027] close(3 [pid 5026] close(3 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5027] <... close resumed>) = 0 [pid 5026] <... close resumed>) = 0 [pid 6813] rt_sigprocmask(SIG_BLOCK, ~[], [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6813] <... rt_sigprocmask resumed>[], 8) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6827 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6826 [ 192.679082][ T6818] BTRFS info (device loop2): balance: start -d -m [ 192.714463][ T6818] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6813] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0}./strace-static-x86_64: Process 6826 attached => {parent_tid=[6830]}, 88) = 6830 [pid 5026] <... clone resumed>, child_tidptr=0x555555863690) = 6829 [pid 6813] rt_sigprocmask(SIG_SETMASK, [], [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6828 [pid 6813] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6813] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6813] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6826] set_robust_list(0x5555558636a0, 24) = 0 [pid 6826] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6826] setpgid(0, 0) = 0 [pid 6826] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6826] write(3, "1000", 4) = 4 ./strace-static-x86_64: Process 6828 attached ./strace-static-x86_64: Process 6827 attached [pid 6828] set_robust_list(0x5555558636a0, 24 [pid 6827] set_robust_list(0x5555558636a0, 24 [pid 6826] close(3 [pid 6828] <... set_robust_list resumed>) = 0 [pid 6827] <... set_robust_list resumed>) = 0 [pid 6826] <... close resumed>) = 0 [pid 6828] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6827] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6826] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6830 attached ./strace-static-x86_64: Process 6829 attached [pid 6828] <... prctl resumed>) = 0 [pid 6827] <... prctl resumed>) = 0 [pid 6826] <... futex resumed>) = 0 [pid 6830] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6829] set_robust_list(0x5555558636a0, 24 [pid 6828] setpgid(0, 0 [pid 6827] setpgid(0, 0 [pid 6826] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6830] <... rseq resumed>) = 0 [pid 6829] <... set_robust_list resumed>) = 0 [pid 6828] <... setpgid resumed>) = 0 [pid 6827] <... setpgid resumed>) = 0 [pid 6830] set_robust_list(0x7f4e2654d9a0, 24 [pid 6829] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6828] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6827] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6826] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6830] <... set_robust_list resumed>) = 0 [pid 6829] <... prctl resumed>) = 0 [pid 6826] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6830] rt_sigprocmask(SIG_SETMASK, [], [pid 6829] setpgid(0, 0 [pid 6828] <... openat resumed>) = 3 [pid 6827] <... openat resumed>) = 3 [pid 6826] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6830] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6829] <... setpgid resumed>) = 0 [pid 6828] write(3, "1000", 4 [pid 6827] write(3, "1000", 4 [pid 6826] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6830] open("./file0", O_RDONLY [pid 6829] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6828] <... write resumed>) = 4 [pid 6827] <... write resumed>) = 4 [pid 6826] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6830] <... open resumed>) = 4 [pid 6829] <... openat resumed>) = 3 [pid 6828] close(3 [pid 6827] close(3 [pid 6826] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6830] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6829] write(3, "1000", 4 [pid 6828] <... close resumed>) = 0 [pid 6827] <... close resumed>) = 0 [pid 6826] <... mprotect resumed>) = 0 [pid 6830] <... futex resumed>) = 1 [pid 6829] <... write resumed>) = 4 [pid 6828] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6827] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6826] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6813] <... futex resumed>) = 0 [pid 6830] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6829] close(3 [pid 6826] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6813] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6830] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6829] <... close resumed>) = 0 [pid 6826] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6813] <... futex resumed>) = 0 [pid 6830] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6829] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6813] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6830] <... ioctl resumed>) = 0 [pid 6829] <... futex resumed>) = 0 [pid 6826] <... clone3 resumed> => {parent_tid=[6831]}, 88) = 6831 [pid 6830] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6829] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6826] rt_sigprocmask(SIG_SETMASK, [], [pid 6830] <... futex resumed>) = 1 [pid 6829] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6828] <... futex resumed>) = 0 [pid 6827] <... futex resumed>) = 0 [pid 6826] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6813] <... futex resumed>) = 0 [pid 6830] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6829] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6828] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6827] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6826] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6829] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6828] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6827] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6826] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6831 attached [pid 6829] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6826] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6831] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6829] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6828] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6827] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6831] <... rseq resumed>) = 0 [pid 6829] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6828] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6827] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6831] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6829] <... mprotect resumed>) = 0 [pid 6828] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6827] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6831] <... set_robust_list resumed>) = 0 [pid 6829] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6828] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6827] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6831] rt_sigprocmask(SIG_SETMASK, [], [pid 6829] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6828] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6827] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6831] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6829] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6828] <... mprotect resumed>) = 0 [pid 6831] memfd_create("syzkaller", 0 [pid 6828] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6827] <... mprotect resumed>) = 0 [pid 6831] <... memfd_create resumed>) = 3 [pid 6829] <... clone3 resumed> => {parent_tid=[6832]}, 88) = 6832 [ 192.774151][ T6818] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [ 192.814201][ T6818] BTRFS info (device loop2): 2 enospc errors during balance [pid 6828] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6827] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6831] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6829] rt_sigprocmask(SIG_SETMASK, [], [pid 6831] <... mmap resumed>) = 0x7f4e2554e000 [pid 6829] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6829] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6828] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6827] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6829] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6827] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0}./strace-static-x86_64: Process 6832 attached [pid 6828] <... clone3 resumed> => {parent_tid=[6833]}, 88) = 6833 ./strace-static-x86_64: Process 6833 attached [pid 6832] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6828] rt_sigprocmask(SIG_SETMASK, [], [pid 6827] <... clone3 resumed> => {parent_tid=[6834]}, 88) = 6834 [pid 6833] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6832] <... rseq resumed>) = 0 [pid 6828] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6827] rt_sigprocmask(SIG_SETMASK, [], [pid 6833] <... rseq resumed>) = 0 [pid 6832] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6828] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6827] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6832] <... set_robust_list resumed>) = 0 [pid 6832] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6834 attached NULL, 8) = 0 [pid 6834] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6832] memfd_create("syzkaller", 0 [pid 6834] <... rseq resumed>) = 0 [pid 6832] <... memfd_create resumed>) = 3 [pid 6834] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6832] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6834] <... set_robust_list resumed>) = 0 [pid 6833] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6832] <... mmap resumed>) = 0x7f4e2554e000 [pid 6828] <... futex resumed>) = 0 [pid 6827] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6834] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6833] <... set_robust_list resumed>) = 0 [pid 6828] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6827] <... futex resumed>) = 0 [pid 6834] memfd_create("syzkaller", 0 [pid 6833] rt_sigprocmask(SIG_SETMASK, [], [pid 6827] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6834] <... memfd_create resumed>) = 3 [pid 6833] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6818] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6834] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6833] memfd_create("syzkaller", 0 [pid 6818] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6834] <... mmap resumed>) = 0x7f4e2554e000 [pid 6833] <... memfd_create resumed>) = 3 [pid 6818] <... futex resumed>) = 0 [ 192.844739][ T6818] BTRFS info (device loop2): balance: ended with status: -28 [pid 6813] exit_group(0 [pid 6833] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6830] <... futex resumed>) = ? [pid 6813] <... exit_group resumed>) = ? [pid 6833] <... mmap resumed>) = 0x7f4e2554e000 [pid 6830] +++ exited with 0 +++ [pid 6818] +++ exited with 0 +++ [pid 6813] +++ exited with 0 +++ [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6813, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=23 /* 0.23 s */} --- [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 [pid 5020] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5020] close(3) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6835 ./strace-static-x86_64: Process 6835 attached [pid 6835] set_robust_list(0x5555558636a0, 24) = 0 [pid 6835] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6835] setpgid(0, 0) = 0 [pid 6835] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6835] write(3, "1000", 4) = 4 [pid 6835] close(3) = 0 [pid 6835] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6835] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6835] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6835] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6835] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6835] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6835] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6836]}, 88) = 6836 [pid 6835] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6835] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6835] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6836 attached [pid 6836] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6836] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6836] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6836] memfd_create("syzkaller", 0) = 3 [pid 6836] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6825] 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 6833] 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 6834] 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 6831] 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 6832] 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 6836] 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 6825] <... write resumed>) = 16777216 [pid 6833] <... write resumed>) = 16777216 [pid 6825] munmap(0x7f4e2554e000, 16777216 [pid 6833] munmap(0x7f4e2554e000, 16777216 [pid 6825] <... munmap resumed>) = 0 [pid 6833] <... munmap resumed>) = 0 [pid 6825] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6833] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6825] <... openat resumed>) = 4 [pid 6833] <... openat resumed>) = 4 [pid 6825] ioctl(4, LOOP_SET_FD, 3 [pid 6833] ioctl(4, LOOP_SET_FD, 3 [pid 6825] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6833] <... ioctl resumed>) = 0 [pid 6825] ioctl(4, LOOP_CLR_FD [pid 6833] close(3 [pid 6825] <... ioctl resumed>) = 0 [pid 6834] <... write resumed>) = 16777216 [pid 6833] <... close resumed>) = 0 [pid 6834] munmap(0x7f4e2554e000, 16777216 [pid 6833] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6825] ioctl(4, LOOP_SET_FD, 3 [pid 6833] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6825] <... ioctl resumed>) = -1 EBUSY (Device or resource busy) [pid 6825] close(4 [pid 6834] <... munmap resumed>) = 0 [pid 6825] <... close resumed>) = 0 [pid 6825] close(3 [pid 6834] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6831] <... write resumed>) = 16777216 [pid 6834] <... openat resumed>) = 4 [ 193.509285][ T6833] loop5: detected capacity change from 0 to 32768 [ 193.539014][ T6833] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6833) [pid 6834] ioctl(4, LOOP_SET_FD, 3 [pid 6832] <... write resumed>) = 16777216 [pid 6832] munmap(0x7f4e2554e000, 16777216 [pid 6831] munmap(0x7f4e2554e000, 16777216 [pid 6832] <... munmap resumed>) = 0 [pid 6831] <... munmap resumed>) = 0 [pid 6832] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6832] ioctl(4, LOOP_SET_FD, 3 [pid 6833] <... mount resumed>) = -1 EEXIST (File exists) [pid 6833] ioctl(4, LOOP_CLR_FD [pid 6831] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6831] ioctl(4, LOOP_SET_FD, 3 [pid 6834] <... ioctl resumed>) = 0 [pid 6834] close(3) = 0 [pid 6834] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 193.575742][ T6834] loop3: detected capacity change from 0 to 32768 [ 193.595234][ T6832] loop4: detected capacity change from 0 to 32768 [ 193.610717][ T6831] loop1: detected capacity change from 0 to 32768 [pid 6834] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6832] <... ioctl resumed>) = 0 [pid 6832] close(3) = 0 [pid 6832] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6832] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6831] <... ioctl resumed>) = 0 [pid 6831] close(3) = 0 [pid 6831] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6831] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6834] <... mount resumed>) = -1 EEXIST (File exists) [pid 6834] ioctl(4, LOOP_CLR_FD [pid 6836] <... write resumed>) = 16777216 [ 193.621001][ T6834] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6834) [ 193.660520][ T6832] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6832) [pid 6836] munmap(0x7f4e2554e000, 16777216) = 0 [pid 6832] <... mount resumed>) = -1 EEXIST (File exists) [pid 6836] openat(AT_FDCWD, "/dev/loop0", O_RDWR [pid 6832] ioctl(4, LOOP_CLR_FD [pid 6836] <... openat resumed>) = 4 [pid 6836] ioctl(4, LOOP_SET_FD, 3 [pid 6831] <... mount resumed>) = -1 EEXIST (File exists) [pid 6831] ioctl(4, LOOP_CLR_FD [pid 6836] <... ioctl resumed>) = 0 [pid 6836] close(3) = 0 [pid 6836] mkdir("./file0", 0777) = -1 EEXIST (File exists) [ 193.701850][ T6831] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6831) [ 193.726640][ T6836] loop0: detected capacity change from 0 to 32768 [pid 6836] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6825] <... close resumed>) = 0 [pid 6825] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6823] <... futex resumed>) = 0 [pid 6825] open("./file0", O_RDONLY [pid 6823] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6825] <... open resumed>) = 3 [pid 6823] <... futex resumed>) = 0 [pid 6825] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6823] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6825] <... futex resumed>) = 0 [pid 6823] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6836] <... mount resumed>) = -1 EEXIST (File exists) [pid 6836] ioctl(4, LOOP_CLR_FD [pid 6825] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6823] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6825] <... ioctl resumed>) = 0 [pid 6823] <... futex resumed>) = 0 [pid 6825] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6823] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6825] <... futex resumed>) = 0 [pid 6823] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6825] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6823] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6825] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6823] <... futex resumed>) = 0 [ 193.752150][ T6836] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6836) [pid 6825] ioctl(3, 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}} [ 193.806391][ T6825] BTRFS info (device loop2): balance: start -d -m [ 193.813195][ T6825] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6823] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}) = -1 ETIMEDOUT (Connection timed out) [pid 6823] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6823] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [pid 6823] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6823] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6823] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} => {parent_tid=[6838]}, 88) = 6838 [pid 6823] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6823] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6823] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000}./strace-static-x86_64: Process 6838 attached [pid 6838] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053) = 0 [ 193.861312][ T6825] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6838] set_robust_list(0x7f4e2654d9a0, 24 [pid 6833] <... ioctl resumed>) = 0 [pid 6833] close(4 [pid 6838] <... set_robust_list resumed>) = 0 [pid 6823] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6838] rt_sigprocmask(SIG_SETMASK, [], [pid 6823] futex(0x7f4e2da3d62c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6838] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6823] <... futex resumed>) = 0 [pid 6838] open("./file0", O_RDONLY [pid 6823] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6838] <... open resumed>) = 4 [pid 6823] <... mmap resumed>) = 0x7f4e2650c000 [pid 6838] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6823] mprotect(0x7f4e2650d000, 131072, PROT_READ|PROT_WRITE [pid 6838] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6823] <... mprotect resumed>) = 0 [pid 6823] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6823] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2652c990, parent_tid=0x7f4e2652c990, exit_signal=0, stack=0x7f4e2650c000, stack_size=0x20300, tls=0x7f4e2652c6c0} => {parent_tid=[6839]}, 88) = 6839 [pid 6823] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6823] futex(0x7f4e2da3d628, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6823] futex(0x7f4e2da3d62c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6833] <... close resumed>) = 0 [pid 6833] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6834] <... ioctl resumed>) = 0 [pid 6833] <... futex resumed>) = 1 [pid 6828] <... futex resumed>) = 0 ./strace-static-x86_64: Process 6839 attached [pid 6834] close(4 [pid 6833] open("./file0", O_RDONLY [pid 6828] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6839] rseq(0x7f4e2652cfe0, 0x20, 0, 0x53053053 [pid 6834] <... close resumed>) = 0 [pid 6833] <... open resumed>) = 3 [pid 6828] <... futex resumed>) = 0 [pid 6839] <... rseq resumed>) = 0 [pid 6834] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6833] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6828] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6833] <... futex resumed>) = 0 [pid 6828] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6833] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6828] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6833] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6839] set_robust_list(0x7f4e2652c9a0, 24 [pid 6828] <... futex resumed>) = 0 [pid 6834] <... futex resumed>) = 1 [pid 6827] <... futex resumed>) = 0 [pid 6839] <... set_robust_list resumed>) = 0 [pid 6834] open("./file0", O_RDONLY [pid 6833] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6828] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6827] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6839] rt_sigprocmask(SIG_SETMASK, [], [pid 6834] <... open resumed>) = 3 [pid 6833] <... ioctl resumed>) = 0 [pid 6827] <... futex resumed>) = 0 [pid 6839] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6834] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6833] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6827] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6839] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6834] <... futex resumed>) = 0 [pid 6833] <... futex resumed>) = 1 [pid 6828] <... futex resumed>) = 0 [pid 6827] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6833] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6828] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6827] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6834] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6833] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6828] <... futex resumed>) = 0 [pid 6827] <... futex resumed>) = 0 [pid 6833] ioctl(3, 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 6828] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6827] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6834] <... ioctl resumed>) = 0 [pid 6834] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6839] <... ioctl resumed>) = 0 [pid 6834] <... futex resumed>) = 1 [pid 6827] <... futex resumed>) = 0 [pid 6839] futex(0x7f4e2da3d62c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6834] ioctl(3, 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 6827] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6839] <... futex resumed>) = 1 [pid 6827] <... futex resumed>) = 0 [pid 6823] <... futex resumed>) = 0 [pid 6827] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6839] futex(0x7f4e2da3d628, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6834] <... 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}}) = 8 [pid 6833] <... 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}}) = 8 [ 193.941705][ T6825] BTRFS info (device loop2): 2 enospc errors during balance [ 193.977770][ T6825] BTRFS info (device loop2): balance: ended with status: -28 [pid 6833] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6825] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6834] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6833] <... futex resumed>) = 1 [pid 6828] <... futex resumed>) = 0 [pid 6825] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6834] <... futex resumed>) = 1 [pid 6833] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6828] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6827] <... futex resumed>) = 0 [pid 6825] <... futex resumed>) = 0 [pid 6823] exit_group(0 [pid 6839] <... futex resumed>) = ? [pid 6838] <... futex resumed>) = ? [pid 6834] open("./file0", O_RDONLY [pid 6833] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6828] <... futex resumed>) = 0 [pid 6827] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6823] <... exit_group resumed>) = ? [pid 6839] +++ exited with 0 +++ [pid 6838] +++ exited with 0 +++ [pid 6834] <... open resumed>) = 4 [pid 6833] open("./file0", O_RDONLY [pid 6828] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6827] <... futex resumed>) = 0 [pid 6825] +++ exited with 0 +++ [pid 6833] <... open resumed>) = 4 [pid 6827] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6833] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6823] +++ exited with 0 +++ [pid 6833] <... futex resumed>) = 1 [pid 6828] <... futex resumed>) = 0 [pid 5022] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6823, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=33 /* 0.33 s */} --- [pid 6834] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6833] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6828] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] restart_syscall(<... resuming interrupted clone ...> [pid 6834] <... futex resumed>) = 1 [pid 6833] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6828] <... futex resumed>) = 0 [pid 6827] <... futex resumed>) = 0 [pid 5022] <... restart_syscall resumed>) = 0 [pid 6834] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6833] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6828] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6827] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6834] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6827] <... futex resumed>) = 0 [pid 6834] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6833] <... ioctl resumed>) = 0 [pid 6827] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5022] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6833] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 5022] <... openat resumed>) = 3 [pid 6833] <... futex resumed>) = 1 [pid 6828] <... futex resumed>) = 0 [pid 5022] ioctl(3, LOOP_CLR_FD [pid 6833] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6828] exit_group(0 [pid 5022] <... ioctl resumed>) = 0 [pid 6834] <... ioctl resumed>) = 0 [pid 6833] <... futex resumed>) = ? [pid 6828] <... exit_group resumed>) = ? [pid 5022] close(3 [pid 6834] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6833] +++ exited with 0 +++ [pid 6828] +++ exited with 0 +++ [pid 5022] <... close resumed>) = 0 [pid 6834] <... futex resumed>) = 1 [pid 6827] <... futex resumed>) = 0 [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6828, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=26 /* 0.26 s */} --- [pid 5022] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6834] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6827] exit_group(0 [pid 6834] <... futex resumed>) = ? [pid 6827] <... exit_group resumed>) = ? [pid 5022] <... clone resumed>, child_tidptr=0x555555863690) = 6840 [pid 6834] +++ exited with 0 +++ [pid 6831] <... ioctl resumed>) = 0 [pid 6827] +++ exited with 0 +++ [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6827, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=22 /* 0.22 s */} --- [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 5025] <... restart_syscall resumed>) = 0 ./strace-static-x86_64: Process 6840 attached [pid 5027] close(3 [pid 6840] set_robust_list(0x5555558636a0, 24 [pid 6832] <... ioctl resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 6840] <... set_robust_list resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6840] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5025] <... openat resumed>) = 3 [pid 6840] <... prctl resumed>) = 0 [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6842 [pid 5025] ioctl(3, LOOP_CLR_FD [pid 6840] setpgid(0, 0 [pid 6832] close(4 [pid 5025] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6840] <... setpgid resumed>) = 0 [pid 6832] <... close resumed>) = 0 [pid 5025] close(3 [pid 6840] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6832] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6831] close(4 [pid 5025] <... close resumed>) = 0 ./strace-static-x86_64: Process 6842 attached [pid 6840] <... openat resumed>) = 3 [pid 6832] <... futex resumed>) = 1 [pid 6831] <... close resumed>) = 0 [pid 6829] <... futex resumed>) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6842] set_robust_list(0x5555558636a0, 24 [pid 6840] write(3, "1000", 4 [pid 6832] open("./file0", O_RDONLY [pid 6831] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6829] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6842] <... set_robust_list resumed>) = 0 [pid 6840] <... write resumed>) = 4 [pid 6832] <... open resumed>) = 3 [pid 6831] <... futex resumed>) = 1 [pid 6829] <... futex resumed>) = 0 [pid 6826] <... futex resumed>) = 0 [pid 5025] <... clone resumed>, child_tidptr=0x555555863690) = 6843 [pid 6842] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6840] close(3 [pid 6832] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6831] open("./file0", O_RDONLY [pid 6829] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6826] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6842] <... prctl resumed>) = 0 [pid 6840] <... close resumed>) = 0 [pid 6832] <... futex resumed>) = 0 [pid 6831] <... open resumed>) = 3 [pid 6829] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6826] <... futex resumed>) = 0 [pid 6842] setpgid(0, 0 [pid 6840] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6832] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6831] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6829] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6826] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6842] <... setpgid resumed>) = 0 [pid 6840] <... futex resumed>) = 0 [pid 6832] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6831] <... futex resumed>) = 0 [pid 6829] <... futex resumed>) = 0 [pid 6826] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6842] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6840] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6832] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6831] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6829] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6826] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6843 attached [pid 6842] <... openat resumed>) = 3 [pid 6840] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6832] <... ioctl resumed>) = 0 [pid 6831] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6826] <... futex resumed>) = 0 [pid 6842] write(3, "1000", 4 [pid 6843] set_robust_list(0x5555558636a0, 24 [pid 6840] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6832] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6831] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6826] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6843] <... set_robust_list resumed>) = 0 [pid 6842] <... write resumed>) = 4 [pid 6840] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6832] <... futex resumed>) = 1 [pid 6831] <... ioctl resumed>) = 0 [pid 6829] <... futex resumed>) = 0 [pid 6843] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6842] close(3 [pid 6840] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6832] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6831] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6829] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6843] <... prctl resumed>) = 0 [pid 6842] <... close resumed>) = 0 [pid 6840] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6832] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6831] <... futex resumed>) = 1 [pid 6829] <... futex resumed>) = 0 [pid 6826] <... futex resumed>) = 0 [pid 6843] setpgid(0, 0 [pid 6842] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6840] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6832] ioctl(3, 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 6831] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6829] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6826] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6843] <... setpgid resumed>) = 0 [pid 6842] <... futex resumed>) = 0 [pid 6840] <... mprotect resumed>) = 0 [pid 6831] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6826] <... futex resumed>) = 0 [pid 6843] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6842] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6840] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6831] ioctl(3, 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 6826] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6843] <... openat resumed>) = 3 [pid 6842] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6840] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6843] write(3, "1000", 4 [pid 6842] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6840] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6836] <... ioctl resumed>) = 0 [pid 6831] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6843] <... write resumed>) = 4 [pid 6842] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6836] close(4 [pid 6831] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6842] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6840] <... clone3 resumed> => {parent_tid=[6844]}, 88) = 6844 [pid 6843] close(3 [pid 6842] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6840] rt_sigprocmask(SIG_SETMASK, [], [pid 6836] <... close resumed>) = 0 [pid 6831] <... futex resumed>) = 1 [pid 6826] <... futex resumed>) = 0 [pid 6843] <... close resumed>) = 0 [pid 6842] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6840] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6836] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6831] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6826] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6844 attached [pid 6843] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6842] <... mprotect resumed>) = 0 [pid 6840] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6836] <... futex resumed>) = 1 [pid 6835] <... futex resumed>) = 0 [pid 6831] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6826] <... futex resumed>) = 0 [pid 6844] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6843] <... futex resumed>) = 0 [pid 6842] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6840] <... futex resumed>) = 0 [pid 6836] open("./file0", O_RDONLY [pid 6835] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6831] open("./file0", O_RDONLY [pid 6826] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6844] <... rseq resumed>) = 0 [pid 6843] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6842] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6840] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6836] <... open resumed>) = 3 [pid 6835] <... futex resumed>) = 0 [pid 6831] <... open resumed>) = 4 [pid 6844] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6843] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6842] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6836] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6835] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6831] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6844] <... set_robust_list resumed>) = 0 [pid 6843] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6836] <... futex resumed>) = 0 [pid 6835] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6831] <... futex resumed>) = 1 [pid 6826] <... futex resumed>) = 0 [pid 6844] rt_sigprocmask(SIG_SETMASK, [], [pid 6843] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6842] <... clone3 resumed> => {parent_tid=[6845]}, 88) = 6845 [pid 6836] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6835] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6831] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6826] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6844] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6843] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6842] rt_sigprocmask(SIG_SETMASK, [], [pid 6836] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6835] <... futex resumed>) = 0 [pid 6831] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6826] <... futex resumed>) = 0 [pid 6844] memfd_create("syzkaller", 0 [pid 6843] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6842] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6836] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6835] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6831] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6826] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6844] <... memfd_create resumed>) = 3 [pid 6843] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6842] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6836] <... ioctl resumed>) = 0 [pid 6844] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6843] <... mprotect resumed>) = 0 [pid 6842] <... futex resumed>) = 0 [pid 6829] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6844] <... mmap resumed>) = 0x7f4e2554e000 [ 194.112952][ T6832] BTRFS info (device loop2): balance: start -d -m [ 194.123131][ T6832] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6843] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6842] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6836] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6829] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6845 attached [pid 6843] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6836] <... futex resumed>) = 1 [pid 6835] <... futex resumed>) = 0 [pid 6831] <... ioctl resumed>) = 0 [pid 6829] <... futex resumed>) = 0 [pid 6835] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6829] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6835] <... futex resumed>) = 0 [pid 6829] <... mmap resumed>) = 0x7f4e2652d000 [pid 6835] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6829] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6829] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6843] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6836] ioctl(3, 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 6845] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6831] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6829] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6845] <... rseq resumed>) = 0 [pid 6836] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6831] <... futex resumed>) = 1 [pid 6829] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6826] <... futex resumed>) = 0 [pid 6845] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6843] <... clone3 resumed> => {parent_tid=[6846]}, 88) = 6846 [pid 6836] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6831] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6826] exit_group(0./strace-static-x86_64: Process 6846 attached [pid 6845] <... set_robust_list resumed>) = 0 [pid 6843] rt_sigprocmask(SIG_SETMASK, [], [pid 6836] <... futex resumed>) = 1 [pid 6835] <... futex resumed>) = 0 [pid 6831] <... futex resumed>) = ? [pid 6829] <... clone3 resumed> => {parent_tid=[6847]}, 88) = 6847 [pid 6826] <... exit_group resumed>) = ? ./strace-static-x86_64: Process 6847 attached [pid 6846] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6845] rt_sigprocmask(SIG_SETMASK, [], [pid 6843] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6836] open("./file0", O_RDONLY [pid 6835] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6831] +++ exited with 0 +++ [pid 6829] rt_sigprocmask(SIG_SETMASK, [], [pid 6847] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6846] <... rseq resumed>) = 0 [pid 6845] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6843] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6836] <... open resumed>) = 4 [pid 6835] <... futex resumed>) = 0 [pid 6829] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6826] +++ exited with 0 +++ [pid 6847] <... rseq resumed>) = 0 [pid 6846] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6845] memfd_create("syzkaller", 0 [pid 6843] <... futex resumed>) = 0 [pid 6836] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6835] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6829] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6847] set_robust_list(0x7f4e2654d9a0, 24 [pid 6846] <... set_robust_list resumed>) = 0 [pid 6835] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6829] <... futex resumed>) = 0 [pid 5021] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6826, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=23 /* 0.23 s */} --- [pid 6847] <... set_robust_list resumed>) = 0 [ 194.176388][ T6832] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6846] rt_sigprocmask(SIG_SETMASK, [], [pid 6845] <... memfd_create resumed>) = 3 [pid 6843] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6836] <... futex resumed>) = 0 [pid 6835] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6829] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] restart_syscall(<... resuming interrupted clone ...> [pid 6847] rt_sigprocmask(SIG_SETMASK, [], [pid 6846] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6845] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6836] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6835] <... futex resumed>) = 0 [pid 5021] <... restart_syscall resumed>) = 0 [pid 6847] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6846] memfd_create("syzkaller", 0 [pid 6835] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6847] open("./file0", O_RDONLY [pid 6846] <... memfd_create resumed>) = 3 [pid 6845] <... mmap resumed>) = 0x7f4e2554e000 [pid 6847] <... open resumed>) = 4 [pid 6846] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 5021] openat(AT_FDCWD, "/dev/loop1", O_RDWR [pid 6847] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6846] <... mmap resumed>) = 0x7f4e2554e000 [pid 5021] <... openat resumed>) = 3 [pid 6847] <... futex resumed>) = 1 [pid 6836] <... ioctl resumed>) = 0 [pid 6829] <... futex resumed>) = 0 [pid 5021] ioctl(3, LOOP_CLR_FD [pid 6847] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6836] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6829] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 5021] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6847] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6836] <... futex resumed>) = 1 [pid 6835] <... futex resumed>) = 0 [pid 6829] <... futex resumed>) = 0 [pid 5021] close(3 [pid 6847] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6836] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6835] exit_group(0 [pid 6829] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 5021] <... close resumed>) = 0 [pid 6847] <... ioctl resumed>) = 0 [pid 6836] <... futex resumed>) = ? [pid 6835] <... exit_group resumed>) = ? [pid 5021] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6847] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6836] +++ exited with 0 +++ [pid 6835] +++ exited with 0 +++ [pid 6847] <... futex resumed>) = 1 [pid 6829] <... futex resumed>) = 0 [pid 5021] <... clone resumed>, child_tidptr=0x555555863690) = 6848 [pid 6847] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 5020] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6835, si_uid=0, si_status=0, si_utime=5 /* 0.05 s */, si_stime=20 /* 0.20 s */} --- [pid 5020] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 3 ./strace-static-x86_64: Process 6848 attached [ 194.218445][ T6832] BTRFS info (device loop2): 2 enospc errors during balance [pid 5020] ioctl(3, LOOP_CLR_FD [pid 6848] set_robust_list(0x5555558636a0, 24 [pid 5020] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6848] <... set_robust_list resumed>) = 0 [pid 5020] close(3 [pid 6848] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 5020] <... close resumed>) = 0 [pid 6848] <... prctl resumed>) = 0 [pid 5020] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 6848] setpgid(0, 0) = 0 [pid 5020] <... clone resumed>, child_tidptr=0x555555863690) = 6849 [pid 6848] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6848] write(3, "1000", 4) = 4 [pid 6848] close(3) = 0 [pid 6848] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6848] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6848] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6848] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 ./strace-static-x86_64: Process 6849 attached [pid 6848] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6849] set_robust_list(0x5555558636a0, 24 [pid 6848] <... mprotect resumed>) = 0 [pid 6849] <... set_robust_list resumed>) = 0 [pid 6848] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6849] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6848] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6848] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6849] <... prctl resumed>) = 0 [pid 6849] setpgid(0, 0 [pid 6848] <... clone3 resumed> => {parent_tid=[6850]}, 88) = 6850 [pid 6849] <... setpgid resumed>) = 0 [pid 6848] rt_sigprocmask(SIG_SETMASK, [], [pid 6849] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6848] <... rt_sigprocmask resumed>NULL, 8) = 0 ./strace-static-x86_64: Process 6850 attached [pid 6849] <... openat resumed>) = 3 [pid 6848] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6850] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6849] write(3, "1000", 4 [pid 6848] <... futex resumed>) = 0 [pid 6850] <... rseq resumed>) = 0 [pid 6849] <... write resumed>) = 4 [pid 6848] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6832] <... ioctl resumed>) = -1 ENOSPC (No space left on device) [pid 6850] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6849] close(3 [pid 6832] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6850] <... set_robust_list resumed>) = 0 [pid 6849] <... close resumed>) = 0 [pid 6832] <... futex resumed>) = 0 [pid 6850] rt_sigprocmask(SIG_SETMASK, [], [pid 6849] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6832] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6850] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6849] <... futex resumed>) = 0 [pid 6829] exit_group(0 [pid 6850] memfd_create("syzkaller", 0 [pid 6849] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6847] <... futex resumed>) = ? [pid 6832] <... futex resumed>) = ? [pid 6829] <... exit_group resumed>) = ? [pid 6850] <... memfd_create resumed>) = 3 [pid 6849] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6847] +++ exited with 0 +++ [pid 6832] +++ exited with 0 +++ [pid 6829] +++ exited with 0 +++ [pid 6850] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6849] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6829, si_uid=0, si_status=0, si_utime=6 /* 0.06 s */, si_stime=27 /* 0.27 s */} --- [ 194.277111][ T6832] BTRFS info (device loop2): balance: ended with status: -28 [pid 6850] <... mmap resumed>) = 0x7f4e2554e000 [pid 6849] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6849] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6849] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6849] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR [pid 6849] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 5026] <... openat resumed>) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD [pid 6849] <... clone3 resumed> => {parent_tid=[6851]}, 88) = 6851 [pid 5026] <... ioctl resumed>) = -1 ENXIO (No such device or address) [pid 6849] rt_sigprocmask(SIG_SETMASK, [], [pid 5026] close(3 [pid 6849] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 5026] <... close resumed>) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 6851 attached , child_tidptr=0x555555863690) = 6852 [pid 6851] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6849] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6851] <... rseq resumed>) = 0 [pid 6849] <... futex resumed>) = 0 [pid 6851] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6849] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6852 attached [pid 6851] <... set_robust_list resumed>) = 0 [pid 6852] set_robust_list(0x5555558636a0, 24 [pid 6851] rt_sigprocmask(SIG_SETMASK, [], [pid 6852] <... set_robust_list resumed>) = 0 [pid 6851] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6852] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6851] memfd_create("syzkaller", 0 [pid 6852] <... prctl resumed>) = 0 [pid 6851] <... memfd_create resumed>) = 3 [pid 6852] setpgid(0, 0 [pid 6851] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6852] <... setpgid resumed>) = 0 [pid 6851] <... mmap resumed>) = 0x7f4e2554e000 [pid 6852] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6852] write(3, "1000", 4) = 4 [pid 6852] close(3) = 0 [pid 6852] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6852] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6852] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6852] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [pid 6852] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6852] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6852] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6853]}, 88) = 6853 [pid 6852] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6852] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6852] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6853 attached [pid 6853] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6853] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6853] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6853] memfd_create("syzkaller", 0) = 3 [pid 6853] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [pid 6844] 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 6845] 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 6846] 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 6850] 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 6851] 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 6853] 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 6845] <... write resumed>) = 16777216 [pid 6846] <... write resumed>) = 16777216 [pid 6846] munmap(0x7f4e2554e000, 16777216 [pid 6845] munmap(0x7f4e2554e000, 16777216 [pid 6846] <... munmap resumed>) = 0 [pid 6845] <... munmap resumed>) = 0 [pid 6846] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 6845] openat(AT_FDCWD, "/dev/loop5", O_RDWR [pid 6846] <... openat resumed>) = 4 [pid 6845] <... openat resumed>) = 4 [pid 6846] ioctl(4, LOOP_SET_FD, 3 [pid 6845] ioctl(4, LOOP_SET_FD, 3 [pid 6844] <... write resumed>) = 16777216 [pid 6844] munmap(0x7f4e2554e000, 16777216 [pid 6846] <... ioctl resumed>) = 0 [pid 6844] <... munmap resumed>) = 0 [pid 6845] <... ioctl resumed>) = 0 [pid 6846] close(3 [pid 6845] close(3 [pid 6846] <... close resumed>) = 0 [pid 6845] <... close resumed>) = 0 [pid 6846] mkdir("./file0", 0777 [pid 6845] mkdir("./file0", 0777 [pid 6844] openat(AT_FDCWD, "/dev/loop2", O_RDWR [pid 6846] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6845] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6844] <... openat resumed>) = 4 [pid 6846] mount("/dev/loop3", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6845] mount("/dev/loop5", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6844] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6844] ioctl(4, LOOP_CLR_FD) = 0 [pid 6844] ioctl(4, LOOP_SET_FD, 3) = -1 EBUSY (Device or resource busy) [pid 6844] close(4) = 0 [ 194.979325][ T6846] loop3: detected capacity change from 0 to 32768 [ 194.986011][ T6845] loop5: detected capacity change from 0 to 32768 [ 195.007749][ T6846] BTRFS warning: duplicate device /dev/loop3 devid 1 generation 8 scanned by syz-executor544 (6846) [pid 6844] close(3 [pid 6853] <... write resumed>) = 16777216 [pid 6846] <... mount resumed>) = -1 EEXIST (File exists) [pid 6846] ioctl(4, LOOP_CLR_FD [pid 6853] munmap(0x7f4e2554e000, 16777216 [pid 6845] <... mount resumed>) = -1 EEXIST (File exists) [pid 6853] <... munmap resumed>) = 0 [pid 6845] ioctl(4, LOOP_CLR_FD [pid 6853] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 4 [pid 6853] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6853] close(3 [pid 6850] <... write resumed>) = 16777216 [pid 6853] <... close resumed>) = 0 [pid 6850] munmap(0x7f4e2554e000, 16777216 [pid 6853] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6850] <... munmap resumed>) = 0 [pid 6853] mount("/dev/loop4", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 195.033314][ T6845] BTRFS warning: duplicate device /dev/loop5 devid 1 generation 8 scanned by syz-executor544 (6845) [ 195.068808][ T6853] loop4: detected capacity change from 0 to 32768 [pid 6850] openat(AT_FDCWD, "/dev/loop1", O_RDWR) = 4 [pid 6850] ioctl(4, LOOP_SET_FD, 3) = 0 [pid 6851] <... write resumed>) = 16777216 [pid 6851] munmap(0x7f4e2554e000, 16777216 [pid 6850] close(3 [pid 6853] <... mount resumed>) = -1 EEXIST (File exists) [pid 6850] <... close resumed>) = 0 [pid 6853] ioctl(4, LOOP_CLR_FD [pid 6850] mkdir("./file0", 0777 [pid 6851] <... munmap resumed>) = 0 [pid 6850] <... mkdir resumed>) = -1 EEXIST (File exists) [pid 6850] mount("/dev/loop1", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [ 195.103605][ T6853] BTRFS warning: duplicate device /dev/loop4 devid 1 generation 8 scanned by syz-executor544 (6853) [ 195.137318][ T6850] loop1: detected capacity change from 0 to 32768 [pid 6851] openat(AT_FDCWD, "/dev/loop0", O_RDWR) = 4 [pid 6851] ioctl(4, LOOP_SET_FD, 3 [pid 6850] <... mount resumed>) = -1 EEXIST (File exists) [pid 6850] ioctl(4, LOOP_CLR_FD [pid 6844] <... close resumed>) = 0 [pid 6844] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6840] <... futex resumed>) = 0 [pid 6840] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6840] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6844] <... futex resumed>) = 1 [pid 6844] open("./file0", O_RDONLY) = 3 [ 195.177356][ T6850] BTRFS warning: duplicate device /dev/loop1 devid 1 generation 8 scanned by syz-executor544 (6850) [ 195.179495][ T6851] loop0: detected capacity change from 0 to 32768 [pid 6844] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6840] <... futex resumed>) = 0 [pid 6844] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6840] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6844] <... ioctl resumed>) = 0 [pid 6840] <... futex resumed>) = 0 [pid 6851] <... ioctl resumed>) = 0 [pid 6844] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6840] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6844] <... futex resumed>) = 0 [pid 6840] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6844] ioctl(3, 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 6840] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6851] close(3 [pid 6840] <... futex resumed>) = 0 [pid 6840] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6851] <... close resumed>) = 0 [pid 6851] mkdir("./file0", 0777) = -1 EEXIST (File exists) [pid 6851] mount("/dev/loop0", "./file0", "btrfs", MS_NOEXEC|MS_STRICTATIME, "datacow,clear_cache,nodatasum,rescan_uuid_tree,degraded,space_cache=v1," [pid 6846] <... ioctl resumed>) = 0 [pid 6840] <... futex resumed>) = -1 ETIMEDOUT (Connection timed out) [pid 6840] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=0}) = -1 ETIMEDOUT (Connection timed out) [pid 6840] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6840] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2652d000 [ 195.255687][ T6844] BTRFS info (device loop2): balance: start -d -m [ 195.267768][ T6851] BTRFS warning: duplicate device /dev/loop0 devid 1 generation 8 scanned by syz-executor544 (6851) [ 195.279546][ T6844] BTRFS info (device loop2): relocating block group 6881280 flags data|metadata [pid 6840] mprotect(0x7f4e2652e000, 131072, PROT_READ|PROT_WRITE [pid 6851] <... mount resumed>) = -1 EEXIST (File exists) [pid 6846] close(4 [pid 6840] <... mprotect resumed>) = 0 [pid 6851] ioctl(4, LOOP_CLR_FD [pid 6846] <... close resumed>) = 0 [pid 6845] <... ioctl resumed>) = 0 [pid 6840] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6846] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6840] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6846] <... futex resumed>) = 1 [pid 6843] <... futex resumed>) = 0 [pid 6840] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2654d990, parent_tid=0x7f4e2654d990, exit_signal=0, stack=0x7f4e2652d000, stack_size=0x20300, tls=0x7f4e2654d6c0} [pid 6846] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6843] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6846] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6843] <... futex resumed>) = 0 [pid 6840] <... clone3 resumed> => {parent_tid=[6855]}, 88) = 6855 [pid 6846] open("./file0", O_RDONLY [pid 6843] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6840] rt_sigprocmask(SIG_SETMASK, [], ./strace-static-x86_64: Process 6855 attached [pid 6846] <... open resumed>) = 3 [pid 6840] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6855] rseq(0x7f4e2654dfe0, 0x20, 0, 0x53053053 [pid 6846] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6840] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6855] <... rseq resumed>) = 0 [pid 6840] <... futex resumed>) = 0 [pid 6855] set_robust_list(0x7f4e2654d9a0, 24 [pid 6840] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6855] <... set_robust_list resumed>) = 0 [pid 6846] <... futex resumed>) = 1 [pid 6843] <... futex resumed>) = 0 [pid 6855] rt_sigprocmask(SIG_SETMASK, [], [pid 6846] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6843] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6855] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6846] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6845] close(4 [pid 6843] <... futex resumed>) = 0 [ 195.322739][ T6844] BTRFS info (device loop2): relocating block group 5242880 flags data|metadata [pid 6855] open("./file0", O_RDONLY [pid 6846] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6845] <... close resumed>) = 0 [pid 6843] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6855] <... open resumed>) = 4 [pid 6846] <... ioctl resumed>) = 0 [pid 6845] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6855] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6845] <... futex resumed>) = 1 [pid 6842] <... futex resumed>) = 0 [pid 6840] <... futex resumed>) = 0 [pid 6846] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6855] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6845] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6842] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6840] futex(0x7f4e2da3d618, FUTEX_WAKE_PRIVATE, 1000000 [pid 6846] <... futex resumed>) = 1 [pid 6843] <... futex resumed>) = 0 [pid 6855] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6845] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6842] <... futex resumed>) = 0 [pid 6840] <... futex resumed>) = 0 [pid 6846] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6843] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6855] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6845] open("./file0", O_RDONLY [pid 6842] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6846] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6840] futex(0x7f4e2da3d61c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6843] <... futex resumed>) = 0 [pid 6845] <... open resumed>) = 3 [pid 6845] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6842] <... futex resumed>) = 0 [pid 6846] ioctl(3, 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 6845] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6843] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6842] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6846] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6845] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6842] <... futex resumed>) = 0 [pid 6846] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6845] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6842] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6846] <... futex resumed>) = 1 [pid 6845] <... ioctl resumed>) = 0 [pid 6843] <... futex resumed>) = 0 [pid 6846] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6845] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6843] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6846] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6845] <... futex resumed>) = 1 [pid 6843] <... futex resumed>) = 0 [pid 6842] <... futex resumed>) = 0 [pid 6846] open("./file0", O_RDONLY [pid 6845] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6843] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6842] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6845] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6842] <... futex resumed>) = 0 [pid 6845] ioctl(3, 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 6842] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6845] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6845] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6842] <... futex resumed>) = 0 [pid 6845] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6842] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6845] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6842] <... futex resumed>) = 0 [pid 6845] open("./file0", O_RDONLY [pid 6842] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6855] <... ioctl resumed>) = 0 [pid 6846] <... open resumed>) = 4 [pid 6845] <... open resumed>) = 4 [pid 6845] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6842] <... futex resumed>) = 0 [pid 6845] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6842] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6845] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6842] <... futex resumed>) = 0 [pid 6845] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6842] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6845] <... ioctl resumed>) = 0 [pid 6855] futex(0x7f4e2da3d61c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6846] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6845] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6855] <... futex resumed>) = 1 [pid 6846] <... futex resumed>) = 1 [pid 6845] <... futex resumed>) = 1 [pid 6843] <... futex resumed>) = 0 [pid 6842] <... futex resumed>) = 0 [pid 6840] <... futex resumed>) = 0 [pid 6855] futex(0x7f4e2da3d618, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6846] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6845] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6843] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6842] exit_group(0 [pid 6846] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6845] <... futex resumed>) = ? [pid 6843] <... futex resumed>) = 0 [pid 6842] <... exit_group resumed>) = ? [pid 6846] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6845] +++ exited with 0 +++ [pid 6843] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6842] +++ exited with 0 +++ [pid 5027] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6842, si_uid=0, si_status=0, si_utime=4 /* 0.04 s */, si_stime=24 /* 0.24 s */} --- [pid 6846] <... ioctl resumed>) = 0 [pid 6846] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6843] <... futex resumed>) = 0 [pid 6846] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6843] exit_group(0 [pid 6846] <... futex resumed>) = ? [pid 6843] <... exit_group resumed>) = ? [pid 6846] +++ exited with 0 +++ [pid 6843] +++ exited with 0 +++ [pid 5027] openat(AT_FDCWD, "/dev/loop5", O_RDWR) = 3 [pid 5027] ioctl(3, LOOP_CLR_FD [pid 5025] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6843, si_uid=0, si_status=0, si_utime=1 /* 0.01 s */, si_stime=25 /* 0.25 s */} --- [pid 5027] <... ioctl resumed>) = -1 ENXIO (No such device or address) [ 195.395929][ T55] BTRFS warning (device loop2): Skipping commit of aborted transaction. [ 195.405079][ T55] ------------[ cut here ]------------ [ 195.410635][ T55] BTRFS: Transaction aborted (error -28) [pid 5025] restart_syscall(<... resuming interrupted clone ...> [pid 5027] close(3 [pid 5025] <... restart_syscall resumed>) = 0 [pid 6853] <... ioctl resumed>) = 0 [pid 6850] <... ioctl resumed>) = 0 [pid 5027] <... close resumed>) = 0 [pid 5027] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD [pid 5025] openat(AT_FDCWD, "/dev/loop3", O_RDWR [pid 5027] <... clone resumed>, child_tidptr=0x555555863690) = 6856 [pid 5025] <... openat resumed>) = 3 [pid 5025] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [pid 5025] close(3) = 0 [pid 5025] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6857 ./strace-static-x86_64: Process 6856 attached [pid 6856] set_robust_list(0x5555558636a0, 24) = 0 ./strace-static-x86_64: Process 6857 attached [pid 6856] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6857] set_robust_list(0x5555558636a0, 24 [pid 6856] <... prctl resumed>) = 0 [pid 6857] <... set_robust_list resumed>) = 0 [pid 6856] setpgid(0, 0 [pid 6857] prctl(PR_SET_PDEATHSIG, SIGKILL [pid 6856] <... setpgid resumed>) = 0 [pid 6857] <... prctl resumed>) = 0 [pid 6856] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6857] setpgid(0, 0 [pid 6856] <... openat resumed>) = 3 [pid 6857] <... setpgid resumed>) = 0 [pid 6856] write(3, "1000", 4 [pid 6857] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC [pid 6856] <... write resumed>) = 4 [pid 6857] <... openat resumed>) = 3 [pid 6856] close(3 [pid 6857] write(3, "1000", 4 [pid 6856] <... close resumed>) = 0 [pid 6857] <... write resumed>) = 4 [pid 6856] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6857] close(3 [pid 6856] <... futex resumed>) = 0 [pid 6857] <... close resumed>) = 0 [ 195.444149][ T55] WARNING: CPU: 0 PID: 55 at fs/btrfs/transaction.c:1983 btrfs_commit_transaction+0x3291/0x3fd0 [ 195.454789][ T55] Modules linked in: [ 195.458888][ T55] CPU: 0 PID: 55 Comm: kworker/u4:3 Not tainted 6.5.0-rc3-syzkaller-00123-g57012c57536f #0 [ 195.468917][ T55] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 195.479021][ T55] Workqueue: events_unbound btrfs_async_reclaim_metadata_space [ 195.486628][ T55] RIP: 0010:btrfs_commit_transaction+0x3291/0x3fd0 [pid 6856] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6857] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000 [pid 6856] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6857] <... futex resumed>) = 0 [pid 6856] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6857] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, [pid 6856] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6857] <... rt_sigaction resumed>NULL, 8) = 0 [pid 6856] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6857] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], [pid 6856] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6857] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6856] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6857] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0 [pid 6856] <... mprotect resumed>) = 0 [pid 6857] <... mmap resumed>) = 0x7f4e2d94e000 [pid 6856] rt_sigprocmask(SIG_BLOCK, ~[], [pid 6857] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE [pid 6856] <... rt_sigprocmask resumed>[], 8) = 0 [pid 6857] <... mprotect resumed>) = 0 [pid 6856] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6857] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6856] <... clone3 resumed> => {parent_tid=[6858]}, 88) = 6858 [pid 6857] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} [pid 6856] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6857] <... clone3 resumed> => {parent_tid=[6859]}, 88) = 6859 [pid 6856] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6857] rt_sigprocmask(SIG_SETMASK, [], [pid 6856] <... futex resumed>) = 0 [pid 6857] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6856] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6857] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000./strace-static-x86_64: Process 6858 attached ) = 0 ./strace-static-x86_64: Process 6859 attached [pid 6858] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6857] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000} [pid 6859] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053 [pid 6858] <... rseq resumed>) = 0 [pid 6859] <... rseq resumed>) = 0 [pid 6858] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6859] set_robust_list(0x7f4e2d96e9a0, 24 [pid 6858] <... set_robust_list resumed>) = 0 [pid 6859] <... set_robust_list resumed>) = 0 [pid 6858] rt_sigprocmask(SIG_SETMASK, [], [pid 6859] rt_sigprocmask(SIG_SETMASK, [], [pid 6858] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6859] <... rt_sigprocmask resumed>NULL, 8) = 0 [pid 6858] memfd_create("syzkaller", 0 [pid 6859] memfd_create("syzkaller", 0 [pid 6858] <... memfd_create resumed>) = 3 [pid 6859] <... memfd_create resumed>) = 3 [pid 6858] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6859] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 [pid 6858] <... mmap resumed>) = 0x7f4e2554e000 [ 195.493168][ T55] Code: fe be 02 00 00 00 4c 89 f7 e8 bb 13 ad 00 e9 a7 d2 ff ff e8 41 20 14 fe 8b b5 18 ff ff ff 48 c7 c7 80 bc b5 8a e8 3f e9 da fd <0f> 0b e9 4a e3 ff ff e8 23 20 14 fe f0 83 44 24 fc 00 49 8d bc 24 [ 195.512865][ T55] RSP: 0018:ffffc90001567960 EFLAGS: 00010286 [ 195.518995][ T55] RAX: 0000000000000000 RBX: ffff88801efdd000 RCX: 0000000000000000 [ 195.527027][ T55] RDX: ffff888018e93b80 RSI: ffffffff814d3c06 RDI: 0000000000000001 [ 195.535030][ T55] RBP: ffffc90001567ad0 R08: 0000000000000001 R09: 0000000000000000 [pid 6859] <... mmap resumed>) = 0x7f4e2554e000 [ 195.543057][ T55] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 [ 195.551073][ T55] R13: ffff888075543fe8 R14: ffff888075544190 R15: ffff8880781c4000 [ 195.559116][ T55] FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 [ 195.568216][ T55] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 195.574908][ T55] CR2: 00007f784ff0e440 CR3: 000000002b53e000 CR4: 0000000000350ef0 [ 195.582940][ T55] Call Trace: [ 195.586253][ T55] [ 195.589192][ T55] ? __warn+0xe6/0x380 [pid 6853] close(4) = 0 [pid 6853] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6852] <... futex resumed>) = 0 [pid 6853] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6852] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6853] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6852] <... futex resumed>) = 0 [pid 6853] open("./file0", O_RDONLY [pid 6852] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6853] <... open resumed>) = 3 [pid 6853] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6852] <... futex resumed>) = 0 [pid 6853] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6852] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6853] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6852] <... futex resumed>) = 0 [pid 6853] ioctl(3, BTRFS_IOC_GET_SUBVOL_INFO, 0x20001840 [pid 6852] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6853] <... ioctl resumed>) = 0 [pid 6853] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6852] <... futex resumed>) = 0 [pid 6853] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6852] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6853] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6852] <... futex resumed>) = 0 [pid 6853] ioctl(3, 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}} [ 195.593285][ T55] ? btrfs_commit_transaction+0x3291/0x3fd0 [ 195.599246][ T55] ? report_bug+0x3bc/0x580 [ 195.603788][ T55] ? handle_bug+0x3c/0x70 [ 195.608178][ T55] ? exc_invalid_op+0x17/0x40 [ 195.612966][ T55] ? asm_exc_invalid_op+0x1a/0x20 [ 195.618154][ T55] ? __warn_printk+0x1a6/0x350 [ 195.622940][ T55] ? btrfs_commit_transaction+0x3291/0x3fd0 [ 195.629009][ T55] ? spin_bug+0x1d0/0x1d0 [ 195.633447][ T55] ? lock_sync+0x190/0x190 [ 195.637918][ T55] ? create_pending_snapshots+0x2d0/0x2d0 [pid 6852] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6853] <... ioctl resumed>) = -1 EINPROGRESS (Operation now in progress) [pid 6853] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6852] <... futex resumed>) = 0 [pid 6853] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6852] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6853] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6852] <... futex resumed>) = 0 [pid 6853] open("./file0", O_RDONLY [pid 6852] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6853] <... open resumed>) = 4 [pid 6853] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6852] <... futex resumed>) = 0 [pid 6853] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6852] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000 [pid 6853] <... futex resumed>) = -1 EAGAIN (Resource temporarily unavailable) [pid 6852] <... futex resumed>) = 0 [pid 6853] ioctl(4, FITRIM, {start=0, len=2885681152, minlen=0} [pid 6852] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=0, tv_nsec=50000000} [pid 6853] <... ioctl resumed>) = 0 [pid 6853] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 1 [pid 6852] <... futex resumed>) = 0 [pid 6853] futex(0x7f4e2da3d608, FUTEX_WAIT_PRIVATE, 0, NULL [pid 6852] exit_group(0 [pid 6853] <... futex resumed>) = ? [pid 6852] <... exit_group resumed>) = ? [pid 6853] +++ exited with 0 +++ [pid 6852] +++ exited with 0 +++ [pid 5026] --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=6852, si_uid=0, si_status=0, si_utime=3 /* 0.03 s */, si_stime=19 /* 0.19 s */} --- [pid 5026] openat(AT_FDCWD, "/dev/loop4", O_RDWR) = 3 [pid 5026] ioctl(3, LOOP_CLR_FD) = -1 ENXIO (No such device or address) [ 195.643670][ T55] ? start_transaction+0x2a5/0x14d0 [ 195.648926][ T55] flush_space+0x1ea/0xe80 [ 195.653376][ T55] ? reacquire_held_locks+0x4b0/0x4b0 [ 195.658804][ T55] ? find_held_lock+0x2d/0x110 [ 195.663591][ T55] ? btrfs_space_info_update_bytes_may_use+0x410/0x410 [ 195.670506][ T55] ? reacquire_held_locks+0x4b0/0x4b0 [ 195.675953][ T55] btrfs_async_reclaim_metadata_space+0x51c/0xa90 [ 195.682399][ T55] process_one_work+0xaa2/0x16f0 [ 195.687385][ T55] ? lock_sync+0x190/0x190 [pid 5026] close(3) = 0 [pid 5026] clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x555555863690) = 6860 ./strace-static-x86_64: Process 6860 attached [pid 6860] set_robust_list(0x5555558636a0, 24) = 0 [pid 6860] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 6860] setpgid(0, 0) = 0 [pid 6860] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 6860] write(3, "1000", 4) = 4 [pid 6860] close(3) = 0 [pid 6860] futex(0x7f4e2da3d60c, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6860] rt_sigaction(SIGRT_1, {sa_handler=0x7f4e2d9d74e0, sa_mask=[], sa_flags=SA_RESTORER|SA_ONSTACK|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f4e2d9c8b90}, NULL, 8) = 0 [pid 6860] rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 [pid 6860] mmap(NULL, 135168, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f4e2d94e000 [ 195.691818][ T55] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 195.697237][ T55] ? spin_bug+0x1d0/0x1d0 [ 195.701597][ T55] worker_thread+0x687/0x1110 [ 195.706339][ T55] ? process_one_work+0x16f0/0x16f0 [ 195.711564][ T55] kthread+0x33a/0x430 [ 195.715655][ T55] ? kthread_complete_and_exit+0x40/0x40 [ 195.721388][ T55] ret_from_fork+0x2c/0x70 [ 195.725839][ T55] ? kthread_complete_and_exit+0x40/0x40 [ 195.731536][ T55] ret_from_fork_asm+0x11/0x20 [ 195.736362][ T55] RIP: 0000:0x0 [pid 6860] mprotect(0x7f4e2d94f000, 131072, PROT_READ|PROT_WRITE) = 0 [pid 6860] rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 [pid 6860] clone3({flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, child_tid=0x7f4e2d96e990, parent_tid=0x7f4e2d96e990, exit_signal=0, stack=0x7f4e2d94e000, stack_size=0x20300, tls=0x7f4e2d96e6c0} => {parent_tid=[6861]}, 88) = 6861 [pid 6860] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6860] futex(0x7f4e2da3d608, FUTEX_WAKE_PRIVATE, 1000000) = 0 [pid 6860] futex(0x7f4e2da3d60c, FUTEX_WAIT_PRIVATE, 0, {tv_sec=4, tv_nsec=50000000}./strace-static-x86_64: Process 6861 attached [pid 6861] rseq(0x7f4e2d96efe0, 0x20, 0, 0x53053053) = 0 [pid 6861] set_robust_list(0x7f4e2d96e9a0, 24) = 0 [pid 6861] rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 [pid 6861] memfd_create("syzkaller", 0) = 3 [pid 6861] mmap(NULL, 138412032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4e2554e000 [ 195.739862][ T55] Code: Unable to access opcode bytes at 0xffffffffffffffd6. [ 195.747301][ T55] RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 [ 195.755749][ T55] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 195.763783][ T55] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 195.771826][ T55] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 195.779926][ T55] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 195.787976][ T55] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 195.796015][ T55] [ 195.799068][ T55] Kernel panic - not syncing: kernel: panic_on_warn set ... [ 195.806386][ T55] CPU: 0 PID: 55 Comm: kworker/u4:3 Not tainted 6.5.0-rc3-syzkaller-00123-g57012c57536f #0 [ 195.816477][ T55] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 [ 195.826556][ T55] Workqueue: events_unbound btrfs_async_reclaim_metadata_space [ 195.834235][ T55] Call Trace: [ 195.837522][ T55] [ 195.840444][ T55] dump_stack_lvl+0xd9/0x1b0 [ 195.845057][ T55] panic+0x6a4/0x750 [ 195.848945][ T55] ? panic_smp_self_stop+0xa0/0xa0 [ 195.854047][ T55] ? show_trace_log_lvl+0x29d/0x3c0 [ 195.859245][ T55] ? btrfs_commit_transaction+0x3291/0x3fd0 [ 195.865132][ T55] check_panic_on_warn+0xab/0xb0 [ 195.870081][ T55] __warn+0xf2/0x380 [ 195.873980][ T55] ? btrfs_commit_transaction+0x3291/0x3fd0 [ 195.879870][ T55] report_bug+0x3bc/0x580 [ 195.884190][ T55] handle_bug+0x3c/0x70 [ 195.888333][ T55] exc_invalid_op+0x17/0x40 [ 195.892828][ T55] asm_exc_invalid_op+0x1a/0x20 [ 195.897666][ T55] RIP: 0010:btrfs_commit_transaction+0x3291/0x3fd0 [ 195.904167][ T55] Code: fe be 02 00 00 00 4c 89 f7 e8 bb 13 ad 00 e9 a7 d2 ff ff e8 41 20 14 fe 8b b5 18 ff ff ff 48 c7 c7 80 bc b5 8a e8 3f e9 da fd <0f> 0b e9 4a e3 ff ff e8 23 20 14 fe f0 83 44 24 fc 00 49 8d bc 24 [ 195.923857][ T55] RSP: 0018:ffffc90001567960 EFLAGS: 00010286 [ 195.929917][ T55] RAX: 0000000000000000 RBX: ffff88801efdd000 RCX: 0000000000000000 [ 195.937969][ T55] RDX: ffff888018e93b80 RSI: ffffffff814d3c06 RDI: 0000000000000001 [ 195.945931][ T55] RBP: ffffc90001567ad0 R08: 0000000000000001 R09: 0000000000000000 [ 195.953888][ T55] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000001 [ 195.961847][ T55] R13: ffff888075543fe8 R14: ffff888075544190 R15: ffff8880781c4000 [ 195.969814][ T55] ? __warn_printk+0x1a6/0x350 [ 195.974576][ T55] ? spin_bug+0x1d0/0x1d0 [ 195.978902][ T55] ? lock_sync+0x190/0x190 [ 195.983317][ T55] ? create_pending_snapshots+0x2d0/0x2d0 [ 195.989036][ T55] ? start_transaction+0x2a5/0x14d0 [ 195.994248][ T55] flush_space+0x1ea/0xe80 [ 195.998662][ T55] ? reacquire_held_locks+0x4b0/0x4b0 [ 196.004028][ T55] ? find_held_lock+0x2d/0x110 [ 196.008785][ T55] ? btrfs_space_info_update_bytes_may_use+0x410/0x410 [ 196.015659][ T55] ? reacquire_held_locks+0x4b0/0x4b0 [ 196.021035][ T55] btrfs_async_reclaim_metadata_space+0x51c/0xa90 [ 196.027459][ T55] process_one_work+0xaa2/0x16f0 [ 196.032392][ T55] ? lock_sync+0x190/0x190 [ 196.036888][ T55] ? pwq_dec_nr_in_flight+0x2a0/0x2a0 [ 196.042342][ T55] ? spin_bug+0x1d0/0x1d0 [ 196.046674][ T55] worker_thread+0x687/0x1110 [ 196.051355][ T55] ? process_one_work+0x16f0/0x16f0 [ 196.056632][ T55] kthread+0x33a/0x430 [ 196.060690][ T55] ? kthread_complete_and_exit+0x40/0x40 [ 196.066318][ T55] ret_from_fork+0x2c/0x70 [ 196.070723][ T55] ? kthread_complete_and_exit+0x40/0x40 [ 196.076341][ T55] ret_from_fork_asm+0x11/0x20 [ 196.081097][ T55] RIP: 0000:0x0 [ 196.084544][ T55] Code: Unable to access opcode bytes at 0xffffffffffffffd6. [ 196.091901][ T55] RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 [ 196.100298][ T55] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [ 196.108259][ T55] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 196.116216][ T55] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 196.124172][ T55] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [ 196.132214][ T55] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [ 196.140184][ T55] [ 196.144184][ T55] Kernel Offset: disabled [ 196.148564][ T55] Rebooting in 86400 seconds..