Skip to content
Permalink
Tree: d3b2a0e212
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.
  17. pkg/csource: disable most features on akaros

    dvyukov committed Jul 4, 2018
    Akaros does not support tun, fault injections, sandboxes, etc.
  18. pkg/osutil: allow to provide own stdout/stderr during cmd execution

    dvyukov committed Jul 4, 2018
    Useful if caller wants to collect only stdout or stderr.
  19. pkg/report: suppress more gvisor OOMs

    dvyukov committed Jul 5, 2018
Commits on Jul 4, 2018
  1. Update found_bugs.md

    dvyukov committed Jul 4, 2018
Commits on Jul 2, 2018
  1. sys/linux: add rtc description

    ihc authored and dvyukov committed Jul 2, 2018
  2. pkg/report: fix race on symbolizer in test

    dvyukov committed Jul 2, 2018
    Symbolizer is not meant to be invoked with an empty binary.
  3. pkg/csource: prevent unused-result warnings

    dvyukov committed Jul 2, 2018
    Warnings for write unused-result fire on travis,
    somehow I don't get them locally.
    Use the result in a fake way to prevent the warning.
  4. .travis.yml: update libc++ download location

    dvyukov committed Jul 2, 2018
    The old path does not exist anymore.
  5. .travis.yml: update libc++ download location

    dvyukov committed Jul 2, 2018
    The old path does not exist anymore.
  6. dashboard/app: use CCYY/MM/DD hh:mm format

    dvyukov committed Jul 2, 2018
    Since dateSort does not take years into account, Time field of long-standing
    bugs is not sorted correctly. Also, it will become more useful to
    include year of closed date after we operate the dashboard for some years.
    Thus, this patch changes the format of formatTime method, and use textSort
    for sorting.
    
    Based on patch by Tetsuo Handa.
Older
You can’t perform that action at this time.