[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164978202800.150007.4276154311788541180.b4-ty@kernel.dk>
Date: Tue, 12 Apr 2022 10:47:08 -0600
From: Jens Axboe <axboe@...nel.dk>
To: dylany@...com, io-uring@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, kernel-team@...com,
asml.silence@...il.com
Subject: Re: [PATCH 0/4] io_uring: verify that reserved fields are 0
On Tue, 12 Apr 2022 09:30:38 -0700, Dylan Yudaken wrote:
> A few reserved fields are not verified to be 0. In preparation for possibly using these fields later we should verify that they are passed as 0.
>
> One extra field I do not have confidence in verifying is up.nr in io_register_files_update(). Should this also be checked to be zero?
>
> Patch 1 in this series just moves a validation out of __io_register_rsrc_update as it was duplicated
> Patch 2-4 add verifications for reserved fields
>
> [...]
Applied, thanks!
[1/4] io_uring: move io_uring_rsrc_update2 validation
commit: 565c5e616e8061b40a2e1d786c418a7ac3503a8d
[2/4] io_uring: verify that resv2 is 0 in io_uring_rsrc_update2
commit: d8a3ba9c143bf89c032deced8a686ffa53b46098
[3/4] io_uring: verify resv is 0 in ringfd register/unregister
commit: 6fb53cf8ff2c4713247df523404d24f466b98f52
[4/4] io_uring: verify pad field is 0 in io_get_ext_arg
commit: d2347b9695dafe5c388a5f9aeb70e27a7a4d29cf
Best regards,
--
Jens Axboe
Powered by blists - more mailing lists