# RDMA/rxe: Fix NULL-ptr-deref in rxe_qp_do_cleanup() when socket create failed

CVE record · `CVE-2022-50885`

- **Identifiers:** `CVE-2022-50885`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 30 Dec 2025
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 30 Dec 2025, 12:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `8700e3e7c4857d28ebaa824509934556da0b3e76 to before ee24de095569935eba600f7735e8e8ddea5b418e` (git)
  - affected: `8700e3e7c4857d28ebaa824509934556da0b3e76 to before 7340ca9f782be6fbe3f64a134dc112772764f766` (git)
  - affected: `8700e3e7c4857d28ebaa824509934556da0b3e76 to before bd7106a6004f1077a365ca7f5a99c7a708e20714` (git)
  - affected: `8700e3e7c4857d28ebaa824509934556da0b3e76 to before 6bb5a62bfd624039b05157745c234068508393a9` (git)
  - affected: `8700e3e7c4857d28ebaa824509934556da0b3e76 to before f64f08b9e6fb305a25dd75329e06ae342b9ce336` (git)
  - affected: `8700e3e7c4857d28ebaa824509934556da0b3e76 to before 5b924632d84a60bc0c7fe6e9bbbce99d03908957` (git)
  - affected: `8700e3e7c4857d28ebaa824509934556da0b3e76 to before 821f9a18210f6b9fd6792471714c799607b25db4` (git)
  - affected: `8700e3e7c4857d28ebaa824509934556da0b3e76 to before f67376d801499f4fa0838c18c1efcad8840e550d` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.8`
  - unaffected: `before 4.8` (semver)
  - unaffected: `4.14.303 to 4.14.*, inclusive` (semver)
  - unaffected: `4.19.270 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.229 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.163 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.86 to 5.15.*, inclusive` (semver)
  - unaffected: `6.0.16 to 6.0.*, inclusive` (semver)
  - unaffected: `6.1.2 to 6.1.*, inclusive` (semver)
  - unaffected: `6.2 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0060, the 49th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 30 Dec 2025. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2022-50885](https://www.cve.org/CVERecord?id=CVE-2022-50885)
- [NVD: CVE-2022-50885](https://nvd.nist.gov/vuln/detail/CVE-2022-50885)

### References from the CNA

- <https://git.kernel.org/stable/c/ee24de095569935eba600f7735e8e8ddea5b418e>
- <https://git.kernel.org/stable/c/7340ca9f782be6fbe3f64a134dc112772764f766>
- <https://git.kernel.org/stable/c/bd7106a6004f1077a365ca7f5a99c7a708e20714>
- <https://git.kernel.org/stable/c/6bb5a62bfd624039b05157745c234068508393a9>
- <https://git.kernel.org/stable/c/f64f08b9e6fb305a25dd75329e06ae342b9ce336>
- <https://git.kernel.org/stable/c/5b924632d84a60bc0c7fe6e9bbbce99d03908957>
- <https://git.kernel.org/stable/c/821f9a18210f6b9fd6792471714c799607b25db4>
- <https://git.kernel.org/stable/c/f67376d801499f4fa0838c18c1efcad8840e550d>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2022-50885>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2022-50885/>. Everything for agents: <https://agentprime.io/llms.txt>.
