All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Christoph Hellwig <hch@lst.de>
Cc: minchan@kernel.org, senozhatsky@chromium.org,
	linux-block@vger.kernel.org,
	syzbot+b8d61a58b7c7ebd2c8e0@syzkaller.appspotmail.com
Subject: Re: [PATCH] block: make bio_check_eod work for zero sized devices
Date: Wed, 24 May 2023 08:19:36 -0600	[thread overview]
Message-ID: <168493797680.546524.7090533632380144712.b4-ty@kernel.dk> (raw)
In-Reply-To: <20230524060538.1593686-1-hch@lst.de>


On Wed, 24 May 2023 08:05:38 +0200, Christoph Hellwig wrote:
> Since the dawn of time bio_check_eod has a check for a non-zero size of
> the device.  This doesn't really make any sense as we never want to send
> I/O to a device that's been set to zero size, or never moved out of that.
> 
> I am a bit surprised we haven't caught this for a long time, but the
> removal of the extra validation inside of zram caused syzbot to trip
> over this issue recently.  I've added a Fixes tag for that commit, but
> the issue really goes back way before git history.
> 
> [...]

Applied, thanks!

[1/1] block: make bio_check_eod work for zero sized devices
      commit: 3eb96946f0be6bf447cbdf219aba22bc42672f92

Best regards,
-- 
Jens Axboe




      reply	other threads:[~2023-05-24 14:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-24  6:05 [PATCH] block: make bio_check_eod work for zero sized devices Christoph Hellwig
2023-05-24 14:19 ` Jens Axboe [this message]

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=168493797680.546524.7090533632380144712.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=hch@lst.de \
    --cc=linux-block@vger.kernel.org \
    --cc=minchan@kernel.org \
    --cc=senozhatsky@chromium.org \
    --cc=syzbot+b8d61a58b7c7ebd2c8e0@syzkaller.appspotmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.