Commit b9bae758 authored by Leon Romanovsky's avatar Leon Romanovsky Committed by Ben Hutchings
Browse files

RDMA/ucma: Check that device exists prior to accessing it



commit c8d3bcbf upstream.

Ensure that device exists prior to accessing its properties.

Reported-by: default avatar <syzbot+71655d44855ac3e76366@syzkaller.appspotmail.com>
Fixes: 75216638 ("RDMA/cma: Export rdma cm interface to userspace")
Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent bf66bb07
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment