Troubleshooting
Here are some things to check if there are problems running syzkaller.
-
Use the
-debugcommand line option to make syzkaller print all possible debug output, from both thesyz-managertop-level program and thesyz-executorinstances. With this option syzkaller will only run one VM instance. -
Use the
-vv Ncommand line option to increase the amount of logging output, from both thesyz-managertop-level program and thesyz-executorinstances (which go to the output files in thecrashessubdirectory of the working directory). Higher values of N give more output. -
If logging indicates problems with the executor program (e.g.
executor failure), try manually running a short sequence of system calls:- Copy
syz-executorandsyz-execproginto a running VM. - In the VM run
./syz-execprog -executor ./syz-executor -debug sampleprogwhere sampleprog is a simple system call script (e.g. just containinggetpid()). - For example, if this reports that
clonehas failed, this probably indicates that the test kernel does not include support for all of the required namespaces. In this case, running thesyz-execprogtest with the-sandbox=setuidoption fixes the problem, so the main configuration needs to be updated to setsandboxtosetuid.
- Copy
-
If syzkaller prints the
failed to copy binaryerror shortly after VM has booted:- If you're using Buildroot images and the error output contains the
subsystem request failed on channel 0line, this can be due to the OpenSSH 9.0 changes that force the use of the SFTP protocol. Upgrade your Buildroot image to the latest version and make sure SFTP is enabled there.
- If you're using Buildroot images and the error output contains the
Also see this for Linux kernel specific troubleshooting advice.
If none of the above helps, file a bug on the bug tracker
or ask us directly on the syzkaller@googlegroups.com mailing list.
Please include syzkaller commit id that you use and syz-manager output with -debug flag enabled if applicable.
