Re: [PATCH rdma-rc] RDMA/nldev: Don't expose unsafe global rkey to regular user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 24, 2018 at 11:05:16AM +0200, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> 
> Unsafe global rkey is considered extremely dangerous because it
> exposes memory registered for all memory in the system. Being
> unsafe, accompanied by warning in dmesg, the unsafe_global_rkey
> value should be presented to users with CAP_NET_ADMIN only.
> 
> Cc: <stable@xxxxxxxxxxxxxxx> # 4.16
> Fixes: 29cf1351d450 ("RDMA/nldev: provide detailed PD information")
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
> ---

Applied to for-rc

Thanks,
Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux