Tried "procs"=1, see this (hopefully formating won't break):
root@syzkaller:~# ps axjf | egrep '(syz|PID)'
PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND
26266 26272 26271 26266 pts/0 26271 S+ 0 0:00 \_
grep -E (syz|PID)
1 359 359 359 ? -1 Ssl 0 0:26 /syz-fuzzer
-executor=/syz-executor -name=vm-7 -arch=ppc64le -manage
r=
10.0.2.10:44993 -sandbox=none -procs=1 -cover=true -debug=false
-test=false
359 372 372 359 ? -1 Z 0 0:00 \_
[syz-executor.0] <defunct>
1 13901 13899 359 ? -1 S 0 0:00 /syz-executor.0
1 13906 13904 359 ? -1 S 0 0:00 /syz-executor.0
1 13911 13908 359 ? -1 S 0 0:00 /syz-executor.0
1 13940 13938 359 ? -1 S 0 0:00 /syz-executor.0
1 13945 13942 359 ? -1 S 0 0:00 /syz-executor.0
1 13950 13948 359 ? -1 S 0 0:00 /syz-executor.0
1 13967 13965 359 ? -1 S 0 0:00 /syz-executor.0
1 13972 13970 359 ? -1 S 0 0:00 /syz-executor.0
1 13977 13975 359 ? -1 S 0 0:00 /syz-executor.0
1 19540 19538 359 ? -1 S 0 0:00 /syz-executor.0
1 19542 19538 359 ? -1 S 0 0:00 /syz-executor.0
1 19568 19566 359 ? -1 S 0 0:00 /syz-executor.0
1 19572 19570 359 ? -1 S 0 0:00 /syz-executor.0
1 19576 19574 359 ? -1 S 0 0:00 /syz-executor.0
1 19580 19578 359 ? -1 S 0 0:00 /syz-executor.0
1 26212 26212 359 ? -1 Zl 0 0:00
[syz-executor.0] <defunct>
I can see many instances of /syz-executor.0 with the same parent pid=1
so I assume it is not one multithreaded executor but many instances and
do they all run different things? I expected to see one syz-executor.0
after setting procs to 1, what do I miss here?
Another thing - I added times to logging and see this:
===
04:49:38 executing program 0 -- :
r0 = openat$null(0xffffffffffffff9c, &(0x7f0000000000)='/dev/null\x00',
0x101101, 0x0)
fcntl$setstatus(r0, 0x4, 0x2800)
r1 = openat$zero(0xffffffffffffff9c, &(0x7f0000000380)='/dev/zero\x00',
0x0, 0x0)
fcntl$setstatus(r1, 0x4, 0x400)
r2 = geteuid()
r3 = getegid()
syz_mount_image$tmpfs(&(0x7f00000000c0)='tmpfs\x00',
&(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000540)=A
NY=[@ANYBLOB='uid=', @ANYRESHEX=r2,
@ANYBLOB=',mode=00000000000000000000001,mode=00000000000000000000777,gid=',
@ANYRESHEX=r3
])
r4 = geteuid()
r5 = geteuid()
r6 = getegid()
syz_mount_image$tmpfs(&(0x7f00000000c0)='tmpfs\x00',
&(0x7f0000000100)='./file0\x00', 0x0, 0x0, 0x0, 0x0, &(0x7f0000000540)=A
NY=[@ANYBLOB='uid=', @ANYRESHEX=r5,
@ANYBLOB=',mode=00000000000000000000001,mode=00000000000000000000777,gid=',
@ANYRESHEX=r6
])
ioctl$NS_GET_OWNER_UID(r0, 0x2000b704, &(0x7f00000000c0)=<r7=>0x0)
mount$9p_fd(0x0, &(0x7f0000000040)='./file0\x00',
&(0x7f0000000080)='9p\x00', 0x800400, &(0x7f0000000100)={'trans=fd,', {'rfd
no', 0x3d, r1}, 0x2c, {'wfdno', 0x3d, r0}, 0x2c,
{[{@access_user='access=user'}, {@loose='loose'}, {@aname={'aname', 0x3d, '/
dev/null\x00'}}, {@uname={'uname', 0x3d, '/dev/null\x00'}},
{@msize={'msize', 0x3d, 0x4}}, {@cache_mmap='cache=mmap'}], [{@ui
d_gt={'uid>', r2}}, {@uid_eq={'uid', 0x3d, r4}}, {@uid_gt={'uid>', r5}},
{@euid_eq={'euid', 0x3d, r7}}, {@dont_hash='dont_has
h'}, {@pcr={'pcr', 0x3d, 0x7}}, {@hash='hash'}]}})
mprotect(&(0x7f00007e0000/0x800000)=nil, 0x800000, 0x4)
04:50:38 executor 0: HUNG
===
It took 1 minute for syzcaller to decide the process hung but since
there are many of syz-executor.0, I cannot even tell which one is hung
actually. Oh well, I have to add an actual syz-executor process pid to
logging, let's try that...
--
Alexey