Skip to content
Permalink
Tree: 0d10349cf0
Commits on Jul 17, 2019
  1. sys/fuchsia: update zx_clock_get syscall (#1292)

    mvanotti committed Jul 17, 2019
    * sys/fuchsia: update zx_clock_get.
    
    zx_clock_get was deprecated and replaced by zx_clock_get_new. In a
    recent CL[0], they replaced the zx_clock_get by zx_clock_get_new and
    moved all client. This commit updates syzkaller to use the new function.
    
    [0]: https://fuchsia-review.googlesource.com/c/fuchsia/+/298575
    
    * run make extract && make generate
Commits on Jul 16, 2019
  1. pkg/report: support new format of "held lock freed" linux bugs

    dvyukov committed Jul 16, 2019
  2. sys/syz-extract: fix too long line

    dvyukov committed Jul 16, 2019
  3. sys/fuchsia: remove RESIZEABLE flags from vmo ops.

    mvanotti authored and dvyukov committed Jul 9, 2019
    This change removes the ZX_VMO_NON_RESIZABLE flag for vmo create and the
    ZX_VMO_CHILD_NON_RESIZEABLE flag from vmo create child.
    
    The flags were removed upstream in cl:
    https://fuchsia-review.googlesource.com/c/fuchsia/+/293991
  4. sys/syz-extract: Add "DefineGlibcUse" flag.

    mvanotti authored and dvyukov committed Jul 9, 2019
    Instead of defining the __GLIBC_USE macro on every OS, we are just
    defining it based on a parameter. That parameter is set to false for all
    OSs except for fuchsia.
  5. sys/fuchsia: rename vmo_clone to vmo_create_child.

    mvanotti authored and dvyukov committed Jun 13, 2019
    This commit modifies the vmo_clone definition, renaming it to
    vmo_create_child. This change happened in fuchsia a few weeks ago[0].
    
    [0]: https://fuchsia-review.googlesource.com/c/fuchsia/+/272268/
  6. sys/syz-extract: define __GLIBC_USE if not defined.

    mvanotti authored and dvyukov committed Jun 13, 2019
    When I try to run `make extract` for fuchsia, the clang compiler
    complains that __GLIBC_USE is undefined.
    
    This CL just defines it to be an always false function-like macro if it
    was not defined.
  7. sys/fuchsia: update paths for fdio and driver libs.

    mvanotti authored and dvyukov committed Jun 13, 2019
    This commit updates the targets for fuchsia, modifying the clang flags
    so that it uses the correct path to link against libfdio and libdriver.
  8. sys/fuchsia: remove power fidl definitions.

    mvanotti authored and dvyukov committed Jun 13, 2019
    This commit removes the fuchsia-power fidl definitions. The interface
    doesn't have a service implementing it in fuchsia, and it is causing
    issues in make extract.
  9. prog: fix updating triedPaths when minimizing resources

    xairy authored and dvyukov committed Jul 9, 2019
  10. dashboard: fix usb config extraction script

    xairy authored and dvyukov committed Jul 16, 2019
    Fix extracting more configs that are actually enabled.
    Regenerate upsteam-usb.config and sys/linux/init_vusb_ids.go.
  11. dashboard/app: add ConstFilter helper

    dvyukov committed Jul 16, 2019
    Handy to use in configs if lots of filter just need to return a const.
  12. sys/linux, executor: improve USB descriptions

    xairy committed Jul 16, 2019
    1. Change HID descriptions to allow devices to have two interrupt endpoints.
    2. Remove unneeded responses to OUT control requests from descriptions.
    3. Add some debugging code to detect and report missing descriptions.
  13. dashboard/app: add an empty test file

    dvyukov committed Jul 16, 2019
    blaze+tricoder fail when all test files are excluded by tags.
    Work around the bug by adding an empty test file.
  14. sys/linux: update fs-verity descriptions

    ebiggers authored and dvyukov committed Jul 9, 2019
    The fs-verity API was redesigned, and we're planning to re-add the
    fs-verity patches to linux-next soon.  Get the syzkaller descriptions up
    to date with the new API [1]
    
    [1] https://lkml.kernel.org/linux-fsdevel/20190701153237.1777-4-ebiggers@kernel.org
  15. sys/linux: update BPF constants

    pchaigno authored and dvyukov committed Jul 12, 2019
    Signed-off-by: Paul Chaignon <paul.chaignon@orange.com>
  16. pkg/log: rename -v to -vv

    dvyukov committed Jul 16, 2019
    To avoid conflicts with programs that import both syzkaller packages
    and github.com/golang/glog which also defines -v flag.
  17. sys/linux: update for v5.3 again

    ebiggers authored and dvyukov committed Jul 15, 2019
    Update descriptions to be compatible with latest linux-next
    (next-20190715), which in theory will match v5.3-rc1 when the merge
    window closes.
    
    - KEYCTL_GRANT_PERMISSION was reverted.  So remove its description.
    
    - CRYPTO_ALG_TYPE_DIGEST was removed.  So remove its description.
    
    - IB_QP_CREATE_SIGNATURE_EN was renamed to IB_QP_CREATE_INTEGRITY_EN.
    
    Also remove the sys/linux/rdma_*.const files which were incorrectly
    checked into git.  The real copies of those files are in
    sys/linux/dev_infiniband_rdma_*.const.
    
    For now I did *not* check for other new APIs that need to be described.
Commits on Jul 15, 2019
  1. qemu: support advanced hard drive configurations

    a13xp0p0v authored and dvyukov committed Jul 15, 2019
    Currently the 'image_device' config option in qemu.go doesn't properly
    support the modern '-drive' argument for describing qemu hard disks.
    
    In fact the various old ways to define qemu drives all boil down to
    the common form '-drive if=TYPE,bus=BUS,unit=UNIT,OPTS...'
    For example '-hda img' is equivalent to '-drive index=0,media=disk,file=img'.
    
    Let's make the 'image_device' config option support both forms.
    
    Signed-off-by: Alexander Popov <alex.popov@linux.com>
  2. pkg/report: enable feature comparisons for NetBSD

    R3x authored and dvyukov committed Jul 15, 2019
  3. sys/linux: update key descriptions

    ebiggers authored and dvyukov committed Jul 9, 2019
    - Add KEYCTL_MOVE (new in v5.3)
    - Add KEYCTL_CAPABILITIES (new in v5.3)
    - Add KEYCTL_GRANT_PERMISSION (new in v5.3)
    - Remove KEY_PERM_UNDEF (was only ever in an internal kernel header,
      not in UAPI; removed in v5.3)
Commits on Jul 14, 2019
  1. pkg/report: Fix corrupted reports

    R3x authored and dvyukov committed Jul 13, 2019
  2. executor: add network packet injection for NetBSD

    R3x authored and dvyukov committed Jul 14, 2019
    * Initial Commit
    
    * working build of network packet fuzzing
    
    * Add missed csource file
    
    * pkg/csource: fix build
    
    * executor/common_bsd.h: Add comment stating reason for ifconfig create
Commits on Jul 13, 2019
  1. docs/openbsd: update found_bugs.md

    mptre committed Jul 13, 2019
Commits on Jul 11, 2019
  1. executor: fix out-of-bounds in USB fuzzing code

    xairy committed Jul 11, 2019
    We might not have any string descriptors provided at all, use a hardcoded
    string in this case.
  2. executor: update USB fuzzing code to use new kernel API

    xairy committed Jul 11, 2019
    The kernel API has changed and now differentiates between IN and OUT
    control requests.
Commits on Jul 10, 2019
  1. sys/openbsd: add diskmap descriptions

    mptre committed Jul 10, 2019
Commits on Jul 5, 2019
  1. dashboard/config: update linux configs

    dvyukov committed Jul 5, 2019
    Update configs to the current linux-next (16c474c9ba39ede5fd1cd835ac52b3760d7820b7).
    Enable CONFIG_GVE=y, we may be able to reach it on GCE.
  2. sys/linux: fix floppy description

    evdenis authored and dvyukov committed Jul 5, 2019
    * sys/linux: fix floppy description
    
    Fix typo in the FDGETPRM ioctl.
    
    * sys/linux: extract && generate for floppy
    
    Signed-off-by: Denis Efremov <efremov@linux.com>
Commits on Jul 4, 2019
  1. executor: make errors during thread creation exit zero

    mptre authored and dvyukov committed Jul 2, 2019
    On OpenBSD, the executor sometimes manages to set the memory resource
    limit 0 causing any following memory allocation to fail. Since threads
    are potentially created from such a thread which cannot allocate any
    memory, the executor will exit non-zero which in turn will cause
    false-positive panics to be reported. For more info see the
    discussion[1] in PR #1243.
    
    Instead, if hitting a fatal error during thread creation exit zero.
    
    [1] #1243
  2. docs/linux: add references to syzkaller build instructions

    wdebruij authored and dvyukov committed Jul 3, 2019
    In the various linux build instructions, add pointers to the main
    doc with instructions for building syzkaller.
    
    These instructions were present before commit d23e90a ("all:
    switch to Go 1.12"). They were duplicated across files. Since the
    commit the instructions are in one place. Make it easier to find
    them from the platform-specific setup guides.
    
    Also clarify in the x86_64 guide that using a precompiled compiler
    from the supplied list is optional if the distribution provided
    compiler is recent enough. Before commit d28f4ce ("Update
    setup_ubuntu-host_qemu-vm_x86-64-kernel.md") the file had explicit
    build instructions. Those are no longer needed.
Commits on Jul 2, 2019
  1. prog: fix minimization bugs

    dvyukov committed Jul 2, 2019
    Fix several nasty bugs in minimization that could lead
    to almost arbitrary results. These bugs affected both
    crash minimization and corpus population.
    Extend the randomized test to catch these bugs.
    Add additional asserts to code to catch similar bugs in future.
    
    Reported-by @xairy
  2. pkg/report: ignore __wake_up function on linux

    dvyukov committed Jul 2, 2019
    They are very generic and a bug is almost always in the parent frame.
Commits on Jul 1, 2019
  1. sys/linux, executor: run make extract and generate

    xairy committed Jun 26, 2019
Older
You can’t perform that action at this time.