Scientific Linux Security Update : rdma on SL6.x i386/x86_64 (20130221)

medium Nessus Plugin ID 65014

Synopsis

The remote Scientific Linux host is missing one or more security updates.

Description

A denial of service flaw was found in the way ibacm managed reference counts for multicast connections. An attacker could send specially crafted multicast packets that would cause the ibacm daemon to crash.
(CVE-2012-4517)

It was found that the ibacm daemon created some files with world-writable permissions. A local attacker could use this flaw to overwrite the contents of the ibacm.log or ibacm.port file, allowing them to mask certain actions from the log or cause ibacm to run on a non-default port. (CVE-2012-4518)

The InfiniBand/iWARP/RDMA stack components have been upgraded to more recent upstream versions.

This update also fixes the following bugs :

- Previously, the 'ibnodes -h' command did not show a proper usage message. With this update the problem is fixed and 'ibnodes -h' now shows the correct usage message.

- Previously, the ibv_devinfo utility erroneously showed iWARP cxgb3 hardware's physical state as invalid even when the device was working. For iWARP hardware, the phys_state field has no meaning. This update patches the utility to not print out anything for this field when the hardware is iWARP hardware.

- Prior to the release of Scientific Linux 6.3, the kernel created the InfiniBand device files in the wrong place and a udev rules file was used to force the devices to be created in the proper place. With the update to 6.3, the kernel was fixed to create the InfiniBand device files in the proper place, and so the udev rules file was removed as no longer being necessary. However, a bug in the kernel device creation meant that, although the devices were now being created in the right place, they had incorrect permissions. Consequently, when users attempted to run an RDMA application as a non-root user, the application failed to get the necessary permissions to use the RDMA device and the application terminated.
This update puts a new udev rules file in place. It no longer attempts to create the InfiniBand devices since they already exist, but it does correct the device permissions on the files.

- Previously, using the 'perfquery -C' command with a host name caused the perfquery utility to become unresponsive. The list of controllers to process was never cleared and the process looped infinitely on a single controller. A patch has been applied to make sure that in the case where the user passes in the -C option, the controller list is cleared out once that controller has been processed. As a result, perfquery now works as expected in the scenario described.

- The OpenSM init script did not handle the case where there were no configuration files under '/etc/rdma/opensm.conf.*'. With this update, the script as been patched and the InfiniBand Subnet Manager, OpenSM, now starts as expected in the scenario described.

This update also adds the following enhancement :

- This update provides an updated mlx4_ib Mellanox driver which includes Single Root I/O Virtualization (SR-IOV) support.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?5711aa05

Plugin Details

Severity: Medium

ID: 65014

File Name: sl_20130221_rdma_on_SL6_x.nasl

Version: 1.8

Type: local

Agent: unix

Published: 3/5/2013

Updated: 1/14/2021

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Vulnerability Information

CPE: p-cpe:/a:fermilab:scientific_linux:ibacm, p-cpe:/a:fermilab:scientific_linux:ibacm-debuginfo, p-cpe:/a:fermilab:scientific_linux:ibacm-devel, p-cpe:/a:fermilab:scientific_linux:ibsim, p-cpe:/a:fermilab:scientific_linux:ibsim-debuginfo, p-cpe:/a:fermilab:scientific_linux:ibutils, p-cpe:/a:fermilab:scientific_linux:ibutils-debuginfo, p-cpe:/a:fermilab:scientific_linux:ibutils-devel, p-cpe:/a:fermilab:scientific_linux:ibutils-libs, p-cpe:/a:fermilab:scientific_linux:infiniband-diags, p-cpe:/a:fermilab:scientific_linux:infiniband-diags-debuginfo, p-cpe:/a:fermilab:scientific_linux:infiniband-diags-devel, p-cpe:/a:fermilab:scientific_linux:infiniband-diags-devel-static, p-cpe:/a:fermilab:scientific_linux:infinipath-psm, p-cpe:/a:fermilab:scientific_linux:infinipath-psm-debuginfo, p-cpe:/a:fermilab:scientific_linux:infinipath-psm-devel, p-cpe:/a:fermilab:scientific_linux:libibmad, p-cpe:/a:fermilab:scientific_linux:libibmad-debuginfo, p-cpe:/a:fermilab:scientific_linux:libibmad-devel, p-cpe:/a:fermilab:scientific_linux:libibmad-static, p-cpe:/a:fermilab:scientific_linux:libibumad, p-cpe:/a:fermilab:scientific_linux:libibumad-debuginfo, p-cpe:/a:fermilab:scientific_linux:libibumad-devel, p-cpe:/a:fermilab:scientific_linux:libibumad-static, p-cpe:/a:fermilab:scientific_linux:libibverbs, p-cpe:/a:fermilab:scientific_linux:libibverbs-debuginfo, p-cpe:/a:fermilab:scientific_linux:libibverbs-devel, p-cpe:/a:fermilab:scientific_linux:libibverbs-devel-static, p-cpe:/a:fermilab:scientific_linux:libibverbs-utils, p-cpe:/a:fermilab:scientific_linux:libmlx4, p-cpe:/a:fermilab:scientific_linux:libmlx4-debuginfo, p-cpe:/a:fermilab:scientific_linux:libmlx4-static, p-cpe:/a:fermilab:scientific_linux:librdmacm, p-cpe:/a:fermilab:scientific_linux:librdmacm-debuginfo, p-cpe:/a:fermilab:scientific_linux:librdmacm-devel, p-cpe:/a:fermilab:scientific_linux:librdmacm-static, p-cpe:/a:fermilab:scientific_linux:librdmacm-utils, p-cpe:/a:fermilab:scientific_linux:opensm, p-cpe:/a:fermilab:scientific_linux:opensm-debuginfo, p-cpe:/a:fermilab:scientific_linux:opensm-devel, p-cpe:/a:fermilab:scientific_linux:opensm-libs, p-cpe:/a:fermilab:scientific_linux:opensm-static, p-cpe:/a:fermilab:scientific_linux:rdma, x-cpe:/o:fermilab:scientific_linux

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Patch Publication Date: 2/21/2013

Vulnerability Publication Date: 10/22/2012

Reference Information

CVE: CVE-2012-4517, CVE-2012-4518