diff options
author | Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> | 2015-08-12 00:22:20 +0200 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-08-17 23:22:15 +0200 |
commit | 28926a0965a943f7c1586342f9482a6e41b4f0c9 (patch) | |
tree | a8c435d7771edfac196c15d10c16fe322e77ef6d /fs/mpage.c | |
parent | Linux 4.2-rc6 (diff) | |
download | linux-28926a0965a943f7c1586342f9482a6e41b4f0c9.tar.xz linux-28926a0965a943f7c1586342f9482a6e41b4f0c9.zip |
dlm: fix connection stealing if using SCTP
When using SCTP and accepting a new connection, DLM currently validates
if the peer trying to connect to it is one of the cluster nodes, but it
doesn't check if it already has a connection to it or not.
If it already had a connection, it will be overwritten, and the new one
will be used for writes, possibly causing the node to leave the cluster
due to communication breakage.
Still, one could DoS the node by attempting N connections and keeping
them open.
As said, but being explicit, both situations are only triggerable from
other cluster nodes, but are doable with only user-level perms.
Signed-off-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/mpage.c')
0 files changed, 0 insertions, 0 deletions