lkml.org 
[lkml]   [2024]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] block: fix overflow in blk_ioctl_discard()
Date

On Fri, 29 Mar 2024 09:23:19 +0800, linan666@huaweicloud.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




\
 
 \ /
  Last update: 2024-05-27 16:19    [W:0.038 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site