]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
RDMA/ucm: Mark UCM interface as BROKEN
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 23 May 2018 05:22:11 +0000 (08:22 +0300)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Mon, 14 Jan 2019 09:28:55 +0000 (09:28 +0000)
commit4e5686e1b836df4c79a5aaecbea8f474b9f2cd37
tree84ab2b878b5e67fad036bef694ca7e2dcb4b519a
parentf93d77d7f75bb66da9bda0c21b303ca9f0ee9f96
RDMA/ucm: Mark UCM interface as BROKEN

BugLink: http://bugs.launchpad.net/bugs/1810554
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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/infiniband/Kconfig
drivers/infiniband/core/Makefile