Skip to content
Permalink
Tree: 5f818b4b9f
Commits on Oct 10, 2018
  1. executor: Fuchsia: Use zx_task_resume_from_exception()

    sgraham authored and dvyukov committed Oct 10, 2018
    zx_task_resume() is deprecated; switch to using
    zx_task_resume_from_exception() instead.
  2. Update setup.md

    dvyukov committed Oct 10, 2018
    Update Go instructions for newer toolchain.
    GOPATH and GOROOT are now optional, and we also need to add GOPATH/bin to PATH.
  3. Update contributing.md

    dvyukov committed Oct 10, 2018
    fix formatting
  4. pkg/report: ignore arch/.*/mm/physaddr.c as guilty file

    dvyukov committed Oct 10, 2018
    This is called from kfree in the added test.
    We already ignore everything related to kmalloc/free
    and e.g. arch/.*/mm/fault.c, so it looks reasonable
    to ignore this one too.
  5. pkg/host: improve KMEMLEAK detection

    dvyukov committed Oct 10, 2018
    EBUSY is returned when KMEMLEAK is in fact turned off,
    not when scanning is already turned off.
    That can't be recovered.
    So instead check that we can write to the file in the check
    function and give useful diagnostics.
  6. tools/syz-execprog: show host features

    dvyukov committed Oct 10, 2018
    syz-execprog -output is handy way to check what features host.Check detects.
  7. executor: tune memcg container logic

    dvyukov committed Oct 10, 2018
    The current memcg container seems to lead to lots of hangs/stalls.
    Presumably the problem is with oom_score_adj and KASAN.
    Executor process tree eats all memory and then the leaf process is killed
    but the memory is not returned to memcg due to KASAN quarantine;
    and the parent processes are protected from killing with oom_score_adj=-1000.
    As the result the kernel locks up.
    
    1. Don't use oom_score_adj=-1000. Instead bump leaf process score to 1000 (kill always).
    2. Increase size of memcg to be larger than expected KASAN quarantine size.
  8. syz-manager: don't upload failed leak repro attempts to dashboard

    dvyukov committed Oct 10, 2018
    We did not upload the crash itself, so dashboard does not know about them.
  9. dashboard/app: make build upload more robust

    dvyukov committed Oct 10, 2018
    Currently it triggers datastore timeouts episodically.
    Don't fail build upload if bug commit update fails.
    Split the large query into two smaller queries.
  10. dashboard/app: fetch bugs in batches

    dvyukov committed Oct 2, 2018
    We are seeing lots of datastore timeout errors during bug fetch.
    It's a bad idea to fetch thousands of bugs in one query,
    so fetch them in batches of 1000 bugs.
    Hopefully will reduce rate of errors.
  11. Update fidlgen to keep current with upstream.

    flowerhack authored and dvyukov committed Oct 2, 2018
    The Syzkaller IR upstream has been updated, so we can properly update
    consts/fidl descriptions now.
  12. targets: Use OS=linux when GOOS=android

    zachriggle authored and dvyukov committed Oct 8, 2018
    This avoids the issue of "android" not having any registered configurations
    or syscalls / ioctls / etc, when built with GOOS=android.
    
    This occurs when building in Google3, since --config=android_arm64 selects
    the Android toolchain.
Commits on Oct 3, 2018
  1. docs: Update package names for modern Ubuntu

    kees authored and dvyukov committed Oct 2, 2018
    The package names for perf and qemu are out of date. This updates them.
Commits on Oct 2, 2018
  1. Include generate_fidl as part of the `extract` step.

    flowerhack authored and dvyukov committed Sep 29, 2018
    Anytime we're running `make extract/generate` with Fuchsia as a target, we
    probably want to update FIDL descriptions too, so we don't fall behind
    what upstream is up to.
    
    This includes generate_fidl as part of the `make extract` workflow.
    
    Also, corrects fidlgenPath to properly find the path for ARM targets (we
    only have host_x64 right now).
  2. kmsan: add kmsan_from_kasan_config.sh to generate KMSAN config

    ramosian-glider authored and dvyukov committed Oct 2, 2018
Commits on Oct 1, 2018
  1. docs: fix typo in reproduction documentation

    pchaigno authored and dvyukov committed Oct 1, 2018
  2. Update syzbot.md

    dvyukov committed Oct 1, 2018
  3. docs/openbsd: improve setup instructions

    mptre authored and dvyukov committed Sep 30, 2018
    The majority of the changes are prodded by Klemens Nanni, another fellow OpenBSD
    hacker.
  4. docs: mention OpenBSD

    mptre authored and dvyukov committed Sep 30, 2018
  5. doc: Not -> Note

    blackgnezdo authored and dvyukov committed Sep 29, 2018
  6. Fix executor build for Fuchsia on ARM, too.

    flowerhack authored and dvyukov committed Sep 29, 2018
    Whups, pissed this in pull request #746.
    
    As before, location of sysroot includes changed, so Fuchsia
    cross-compile flags need an update.
Commits on Sep 28, 2018
  1. pkg/report: ignore printk as guilty file

    Dmitry Vyukov
    Dmitry Vyukov committed Sep 28, 2018
  2. syz-manager: don't send memory leaks without repros to dashboard

    dvyukov committed Sep 28, 2018
    KMEMLEAK has lots of false positives and bugs without repros
    may be unactionable. It's not completely clear how to handle
    such cases in automatic systematic testing.
    But let's try this and see how it works.
  3. dashboard/config: add KMEMLEAK config

    dvyukov committed Sep 28, 2018
    Based on KASAN config, but with KASAN and most other debug
    configs disabled and KMEMLEAK enabled.
  4. pkg/host: improve KMEMLEAK support

    dvyukov committed Sep 28, 2018
    Rewind kmemleak fd before reading it second time,
    otherwise we will read truncated reports.
    
    Auto-learn what leak reports we've already seen
    and ignore them in future. This is required because
    there are some false positives and some fire too frequently.
    So now we will hit each leak only once per manager run,
    but we still will try to reproduce them.
  5. pkg/report: improve KMEMLEAK report parsing

    dvyukov committed Sep 28, 2018
    Skip few more common allocation functions.
  6. dashboard/config: disable CONFIG_DYNAMIC_DEBUG and CONFIG_BPFILTER

    dvyukov committed Sep 28, 2018
    syzkaller manages to turn on dynamic debug messages somehow,
    which then produces tons of output on console. Disable dynamic
    debug on kasan.
    Disable bpfilter on kmsan as we already did on kasan.
  7. Fix executor build for Fuchsia.

    flowerhack authored and dvyukov committed Sep 27, 2018
    Location of some sysroot includes changed; ergo, Fuchsia cross-compile
    flags need an update.
  8. tools/create-openbsd-*: fully functional images from scratch

    blackgnezdo authored and dvyukov committed Sep 28, 2018
    * tools/create-openbsd-gce-ci: use config from /syzkaller
    
    * Use syzkaller copy of src instead of a separate one.
    
    * Using /dev/null disk in vm.conf
    
    * Use KVM, enable doas, no longer symlink.
    
    * Use a dummmy.img
    
    * Revert "Use a dummmy.img"
    
    This reverts commit 656b24d.
Commits on Sep 27, 2018
  1. executor: fix build on newer linux distros

    dvyukov committed Sep 27, 2018
    This sucks a lot, but ebtables.h is now broken too on Debian 4.17:
    
    ebtables.h: In function ‘ebt_entry_target* ebt_get_target(ebt_entry*)’:
    ebtables.h:197:19: error: invalid conversion from ‘void*’ to ‘ebt_entry_target*’
  2. pkg/report: fix few fuzz bugs

    dvyukov committed Sep 27, 2018
    Improve go-fuzz fuzzer function and fix few new bugs it finds:
    1. Panic in linux parser (bad).
    2. Akaros can report empty rep.Report.
    3. Fuchsia can return empty rep.Report.
Commits on Sep 26, 2018
  1. sys/linux: add encrypted key instantiation payloads

    dvyukov committed Sep 26, 2018
  2. pkg/report: fix guilty file extraction

    dvyukov committed Sep 26, 2018
    Account for the case that some file names can appear _before_ crash report starts.
    Start extracting guilty file starting from StartPos.
Older
You can’t perform that action at this time.