lkml.org 
[lkml]   [2023]   [Nov]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] drivers/infiniband: copy userspace arrays safely
Date

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@kernel.org>

\
 
 \ /
  Last update: 2023-11-20 13:57    [W:0.034 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site