[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <171206541390.1142385.3894757499421059664.b4-ty@kernel.dk>
Date: Tue, 02 Apr 2024 07:43:33 -0600
From: Jens Axboe <axboe@...nel.dk>
To: linan666@...weicloud.com
Cc: hch@....de, linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
yukuai3@...wei.com, yi.zhang@...wei.com, houtao1@...wei.com,
yangerkun@...wei.com
Subject: Re: [PATCH] block: fix overflow in blk_ioctl_discard()
On Fri, 29 Mar 2024 09:23:19 +0800, linan666@...weicloud.com wrote:
> There is no check for overflow of 'start + len' in blk_ioctl_discard().
> Hung task occurs if submit an discard ioctl with the following param:
> start = 0x80000000000ff000, len = 0x8000000000fff000;
> Add the overflow validation now.
>
>
Applied, thanks!
[1/1] block: fix overflow in blk_ioctl_discard()
commit: 22d24a544b0d49bbcbd61c8c0eaf77d3c9297155
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists