perf_event_open(0x0, 0x0, 0x1, 0xffffffffffffffff, 0x0) syz_emit_ethernet(0x3e, &(0x7f0000000140)=ANY=[], 0x0) fork() ptrace$setopts(0xffffffffffffffff, 0x0, 0x10001, 0x0) fork() r0 = fork() wait4(r0, &(0x7f0000000440), 0x0, 0x0) ptrace(0xffffffffffffffff, 0x0) wait4(0xffffffffffffffff, 0x0, 0x1, 0x0) openat(0xffffffffffffff9c, &(0x7f0000000040)='./file0\x00', 0x46e2, 0x0) r1 = openat(0xffffffffffffff9c, &(0x7f0000000040)='./cgroup/cgroup.procs\x00', 0x2, 0x0) write$cgroup_pid(r1, &(0x7f00000000c0), 0x12)