diff options
author | Daniel Jurgens | 2017-12-05 21:30:02 +0100 |
---|---|---|
committer | Doug Ledford | 2017-12-07 21:28:06 +0100 |
commit | 0fbe8f575b15585eec3326e43708fbbc024e8486 (patch) | |
tree | 23d4180b82f69452cfe13f2d3c7ddb7d339975a4 /net/netlabel/netlabel_addrlist.c | |
parent | IB/core: Bound check alternate path port number (diff) | |
download | kernel-qcow2-linux-0fbe8f575b15585eec3326e43708fbbc024e8486.tar.gz kernel-qcow2-linux-0fbe8f575b15585eec3326e43708fbbc024e8486.tar.xz kernel-qcow2-linux-0fbe8f575b15585eec3326e43708fbbc024e8486.zip |
IB/core: Don't enforce PKey security on SMI MADs
Per the infiniband spec an SMI MAD can have any PKey. Checking the pkey
on SMI MADs is not necessary, and it seems that some older adapters
using the mthca driver don't follow the convention of using the default
PKey, resulting in false denials, or errors querying the PKey cache.
SMI MAD security is still enforced, only agents allowed to manage the
subnet are able to receive or send SMI MADs.
Reported-by: Chris Blake <chrisrblake93@gmail.com>
Cc: <stable@vger.kernel.org> # v4.12
Fixes: 47a2b338fe63 ("IB/core: Enforce security on management datagrams")
Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'net/netlabel/netlabel_addrlist.c')
0 files changed, 0 insertions, 0 deletions