[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169986474464.283834.3237822817785833042.b4-ty@kernel.org>
Date: Mon, 13 Nov 2023 10:39:04 +0200
From: Leon Romanovsky <leon@...nel.org>
To: Dennis Dalessandro <dennis.dalessandro@...nelisnetworks.com>,
Jason Gunthorpe <jgg@...pe.ca>,
Philipp Stanner <pstanner@...hat.com>
Cc: linux-rdma@...r.kernel.org, linux-kernel@...r.kernel.org,
Dave Airlie <airlied@...hat.com>
Subject: Re: [PATCH] drivers/infiniband: copy userspace arrays safely
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@...nel.org>
Powered by blists - more mailing lists