stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net/smc: mark as BROKEN due to remote memory exposure
@ 2017-05-10  7:26 Christoph Hellwig
  2017-05-11 14:57 ` Bart Van Assche
  0 siblings, 1 reply; 28+ messages in thread
From: Christoph Hellwig @ 2017-05-10  7:26 UTC (permalink / raw)
  To: davem; +Cc: ubraun, netdev, linux-rdma, stable

The driver has a lot of quality issues due to the lack of RDMA-side
review, and explicitly bypasses APIs to register all memory once a
connection is made, and thus allows remote access to memoery.

Mark it as broken until at least that part is fixed.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: stable@vger.kernel.org

---
 net/smc/Kconfig | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/net/smc/Kconfig b/net/smc/Kconfig
index c717ef0896aa..fe6b78bc515f 100644
--- a/net/smc/Kconfig
+++ b/net/smc/Kconfig
@@ -1,6 +1,6 @@
 config SMC
 	tristate "SMC socket protocol family"
-	depends on INET && INFINIBAND
+	depends on INET && INFINIBAND && BROKEN
 	---help---
 	  SMC-R provides a "sockets over RDMA" solution making use of
 	  RDMA over Converged Ethernet (RoCE) technology to upgrade
@@ -8,6 +8,10 @@ config SMC
 	  The Linux implementation of the SMC-R solution is designed as
 	  a separate socket family SMC.
 
+	  Warning: SMC will expose all memory for remote reads and writes
+	  once a connection is established.  Don't enable this option except
+	  for tightly controlled lab environment.
+
 	  Select this option if you want to run SMC socket applications
 
 config SMC_DIAG
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2017-05-18  4:22 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-10  7:26 [PATCH] net/smc: mark as BROKEN due to remote memory exposure Christoph Hellwig
2017-05-11 14:57 ` Bart Van Assche
2017-05-14  5:58   ` Christoph Hellwig
2017-05-14 15:51     ` David Miller
2017-05-14 19:08       ` Bart Van Assche
2017-05-15  0:44         ` David Miller
2017-05-15  1:58           ` Parav Pandit
2017-05-16 15:57           ` Doug Ledford
2017-05-16 16:29             ` David Miller
2017-05-16 16:30               ` Christoph Hellwig
2017-05-16 16:33                 ` David Miller
2017-05-16 16:35                   ` Christoph Hellwig
2017-05-16 16:36                 ` Doug Ledford
2017-05-16 16:41                   ` David Miller
2017-05-16 17:12                     ` Doug Ledford
2017-05-16 16:42               ` Doug Ledford
2017-05-16 16:49                 ` David Miller
2017-05-16 17:20                   ` Doug Ledford
2017-05-16 17:36                     ` David Miller
2017-05-16 18:03                       ` Doug Ledford
2017-05-16 18:52                         ` David Miller
2017-05-16 19:28                           ` Doug Ledford
2017-05-17 20:37                             ` Doug Ledford
2017-05-17 22:37                               ` Parav Pandit
2017-05-18  0:07                                 ` Doug Ledford
2017-05-18  4:22                                   ` Leon Romanovsky
2017-05-15  6:41       ` Sagi Grimberg
2017-05-15  7:18       ` Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).