Skip to content
Permalink
Tree: 34bf9440bd
Commits on Jun 18, 2019
  1. docs/openbsd: correct order of vmctl arguments

    mptre committed Jun 18, 2019
    The order of arguments passed to vmctl was recently changed: options comes
    first followed by positional arguments.
  2. sys/openbsd: correct setrlimit resource detection

    mptre committed Jun 18, 2019
    The sanitizer fails to sanitize programs like the following:
    
      setrlimit(0x10000000000002, &(0x7f0000000080))
    
    ... due to presence of the most significant bit. Therefore mask of all
    bits that cannot form a valid rlimit resource.
    
    This is one of the root causes of the high amount of reported "lost
    connection to test machine".
  3. docs/openbsd: update found_bugs.md

    mptre committed Jun 18, 2019
Commits on Jun 14, 2019
  1. sys/openbsd: sanitize mlockall syscalls

    mptre committed Jun 14, 2019
    Locking down future mappings will most likely cause syz-executor to run
    out of memory.
    
    This is one of the root causes of the high amount of reported "lost
    connection to test machine".
  2. tools/syz-stress: fix syscall list parsing

    dvyukov committed Jun 14, 2019
    If -syscalls flag is empty (default),
    strings.Split produces an empty string which
    is then not parsed as valid syscall name.
Commits on Jun 13, 2019
  1. sys/openbsd: rename test case

    mptre committed Jun 13, 2019
  2. sys/openbsd: sanitize setrlimit(RLIMIT_STACK) syscalls

    mptre committed Jun 13, 2019
    Do not allow the stack to grow beyond the initial soft limit chosen by
    syz-executor. Otherwise, syz-executor will most likely not be able to
    perform any more heap allocations since they majoriy of memory is
    reserved for the stack.
    
    This is one of the root causes of the high amount of reported "lost
    connection to test machine".
  3. pkg/report: Add initial support for report symbolisation

    R3x authored and dvyukov committed Jun 13, 2019
    * pkg/report: initial netbsd commit
    
    * pkg/report: fix netbsd errors and add comments to help
    
    * fix spelling error
  4. pkg/report: use cover protect on NetBSD also

    R3x authored and dvyukov committed Jun 12, 2019
Commits on Jun 12, 2019
  1. executor: improve usb coverage attribution

    xairy authored and dvyukov committed Jun 12, 2019
    Always call write_extra_output() only if the current program or call
    can produce extra coverage (== is a syz_usb* syzcall).
  2. sys/linux: run make extract and generate

    xairy committed Jun 12, 2019
    Forgot to do it after the last changes in hiddev descriptions.
    Fuse is also updated.
Commits on Jun 11, 2019
  1. sys/openbsd: sanitize setrlimit(RLIMIT_DATA) syscalls (#1231)

    mptre authored and blackgnezdo committed Jun 11, 2019
    OpenBSD performs a strict validation of the RLIMIT_DATA soft limit
    during memory allocation. Lowering the same limit could cause
    syz-executor to run out of memory quickly. Therefore make sure to not go
    lower than the default soft limit for the staff group.
    
    This is one of the root causes of the high amount of reported "lost
    connection to test machine".
  2. tools/kcovtrace: Fix the format of kcovtrace.c

    zxombie authored and dvyukov committed Jun 11, 2019
  3. tools/kcovtrace: Fix cover type on FreeBSD and NetBSD

    zxombie authored and dvyukov committed Jun 11, 2019
    It should be uint64_t as a 32 bit tool may be tracing a 64 bit kernel.
  4. pkg/host: improve openat check

    mspecter authored and dvyukov committed Jun 11, 2019
    * Add support for non-obvious open commands
    
    * Adding Michael Specter to CONTRIBUTORS
    
    * update
    
    * /pkg/host/host_linux.go: leverage .txt for OpenAt
    
    Allows users to specify OpenAt flags. Currently, Syzkaller will
    automatically attempt to open device nodes at startup, and ignore
    descriptions that do not exist. Unfortunately, Syzkaller only opens with
    read-only permissions, and some device drivers will
    return -EINVAL or likewise if the correct flags are not specified.
  5. pkg/build: fix the failing build

    R3x authored and dvyukov committed Jun 10, 2019
    1. Add MKCTF option
    2. Remove the command to make the kcov node. Since do it in the script.
Commits on Jun 8, 2019
  1. sys/openbsd: prevent using vio0 as a virtual multicast interface

    mptre authored and dvyukov committed Jun 8, 2019
    One of the root causes to reported "lost connection to test machine" is
    when the egress network interface is being used as a multicast
    interface:
    
      setsockopt$inet6_MRT6_ADD_MIF(r0, 0x29, 0x66, &(0x7f0000000180)={0x2}, 0xc)
    
    Prevent such syscalls from being generated by limiting the range of
    allowed interface indices.
Commits on Jun 7, 2019
  1. Update found_bugs_usb.md

    xairy committed Jun 7, 2019
  2. sys/linux: use template based structure for USB descriptions

    xairy committed Jun 6, 2019
    To allow future extensions of USB descriptions to fuzz particular USB
    classes this patch changes the structure of USB descriptions to use
    templates.
    
    This will invalidate all existing USB corpus.
  3. prog/mutation: Add internal comments

    melver authored and dvyukov committed Jun 6, 2019
  4. sys/linux: add hidraw and hiddev descriptions

    xairy authored and dvyukov committed Jun 5, 2019
Commits on Jun 6, 2019
  1. sys/linux: don't inherit fd_usb from fd

    xairy authored and dvyukov committed Jun 6, 2019
    This is a special fd, we don't want various ioctls be called on it.
  2. pkg/report: improve should_fail regexp

    dvyukov committed Jun 6, 2019
    Some kernels print hex PC value before frames.
    Account for that in should_fail-matching regexp.
  3. pkg/host: enable evdev, hidraw and hiddev when USB fuzzing is on

    xairy authored and dvyukov committed Jun 5, 2019
  4. sys/openbsd: add klog descriptions

    mptre authored and blackgnezdo committed Jun 5, 2019
  5. executor: add cover protection support to OpenBSD (#1215)

    mptre authored and blackgnezdo committed Jun 6, 2019
Commits on Jun 4, 2019
  1. executor: Protect the coverage buffer

    zxombie authored and dvyukov committed Jun 3, 2019
    Add functions to protect and unprotect the coverage buffer. The buffer is
    protected from being written to while tracing. When the trace data is
    sorted we need to make it read/write, but can return it to read only after
    this has completed.
    
    Leave the first page as read/write as we need to clear the length field.
  2. pkg/runtest: detect and ignore flakes

    dvyukov committed Jun 4, 2019
    Add retry logic that detects and ignores episodic flakes.
    This test episodically flakes on syzbot.
    We run with the default timeout, but require a test
    to pass in 50+% of cases.
    Running 72 test binaries in parallel I am getting 35-44 failures out of 72
    with 1 retry. With 3 retries it drops to ~7. With 5 it is close to 0.
    Use 7 retries for now. Let's see if it still flakes.
  3. executor: special-case zx_deadline_after return value

    dvyukov committed Jun 4, 2019
    zx_deadline_after also returns time, not status.
    So don't use it as coverage.
  4. docs/netbsd: Added link to image script

    R3x authored and dvyukov committed Jun 4, 2019
  5. pkg/report: skip refcount_* functions

    dvyukov committed Jun 4, 2019
    These are too generic and don't point to any subsystem. Skip them.
Commits on Jun 3, 2019
  1. docs/openbsd: update found_bugs.md

    mptre authored and dvyukov committed Jun 3, 2019
  2. pkg/build: update env variables for akaros

    mitthu authored and dvyukov committed Jun 3, 2019
    * Remove the environment variable: AKAROS_XCC_ROOT
    (refer to commit: brho/akaros bdab8c3a)
    * Add environment variable AKAROS_TOOLCHAINS which
    points to the parent directory of the old AKAROS_XCC_ROOT.
    (refer to commit: brho/akaro 62ec5c3c)
    * Add "$AKAROS_TOOLCHAINS/x86_64-ucb-akaros-gcc/bin" to PATH.
    
    Signed-off-by: Aditya Basu <mitthu@google.com>
  3. sys/linux: update descriptions of sendmsg/sendmmsg

    Bins94 authored and xairy committed May 20, 2019
    Add sendmsg$inet, sendmmsg$inet for ip_cmsg_send.
    Add sendmsg$inet6, sendmmsg$inet6 for ip6_datagram_send_ctl
Older
You can’t perform that action at this time.