aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core/ucma.c
diff options
context:
space:
mode:
authorHaggai Eran <haggaie@mellanox.com>2015-09-21 16:02:02 +0300
committerDoug Ledford <dledford@redhat.com>2015-10-20 13:13:42 -0400
commitb3b51f9f6f5d91cd16afaed0c22df2c56ed5f92e (patch)
treec1934c46d632a5b5b27fae8525c054770ea552f5 /drivers/infiniband/core/ucma.c
parentIB/core: Fix use after free of ifa (diff)
downloadlinux-dev-b3b51f9f6f5d91cd16afaed0c22df2c56ed5f92e.tar.xz
linux-dev-b3b51f9f6f5d91cd16afaed0c22df2c56ed5f92e.zip
IB/cma: Potential NULL dereference in cma_id_from_event
If the lookup of a listening ID failed for an AF_IB request, the code would try to call dev_put() on a NULL net_dev. Fixes: be688195bd08 ("IB/cma: Fix net_dev reference leak with failed requests") Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Haggai Eran <haggaie@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/core/ucma.c')
0 files changed, 0 insertions, 0 deletions