CVE-2026-46127
kernel: RDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp()
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 28, 2026
Updated · June 28, 2026
Description
A flaw was found in the Linux kernel, specifically within the RDMA (Remote Direct Memory Access) ocrdma driver. This vulnerability arises from an uninitialized pointer in the ocrdma_copy_pd_uresp() function's error handling, which can lead to a NULL dereference. An attacker could exploit this to cause a system crash, resulting in a Denial of Service (DoS).
Statement
This Moderate-severity flaw in the Linux kernel's RDMA ocrdma driver can lead to a system crash and denial of service. The vulnerability, caused by an uninitialized pointer in error handling, requires local access to a system with the ocrdma driver loaded for exploitation. Red Hat Enterprise Linux 6 and 7 are affected.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To prevent the ocrdma kernel module from loading, blacklist it by creating a file /etc/modprobe.d/blacklist-ocrdma.conf with the content blacklist ocrdma. After saving the file, regenerate the initramfs using dracut -f -v and reboot the system for the changes to take effect. This action may affect functionality dependent on the ocrdma driver and RDMA hardware.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-824 · Access of Uninitialized Pointer