CVE-2022-50671
RDMA/rxe: Fix "kernel NULL pointer dereference" error
- State
- Published
- Severity
- 7.5 High
- Published
- Dec 9, 2025
- Updated
- Oct 15, 2026
- Reserved
- Dec 9, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | Linux |
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
LinuxLinux |
|
LinuxLinux |
|
References
- https://git.kernel.org/stable/c/48cd7098e71735ccafa0b3cf27c53924f9cb5b2f
- https://git.kernel.org/stable/c/eca119693010032d6cc6e7e9b4fb2c363c7e12ce
- https://git.kernel.org/stable/c/9c5dd6993c794703e74c6ba17ac78ca0211ef940
- https://git.kernel.org/stable/c/0d773c58d702f0a7c16ee8d69617fd2c28350795
- https://git.kernel.org/stable/c/cdce36a88def550773142a34ef727a830cad96a8
- https://git.kernel.org/stable/c/f2f405af70e6f0419e718d23fa304798a5405c41
- https://git.kernel.org/stable/c/bb33fa65da77f5f02dbee6f25cebaeedfcd70028
- https://git.kernel.org/stable/c/3b8752f086eb6865cc3662ad13249b03024501e5
- https://git.kernel.org/stable/c/a625ca30eff806395175ebad3ac1399014bdb280
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.