Re: [PATCH] drivers/infiniband: copy userspace arrays safely

From: Leon Romanovsky
Date: Mon Nov 13 2023 - 03:39:11 EST



On Thu, 02 Nov 2023 20:13:09 +0100, Philipp Stanner wrote:
> Currently, memdup_user() is utilized at two positions to copy userspace
> arrays. This is done without overflow checks.
>
> Use the new wrapper memdup_array_user() to copy the arrays more safely.
>
>

Applied, thanks!

[1/1] drivers/infiniband: copy userspace arrays safely
https://git.kernel.org/rdma/rdma/c/c170d4ff21a8a5

Best regards,
--
Leon Romanovsky <leon@xxxxxxxxxx>