Skip to content
Permalink
Tree: 6c0c0099a0
Commits on Jul 6, 2018
  1. sys/linux: add 9p descriptions

    dvyukov committed Jul 6, 2018
    Only mount for now.
  2. pkg/report: detect partial result errors

    dvyukov committed Jul 6, 2018
  3. sys/linux: update autogenerated files

    dvyukov committed Jul 6, 2018
    "sys/linux: add mount$bpf" commit did not include these changes.
  4. sys/akaros: add all syscalls

    dvyukov committed Jul 6, 2018
  5. pkg/host: disable for akaros

    dvyukov committed Jul 6, 2018
    akaros can't have own host version
    because fuzzer does not run on akaros,
    so just disable it all.
  6. sys/linux: add mount$bpf

    dvyukov committed Jul 6, 2018
    Plus some minor assorted fixes.
  7. pkg/instance: pass -os to execprog/fuzzer only for akaros

    dvyukov committed Jul 6, 2018
    Only akaros needs OS, because the rest assume host OS.
    But speciying OS for all OSes breaks patch testing on syzbot
    because old execprog does not have os flag.
  8. vm/vmimpl: factor out common code for ssh args and waiting for ssh

    dvyukov committed Jul 6, 2018
    Move common code from 4 vm implementations to vmimpl.
  9. syz-fuzzer: fix revision checking in case executor is wrapped with ssh

    dvyukov committed Jul 6, 2018
    Some ssh close connection on stdin eof. So give it a pipe.
  10. syz-fuzzer: show executor output on failure

    dvyukov committed Jul 6, 2018
  11. Update syzbot.md

    dvyukov committed Jul 6, 2018
    explicitly specify KMSAN branch for testing
Commits on Jul 5, 2018
  1. dashboard/config: tune kernel timeouts

    dvyukov committed Jul 5, 2018
    See #516 for description of the problem.
    
    The new scheme is:
    
    1. RCU stalls the highest priority.
    CONFIG_RCU_CPU_STALL_TIMEOUT=100
    which results in stalls detected after 100-101 secs.
    
    2. Then softlockup detector.
    kernel.watchdog_thresh = 55 (sysctl)
    which surprisingly detects stalls after 110-132 secs.
    
    3. Then hung tasks and workqueue stalls.
    Unfortunately we can't separate them because that would
    require setting "no output" timeout to 10+ minutes.
    workqueue.watchdog_thresh=140 (cmdline)
    CONFIG_DEFAULT_HUNG_TASK_TIMEOUT=140
    Both are detected after 140-280 secs.
    
    4. Finally, "no output" crashes.
    Detected by vm.MonitorExecution after 300 secs.
    
    Fixes #516
  2. dashboard/config: update kernel configs

    dvyukov committed Jul 5, 2018
    Update to latest kernel.
  3. vm/gvisor: enable watchdog panic

    dvyukov committed Jul 5, 2018
    We need it to crash to detect hangs.
  4. pkg/report: fix lambda demangling

    dvyukov committed Jul 5, 2018
    demangle package does not minimize lambda symbols properly
    (does not strip parameters and template paratemeter).
    Do it manually.
    
    See: ianlancetaylor/demangle#5
  5. pkg/repro: provide stats even for failed repro

    dvyukov committed Jul 4, 2018
    Provide stats and logs for failed repro and save it in manager.
    In particular log is useful for failed repros,
    currently there is no visibility into why bugs
    failed to reproduce.
  6. vm/qemu: add akaros support

    dvyukov committed Jul 5, 2018
  7. syz-ci: unset GOPATH

    dvyukov committed Jul 5, 2018
    syz-ci always passes own GOPATH,
    if GOPATH is already present in env, it causes havoc.
    Unset it.
  8. sys/targets: fix akaros path handling

    dvyukov committed Jul 5, 2018
    make extract needs path to whole kernel, not just toolchains,
    so assume that toolchains are in toolchains subdir in kernel.
  9. Makefile: add akaros support

    dvyukov committed Jul 5, 2018
  10. pkg/vcs: add akaros support

    dvyukov committed Jul 5, 2018
  11. bpf: disable hardening in favor of unwinding

    borkmann authored and dvyukov committed Jun 11, 2018
    I had missed that once hardening is enabled, it automatically disables
    any exposure of JITed addresses, therefore when crashes or warnings are
    thrown we don't unwind beyond a helper function. For now disable hardening.
    
    After merge window I'll see if it's possible to detangle the case where
    kernel queries kallsyms internally to find function names whenever a WARN
    or BUG is thrown. If that's not possible easily, we can potentially add a
    harden mode 3 which does hardening but does not disable kallsyms exposure
    and then set this here for tools like syzkaller.
    
    Fixes: ac9b19d ("bpf: enable hardening mode 1 for jited images")
    Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
    
    [dvyukov: also updated dashboard/config/upstream.sysctl]
  12. syz-manager: pass OS to fuzzer

    dvyukov committed Jul 4, 2018
    Needed for akaros.
  13. sys/targets: fix akaros compiler

    dvyukov committed Jul 4, 2018
    Remote install dir from compiler path (install dir was my invention).
    Remove additional flags, the compiler now seems to know own sysroot.
  14. syz-fuzzer: allow wrapping executor

    dvyukov committed Jul 4, 2018
    Allow wrapping executor e.g. under strace or something else.
    First, split executor string to binary and args.
    Second, read version output only from stdout.
  15. pkg/ipc: create default config based on target

    dvyukov committed Jul 4, 2018
    Pass actual target to DefaultConfig, that's what we really want,
    not the stray ipc flag.
  16. pkg/repro: pass target OS to execprog

    dvyukov committed Jul 4, 2018
    Pass target OS to execprog and pass executor the same way
    manager passes it to fuzzer.
Older
You can’t perform that action at this time.