Re: [PATCH 1/1] RDMA/core: Don't copy uninitialized stack memory to userspace

From: Gal Pressman
Date: Tue Jun 09 2020 - 05:21:19 EST


On 09/06/2020 11:40, Xidong Wang wrote:
> From: xidongwang <wangxidong_97@xxxxxxx>
>
> ib_uverbs_create_ah() may copy stack allocated
> structs to userspace without initializing all members of these
> structs. Clear out this memory to prevent information leaks.

Which members are not initialized?