linux-imx/drivers/infiniband
Leon Romanovsky b9bae75805 RDMA/ucma: Check that device exists prior to accessing it
commit c8d3bcbfc5eab3f01cf373d039af725f3b488813 upstream.

Ensure that device exists prior to accessing its properties.

Reported-by: <syzbot+71655d44855ac3e76366@syzkaller.appspotmail.com>
Fixes: 75216638572f ("RDMA/cma: Export rdma cm interface to userspace")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-06-01 00:30:26 +01:00
..
core RDMA/ucma: Check that device exists prior to accessing it 2018-06-01 00:30:26 +01:00
hw iw_cxgb4: Only validate the MSN for successful completions 2018-03-03 15:50:51 +00:00
ulp IB/srp: Avoid that a cable pull can trigger a kernel crash 2018-02-13 18:32:09 +00:00
Kconfig RDMA: Add netlink infrastructure 2011-05-20 11:46:11 -07:00
Makefile IB/qib: Add new qib driver for QLogic PCIe InfiniBand adapters 2010-05-23 21:44:54 -07:00