CVE-2026-46127 RDMA/ocrdma: Don't NULL deref uctx on errors in ocrdma_copy_pd_uresp()
A null pointer dereference in the Linux kernel's ocrdma RDMA driver allows local attackers to cause a system crash via error handling paths.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-46127?
CVE-2026-46127 is a medium-severity vulnerability in Linux kernel, published on 28 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2026-46127?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-46127?
Apply the vendor's patch.
Is CVE-2026-46127 being exploited?
There is no known exploitation of CVE-2026-46127 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-88848, BELL-CVE-2026-46127, DEBIAN-CVE-2026-46127, GHSA-3vv3-57g4-wh3p, ROOT-OS-DEBIAN-11-CVE-2026-46127, ROOT-OS-DEBIAN-12-CVE-2026-46127 and 3 more.