Skip to content
Permalink
Tree: e30d3b5240
Commits on Sep 6, 2018
  1. sys/fuchsia: add Go script that generates fidl descriptions

    dokyungs authored and dvyukov committed Sep 5, 2018
  2. dashboard/config: add smack support

    dvyukov committed Sep 6, 2018
  3. syz-ci: allow manager http address auto-assignment

    dvyukov committed Sep 6, 2018
    Manually assigning http addresses is tedious and error-prone.
  4. pkg/runtest: fixes for fuchsia

    dvyukov committed Sep 6, 2018
    Add simple fuchsia program, the one that is run during image testing.
    Fix csource errno printing for fuchsia.
    Fix creation of executable files (chmod is not implemented on fuchsia).
    Check that we get signal/coverage from all syscalls.
Commits on Sep 5, 2018
  1. tools: update to Debian stretch

    kees authored and dvyukov committed Sep 4, 2018
    This updates the image creation tool to use Debian stretch (current stable)
    instead of wheezy, which is very out of date. The only change needed here
    was a hint to systemd to make the root filesystem read-write after booting.
    Documentation has also been updated.
  2. dashboard/app: allow renaming/bucketing bugs

    dvyukov committed Sep 5, 2018
    Add config hooks that can be used to rename/bucket bugs.
    
    Fixes #677
  3. dashboard/config: re-enable selinux

    dvyukov committed Sep 5, 2018
    Upstream "selinux: fix mounting of cgroup2 under older policies"
    commit fixes mounting of cgroup2 under wheezy selinux policy.
    So don't disable selinux on start.
    Create separate cmdline arguments that enable selinux and apparmor.
  4. Revert "Makefile: Enable working with symlinked directories"

    dvyukov committed Sep 5, 2018
    This reverts commit 7ce4cd3.
    
    This breaks syzbot as it executes "cd " which gets it into
    a completely unrelated dir and then it tries to format
    everything there as Go code.
  5. Modify name of private key file as id_rsa does not exist in the context

    mudongliang authored and dvyukov committed Sep 5, 2018
Commits on Sep 4, 2018
  1. syz-ci: wait for current builds before stopping managers

    dvyukov committed Sep 4, 2018
    If update comes in the middle of a long build (bisection),
    we will stop all other managers prematurely (bisection can take a day).
    So wait for current builds to finish before starting shutdown.
    
    Update #501
  2. pkg/report: refine fuchsia function name regexp

    dvyukov committed Sep 2, 2018
    C++ function names can contain '~'.
Commits on Sep 3, 2018
  1. Update syzbot.md

    dvyukov committed Sep 3, 2018
    clarify KMSAN testing instructions
  2. tools/create-gce-image.sh: add default ext4 options

    dvyukov committed Sep 3, 2018
    Set some realistic modern ext4 options when creating the image.
  3. dashboard/app: split repo and branch by space

    dvyukov committed Sep 3, 2018
    We currently split them with / which makes it hard
    to copy paste and generally understand that these
    are 2 separate things.
    Split them with a space. User request:
    https://groups.google.com/forum/#!msg/syzkaller-bugs/yNFv3qgXY3I/ejPrxLCdBAAJ
  4. Update syzbot.md

    dvyukov committed Sep 3, 2018
Commits on Sep 2, 2018
  1. sys/linux: extend xattr descriptions

    dvyukov committed Sep 2, 2018
    Update #533
  2. docs/openbsd: add kernel properties to example configuration

    mptre authored and dvyukov committed Aug 31, 2018
  3. sys/targets: allow the name of kernel to be specified per target

    mptre authored and dvyukov committed Aug 31, 2018
    Assuming the kernel is named vmlinux does not work for OpenBSD.
Commits on Aug 31, 2018
  1. executor: OpenBSD does not allow write and exec mappings by default

    mptre authored and dvyukov committed Aug 31, 2018
    Since the OpenBSD target does not make use of syz_execute_func yet, just drop
    PROT_EXEC for now.
    
    Supporting write and exec would require one to edit /etc/fstab during
    installation.
    
    Regression introduced in commit a471869 ("sys/linux: add syz_execute_func").
  2. sys/openbsd: make SanitizeCall() idempotent

    mptre authored and dvyukov committed Aug 31, 2018
    On OpenBSD, the vnode type for a device node of type S_IFMT is interpreted as
    VBAD. Such vnodes often causes assertion failures inside kernel producing noisy
    crashes. The goal of the OpenBSD specific SanitizeCall() is to prevent such
    device nodes from being created. The S_IFMT constant is a mask covering all
    possible device types, thus covering both character and block devices. Therefore
    when the fuzzer generates a mknod{,at}() syscall with the S_IFMT type we cannot
    known if the intent was to create a block or character device. Therefore
    simplify the code to create a character device under such circumstances.
    
    The observed failure is caused by the interaction between the OpenBSD specific
    SanitizeCall() and the Unix one. The Unix sanitizer will not modify the mode
    argument if it contains the S_IFMT mask. But on the second invocation when the
    mode no longer contains S_IFMT it would modify it, causing a different program
    to be produced. Therefore only delegate to the Unix sanitizer if the syscall is
    not equal to mknod{,at}().
    
    Regression introduces in commit b771b17 ("Add mandatory OpenBSD bits (#689)").
  3. syz-manager: don't minimize corpus if it hasn't changed

    dvyukov committed Aug 31, 2018
    Corpus minimization can lead to a livelock after a batch of crashes.
    Minimize corpus only if it grew by at least 1% since last time.
  4. Makefile: Enable working with symlinked directories

    zachriggle authored and dvyukov committed Aug 31, 2018
    Resolves #698
  5. sys/linux: add syz_execute_func

    dvyukov committed Aug 31, 2018
    The function executes random code.
    
    Update #310
  6. sys/linux: add nbd descriptions

    dvyukov committed Aug 31, 2018
    Update #533
  7. prog: add concept of "special pointers"

    dvyukov committed Aug 30, 2018
    Currently we only generate either valid user-space pointers or NULL.
    Extend NULL to a set of special pointers that we will use in programs.
    All targets now contain 3 special values:
     - NULL
     - 0xfffffffffffffff (invalid kernel pointer)
     - 0x999999999999999 (non-canonical address)
    Each target can add additional special pointers on top of this.
    
    Also generate NULL/special pointers for non-opt ptr's.
    This restriction was always too restrictive. We may want to generate
    them with very low probability, but we do want to generate them.
    
    Also change pointers to NULL/special during mutation
    (but still not in the opposite direction).
  8. sys/openbsd: disable mknod sanitization as tests fail

    dvyukov committed Aug 30, 2018
    TestSerializeDeserializeRandom fails from time to time
    because program is different after we serialize/deserialize it.
    Turns out openbsd SanitizeCall is not idempotent.
    Add a test for this and disable the logic for now.
Commits on Aug 30, 2018
  1. pkg/report: ignore mm/memory.c as guilty file

    dvyukov committed Aug 30, 2018
  2. sys/fuchsia: describe method response types & handles; add support fo…

    dokyungs authored and dvyukov committed Aug 28, 2018
    …r union
    
    * create a response handle structure for each FIDL method
    * generate zx_channel_write for requests having no response
    * generate zx_channel_read for events (no request but just response)
    * translate FIDL union types to syzkaller union types
      (see fuchsia_io_ObjectInfoHandles)
  3. vm/gvisor: use new signal-based diagnose

    dvyukov committed Aug 24, 2018
    Presumably "debug -stacks" sometimes fails to actually dump stacks (some runtime hangs?).
    Use new mechanism that just sends a signal.
  4. pkg/instance: fix gometalinter warnings

    dvyukov committed Aug 30, 2018
  5. pkg/instance: fix job testing

    dvyukov committed Aug 30, 2018
    New FuzzerCmd generates flags that can't be parsed by an old fuzzer.
    Fix that and add a test.
Commits on Aug 29, 2018
  1. Update kernel_configs.md

    dvyukov committed Aug 29, 2018
  2. dashboard/config: update kernel configs

    dvyukov committed Aug 29, 2018
    - enable usbip
    - enable squashfs
    - enable ubifs
    - enable dm-verity
    - enable IMA/EVM
    /\/\/\
    all things we want to test
    
    - set hung_task_check_interval_secs = 20 for more precise hung detection
    - switch to apparmor (we don't enable selinux anyway)
    - update to latest kernel
    
    Update #533
Older
You can’t perform that action at this time.