Patch "net/smc: Add warning about remote memory exposure" has been added to the 4.11-stable tree
This is a note to let you know that I've just added the patch titled
net/smc: Add warning about remote memory exposure
to the 4.11-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
net-smc-add-warning-about-remote-memory-exposure.patch
and it can be found in the queue-4.11 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From foo@baz Wed May 31 09:13:10 JST 2017
From: Christoph Hellwig <[email protected]>
Date: Tue, 16 May 2017 09:51:38 +0300
Subject: net/smc: Add warning about remote memory exposure
From: Christoph Hellwig <[email protected]>
[ Upstream commit 19a0f7e37c0761a0a1cbf550705a6063c9675223 ]
The driver explicitly bypasses APIs to register all memory once a connection is made, and thus allows remote access to memory.
--- net/smc/Kconfig | 4 ++++ 1 file changed, 4 insertions(+)
net/smc/Kconfig +4 -0
@@ -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
Patches currently in stable-queue which might be from [email protected] are
queue-4.11/net-smc-add-warning-about-remote-memory-exposure.patch