Skip to content
Tree: 40fa42bc27
Commits on Sep 13, 2019
  1. executor/fuchsia: close vmo handle in syz_mmap.

    mvanotti committed Sep 11, 2019
    This commit fixes a handle leak in syz_mmap. The bug was pointed out by
    mdempsky during a code review.
    The `syz_mmap` function creates a VMO and maps it to a VMAR in the address
    specified by the `syz_mmap` parameters. Once a VMO is mapped to a vmar,
    the handle to the vmo can be closed without problems.
    The new code makes sure that `zx_handle_close(vmo_handle)` gets called before
    the `syz_mmap` function returns.
Commits on Sep 12, 2019
  1. updated fuzzit to v2.4.46

    yevgenypats authored and dvyukov committed Sep 12, 2019
Commits on Sep 11, 2019
  1. executor/fuchsia: don't crash on syz_mmap failure.

    mvanotti committed Aug 30, 2019
    syz_mmap is a pseudo-syscall that can be used by syzkaller in fuzzing
    programs, however, it is also used to setup the environment for
    syz-executor. syz-executor already checks the return value[0] when it is
    used for setting up the environment, so it doesn't make sense for the
    function to crash (most probably, in a fuzzing program it will be called
    with arguments that would make it fail).
    The previous behavior was causing a bunch of "Lost connection to test
    machine" syzkaller crashes which were meaningless. An example of a
    program in which syz_mmap would crash would be any program in which the
    handle to the root vmar is closed before calling syz_mmap.
  2. pkg/ipc: Send output from syz-executor for non-Forkserver oses.

    mvanotti committed Aug 29, 2019
    This change reuses the logic for sending the output back from
    syz-executor to syz-fuzzer that forkserver oses use: reading it
    periodically. This will be useful for debugging issues in Fuchsia that
    does not support forkserver yet.
Commits on Sep 6, 2019
  1. executor/usb: use UTF16 encoding for default string

    xairy committed Sep 6, 2019
    Also respond with lang ID when string #0 is requested.
  2. sys/linux/usb: always provide device string ids

    xairy committed Sep 6, 2019
    This forces the kernel to make a USB string request and select a lang ID
    early during the enumaration stage.
  3. sys/linux/vusb.txt: properly describe interfaces for USB CDC NCM

    xairy committed Sep 5, 2019
    Also rename cdc_ethernet to cdc_ecm.
  4. docs: add another research paper

    dvyukov committed Sep 6, 2019
Commits on Sep 5, 2019
  1. executor: fix sigsegv for default USB string response

    xairy committed Sep 5, 2019
  2. sys/linux/vusb.txt: fix typo in descriptions

    xairy committed Sep 5, 2019
Commits on Sep 4, 2019
  1. tools/syz-usbgen: ignore building keyboard.c

    xairy committed Sep 4, 2019
  2. docs: update USB fuzzing documentation

    xairy committed Sep 3, 2019
  3. sys/linux, dashboard: update USB config

    xairy committed Sep 4, 2019
  4. dashboard/config: improve config generation scripts

    xairy committed Aug 30, 2019
    1. Use MAKE_ARGS var to pass arguments to make.
    2. Pass -m to to avoid calling make without CC.
    3. Make util_add_syzbot_extra_bits() operate on .config.
  5. pkg/compiler: remove fixed TODO (#1376)

    xairy committed Sep 4, 2019
  6. dashboard/app: fix typo and change reporting description

    Zubin Mithra authored and dvyukov committed Sep 3, 2019
    * Fix a typo in mail_bisect_result.txt related to the "syz fix:" line.
    * Improve the description to make it clearer why sending a "syz fix:" is
  7. prog: implemented argument and call priorities

    Veronica Radu authored and dvyukov committed Jul 31, 2019
  8. pkg/report: update ODEBUG warning format

    dvyukov committed Sep 4, 2019
    It seems something has changed in the kernel again...
  9. sys/linux/vusb.txt: fix unused EPSNUM param

    xairy authored and dvyukov committed Sep 3, 2019
Commits on Sep 3, 2019
  1. prog: move all flag mutation logic into flags() (#1362)

    xairy committed Sep 3, 2019
    This makes it a bit easier to understand.
    Also fix an issue with using flag value as bit number.
  2. prog: add implementation for resource centric

    Veronica Radu authored and dvyukov committed Aug 12, 2019
  3. tools/syz-symbolize: fix kernel dir calculation

    dvyukov committed Sep 3, 2019
    syz-symbolize did not use the common mgrconfig logic
    to calculate kernel dirs. Thus KernelBuildSrc ended up empty,
    +dirs were not extended to absolute paths.
    Use the common mgrconfig logic to calculate kernel dirs.
  4. pkg/report: improve USB reports (#1372)

    xairy committed Sep 3, 2019
  5. docs: add CC="$GCC/bin/gcc" to setup_ubuntu-host_qemu-vm_x86-64-kerne…

    ITWOI authored and xairy committed Sep 3, 2019
    … (#1368)
    Use the same GCC version when configuring and building Linux kernel.
Commits on Sep 2, 2019
  1. pkg/build: fix linux make invocation

    dvyukov committed Sep 2, 2019
    -j flag is weird, make fails on -j=N.
  2. pkg/build: make linux builds more deterministic

    dvyukov committed Sep 1, 2019
    Kbuild inserts build timestamp into every build.
    This makes vmlinux change always even if no present.
    Make the build more deterministic.
    We plan to use it for detecting no-op changes during bisection.
    Update #1271
  3. pkg/build: factor out linux make execution

    dvyukov committed Sep 1, 2019
    Remove duplication when calling linux make.
  4. dashboard/app: fix fix bisection tests

    dvyukov committed Sep 1, 2019
    Currently TestBisectFixRetry  fails because it assumes emails
    about crash on ToT are not sent. But we currently send them
    in tests. Make the behavior consistent between tests and prod.
    Update #1371
You can’t perform that action at this time.