OSDN Git Service

RDMA/ucm: Mark UCM interface as BROKEN
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 23 May 2018 05:22:11 +0000 (08:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2018 09:31:46 +0000 (11:31 +0200)
commit28db2b23f44c4a15e431327e488fc0680c4aceb0
tree553a253ff68564141ef9a203bb63142e0986485d
parenta4ae35d6789d187e2763db87fee4d118c576f907
RDMA/ucm: Mark UCM interface as BROKEN

commit 7a8690ed6f5346f6738971892205e91d39b6b901 upstream.

In commit 357d23c811a7 ("Remove the obsolete libibcm library")
in rdma-core [1], we removed obsolete library which used the
/dev/infiniband/ucmX interface.

Following multiple syzkaller reports about non-sanitized
user input in the UCMA module, the short audit reveals the same
issues in UCM module too.

It is better to disable this interface in the kernel,
before syzkaller team invests time and energy to harden
this unused interface.

[1] https://github.com/linux-rdma/rdma-core/pull/279

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/Kconfig
drivers/infiniband/core/Makefile