Description
In the Linux kernel, the following vulnerability has been resolved:

RDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp()

Sashiko points out that pd->uctx isn't initialized until late in the
function so all these error flow references are NULL and will crash. Use
the uctx that isn't NULL.
Published: 2026-05-28
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The kernel RDMA/ocrdma subsystem contains a null pointer dereference on error paths within the ocrdma_copy_pd_uresp() routine. When the function encounters an error before pd->uctx has been initialized, the code dereferences a NULL pointer, causing an immediate kernel crash. This defect yields a denial of service as the kernel becomes unstable and must be restarted, but it does not directly grant any confidentiality or integrity breach. The weakness is a null pointer dereference (CWE‑824).

Affected Systems

Any Linux kernel that includes the ocrdma driver before the commit that introduced a non‑NULL reference to pd->uctx is affected. The vulnerability is present in all kernels that compile with the ocrdma module until the patch is applied; no further version delimiters are provided in the vendor data.

Risk and Exploitability

The EPSS of <1% and the absence from the CISA KEV catalog suggest that exploitation is rare at this time. Based on the function’s role in processing RDMA PD responses, an attacker would likely need to trigger RDMA traffic that reaches the ocrdma driver and causes the error path. This typically requires the ability to send or influence RDMA frames to the device, which in many environments is limited to privileged or local users, but the exact prerequisites are not detailed in the published description. Once triggered, the crash is deterministic, providing a straightforward denial of service route.

Generated by OpenCVE AI on May 29, 2026 at 04:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the kernel to a version that contains the ocrdma driver fix. The patch commit corrects the null dereference; installing the updated kernel will remove the defect.
  • If your environment uses a custom kernel build, cherry‑pick or merge the commit that resolves the null dereference into your local kernel tree and rebuild the kernel. This recreates the same safe behavior without waiting for an official upstream release.
  • As a temporary mitigator, prevent the ocrdma module from loading by unloading it at runtime or by blacklisting it via a /etc/modprobe.d/blacklist entry, thereby eliminating the path that could crash the kernel until a patch is deployed.

Generated by OpenCVE AI on May 29, 2026 at 04:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 29 May 2026 03:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Fri, 29 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-824
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Thu, 28 May 2026 13:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Thu, 28 May 2026 10:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: RDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp() Sashiko points out that pd->uctx isn't initialized until late in the function so all these error flow references are NULL and will crash. Use the uctx that isn't NULL.
Title RDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-05-28T09:35:42.368Z

Reserved: 2026-05-13T15:03:33.099Z

Link: CVE-2026-46127

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-05-28T10:16:28.250

Modified: 2026-05-28T13:44:01.663

Link: CVE-2026-46127

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-05-28T00:00:00Z

Links: CVE-2026-46127 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-05-29T04:45:36Z

Weaknesses