Skip to content
Permalink
Tree: 82c13b6b49
Commits on Jun 24, 2019
  1. sys/linux, executor: run make extract and generate

    xairy committed Jun 24, 2019
  2. sys/linux, executor: add basic USB HID fuzzing support

    xairy committed Jun 18, 2019
    This commit adds the necessary descriptions and executor adjustments to
    enable targeted fuzzing of the enumeration process of USB HID devices.
  3. pkg/build: add DEBUG also

    R3x authored and dvyukov committed Jun 24, 2019
  4. pkg/build: add LOCKDEBUG and KASAN_PANIC

    R3x authored and dvyukov committed Jun 24, 2019
  5. pkg/report: add KMSAN kernel-usb-infoleak title regex

    xairy committed Jun 19, 2019
  6. vm: fix typo in comment

    dvyukov committed Jun 24, 2019
  7. vm: fix spurious crash detection caused by trimmed lines

    dvyukov committed Jun 24, 2019
    We've got a case when "ODEBUG:" was incorrectly detected as crash.
    That was caused by a flaw in matchPos logic. Fix that.
    See the added test for details.
Commits on Jun 23, 2019
  1. pkg/ifuzz: update to latest intelxed

    dvyukov committed Jun 23, 2019
    Update all-enc-instructions.txt to b7231de4c808db821d64f4018d15412640c34113
    and regenerate instruction info.
  2. pkg/report: fix up parsing of lockdep stacks

    dvyukov committed Jun 23, 2019
  3. sys/linux: update BPF constants

    pchaigno authored and dvyukov committed Jun 18, 2019
    Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
  4. sys/freebsd: fix sockaddr structures

    tuexen authored and dvyukov committed Jun 18, 2019
    FreeBSD uses in sockaddr_{in,in6,un} structures a length field.
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
Older
You can’t perform that action at this time.