From: Josef Bacik <josef@toxicpanda.com>
To: Daniel Xu <dxu@dxuuu.xyz>, linux-btrfs@vger.kernel.org
Cc: kernel-team@fb.com, quwenruo.btrfs@gmx.com, Qu Wenruo <wqu@suse.com>
Subject: Re: [PATCH v2] btrfs: Fix divide by zero
Date: Wed, 14 Oct 2020 16:44:42 -0400 [thread overview]
Message-ID: <59853d19-2ead-9ac9-33ea-06f88218374d@toxicpanda.com> (raw)
In-Reply-To: <20201009010910.270794-1-dxu@dxuuu.xyz>
On 10/8/20 9:09 PM, Daniel Xu wrote:
> If there's no parity and num_stripes < ncopies, an btrfs image can
> trigger a divide by zero in calc_stripe_length().
>
> The image (see link) was generated through fuzzing.
>
> Reviewed-by: Qu Wenruo <wqu@suse.com>
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=209587
> Signed-off-by: Daniel Xu <dxu@dxuuu.xyz>
>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Thanks,
Josef
next prev parent reply other threads:[~2020-10-14 20:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-09 1:09 [PATCH v2] btrfs: Fix divide by zero Daniel Xu
2020-10-14 20:26 ` Daniel Xu
2020-10-14 20:44 ` Josef Bacik [this message]
2020-10-16 14:33 ` David Sterba
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=59853d19-2ead-9ac9-33ea-06f88218374d@toxicpanda.com \
--to=josef@toxicpanda.com \
--cc=dxu@dxuuu.xyz \
--cc=kernel-team@fb.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=quwenruo.btrfs@gmx.com \
--cc=wqu@suse.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