Andrew Donnellan
d52eff2843
sys/targets: Disable PIE/ASLR when building tests
...
Due to issues with ASLR + ASan on ppc64le (see #1446 ), add the -no-pie
flag to the test target so tests will pass.
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
2019-10-10 10:21:51 +02:00
Kamil Rytarowski
c4b9981b5f
Disable checkFeature[FeatureNetworkInjection] for NetBSD
...
There is a problem with the image. Until the problem will be resolved,
disable the feature as it causes premature death of the syzbot setup.
2019-10-09 19:16:07 +02:00
Eric Biggers
312c6a5a73
sys/linux/init_alg.go: add new algorithms
...
- Add essiv (new in v5.4)
- Add xxhash64 (new in v5.3)
2019-10-09 09:06:58 +02:00
Dmitry Vyukov
b1ebbfef72
pkg/report: fix up test
2019-10-08 16:36:45 +02:00
Dmitry Vyukov
2ab6c4a457
sys/linux: improve i2c descriptions a bit
2019-10-08 16:06:26 +02:00
Dmitry Vyukov
ec93713427
pkg/report: ignore mutex_slowlock in task hung reports
2019-10-08 16:06:25 +02:00
Marco Elver
137e37cac2
Change KCSAN info file to debugfs
2019-10-08 15:04:54 +02:00
Dmitry Vyukov
64612bfd3c
tools/syz-reprolist: add utility to extract list of reproducers
2019-10-08 12:39:23 +02:00
Dmitry Vyukov
0f33548a39
tools/syz-trace2syz: disable golangci-lint
...
A new version of golangci-lint started failing trying to build syz-trace2syz
(because we already ignore some files).
Ignore the rest of files to fix the failure.
2019-10-08 12:31:54 +02:00
Dmitry Vyukov
28ac6e6496
pkg/report: fix ODEBUG parsing for v4.4
2019-10-07 09:37:24 +02:00
Marco Elver
f3f7d9c8c3
Update syzbot.md
2019-10-04 19:09:00 +02:00
Dmitry Vyukov
3e1e84d48e
dashboard/app: refactor few things related to fix bisections
2019-10-04 18:02:27 +02:00
zsm-oss
671dd8203a
Merge pull request #1383 from zsm-oss/show-bisections
...
dashboard/app: show fix bisections on bug web UI
2019-10-04 17:51:16 +02:00
Marco Elver
69b8b8fa36
pkg/report: Fix formatting
2019-10-04 16:46:37 +02:00
Marco Elver
c86336cf24
pkt/report: Shorten KCSAN report titles
2019-10-04 15:52:40 +02:00
Marco Elver
b2f369e56e
executor, host, csource: Add support to enable KCSAN
...
By default, the current KCSAN .config does not enable KCSAN during boot,
since we encounter races during boot which would prevent syzkaller from
ever executing.
This adds support to detect if KCSAN is available, and enables it on the
fuzzer host.
2019-10-04 13:44:09 +02:00
Veronica Radu
fc17ba4941
prog: add size checks for const arguments during hints mutation
...
Update #507
2019-10-03 10:57:55 +02:00
Veronica Radu
2e29b53400
prog: fix plain priority for integers
2019-10-02 11:14:42 +02:00
Andrey Konovalov
b7a87a83f8
dashboard, sys/linux: update USB configs
2019-10-01 14:00:17 +02:00
Veronica Radu
9d33246a91
sys/linux: add new syscall descriptions for devio and usbmon
...
Update #533
2019-10-01 13:55:20 +02:00
Eric Biggers
c7a4fb9986
sys/linux/dev_binder.txt: also support real-world binder device names
...
It was reported that binder isn't covered when using syzkaller on a real
Android device, since the binder device names are different. Update the
descriptions to know about the real-world device names too.
2019-09-30 12:36:26 +02:00
Anton Lindqvist
c1ad544100
docs/openbsd: update found bugs.md
2019-09-29 09:55:05 +02:00
Anton Lindqvist
eb6b9855e0
pkg/report: improve uvm_fault reports on OpenBSD
...
Some reports[1] does not include a symbol but rather an address in the
"Stopped at" line. There's unfortunately no useful context to add to the
title so make them generic instead.
[1] https://syzkaller.appspot.com/bug?id=3e44d0b128fd8d6826e4d0044baadcfc02ba7125
2019-09-28 12:05:58 +02:00
Dmitry Vyukov
d8074e0bb9
sys/linux: add new pidfd syscalls
2019-09-27 13:35:42 +02:00
Anton Lindqvist
2f1548bc77
pkg/report: normalize attempt to execute user address reports on OpenBSD ( #1431 )
2019-09-26 12:52:00 -07:00
Andrey Konovalov
24d405a355
pkg/report: improve USB reports
2019-09-25 18:48:23 +02:00
Andrey Konovalov
a3355dba73
pkg/report: improve USB reports
...
tty_unregister_device looks generic enough, add to ignore list.
2019-09-25 14:55:31 +02:00
Veronica Radu
e38a6630eb
syz-manager: fix unwanted syscalls that were enabled
...
Update #1424
2019-09-24 20:13:37 +02:00
Andrey Konovalov
38634e3316
sys/linux: add more USB runtests
2019-09-24 16:42:10 +02:00
Andrey Konovalov
0942eab8c6
pkg/report: improve USB report titles
2019-09-24 15:15:04 +02:00
Veronica Radu
2cad5aaffa
syz-fuzzer: add program priority in corpus
...
Update #534
2019-09-24 11:26:49 +02:00
Zubin Mithra
f8368f999a
dashboard/app: no reporting fix bisection results for already fixed bugs
...
* Modify pollCompletedJobs(); for bugs that are already marked as fixed,
invalid or duplicate do not report bisection results.
* Add TestNotReportingAlreadyFixed() to test that reporting does not
occur for already fixed bugs.
2019-09-24 10:48:29 +02:00
Andrey Konovalov
c9f1048063
sys/linux: add USB hiddev runtest
2019-09-24 10:45:51 +02:00
Andrey Konovalov
792da3da86
executor, csource: adjust syz_open_dev$hiddev timeout
...
Looks like opening hiddev can take up to ~100 ms.
2019-09-24 10:45:51 +02:00
Andrey Konovalov
5ff4e14cb1
pkg/runtest: allow empty signal
2019-09-24 10:45:51 +02:00
Anton Lindqvist
aac00cc3db
pkg/vcs: handle git commits without a body
...
OpenBSD uses cvs and does not enforce the standard Git convention for
commit messages of putting a summary followed by a new line and body.
If such commit[1] contains a `Reported-by` header, it's currently not
detected. Instead, if the body is empty try to extract data from the
commit summary.
[1] bdbfbec5ce
2019-09-24 10:43:57 +02:00
Mark Johnston
83620b5b4e
pkg/report: deduplicate some common FreeBSD panics
2019-09-24 10:42:43 +02:00
Marco Elver
c68252d224
dashboard/config: Add KCSAN config generator and config
2019-09-23 18:02:39 +02:00
Andrey Konovalov
2b854f96b1
tools: add syz-expand
...
The syz-expand tools allows to parse a program and print it including all
the default values. This is mainly useful for debugging, like doing manual
program modifications while trying to come up with a reproducer for some
particular kernel behavior.
2019-09-23 17:13:23 +02:00
Veronica Radu
1e9788a0d9
prog: add insertionPoint param in generateCall func
2019-09-23 15:35:26 +02:00
Veronica Radu
8491e03fb2
prog: add better call-to-call priority calculation
...
Update #1380
2019-09-23 15:35:26 +02:00
Veronica Radu
d2db54aab7
tools/syz-showprio: add a tool to visualize the priority table
2019-09-23 15:35:26 +02:00
Veronica Radu
5a7028d005
pkg/db: moved ReadCorpus function to avoid duplicate code
2019-09-23 15:35:26 +02:00
Veronica Radu
bf7e28925b
prog: use type size when generating/mutating ints
...
Update #1381
2019-09-23 15:33:19 +02:00
Dmitry Vyukov
d96e88f320
pkg/report: add a test case which we mis-handle now
2019-09-20 09:37:36 +02:00
Andrey Konovalov
4d3ae0b784
executor: handle USB IN requests with wLength == 0
2019-09-19 19:31:56 +02:00
Andrey Konovalov
0c00210ff3
executor: always provide DEVICE_QUALIFIER USB descriptor
2019-09-19 19:31:56 +02:00
Dmitry Vyukov
b4680d8341
dashboard/app: fix error wrapping
...
The current code does not do what it's supposed to do.
Converting error to error is always true.
Properly wrap errors.
2019-09-19 16:47:24 +02:00
Andrey Konovalov
2d1b3704eb
docs/linux: update USB instructions
2019-09-19 16:20:57 +02:00
Andrey Konovalov
532aca508a
tools/syz-usbgen: handle USB_DT_DEVICE_QUALIFIER in keyboard.c
2019-09-19 16:20:57 +02:00