From: Alexander Bulekov <alxndr@bu.edu>
To: "Philippe Mathieu-Daudé" <f4bug@amsat.org>
Cc: Bin Meng <bin.meng@windriver.com>,
Peter Maydell <peter.maydell@linaro.org>,
qemu-arm@nongnu.org, qemu-devel@nongnu.org,
qemu-block@nongnu.org
Subject: Re: [PATCH-for-6.1 v2 0/2] hw/sd/sdcard: Fix assertion accessing out-of-range addresses with CMD30
Date: Tue, 3 Aug 2021 09:46:37 -0400 [thread overview]
Message-ID: <20210803134637.nfrjsnhjnagjt6e7@mozz.bu.edu> (raw)
In-Reply-To: <20210802235524.3417739-1-f4bug@amsat.org>
On 210803 0155, Philippe Mathieu-Daudé wrote:
> Fix an assertion reported by OSS-Fuzz, add corresponding qtest.
>
> The change is (now) simple enough for the next rc.
>
> Since v1:
> - Simplified/corrected following Peter's suggestion
>
> Philippe Mathieu-Daudé (2):
> hw/sd/sdcard: Document out-of-range addresses for SEND_WRITE_PROT
> hw/sd/sdcard: Fix assertion accessing out-of-range addresses with
> CMD30
>
Fuzzed this for 20 mins, based on the OSS-Fuzz corpus, without finding
anything.
./qemu-fuzz-i386 --fuzz-target=generic-fuzz-sdhci-v3 -jobs=4 -workers=4 \
-focus_function=sd_wpbits \
~/oss-fuzz/qemu_qemu-fuzz-i386-target-generic-fuzz-sdhci-v3/
Tested-by: Alexander Bulekov <alxndr@bu.edu>
Thanks!
> hw/sd/sd.c | 9 ++++++++-
> tests/qtest/fuzz-sdcard-test.c | 36 ++++++++++++++++++++++++++++++++++
> 2 files changed, 44 insertions(+), 1 deletion(-)
>
> --
> 2.31.1
>
next prev parent reply other threads:[~2021-08-03 13:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-02 23:55 [PATCH-for-6.1 v2 0/2] hw/sd/sdcard: Fix assertion accessing out-of-range addresses with CMD30 Philippe Mathieu-Daudé
2021-08-02 23:55 ` [PATCH-for-6.1 v2 1/2] hw/sd/sdcard: Document out-of-range addresses for SEND_WRITE_PROT Philippe Mathieu-Daudé
2021-08-03 9:02 ` Peter Maydell
2021-08-02 23:55 ` [PATCH-for-6.1 v2 2/2] hw/sd/sdcard: Fix assertion accessing out-of-range addresses with CMD30 Philippe Mathieu-Daudé
2021-08-03 9:02 ` Peter Maydell
2021-08-03 13:46 ` Alexander Bulekov [this message]
2021-08-03 17:31 ` [PATCH-for-6.1 v2 0/2] " Philippe Mathieu-Daudé
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=20210803134637.nfrjsnhjnagjt6e7@mozz.bu.edu \
--to=alxndr@bu.edu \
--cc=bin.meng@windriver.com \
--cc=f4bug@amsat.org \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-block@nongnu.org \
--cc=qemu-devel@nongnu.org \
/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).