Re: [PATCH] block: make bio_check_eod work for zero sized devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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






[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux