diff options
author | Israel Rukshin <israelr@mellanox.com> | 2018-09-26 09:44:18 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-25 09:53:09 +0100 |
commit | 6988feec3da07e2c67a4ef8ab015fab23ea33c6e (patch) | |
tree | 1d6e28af430511db6585831a6d33d376c54f718b /mm | |
parent | c0c3f27fe1af279590da27cc2b816fb4e7e8ccbb (diff) |
IB/iser: Fix possible NULL deref at iser_inv_desc()
[ Upstream commit 65f07f5a09dacf3b60619f196f096ea3671a5eda ]
In case target remote invalidates bogus rkey and signature is not used,
pi_ctx is NULL deref.
The commit also fails the connection on bogus remote invalidation.
Fixes: 59caaed7a72a ("IB/iser: Support the remote invalidation exception")
Signed-off-by: Israel Rukshin <israelr@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions