CVE-2026-46127
Analyzed Analyzed - Analysis Complete

Null Pointer Dereference in Linux Kernel RDMA/ocrdma

Vulnerability report for CVE-2026-46127, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-05-28

Last updated on: 2026-06-24

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-05-28
Last Modified
2026-06-24
Generated
2026-07-08
AI Q&A
2026-05-28
EPSS Evaluated
2026-07-06
NVD
EUVD

Affected Vendors & Products

Showing 9 associated CPEs
Vendor Product Version / Range
linux linux_kernel 7.1
linux linux_kernel 7.1
linux linux_kernel From 6.13 (inc) to 6.18.30 (exc)
linux linux_kernel From 5.16 (inc) to 6.1.175 (exc)
linux linux_kernel From 5.11 (inc) to 5.15.209 (exc)
linux linux_kernel From 6.19 (inc) to 7.0.7 (exc)
linux linux_kernel From 6.7 (inc) to 6.12.88 (exc)
linux linux_kernel From 6.2 (inc) to 6.6.140 (exc)
linux linux_kernel From 3.5 (inc) to 5.10.258 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-476 The product dereferences a pointer that it expects to be valid but is NULL.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in the Linux kernel's RDMA ocrdma driver. Specifically, the issue is that the pd->uctx pointer is not initialized until late in the function ocrdma_copy_pd_uresp(). However, error handling code in this function references pd->uctx before it is initialized, which means it dereferences a NULL pointer. This causes the kernel to crash.

The fix involves using a uctx pointer that is guaranteed not to be NULL during error handling, preventing the NULL pointer dereference and subsequent crash.

Impact Analysis

This vulnerability can cause the Linux kernel to crash due to a NULL pointer dereference in the RDMA ocrdma driver when certain error conditions occur. A kernel crash can lead to system instability, downtime, and potential data loss.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-46127. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart