[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165002655078.10530.5825902345538532925.b4-ty@kernel.dk>
Date: Fri, 15 Apr 2022 06:42:30 -0600
From: Jens Axboe <axboe@...nel.dk>
To: khazhy@...gle.com
Cc: linux-kernel@...r.kernel.org, bvanassche@....org,
linux-block@...r.kernel.org
Subject: Re: [PATCH v2] block/compat_ioctl: fix range check in BLKGETSIZE
On Thu, 14 Apr 2022 15:40:56 -0700, Khazhismel Kumykov wrote:
> kernel ulong and compat_ulong_t may not be same width. Use type directly
> to eliminate mismatches.
>
> This would result in truncation rather than EFBIG for 32bit mode for
> large disks.
>
>
> [...]
Applied, thanks!
[1/1] block/compat_ioctl: fix range check in BLKGETSIZE
commit: ccf16413e520164eb718cf8b22a30438da80ff23
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists