From: Li Qiang <liq3ea@gmail.com>
To: Alexander Bulekov <alxndr@bu.edu>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
"Thomas Huth" <thuth@redhat.com>,
"Daniel P. Berrange" <berrange@redhat.com>,
"Richard W.M. Jones" <rjones@redhat.com>,
0ops@0ops.net, "Qemu Developers" <qemu-devel@nongnu.org>,
"Philippe Mathieu-Daudé" <f4bug@amsat.org>,
"Darren Kenny" <darren.kenny@oracle.com>,
bsd@redhat.com, "Stefan Hajnoczi" <stefanha@redhat.com>,
andrey.shinkevich@virtuozzo.com,
"Paolo Bonzini" <pbonzini@redhat.com>,
dimastep@yandex-team.ru
Subject: Re: Ramping up Continuous Fuzzing of Virtual Devices in QEMU
Date: Sat, 24 Oct 2020 11:10:42 +0800 [thread overview]
Message-ID: <CAKXe6SJOqPZ0EOeGwzoEX8fe6qNGBT+AAezL4mfvbcfynOqYnQ@mail.gmail.com> (raw)
In-Reply-To: <20201022161938.7clfymu6a3zl46s2@mozz.bu.edu>
Alexander Bulekov <alxndr@bu.edu> 于2020年10月23日周五 上午12:20写道:
>
> Hello,
> QEMU was accepted into Google's oss-fuzz continuous-fuzzing platform [1]
> earlier this year. The fuzzers currently running on oss-fuzz are based on my
> 2019 Google Summer of Code Project, which leveraged libfuzzer, qtest and libqos
> to provide a framework for writing virtual-device fuzzers. At the moment, there
> are a handful of fuzzers upstream and running on oss-fuzz(located in
> tests/qtest/fuzz/). They fuzz only a few devices and serve mostly as
> examples.
>
> If everything goes well, soon a generic fuzzer [2] will land upstream, which
> allows us to fuzz many configurations of QEMU, without any device-specific
> code. To date this fuzzer has led to ~50 bug reports on launchpad. Once the
> generic-fuzzer lands upstream, OSS-Fuzz will automatically start fuzzing a
> bunch [3] of fuzzer configurations, and it is likely to find bugs. Others will
> also be able to send simple patches to add additional device configurations for
> fuzzing.
>
> The oss-fuzz process looks roughly like this:
> 1. oss-fuzz fuzzes QEMU
> 2. When oss-fuzz finds a bug, it reports it to a few [4] people that have
> access to reports and reproducers.
> 3. If a fix is merged upstream, oss-fuzz will figure this out and mark the
> bug as fixed and make the report public 30 days later.
> 3. After 90 days the bug(fixed or not) becomes public, so anyone can view
> it here https://bugs.chromium.org/p/oss-fuzz/issues/list
>
> The oss-fuzz reports look like this:
> https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=23701&q=qemu&can=2
>
> This means that when oss-fuzz find new bugs, the relevant developers do not
> know about them unless someone with access files a separate report to the
> list/launchpad. So far this hasn't been a problem, since oss-fuzz has only been
> running some small example fuzzers. Once [2] lands upstream, we should
> see a significant uptick in oss-fuzz reports, and I hope that we can develop a
> process to ensure these bugs are properly dealt with. One option we have is to
> make the reports public immediately and send notifications to
> qemu-devel. This is the approach taken by some other projects on
> oss-fuzz, such as LLVM. Though its not on oss-fuzz, bugs found by
> syzkaller in the kernel, are also automatically sent to a public list.
> The question is:
>
> What approach should we take for dealing with bugs found on oss-fuzz?
>
Hi Alex,
I prefer to send these bugs to public list such as qemu-devel.
There are lots of low impact bugs so no need to prepare a private
bugtracker for the little important issues.
Also the maintainer's decision may take a long time.
For the public issues, the security engineer, maintainer and volunteer
can both see them and point out its
impact more quickly.
> [1] https://github.com/google/oss-fuzz
> [2] https://lists.gnu.org/archive/html/qemu-devel/2020-10/msg06331.html
> [3] https://lists.gnu.org/archive/html/qemu-devel/2020-10/msg06345.html
> [4] https://github.com/google/oss-fuzz/blob/fbf916ce14952ba192e58fe8550096b868fcf62d/projects/qemu/project.yaml#L4
BTW, is there any condition to join this lists?
I'm quite interested to fix the qemu issues.
Thanks,
Li Qiang
>
> For further reference, the vast majority of these bugs, were found with the
> generic-fuzzer:
> https://bugs.launchpad.net/~a1xndr/+bugs
>
> There are more that I haven't yet had time to write reports for.
> Thank you
> -Alex
next prev parent reply other threads:[~2020-10-24 3:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-22 16:19 Ramping up Continuous Fuzzing of Virtual Devices in QEMU Alexander Bulekov
2020-10-22 16:24 ` Alexander Bulekov
2020-10-22 16:39 ` Daniel P. Berrangé
2020-10-22 18:07 ` Alexander Bulekov
2020-10-22 21:17 ` Philippe Mathieu-Daudé
2020-11-04 10:30 ` P J P
2020-11-04 15:25 ` Alexander Bulekov
2020-11-04 15:46 ` Peter Maydell
2020-11-04 16:52 ` Alexander Bulekov
2020-10-24 3:10 ` Li Qiang [this message]
2020-10-26 16:17 ` Alexander Bulekov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKXe6SJOqPZ0EOeGwzoEX8fe6qNGBT+AAezL4mfvbcfynOqYnQ@mail.gmail.com \
--to=liq3ea@gmail.com \
--cc=0ops@0ops.net \
--cc=alxndr@bu.edu \
--cc=andrey.shinkevich@virtuozzo.com \
--cc=berrange@redhat.com \
--cc=bsd@redhat.com \
--cc=darren.kenny@oracle.com \
--cc=dimastep@yandex-team.ru \
--cc=f4bug@amsat.org \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=rjones@redhat.com \
--cc=stefanha@redhat.com \
--cc=thuth@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).