CVE-2022-50671 RDMA/rxe: Fix "kernel NULL pointer dereference" error
A null pointer dereference in the Linux kernel RDMA subsystem allows attackers to cause a denial of service via crafted queue pair creation requests.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50671?
CVE-2022-50671 is a high-severity vulnerability in Linux, published on 9 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
RDMA/rxe: Fix "kernel NULL pointer dereference" error
When rxe_queue_init in the function rxe_qp_init_req fails, both qp->req.task.func and qp->req.task.arg are not initialized.
Because of creation of qp fails, the function rxe_create_qp will call rxe_qp_do_cleanup to handle allocated resource.
Before calling __rxe_do_task, both qp->req.task.func and qp->req.task.arg should be checked.
Which versions are affected by CVE-2022-50671?
How do I fix CVE-2022-50671?
Apply the vendor's patch.
Is CVE-2022-50671 being exploited?
There is no known exploitation of CVE-2022-50671 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2022-50671, GHSA-9v66-cvmj-6924, UBUNTU-CVE-2022-50671.