Re: [PATCH] block/compat_ioctl: fix range check in BLKGETSIZE
From: Jens Axboe <axboe@kernel.dk>
Date: 2018-08-02 21:31:58
Also in:
lkml
From: Jens Axboe <axboe@kernel.dk>
Date: 2018-08-02 21:31:58
Also in:
lkml
On 4/6/18 4:23 PM, 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.
Sorry for not getting to this. Applied, thanks. -- Jens Axboe