CVE-2022-50671
RDMA/rxe: Fix "kernel NULL pointer dereference" error
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.
INFO
Published Date :
Dec. 9, 2025, 4:17 p.m.
Last Modified :
Dec. 9, 2025, 6:37 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to the latest version.
- Verify that RDMA/rxe module is properly initialized.
- Ensure cleanup functions handle uninitialized tasks.
- Test the fix to confirm resolution.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-50671.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-50671 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-50671
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-50671 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-50671 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 09, 2025
Action Type Old Value New Value Added 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. Added Reference https://git.kernel.org/stable/c/0d773c58d702f0a7c16ee8d69617fd2c28350795 Added Reference https://git.kernel.org/stable/c/3b8752f086eb6865cc3662ad13249b03024501e5 Added Reference https://git.kernel.org/stable/c/48cd7098e71735ccafa0b3cf27c53924f9cb5b2f Added Reference https://git.kernel.org/stable/c/9c5dd6993c794703e74c6ba17ac78ca0211ef940 Added Reference https://git.kernel.org/stable/c/a625ca30eff806395175ebad3ac1399014bdb280 Added Reference https://git.kernel.org/stable/c/bb33fa65da77f5f02dbee6f25cebaeedfcd70028 Added Reference https://git.kernel.org/stable/c/cdce36a88def550773142a34ef727a830cad96a8 Added Reference https://git.kernel.org/stable/c/eca119693010032d6cc6e7e9b4fb2c363c7e12ce Added Reference https://git.kernel.org/stable/c/f2f405af70e6f0419e718d23fa304798a5405c41