linux/drivers/infiniband
Israel Rukshin 0c3e32230b IB/iser: Fix possible NULL deref at iser_inv_desc()
[ Upstream commit 65f07f5a09 ]

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: 59caaed7a7 ("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>
2019-11-20 18:47:53 +01:00
..
core RDMA/core: Follow correct unregister order between sysfs and cgroup 2019-11-20 18:46:03 +01:00
hw RDMA: Fix dependencies for rdma_user_mmap_io 2019-11-20 18:47:40 +01:00
sw IB/rxe: fixes for rdma read retry 2019-11-20 18:45:44 +01:00
ulp IB/iser: Fix possible NULL deref at iser_inv_desc() 2019-11-20 18:47:53 +01:00
Kconfig IB/ucm: fix UCM link error 2018-08-21 16:56:32 -06:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00