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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 05-12-2026)
- Next step: Check applicability: affected before 0d773c58d702f0a7c16ee8d69617fd2c28350795, 3b8752f086eb6865cc3662ad13249b03024501e5, 48cd7098e71735ccafa0b3cf27c53924f9cb5b2f, 9c5dd6993c794703e74c6ba17ac78ca0211ef940, a625ca30eff806395175ebad3ac1399014bdb280, bb33fa65da77f5f02dbee6f25cebaeedfcd70028, cdce36a88def550773142a34ef727a830cad96a8, eca119693010032d6cc6e7e9b4fb2c363c7e12ce, f2f405af70e6f0419e718d23fa304798a5405c41 (CNA); fix release not confirmed
- Status: published
- Published: 2025-12-09 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2022-50671, DEBIAN-CVE-2022-50671
- Record: https://cvemate.com/vulnerability/CVE-2022-50671 · JSON: https://cvemate.com/vulnerability/CVE-2022-50671/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.022%, percentile 64.668%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 122)

- debian linux (Debian): \< 6.0.3-1
- ubuntu linux (Ubuntu): \< 4.15.0-204.215 \| \< 5.4.0-139.156 \| \< 5.15.0-60.66
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.15.0-1150.163 \| \< 5.4.0-1096.104 \| \< 5.15.0-1030.34
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1030.34~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1096.104~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2089.95 \| All versions (No fix recorded) \| \< 5.4.0-1096.104+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1151.164~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1162.177~14.04.1 \| \< 4.15.0-1162.177~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1103.109 \| \< 5.15.0-1033.40
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1161.176
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure-5.13 (Ubuntu): All versions (No fix recorded)

## 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>
- <https://ubuntu.com/security/CVE-2022-50671>
- <https://www.cve.org/CVERecord?id=CVE-2022-50671>
- <https://git.kernel.org/linus/a625ca30eff806395175ebad3ac1399014bdb280>
- <https://security-tracker.debian.org/tracker/CVE-2022-50671>

---

Data as of 2026-12-06T04:48:36.858Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
