Skip to content
Permalink
Tree: 4d3d6a5007
Commits on Apr 23, 2019
  1. executor: adjust waiting time for all usb syzcalls

    xairy authored and dvyukov committed Apr 18, 2019
    Allow 2000 ms of waiting time for syz_usb_connect and and the same time for
    the whole program is this syzkall is present. Allow 200 ms of waiting time
    for syz_usb_disconnect. Remove sleep from syz_usb_control_io.
  2. pkg/report: skip osq_lock on linux

    dvyukov committed Apr 23, 2019
    Another new helper for locking.
  3. pkg/email: support quilt patch format

    xairy authored and dvyukov committed Apr 15, 2019
    Quilt uses a slightly different patch format to traditional git
    diff/format-patch. Support it.
  4. prog: fix crash in createResource

    dvyukov committed Apr 23, 2019
    We may be in createResource but have no resources at all because of ANYRES
    that are not in target.Resources.
    This is actually the case for some test targets. We have resources there,
    but syscalls that create them are disabled.
    In such case we crash in Intn(0).
    Check that we have some resources before calling Intn.
  5. .golangci.yml: update

    dvyukov committed Apr 23, 2019
    Enable more linters.
    Tune settings for existings.
    Fix excludes.
    
    Update #977
  6. all: fix some static analysis warnings

    dvyukov committed Apr 23, 2019
    Fix warnings produced by golangci-lint.
    
    Update #977
  7. sys/freebsd: Add pf ioctl()s

    kprovost authored and tuexen committed Apr 13, 2019
    Tweak the building of the FreeBSD vm image to ensure pf is loaded at
    startup, so that we can test it.
Commits on Apr 22, 2019
  1. Update syscalls (#1116)

    mvanotti authored and flowerhack committed Apr 22, 2019
    * sys/fuchsia: update all syscalls.
    
    This commit modifies all the existing syscalls definitions to match more
    closely the documentation in the Fuchsia repo.
    
    * run make extract && make generate
  2. pkg/build: update zircon build directory. (#1132)

    mvanotti authored and flowerhack committed Apr 22, 2019
    Recently, fuchsia changed the build directory for zircon, now instead of
    build-zircon, we have arch.zircon, where arch is x64 or arm64.
  3. config: enable CONFIG_PRINTK_CALLER for usb

    xairy authored and dvyukov committed Apr 15, 2019
  4. report: skip strscpy and read_word_at_a_time frames

    xairy authored and dvyukov committed Apr 18, 2019
  5. Update research.md

    dvyukov committed Apr 22, 2019
  6. docs/openbsd: update found_bugs.md

    mptre authored and dvyukov committed Apr 22, 2019
Commits on Apr 17, 2019
  1. docs: update zircon's path in fuchsia

    mvanotti committed Apr 17, 2019
    Recently, fuchsia changed the build directory for Zircon and a couple of files. Now instead of build-zircon, we have x64.zircon.
Commits on Apr 14, 2019
  1. Revert "dashboard/config: enable POOL_DEBUG on OpenBSD (#1113)"

    blackgnezdo authored and dvyukov committed Apr 13, 2019
    This reverts commit 2fbd3aa.
Commits on Apr 12, 2019
  1. sys/linux: add pidfd_send_signal

    dvyukov committed Apr 12, 2019
  2. sys/linux: more tty descriptions

    dvyukov committed Apr 12, 2019
  3. sys/linux: add simple io_uring descriptions

    dvyukov committed Apr 12, 2019
    We don't actually communicate with the uring yet,
    but this already finds a bunch of bugs.
  4. Makefile: install gnueabi arm compiler

    dvyukov committed Apr 12, 2019
    The arm compiler was changed in e5d1b3a
    from gnueabihf to gnueabi. Install the corresponding packages.
    @Codysseus
  5. dashboard/app: fix cookie caching and redirects

    dvyukov committed Apr 12, 2019
    Set expiration date for the cookie,
    otherwise it should be dropped on browser restart.
    
    Use http.StatusFound(302) instead of http.StatusMovedPermanently(301)
    for redirects. Browsers can cache 301 redirects, which we don't want.
Commits on Apr 11, 2019
  1. docs: mention USB bugs in syzbot doc

    xairy authored and dvyukov committed Apr 11, 2019
  2. pkg/report: ignore 'down' frame in the call stack

    xairy authored and dvyukov committed Apr 11, 2019
  3. dashboard/config: update usb config

    dvyukov committed Apr 11, 2019
  4. all: run make generate

    xairy authored and dvyukov committed Apr 5, 2019
  5. docs: add USB fuzzing docs

    xairy authored and dvyukov committed Apr 11, 2019
  6. all: add basic USB fuzzing support

    xairy authored and dvyukov committed Apr 11, 2019
    This commits implements 4 syzcalls: syz_usb_connect, syz_usb_io_control,
    syz_usb_ep_write and syz_usb_disconnect. Those syzcalls are used to emit USB
    packets through a custom GadgetFS-like interface (currently exposed at
    /sys/kernel/debug/usb-fuzzer), which requires special kernel patches.
    
    USB fuzzing support is quite basic, as it mostly covers only the USB device
    enumeration process. Even though the syz_usb_ep_write syzcall does allow to
    communicate with USB endpoints after the device has been enumerated, no
    coverage is collected from that code yet.
  7. sys: add USB descriptions

    xairy authored and dvyukov committed Nov 15, 2018
    This commit adds syzkaller descriptions for USB fuzzing. The descriptions in
    vusb.txt are written manually and cover different kinds of USB descriptors.
    The descriptions in init_vusb_ids.go are generated automanitally by the
    syz-usbgen tool and contain the vendor, device and some other IDs that
    map to different USB drivers.
Commits on Apr 10, 2019
  1. syz-ci: stricter verification of instance names

    dvyukov committed Apr 10, 2019
  2. dashboard/app: stricter check on namespace names

    dvyukov committed Apr 10, 2019
    Check that namespaces don't contain bad chars.
  3. dashboard/app: fix login redirects

    dvyukov committed Apr 10, 2019
    Login redirects broke because we failed to generate common header.
    This wasn't noticed because we use client redirects
    and there is no easy way to test them.
    Fix redirects and use server redirect and test this behavior.
Commits on Apr 9, 2019
  1. dashboard: disable CONFIG_DEBUG_WX in USB config

    xairy authored and dvyukov committed Apr 9, 2019
    Otherwise we get "Found insecure W+X mapping" due to rodata=n in cmdline.
  2. pkg/report: fix test

    dvyukov committed Apr 9, 2019
  3. pkg/report: add another interesting linux test case

    dvyukov committed Apr 9, 2019
  4. pkg/build: detect "Permission denied" as build error

    dvyukov committed Apr 9, 2019
    This happens when compiler has bad permissions.
Older
You can’t perform that action at this time.