Re: [PATCH v2] block/compat_ioctl: fix range check in BLKGETSIZE

From: Jens Axboe
Date: Fri Apr 15 2022 - 08:42:36 EST


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