# CVE-2022-50671: RDMA/rxe: Fix "kernel NULL pointer dereference" error

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.02%, higher than 64% of CVEs (2026-12-02)
- Published: 2025-12-09T01:29:22.950Z
- Modified: 2026-10-15T22:17:32.323Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8700e3e7c4857d28ebaa824509934556da0b3e76 before 48cd7098e71735ccafa0b3cf27c53924f9cb5b2f; from 8700e3e7c4857d28ebaa824509934556da0b3e76 before eca119693010032d6cc6e7e9b4fb2c363c7e12ce; from 8700e3e7c4857d28ebaa824509934556da0b3e76 before 9c5dd6993c794703e74c6ba17ac78ca0211ef940; from 8700e3e7c4857d28ebaa824509934556da0b3e76 before 0d773c58d702f0a7c16ee8d69617fd2c28350795; from 8700e3e7c4857d28ebaa824509934556da0b3e76 before cdce36a88def550773142a34ef727a830cad96a8; from 8700e3e7c4857d28ebaa824509934556da0b3e76 before f2f405af70e6f0419e718d23fa304798a5405c41; from 8700e3e7c4857d28ebaa824509934556da0b3e76 before bb33fa65da77f5f02dbee6f25cebaeedfcd70028; from 8700e3e7c4857d28ebaa824509934556da0b3e76 before 3b8752f086eb6865cc3662ad13249b03024501e5; from 8700e3e7c4857d28ebaa824509934556da0b3e76 before a625ca30eff806395175ebad3ac1399014bdb280; 4.8 (not affected: before 4.8; from 4.9.331 up to 4.9.*; from 4.14.296 up to 4.14.*; from 4.19.262 up to 4.19.*; from 5.4.220 up to 5.4.*; from 5.10.150 up to 5.10.*; from 5.15.75 up to 5.15.*; from 5.19.17 up to 5.19.*; from 6.0.3 up to 6.0.*; from 6.1 up to *)

## 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>

## Sources

- CVE List: [CVE-2022-50671](https://www.cve.org/CVERecord?id=CVE-2022-50671), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2022-50671](https://nvd.nist.gov/vuln/detail/CVE-2022-50671), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2022-50671 · Whole record: https://cve.day/CVE-2022-50671.json · Rebuilt by cve.day 2026-11-25T22:58:21.314Z
