Skip to content
Permalink
Tree: 13030ef80c
Commits on Apr 11, 2019
  1. dashboard/config: update usb config

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

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

    xairy authored and dvyukov committed Apr 11, 2019
  4. 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.
  5. 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.
  5. dashboard: add USB cmdline and config

    xairy authored and dvyukov committed Apr 9, 2019
  6. dashboard/app: add new favicon

    dvyukov committed Apr 9, 2019
    Add syzbot favicon and log.
    Authored by Tetsuo Handa.
  7. all: add optional close_fds feature to reproducers

    xairy authored and dvyukov committed Apr 5, 2019
    Instead of always closing open fds (number 3 to 30) after each program,
    add an options called EnableCloseFds. It can be passed to syz-execprog,
    syz-prog2c and syz-stress via the -enable and -disable flags. Set the
    default value to true. Also minimize C repros over it, except for when
    repeat is enabled.
  8. csource: use /*FOO*/ instead of [[FOO]]

    xairy authored and dvyukov committed Apr 8, 2019
    The latter differently confuses different versions of clang-format.
Commits on Apr 8, 2019
  1. syz-ci: enable bisection debugging

    dvyukov committed Apr 8, 2019
    Temporary enable bisection debugging because there are some unexplainable things happen.
  2. tools/syz-benchcmp: update name of coverage stat

    dvyukov committed Apr 8, 2019
  3. pkg/html: regenerate

    dvyukov committed Apr 8, 2019
  4. dashboard/app: split dashboard per-namespace

    dvyukov committed Apr 5, 2019
    We now have too many namespaces and bugs.
    Main page takes infinity to load.
    Also almost nobody is interested in more than 1 namespace.
    So split main page per-namespaces.
Commits on Apr 5, 2019
  1. Fixed a tiny typo (#1114)

    ZHYfeng authored and blackgnezdo committed Apr 5, 2019
  2. dashboard/config: enable POOL_DEBUG on OpenBSD (#1113)

    mptre authored and blackgnezdo committed Apr 5, 2019
    POOL_DEBUG is disabled during release, but we want it unconditionally
    enabled.
  3. dashboard/app: add admin page

    dvyukov committed Apr 5, 2019
    Add /admin page and move logs, jobs, manager onto it.
    The main page is too overloaded and takes too long to load.
    We need to start splitting it. This is a first step.
  4. pkg/host: move kallsyms parsing test to host_linux_test.go

    xairy authored and dvyukov committed Apr 5, 2019
  5. pkg/host: enable kallsyms parsing on arm

    Codysseus authored and dvyukov committed Apr 5, 2019
    pkg/host/host_linux.go: Add "arm" to kallsyms support test.
    pkg/host/host_test.go: TestKallsymsParse(): Add entry to test arm kallsyms parsing support.
  6. sys/openbsd: add pci descriptions

    mptre authored and dvyukov committed Apr 4, 2019
  7. pkg/report: refine hung task processing for v4.15

    dvyukov committed Apr 5, 2019
  8. pkg/report: add a test for .PID removal

    dvyukov committed Apr 5, 2019
  9. pkg/report: remove .PID from syz-executor

    dvyukov committed Apr 5, 2019
    pkg/ipc changed format of binaries, but pkg/report wasn't updated.
    Update pkg/report for the new format.
  10. pkg/build: extract first build error instead of last

    dvyukov committed Apr 3, 2019
    The first error is usually more informative and significant.
    Extract first error instead of last.
Commits on Apr 4, 2019
  1. sys/targets: fix arm target compiler prefix

    Codysseus authored and dvyukov committed Apr 4, 2019
    sys/targets/targets.go: Change 'arm-linux-gnueabihf-' to 'arm-linux-gnueabi-' in the arm target since target ISA is armv6 and armhf is armv7+.
  2. host: add kallsyms parsing tests

    xairy authored and dvyukov committed Apr 3, 2019
    Start with a few simple tests that can be extended when needed.
Commits on Apr 3, 2019
  1. executor: move syz_execute_func after os imports. (#1107)

    mvanotti authored and flowerhack committed Apr 3, 2019
    This commit moves the definition of the `syz_execute_func` after the
    block of code that imports all the OS specific common headers.
    
    This is required because after commit
    dfd3394 `syz_execute_func` started
    using the `NONFAILING` macro, which is defined in those header files for
    each OS.
    
    I also ran `make generate`.
    
    TEST=I only tested that the executor works for Fuchsia with:
    
    ```shell
    $ make executor TARGETOS=fuchsia TARGETARCH=amd64 SOURCEDIR=~/fuchsia
    ```
  2. executor: don't fallthrough in switches in fuchsia (#1103)

    mvanotti authored and flowerhack committed Apr 3, 2019
    This commit modifies the common_fuchsia.h file changing the behavior of
    the `syz_future_time function`. Before, the function used to have a switch
    case that would fallthrough, making it always set the delta_ms to 10000.
    The fix is to add a `break;` statement after each switch case.
Older
You can’t perform that action at this time.