Skip to content
Permalink
Tree: 7509bf360e
Commits on Jun 26, 2019
  1. docs/linux/qemu-arm64: fix copy/paste with non-ASCII character

    balsini authored and dvyukov committed Jun 26, 2019
    The sneaky '“' character causes errors when copy-pasting snapshots of
    the documentation.
    Solved with s/“/"/g.
    
    Signed-off-by: Alessio Balsini <balsini@android.com>
  2. sys/linux: update mpls_lable and rta types

    liuhangbin authored and dvyukov committed Jun 26, 2019
    Kernel get mpls lable like
    ```
    unsigned entry = be32_to_cpu(hdr->label_stack_entry);
    result.label = (entry & MPLS_LS_LABEL_MASK) >> MPLS_LS_LABEL_SHIFT;
    ```
    So we just need to store the label in big endian order.
    
    For mpls rta types, kernel accpet only one lable for RTA_DST and
    multi labels for RTA_NEWDST.
    
    Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
  3. pkg/report: fix error in report symbolization

    R3x authored and dvyukov committed Jun 26, 2019
  4. docs/netbsd: remove TODO tasks that have been completed

    R3x authored and dvyukov committed Jun 26, 2019
  5. sys/netbsd: Add new syscalls exit and ptrace

    R3x authored and dvyukov committed Jun 26, 2019
Commits on Jun 25, 2019
  1. travis: use cache

    evdenis authored and dvyukov committed Jun 25, 2019
    * travis: cache clang-format installation
    
    * travis: indent
    
    * travis: use user paths for caching
    
    * travis: cache go build results
    
    * travis: use system clang-format
    
    * travis: remove custom libstdc++ installation
    
    Fixes #1252
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
Older
You can’t perform that action at this time.